v1.3.0
·
4130 commits
to develop
since this release
Changes
Bug Fixes
- Promotion codes appear in uppercase in order summary. #224
- Order summary prices on checkout page misaligned on mobile. #233
- Shipping method description overflows the price section. #232
- Stack trace data and SSR options are visible on error pages when viewing page source. #230 #249
- Incorrect prop warning for section subtitle. #282
- Incorrect repository URL in the NPM registry. #257
Security Updates
- Set common HTTP security headers in the Retail React App. #263
- Remove
upgrade-insecure-requestsfor local development. #270
Other Changes
- Locale-based URLs. You can include the locale in the URL path or as a query parameter using the new configuration in
pwa-kit-config.json. #228 #255 - All configuration options related to the Commerce API and the Einstein API that were previously in
commerce-api.config.jsandeinstein-api.config.jsare now in one file:api.config.js. #256 - The new
DynamicImagecan transform your images by mapping an array of widths to the correspondingsizesandsrcSetattributes. This component also makes it easier to use the Dynamic Imaging Service. #186 - The query parameters
mobify_server_onlyandmobify_prettyused for debugging are now called__server_onlyand__pretty_print. The old query parameters are deprecated but still work. #250 - New
idanddefaultMessageparameters to enable translation for the Retail React App. #195 #207 #239 #252 #260 - New example product scroller on the home page of the Retail React App. #218 #208 #216
- The
outputDiroption for thenpx pwa-kit-create-appscript defaults topwa-kit-starter-projectinstead ofgenerated-project. #268 - The
Seocomponent now fetches the default site title frompages/constants.js. #279 - The
createAppfunction takes a new option calledenableLegacyRemoteProxyingthat defaults totrue. When set tofalse, local development proxying is disabled when running remotely. In future, local development proxying will always be disabled when running remotely. #205 - More informative error output when the locale configured in PWA kit doesn’t match the one in Business Manager. #225
- Improvements to
README.mdandCONTRIBUTING.mdfiles for the repository. #241 #251 #271 #281 - Error messages point to the latest documentation and help topics. #268
- New and updated tests for search pages. #245