Skip to content

Sitecore JSS 11.0.1

Compare
Choose a tag to compare
@kamsar kamsar released this 13 Dec 21:16
· 4358 commits to dev since this release

There are no changes to the JSS server for this release, only the npm packages. There are no breaking changes in this release and there are no migration instructions.

Sitecore JSS 11.1 for Sitecore 9.1.1

Upgrading

No special upgrade steps needed, it's safe to promote to newer version.

New Features & Improvements

  • JSS now integrates with SXA. When SXA is installed, it's possible to create JSS tenants and sites that make it easier to scale JSS apps. Additional benefits:
    • SXA site management for JSS apps.
    • Cross-site presentation sharing using page designs and partial designs.
    • Cross-site content sharing.
    • Cross-site reusability of renderings.
    • Cross-site linking.
    • More info available on the SXA documentation site
  • Angular projects can now take advantage of the new *scRouterLink component which creates a link that uses Angular routing from a Sitecore link field, instead of refreshing the page.
  • Angular placeholders now expose a loaded event that can be hooked for apps that need to know when a placeholder is done loading, i.e. <sc-placeholder [...] (loaded)="onPlaceholderLoaded($event)"></sc-placeholder>
  • PR #214 Pass through component props types when using withSitecoreContext
  • PR #213 Add angular directive for general links that can be both internal and external.
    This allows Content Editors to not be limited to one type of predefined linkfield while maintaining angular routerlinks
  • The documentation site now has an initial draft of a new "guided learning" area for the JSS Developer Trial: https://jss.sitecore.com/connected-demo
  • PR #105 Move all sample apps to use minor version dependency ranges
    Reliability improvement; existing apps need no changes
  • PR #95 Modify SSR handling in React and Vue
    Updated sample apps serialize SSR state 3x faster and are more compatible with CSP.
  • PR #94 Make disconnected appRoot mean appRoot not scriptsRoot
    Clarity improvement. Backwards compatible.
  • PR #92 Alter typing to enable strong typed placeholder names
    Nonbreaking TypeScript typing change
  • PR #89 Add angular change detection to placeholder component
    Change detection now passes through the placeholder component properly
  • PR #88 Pass query string params from configuration to LayoutService
    Allows headless SSR proxy to pass custom query string params to Layout Service
  • PR #83 Register multiple component in JssModule.forChild method
    Bundle together multiple Angular components when using lazy loading

Bug Fixes

  • PR #211 Fix the case when working on a mac or linux with git config for autocrlf all the line endings in the repo are set to lf which fails eslint
  • Bug #194 Implement acceptCertificate parameter in jss deploy component/template
  • Bug #174 Resolve inherited templates/fields when building media output for the manifest
  • PR #170 Changed proptypes of missingComponentComponent and errorComponent to PropTypes.func in
    packages/sitecore-jss-react/src/components/PlaceholderCommon.tsx to prevent console warning "Warning: Failed prop type: Invalid prop missingComponentComponent of type function supplied to PlaceholderComponent, expected object."
  • PR #151 Re-add !noDebug to jss-proxy console logging to allow disabling of logging.
  • Various fixes to docs (Thank you, community!!)