Releases: Sitecore/jss
Releases · Sitecore/jss
Sitecore JSS 12.0.3
Bug Fixes
- PR #677 [sitecore-jss-forms] Fix issue where pre-filled (default) form data isn't removed for multi-valued fields when user de-selects values.
Sitecore JSS 16.0.0
Breaking changes
- PR #485 [JSS CLI] Add --config argument to specify the path to
scjssconfig.json
file.resolveScJssConfig
now accepts arguments as an object instead of using individual arguments. - PR #460 [sitecore-jss-react] Fix return type of
ComponentFactory
to allow a component definition instead of an instantiated component.ComponentFactory
returnsComponentType | null
instead ofComponent
. - PR #459 [sitecore-jss-react] Change propType of
missingComponentComponent
fromReact.SFC
(deprecated) toReact.FC
. - PR #538 [sitecore-jss-react] Change propType of
errorComponent
fromReact.SFC
(deprecated) toReact.FC
. - PR #517 [packages/samples] Migrate TSLint (deprecated) to ESLint.
New Features & Improvements
- Documentation Add support for Next.js framework. 🎉🎉🎉
- Commit [sitecore-jss] Add
RestDictionaryService
to fetch dictionary data using the Sitecore Dictionary Service REST API, andRestLayoutService
to fetch layout data using the Sitecore Layout Service REST API. - PR #511 [sitecore-jss] Add
AxiosDataFetcher
to provide a default data fetcher implementation which can be used in sample apps. - PR #530 [sitecore-jss] Add
GraphQLRequestClient
to provide the ability to execute GraphQL queries. - PR #525 [sitecore-jss-react] Enable
SitecoreContext
to support TypeScript generics. - PR #508 [sitecore-jss-react] Add the
useSitecoreContext
hook. - PR #542 Add environment variable support via an
.env
file to the CLI.
Bug Fixes
- PR #548 [sitecore-jss-dev-tools]
jss deploy
doesn't exit on success. - PR #541 [sitecore-jss-dev-tools][sitecore-jss-cli] Replace old and security vulnerable
request
andaxios
NPM packages with latest version ofaxios
(>=0.21.1). - PR #506 [React sample]
Cannot read property 'sitecore' of null
, when 404 and routeData is null. - PR #575 [sitecore-jss-react] Specifying a custom error component via the Placeholder's
errorComponent
prop caused an "Invalid prop" error. - PR #477 [sitecore-jss-proxy] Prevent passing 'qs' as 'undefined' in
rewriteRequestPath
. - PR #459 [sitecore-jss-react] Fix propType of
missingComponentComponent
, resolving an issue with custom "Missing Component" components not working. - PR #538 [sitecore-jss-react] Fix propType of
errorComponent
, resolving an issue with custom "Error" components not working. - PR #521 [packages/samples] Upgrade react, react-dom.
Sitecore JSS 15.0.1
Bug Fixes
Sitecore JSS 15.0.0
Breaking changes
-
- SitecoreContextFactory class was removed. Subscribers were removed, so context value now stored in SitecoreContext state.
- SitecoreContext accepts
context
value instead ofcontextFactory
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://
orhttps://
Sitecore JSS 14.0.4
Bug Fixes
- Commit [sitecore-jss-rendering-host] Upgrade security vulnerable "yargs-parser"
Sitecore JSS 14.0.3
Bug Fixes
- PR #471 [node-headless-proxy] Upgrade lodash, node-fetch libraries
Sitecore JSS 14.0.2
Bug Fixes
- PR #455 [React sample] Race condition, under load React app may render HTML from a different route
Sitecore JSS 13.2.2
Bug Fixes
- PR #457 [React sample] Race condition, under load React app may render HTML from a different route
Sitecore JSS 12.0.2
Bug Fixes
- PR #454 [React sample] Race condition, under load React app may render HTML from a different route