v2.3.0
Featured Change: React Query Support 🎉
The pwa-kit-react-sdk
now supports data fetching with React Query on the server side.
For details on how to migrate a v2.2 project to v2.3, see the Upgrade to v2.3 guide.
Changes
Full changelog: v2.2.0...v2.3.0
pwa-kit-react-sdk
- Support
react-query
server-side data fetching. #724 - Add a server-safe default configuration for
queryClientConfig
option. #734 - Add
useServerContext
hook with theres
response object and theisServerSide
flag. #737 - Handle
react-query
server-side errors. #735 - Fix internal build script. #706
- Add Correlation ID to SCAPI requests. #728
template-retail-react-app
- Fix locale
alias
by includinglocale
object inside the MultiSite Context. #716 - Updated translations. #725
- Add new Einstein API activities. #714
- Fix search field to recognize the
&
character. #736 - Fix filters on search results page. #742
- Make copyright date in footer dynamic. #741
- Bugfix: image gallery thumbnails not working without DIS. #786
pwa-kit-create-app
- Fix missing required fields in the
manifest.json
file for generated projects. #729 - Update ODS instance URL for the
retail-react-app-demo
preset. #799
pwa-kit-runtime
- Performance: Skip retries when flushing CloudWatch metrics and prioritize returning a response instead. #720
- Add
correlation-id
to the header of SCAPI requests. #728