v1.4.0
·
4097 commits
to develop
since this release
Featured Change: Project Creation Presets
You can now create a PWA Kit project using presets. Presets let you specify a template for your project files and (optionally) use preconfigured settings for connecting to a B2C Commerce instance.
To create a project using the Retail React App template and connect it to our demo sandbox, run the following command in your terminal:
npx pwa-kit-create-app --preset retail-react-app-demo
With this new demo preset, anyone can try out PWA Kit in minutes!
To create a project with a different preset or use custom settings for connecting to your own B2C Commerce instance, run npx pwa-kit-create-app and follow the prompts.
To learn about all the available options for creating a project, run npx pwa-kit-create-app --help.
PRs: #285, #325, #322, #357, #358, #361
Changes
Full changelog: v1.3.0...v1.4.0
Bug Fixes
- Add constants for
<meta theme-color|apple-mobile-web-app-title>. #287 - Hide locale selector when there’s only a single locale. #262
- Add to Cart remains active unless the item is out of stock. #222
- Update error link. #303
- Deprecate
create-hash-manifestscript. #300 - Fix redirect after account creation. #360
Security Updates
- Don’t send the HSTS header in local development. #288
- [Snyk] Security upgrade
shelljsfrom 0.8.4 to 0.8.5. #307 - [Snyk] Security upgrade
nanoidfrom 3.1.30 to 3.1.31. #308 - [Snyk] Security upgrade
cross-fetchfrom 3.1.4 to 3.1.5. #351