Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Socket
Sign inDemoInstall

@sitecore-jss/sitecore-jss

Package Overview
Dependencies
Maintainers
3
Versions
1351
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@sitecore-jss/sitecore-jss - npm Package Versions

1
135

15.0.1

Diff

Changelog

Source

Sitecore JSS 15.0.1

Bug Fixes

  • PR #487 [sitecore-jss-proxy][#CS0195052] changes to HEAD request handling
  • PR #486 [sitecore-jss][mediaApi] Prevent editing of original query/params
  • PR #483 [sitecore-jss-manifest] Process media field with single item recursively
  • PR #484 [sitecore-jss-angular] Fix ngcc.config.js incorrect structure

Sitecore JSS 15.0 for Sitecore 10

Upgrading

There are migration instructions from JSS 14-based applications.

Breaking changes

  • PR #414, PR #456 React:

    • SitecoreContextFactory class was removed. Subscribers were removed, so context value now stored in SitecoreContext state.
    • SitecoreContext accepts context value instead of contextFactory SitecoreContextFactory instance.
  • PR #440 [Angular sample] Upgrade angular to v10

New Features & Improvements

  • PR #466 [sitecore-embedded-jss-app] Remove usage of SitecoreContextFactory
  • PR #463 [React][Vue][Angular] Use keep-alive agent throughout sample apps for server-side web requests
  • PR #430 [node-headless-proxy] Connection pooling to layout service
  • PR #429 [node-headless-proxy] Output caching
  • PR #386 [Forms] Assign contextItemId in Forms submit actions on a JSS Forms submit
  • PR #390 [sitecore-jss-react] Replace line breaks with <br/> in the <Text> component
  • PR #407 [React sample] enable eslint
  • PR #413 [All samples] Add yaml-lint
  • PR #419 [sitecore-jss-angular][sitecore-jss-react][sitecore-jss-vue] Provide ability to configure mediaUrlPrefix in mediaApi using <Image /> component

Bug Fixes

  • PR #478 [sitecore-jss] Merge specific params from layout service into query string
  • Issue #326 [Angular sample] en.yml changes in Angular JSS app giving error: Duplicate function implementation
  • PR #471 [node-headless-proxy] Upgrade lodash, node-fetch libraries
  • PR #461 [node-headless-proxy] Remove use of onProxyReq event in sample proxy options
  • Issue #452 [sitecore-jss-angular] ngcc config not correctly implemented
  • PR #464 [Security] Review and resolve security vulnerabilities
  • PR #456 [React sample] Race condition, under load React app may render HTML from a different route
  • Issue #428 imageParams on Image react component don't play nice with allowedMediaParams
  • PR #448 [node-headless-proxy] Extend headers handling and remove content-security-policy header
  • PR #444 [Vue sample] Fix i18n memory leak
  • PR #414 [sitecore-jss-react] Memory leak in SitecoreContext
  • Commit [Forms] Number Forms field has incorrect model and step attribute
  • Issue #140 [sitecore-jss-proxy] query string values aren't transferred properly
  • PR #391 [Angular sample] Component factory match first occurrence of Component name
  • PR #379 [sitecore-jss-angular] Prevent existing anchor element classes from being wiped out by the link directive
  • PR #395 [React sample] Retrieving language from ssrInitialState is incorrect
  • PR #400 [sitecore-jss-proxy] Percentage symbol in query string breaks in SSR
  • PR #401 [React sample] Application is broken when visit from /graphql to / in disconnected mode
  • PR #403 [React sample] Doesn't work with url ip:port
  • PR #404 [sitecore-jss-react][React sample] Fix invalid types, fix invalid type in data/*.yml
  • PR #406 [sitecore-jss-angular] Prevent the Angular scLink directive from adding an empty href attribute
  • PR #409 [sitecore-jss-angular] Prevent the Angular scLink directive from adding an href attribute, when href is equal to http:// or https://

SXA and Sitecore Forms compatibility table | Sitecore | JSS | SXA | Forms | --------- | -------- |------ | ------ | 10 | 15.0 | 10 | Yes | 10 | 14.0 | 10 | Yes | 9.3 | 13.1 | 9.3 | Yes | 9.3 | 13.0 | 9.3 | Yes | 9.2 | 12.0 | 1.9 | Yes | 9.1.1 | 11.1 | 1.9 | No | 9.1 | 11.0 | No | No | 9.0 | 11.0 | No | No

sc_illiakovalenko
published 15.0.0 •

sc_illiakovalenko
published 14.0.4 •

Changelog

Source

Sitecore JSS 14.0.4

Bug Fixes

  • Commit [sitecore-jss-rendering-host] Upgrade security vulnerable "yargs-parser"
