github Sitecore/jss v22.4.0
22.4.0

latest releases: v22.10.0-canary.3, v22.9.0, v22.10.0-canary.1...
7 months ago

22.4.0

🐛 Bug Fixes

  • [sitecore-jss-nextjs] Improve performance for redirect middleware. (#2003)
  • [sitecore-jss-nextjs] Fix unnecessary escaping of valid regex operators in SXA rewrite patterns (#1999)
  • [sitecore-jss] Fixed question marks not being handled correctly in escapeNonSpecialQuestionMarks method, when parsing regular expressions (#2014)
  • [templates/nextjs-sxa] Fix font-awesome imports in custom workspaces. (#1998)
  • [templates/nextjs] [templates/nextjs-sxa] Ensure DISABLE_SSG_FETCH variable is correctly handled in error pages(#2007)

🛠 Breaking Change

  • [all packages] [all samples] Remove Axios (#2006) (#2008) (#2011)(#2013)(#2015)
    (#2016)
    • AxiosDataFetcher is replaced by the NativeDataFetcher.
    • AxiosDataFetcherConfig is replaced by NativeDataFetcherConfig.
    • AxiosResponse is replaced by NativeDataFetcherResponse.
    • NativeDataFetcherError: a new error type introduced for native data fetching operations.
    • Default fetcher i.e. NativeDataFetcher.fetch is of type NativeDataFetcherFunction<T> but can be overridden by custom fetcher using the existing HttpDataFetcher<T> type.
    • NativeDataFetcher now exposes fetch, get, post, delete, put, head methods.
    • NativedDataFetcher.fetch now accepts second parameter of type RequestInit instead of unknown.

Don't miss a new jss release

NewReleases is sending notifications on new releases.