Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Chore] Prepare upgrade guide for release #1777

Merged
merged 1 commit into from
Apr 19, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 14 additions & 15 deletions docs/upgrades/unreleased.md
Original file line number Diff line number Diff line change
@@ -1,24 +1,23 @@
## Unreleased

### nextjs

### nextjs-xmcloud

### nextjs-sxa

### nextjs-multisite

* **Update** packages\create-sitecore-jss\src\templates\nextjs-multisite\scripts\config\plugins\multisite.ts
* **Update**

* packages\create-sitecore-jss\src\templates\nextjs-multisite\scripts\config\plugins\multisite.ts

```
//Remove
useSiteQuery: true,
```
```
//Remove
useSiteQuery: true,
```

### nextjs-styleguide
**Note for SXP users**

### react
JSS now uses `site` query to retrieve site info.
When multisite addon is installed, `site` query retrieves both the SXA Headless and the configuration sites. JSS will filter out "website", but any other MVC or non-nextjs sites defined in configuration will be considered for resolution by the JSS app.
In case your setup is like this and you wish to avoid that, and just use the headless sites for your setup, you can add a filter in `\scripts\config\plugins\multisite.ts` file. For example:

### angular
```
sites = sites.filter((site) => !['not-headless', 'headful', 'mvc'].includes(site.name));
```

### vue
Loading