sc_illiakovalenko
published 14.0.3 •

Changelog

Source

Sitecore JSS 14.0.3

Bug Fixes

  • PR #471 [node-headless-proxy] Upgrade lodash, node-fetch libraries
sc_illiakovalenko
published 14.0.2 •

Changelog

Source

Sitecore JSS 14.0.2

Bug Fixes

  • PR #455 [React sample] Race condition, under load React app may render HTML from a different route
sc_illiakovalenko
published 13.2.2 •

sc_illiakovalenko
published 12.0.2 •

sc_illiakovalenko
published 11.0.4 •

Changelog

Source

Sitecore JSS 11.0.4

Bug Fixes

  • PR #453 [React sample] Race condition, under load React app may render HTML from a different route
sc_illiakovalenko
published 13.2.1 •

sc_illiakovalenko
published 14.0.1 •

Changelog

Source

Sitecore JSS 14.0.1

Bug Fixes

  • Commit [Doc] Describe that global styles, scripts can't be inserted when a component is added to a route in Experience Editor
  • PR #396 [Doc] Update tracking doc as it had a link that 404'ed
  • PR #355 [Doc] Add rendering host documentation
  • PR #394 [React sample rendering-host] Setup in order to run rendering host script
  • Commit [React sample] Cannot read property 'fields' of undefined
  • Commit [React sample] Fix dev dependencies versions

Sitecore JSS 14.0 for Sitecore 10

Upgrading

There are migration instructions from JSS 13-based applications.

New Features & Improvements

  • PR #347 Fixes withSitecoreContext typescript definition
  • PR #350 The types of the render functions in the Placeholder component props are not correct or missing

SXA and Sitecore Forms compatibility table | Sitecore | JSS | SXA | Forms | --------- | -------- |------ | ------ | 10 | 14.0 | 10 | Yes | 9.3 | 13.1 | 9.3 | Yes | 9.3 | 13.0 | 9.3 | Yes | 9.2 | 12.0 | 1.9 | Yes | 9.1.1 | 11.1 | 1.9 | No | 9.1 | 11.0 | No | No | 9.0 | 11.0 | No | No

Sitecore JSS 13.2 for Sitecore 9.3

New Features & Improvements

  • PR #357 [Forms] Implement FileUpload field
  • Commit [Doc][Form] Document how to customize FormFetcher of the <Form> component

Bug Fixes

  • PR #381 [Doc] Minor formatting fix in JSS Server Setup documentation
  • PR #388 [Doc][node-headless-ssr-proxy sample] - Fix broken Headless SSR mode link

Sitecore JSS 13.1 for Sitecore 9.3

New Features & Improvements

  • PR #357 [Doc] Updated context extension docs around caching
  • Commit [Doc] Extend JSS Forms documentation regarding customizing labels of different field types
  • Commit Add --skipValidation for jss setup command
  • PR #338 Section field template can use FormFieldSection in order to pass cssClass to the fieldset element and be able to customize the styles for it.
  • PR #346 Responsive image srcset fallback with src output
  • PR #303 [React-Native sample] documentation is improved and extended.

Bug Fixes

  • PR #373 [Vue Sample] Fix route changes with path and a hash
  • Bug #141 Cannot add components to placeholder without saving first
  • PR #374 [React sample] Fixed start:connected-ssr npm script
  • Commit [Doc] Sitecore Forms + JSS article doesn't mention that the provided sample doesn't work for Headless mode
  • Bug #348 Publishing configuration for sitecore-jss-angular gives errors for Angular 9 ngcc
  • Commit [React sample] 'deploy template' does not accept --acceptCertificate
  • Bug #358 [Vue sample] SSR - fixed hydration bailouts
  • Bug #360 Quick Start with vue is failing
  • Bug #363 Wrong Type Definition for ItemLink
  • Bug #328 Item Links failing to find reference with disconnected mode
  • PR #341 jss setup does not work with Sitecore Docker
  • PR #359 Add description of import service URL question
  • PR #356 [Doc] Fix broken react-native link on homepage
  • Bug #299 SitecoreContextReactContext.Provider is not working properly, because value never changes as it is always same class instance
  • Bug #333 [Doc] Document addPlaceholder function
  • PR #353 [Doc] Move Forms installation documentation section above sample implementation
  • PR #351 [React sample] Include polyfills for IE11
  • Bug #257 [Doc] Add doc for --acceptCertificate param
  • Bug #336 [Vue sample] CLI deploy options do not trigger build step
  • PR #337 [Vue sample] set i18n initial language based on SSR language
  • PR #335 Vue sample Specimen component updated with correct implementation path
  • Bug #287 Potential memory leak in React SitecoreContextFactory
  • PR #300 [React sample] set i18n init lang to prevent SSR hydration from re-rendering app
  • Commit react app - Cannot read property 'forEach' of undefined
  • Bug #314 Angular scaffolding has error in polyfill.ts
  • Bug #311 [React sample] npm run eject throws error
  • PR #281 Wrong GraphQLEndpoint assembly name
  • PR #302 Correctly evaluates the value of SITECORE_ENABLE_DEBUG variable
  • PR #285 Commit Include media from Droptree and Multilist content
  • PR #306 [Doc] Docs missing configuration of fetcher

