Skip to content

Commit

Permalink
[sitecore-jss-nextjs]: Expose MiddlewareBase class and MiddlewareBase…
Browse files Browse the repository at this point in the history
…Config type (#1941)
  • Loading branch information
sc-keithbauer authored and art-alexeyenko committed Oct 11, 2024
1 parent 4c79d1e commit fed0b75
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
5 changes: 4 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,12 @@ Our versioning strategy is as follows:
### 🐛 Bug Fixes

* `[sitecore-jss-nextjs]` `[sitecore-jss]` Resolved an issue with Netlify where URL query parameters were being sorted, causing redirect failures. Added a method to generate all possible permutations of query parameters, ensuring proper matching with URL patterns regardless of their order. ([#1935](https://github.com/Sitecore/jss/pull/1935))
* `[sitecore-jss-nextjs]` Resolved an issue with Netlify where URL query parameters were being sorted, causing redirect failures. Added a method to generate all possible permutations of query parameters, ensuring proper matching with URL patterns regardless of their order. ([#1935](https://github.com/Sitecore/jss/pull/1935))
* `[sitecore-jss-nextjs]` Fixed an issue with language-based redirects, ensuring users are correctly redirected to the appropriate language-specific pages rather than defaulting to the primary language. ([#1938](https://github.com/Sitecore/jss/pull/1938))

### 🎉 New Features & Improvements

* `[sitecore-jss-nextjs]` Expose MiddlewareBase class and MiddlewareBaseConfig type ([#1941](https://github.com/Sitecore/jss/pull/1941))

## 22.1.3

### 🐛 Bug Fixes
Expand Down
1 change: 1 addition & 0 deletions packages/sitecore-jss-nextjs/src/middleware/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
export { debug } from '@sitecore-jss/sitecore-jss';
export { MiddlewareBase, MiddlewareBaseConfig } from './middleware';
export { RedirectsMiddleware, RedirectsMiddlewareConfig } from './redirects-middleware';
export { PersonalizeMiddleware, PersonalizeMiddlewareConfig } from './personalize-middleware';
export { MultisiteMiddleware, MultisiteMiddlewareConfig } from './multisite-middleware';

0 comments on commit fed0b75

Please sign in to comment.