You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[templates/nexts][sitecore-jss-dev-tools][sitecore-jss-nextjs] Move template related script to the base package (#1520):
[sitecore-jss-nextjs]:
Introduced ComponentBuilder class for generating component factories and module factories.
ComponentPropsService componentModule property renamed to moduleFactory.
Adjusted ComponentModule definition:
renamed to ModuleFactory.
Module type besides the initial limited set of props now can also include any React component. React.Component is replaced by React.ComponentType.
[sitecore-jss-dev-tools]:
Introduced nextjs submodule, which contains component builder generation functionality.
[templates/nextjs]:
Introduced plugins architecture for component builder and scaffold component generation processes.
Reused new utils added to sitecore-jss-dev-tools.
[templates/react][sitecore-jss-dev-tools] Refactoring for react template (#1506)(#1515):
[templates/react]:
Introduced plugins architecture for boostrap, config and component builder generation process
Updated components tree to represent the structure: fields, styleguide, graphql folders.
[sitecore-jss-react] Introduced ComponentBuilder class for generating component factories
[sitecore-jss-dev-tools]:
Introduced react submodule, which contains component builder generation functionality
Added common utils for plugins, file generation
[templates/nextjs-personalize] Disable page view tracking event in development (#1414)
[templates/nextjs-sxa] Add custom template for jss scaffold (#1420)
[sitecore-jss-react][sitecore-jss-nextjs] FEaaS component will render 'staged' variant for editing and preview and 'published' variant for live site by default, unless variant is overriden via rendering parameters. (#1433)
[sitecore-jss-nextjs] Add a new handling for token $siteLang(context site language) in middleware redirect (#1454)
[sitecore-jss][templates/nextjs-sxa] Rewrite logic of handling custom error pages. The error pages rewrite page with error(it's saving status code) instead of redirected (#1469) (#1476)
[templates/nextjs] Remove .babelrc to (re)enable SWC compilation by default (#1483)
[sitecore-jss] Handle null items in graphql layout service. (#1492)
[templates/nextjs-personalize][sitecore-jss] Update the default personalize middleware, personalize/cdp service timeout values to 400 (#1507)
[templates/react][templates/angular][templates/vue] Remove persisted query link since APQ(Automatic Persisted Queries) is not supported on Sitecore Experience Edge Delivery (#1420)
[sitecore-jss][templates/nextjs-personalize] Introduced optional personalize scope identifier to isolate embedded personalization data among XM Cloud Environments that are sharing a Personalize tenant (#1494)
[sitecore-jss-nextjs] Add prefetchLinks paramter to the RichText component to allow prefetching of links to be enabled/disabled (#1517)
🧹 Chores
Automated API doc generation and added packages/samples filter (#1470)(#1474)
[templates/nexts][sitecore-jss-dev-tools][sitecore-jss-nextjs] Move template related script to the base package (#1520):
[sitecore-jss-nextjs]:
ComponentPropsService fetchServerSideComponentProps, fetchStaticComponentProps methods accept params.moduleFactory instead of params.componentModule.
Exports ModuleFactory instead of ComponentModule.
[sitecore-jss-react][sitecore-jss-nextjs][templates/nextjs-sxa] FEaaS component is now server rendered. Prop type used FEaaSWrapper has been modified alongside with FEaaSWrapper implementation. Make sure you use the updated type and the updated wrapper. (#1413) (#1513)
[sitecore-jss-rendering-host] startDevServer is retired. startRenderingHostServer is the only way to start the rendering host from now on. (#1426)
[sitecore-jss-nextjs] Some imports have been moved to avoid accidentally importing nextjs server logic inside client componenents(#1430):
SiteInfo and SiteResolver imports have been moved from '@sitecore-jss/sitecore-jss-nextjs/middleware' module to '@sitecore-jss/sitecore-jss-nextjs/site'
tryParseEnvValue import has been moved from '@sitecore-jss/sitecore-jss-nextjs/middleware' module to '@sitecore-jss/sitecore-jss-nextjs/utils'
exports for isEditorActive, resetEditorChromes, resolveUrl, tryParseEnvValue, handleEditorFastRefresh, getPublicUrl from '@sitecore-jss/sitecore-jss-nextjs' are depreceated. '@sitecore-jss/sitecore-jss-nextjs/utils' module should be used for them instead.