Skip to content

22.4.0

Compare
Choose a tag to compare
@art-alexeyenko art-alexeyenko released this 23 Jan 00:55
· 29 commits to dev since this release

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.