This repository was archived by the owner on Mar 8, 2023. It is now read-only.
Storefront API 1.0-rc.2
Most of the work has been done already. However, we are still developing and enhancing it. The stable release (1.0) is planned for 2020Q4. Only then, it will replace the vue-storefront-api middleware for Vue Storefront (release 1.13). Till then it's not recommended for production applications.
We're in sync with the vue-storefront-api which means Storefront API 1.0rc2 is compatible with Vue Storefront 1.11+.
Big thanks to @ResuBaka who joined our team as Core Contributor and took care of re-factoring the code into separate npm-modules (with monorepo structure).
Added
- Create attribute service that allows to fetch attributes with specific options - used for products aggregates - @gibkigonzo (vuestorefront/vue-storefront#4001, vuestorefront/mage2vuestorefront#99)
- Add
resetPasswordUsingResetTokentomagento1platform - @cewald (#415) - Fix MSI default stock id value - @Inicorena (#417)
- Add product processor to new URL mapper endpoint #401 - @cewald (#401, #403)
- Add ElasticSearch client support for HTTP authentication - @cewald (#397)
- Support for
save_in_addressbookadded - @lucasqm (#394) - Magento2 / Create password endpoint - @Fifciu (#366)
- API and Platform comments for all the REST endpoints added with the links to the official docs - @pkarw
- Added global logger which you can change the instance of to use every logger you want to use - @ResuBaka (#24)
- Added better typescript annotation/new types - @ResuBaka (#24)
- Added that graphql resolver are loaded with js or ts ending - @ResuBaka (#24)
- The lib folder is moved to a package - @ResuBaka (#30)
- Added hooks implementation from vue-storefront as a package - @ResuBaka (#30)
- Added the integration tests - @ResuBaka (#35)
- Add url module - @gibkigonzo (#3942)
- Add fallback for
sourcePriceInclTaxandfinalPriceInclTaxinmagento1platform - @cewald (#398) - moved server logic into packages/core @ResuBaka (#47)
- Update to
storefront-query-builderversion1.0.0- @cewald (#51)
Changed / Improved
- The
response_formatquery parameter to the/api/catalogendpoint. Currently there is just one additional format supported:response_format=compact. When used, the response format got optimized by: a) remapping the results, removing the_sourcefrom thehits.hits; b) compressing the JSON fields names according to theconfig.products.fieldsToCompact; c) removing the JSON fields from theproduct.configurable_childrenwhen their values === parent product values; overall response size reduced over -70% - @pkarw - The support for
SearchQueryinstead of the ElasticSearch DSL as for the input to/api/catalog- usingstorefront-query-builderpackage - @pkarw - vuestorefront/vue-storefront#2167
Fixed
- Taxcalc backport - special_prices (vuestorefront/vue-storefront-api#380) - @ResuBaka
- Check message property instead of errorMessage in apiError function - @cdshotels-liborpansky (#378)
- Replaced the old
cropfunction call which has been removed from Sharp image processor - @grimasod (#381) - Fixed that you can now run the dist folder output and don't get errors with module can't be loaded - @ResuBaka (#24)
- Changed that only one redis and elasticsearch client is created - @ResuBaka (#35)
- Send /reset-password with undefined websiteId as default - @gibkigonzo (#382)
- Fixed the restore command restore command of elastic7.ts so it exits when it finished - @ResuBaka (#35)
- Fixed the restore command restore command of elastic7.ts so it does not crash when it can't find the file it wants to upload - @ResuBaka (#35)
- Fix misplaced parenthesis for
taxClasses.find- @ResuBaka (#39) - Added missing build decencies for native decencies @alexshchur (#43)
- now all packages work when you install them from a registry @ResuBaka (#47)