SXA and Sitecore Forms compatibility table | Sitecore | JSS | SXA | Forms | --------- | -------- |------ | ------ | 9.3 | 13.1 | 9.3 | Yes | 9.3 | 13.0 | 9.3 | Yes | 9.2 | 12.0 | 1.9 | Yes | 9.1.1 | 11.1 | 1.9 | No | 9.1 | 11.0 | No | No | 9.0 | 11.0 | No | No

Sitecore JSS 13.0 for Sitecore 9.3

Upgrading

There are migration instructions from JSS 12-based applications.

New Features & Improvements

  • JSS Rendering host

  • Updated:

    • React: from 16.3.0 to 16.12.0,
    • Angular: from 7.0 to 8.2.8,
    • Vue: from 2.5.17 to 2.6.10
    • React-Native: 0.55.4 to 0.60.5

    and all their dependencies has been updated to their latest versions (#252, #255, #256, #266, #269, #282)

  • New React Native sample app added (implemented similarly to existing Styleguide sample apps)

  • Documentation updates

Bug Fixes

  • Bug #224 Export SitecoreContextReactContext
  • Pull #223 Allow lazy loaded components to show a loading state
  • Pull #224 Allow Scoped Styles to Work With Child Components
  • Bug #61 Nested component definitions via Item Link returns only IDs
  • Pull #146 Added support for TypeScript when jss build'ing
  • Bug #267 Error in description of one of methods of Manifest interface
  • Bug #220 Use Object.entries instead of Object.keys
  • Bug #172 mediaApi.updateImageUrl loses revision querystring
  • Bug #189 DevTools loading hidden files and crashing
  • Bug #160 Node Proxy: CURL URL -IL returns 500 OK

Breaking Changes

  • React sample
    • Upgraded react-i18next: Migration guide https://react.i18next.com/latest/migrating-v9-to-v10
  • React-Native sample
    • getRouteData function interface is changed. Now it accepts two params: (route, { options, language })
  • Angular sample
    • Lazy loading syntax is changed: https://angular.io/guide/deprecations#loadchildren-string-syntax
    • tsconfig.app.json and tsconfig.json: set "module": "commonjs", because dynamic import approach requires this module type
    • Typescript 3.5 breaking changes: https://github.com/Microsoft/TypeScript/wiki/Breaking-Changes#typescript-35
  • sitecore-jss-angular package
    • ng-packagr: option workingDirectory is removed, removed corresponding getter from NgPackage class. (https://github.com/ng-packagr/ng-packagr/blob/master/CHANGELOG.md#breaking-changes-5)
    • Setting ngPackage.src has no effect any more. The source directory (base path) is equivalent to the location of the (primary) ng-package.json, package.json, or ng-package.js. (https://github.com/ng-packagr/ng-packagr/blob/master/CHANGELOG.md#breaking-changes-6)
    • The setting for external dependencies (lib.externals) has been removed in favour of lib.umdModuleIds which is now just used to provide the UMD module identifiers of external dependencies. (https://github.com/ng-packagr/ng-packagr/blob/master/CHANGELOG.md#migrating-from-v1-breaking-changes-from-v160-to-v200)
    • @angular/core: Default setting for @ViewChild and @ContentChild queries is changed (https://angular.io/guide/static-query-migration#should-i-use-static-true) ComponentNameAndModule interface is changed accordingly to new lazy loading syntax: https://angular.io/guide/deprecations#loadchildren-string-syntax
  • sitecore-jss-cli package yargs: CommandModule interface is changed https://github.com/Sitecore/jss/pull/272/files#diff-e0b90a991107a0e06b6fa1bb626b6d5eR25

SXA and Sitecore Forms compatibility table | Sitecore | JSS | SXA | Forms | --------- | -------- |------ | ------ | 9.3 | 13.0 | 9.3 | Yes | 9.2 | 12.0 | 1.9 | Yes | 9.1.1 | 11.1 | 1.9 | No | 9.1 | 11.0 | No | No | 9.0 | 11.0 | No | No

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc