diff --git a/.changeset/breezy-ways-care.md b/.changeset/breezy-ways-care.md deleted file mode 100644 index d26d87d91bc..00000000000 --- a/.changeset/breezy-ways-care.md +++ /dev/null @@ -1,35 +0,0 @@ ---- -'@talend/react-cmf-router': major -'@talend/react-cmf': major ---- - -BREAKING CHANGE: Upgraded path-to-regexp from 3.x to 8.x - -This upgrade was necessary to resolve security vulnerabilities. The new version introduces two breaking changes that require updates to your application: - -1. Optional Path Parameter Syntax Change -- Old syntax: `/resources/:id?` -- New syntax: `/resources{/id}` - -This change is required because in path-to-regexp 8.x, the `?` character is reserved for query parameters and will throw a parsing error when used at the end of a path. - -2. Root Path Matching Behavior Change -- In v3.x, root path `/` would match any path starting with `/` -- In v8.x, root path `/` only matches exactly `/` -- To match both root and child paths, use the wildcard pattern `/{*path}` - -Example migration: -```javascript -// Before -const routes = { - '/': rootSaga, - '/resources/:id?': resourceSaga -}; - -// After -const routes = { - '/{*path}': rootSaga, // if you want to match all routes - '/resources{/id}': resourceSaga -}; -``` -For more details about path matching and troubleshooting, see [path-to-regexp documentation](https://github.com/pillarjs/path-to-regexp#errors). \ No newline at end of file diff --git a/packages/cmf-cqrs/CHANGELOG.md b/packages/cmf-cqrs/CHANGELOG.md index 9ab9f957109..074c7c9f68c 100644 --- a/packages/cmf-cqrs/CHANGELOG.md +++ b/packages/cmf-cqrs/CHANGELOG.md @@ -1,5 +1,12 @@ # @talend/react-cmf-cqrs +## 11.0.1 + +### Patch Changes + +- Updated dependencies [816bb91] + - @talend/react-cmf@11.0.0 + ## 11.0.0 ### Major Changes diff --git a/packages/cmf-cqrs/package.json b/packages/cmf-cqrs/package.json index f3100af592c..906ea244228 100644 --- a/packages/cmf-cqrs/package.json +++ b/packages/cmf-cqrs/package.json @@ -32,7 +32,7 @@ }, "homepage": "https://github.com/Talend/ui/cmf-cqrs#readme", "dependencies": { - "@talend/react-cmf": "^10.0.1", + "@talend/react-cmf": "^11.0.0", "@talend/utils": "^3.2.3", "immutable": "^3.8.2", "redux-saga": "^1.3.0" @@ -60,5 +60,5 @@ "publishConfig": { "access": "public" }, - "version": "11.0.0" + "version": "11.0.1" } diff --git a/packages/cmf-router/CHANGELOG.md b/packages/cmf-router/CHANGELOG.md index c5a60089014..292a5d9fedd 100644 --- a/packages/cmf-router/CHANGELOG.md +++ b/packages/cmf-router/CHANGELOG.md @@ -1,5 +1,49 @@ # Changelog +## 8.0.0 + +### Major Changes + +- 816bb91: BREAKING CHANGE: Upgraded path-to-regexp from 3.x to 8.x + + This upgrade was necessary to resolve security vulnerabilities. The new version introduces two breaking changes that require updates to your application: + + 1. Optional Path Parameter Syntax Change + + - Old syntax: `/resources/:id?` + - New syntax: `/resources{/id}` + + This change is required because in path-to-regexp 8.x, the `?` character is reserved for query parameters and will throw a parsing error when used at the end of a path. + + 2. Root Path Matching Behavior Change + + - In v3.x, root path `/` would match any path starting with `/` + - In v8.x, root path `/` only matches exactly `/` + - To match both root and child paths, use the wildcard pattern `/{*path}` + + Example migration: + + ```javascript + // Before + const routes = { + '/': rootSaga, + '/resources/:id?': resourceSaga + }; + + // After + const routes = { + '/{*path}': rootSaga, // if you want to match all routes + '/resources{/id}': resourceSaga + }; + ``` + + For more details about path matching and troubleshooting, see [path-to-regexp documentation](https://github.com/pillarjs/path-to-regexp#errors). + +### Patch Changes + +- Updated dependencies [816bb91] + - @talend/react-cmf@11.0.0 + ## 7.1.1 ### Patch Changes diff --git a/packages/cmf-router/package.json b/packages/cmf-router/package.json index fdbfee877e2..0fecb9e092c 100644 --- a/packages/cmf-router/package.json +++ b/packages/cmf-router/package.json @@ -1,6 +1,6 @@ { "name": "@talend/react-cmf-router", - "version": "7.1.1", + "version": "8.0.0", "description": "", "main": "lib/index.js", "module": "./lib-esm/index.js", @@ -25,7 +25,7 @@ "lint": "talend-scripts lint" }, "dependencies": { - "@talend/react-cmf": "^10.1.1", + "@talend/react-cmf": "^11.0.0", "connected-react-router": "^6.9.3", "history": "^5.3.0", "lodash": "^4.17.21", diff --git a/packages/cmf/CHANGELOG.md b/packages/cmf/CHANGELOG.md index c1a8a655992..dc9d509bd85 100644 --- a/packages/cmf/CHANGELOG.md +++ b/packages/cmf/CHANGELOG.md @@ -1,5 +1,44 @@ # @talend/react-cmf +## 11.0.0 + +### Major Changes + +- 816bb91: BREAKING CHANGE: Upgraded path-to-regexp from 3.x to 8.x + + This upgrade was necessary to resolve security vulnerabilities. The new version introduces two breaking changes that require updates to your application: + + 1. Optional Path Parameter Syntax Change + + - Old syntax: `/resources/:id?` + - New syntax: `/resources{/id}` + + This change is required because in path-to-regexp 8.x, the `?` character is reserved for query parameters and will throw a parsing error when used at the end of a path. + + 2. Root Path Matching Behavior Change + + - In v3.x, root path `/` would match any path starting with `/` + - In v8.x, root path `/` only matches exactly `/` + - To match both root and child paths, use the wildcard pattern `/{*path}` + + Example migration: + + ```javascript + // Before + const routes = { + '/': rootSaga, + '/resources/:id?': resourceSaga + }; + + // After + const routes = { + '/{*path}': rootSaga, // if you want to match all routes + '/resources{/id}': resourceSaga + }; + ``` + + For more details about path matching and troubleshooting, see [path-to-regexp documentation](https://github.com/pillarjs/path-to-regexp#errors). + ## 10.1.1 ### Patch Changes diff --git a/packages/cmf/package.json b/packages/cmf/package.json index df6dcc020ea..882786f51b8 100644 --- a/packages/cmf/package.json +++ b/packages/cmf/package.json @@ -87,5 +87,5 @@ "publishConfig": { "access": "public" }, - "version": "10.1.1" + "version": "11.0.0" } diff --git a/packages/containers/CHANGELOG.md b/packages/containers/CHANGELOG.md index 83a7e081bcd..5ae45331902 100644 --- a/packages/containers/CHANGELOG.md +++ b/packages/containers/CHANGELOG.md @@ -1,5 +1,12 @@ # @talend/react-containers +## 11.3.2 + +### Patch Changes + +- Updated dependencies [816bb91] + - @talend/react-cmf@11.0.0 + ## 11.3.1 ### Patch Changes diff --git a/packages/containers/package.json b/packages/containers/package.json index 3a1e7ae943e..57bd21244f5 100644 --- a/packages/containers/package.json +++ b/packages/containers/package.json @@ -46,7 +46,7 @@ }, "dependencies": { "@talend/design-system": "^11.4.0", - "@talend/react-cmf": "^10.1.1", + "@talend/react-cmf": "^11.0.0", "@talend/react-components": "^17.3.1", "@talend/react-forms": "^15.1.0", "@talend/utils": "^3.2.3", @@ -66,7 +66,7 @@ "@talend/locales-tui-containers": "^9.1.3", "@talend/locales-tui-forms": "^15.2.0", "@talend/locales-design-system": "^7.15.1", - "@talend/react-storybook-cmf": "^10.0.0", + "@talend/react-storybook-cmf": "^11.0.0", "@talend/eslint-config": "^13.2.1", "@talend/eslint-plugin": "^1.3.1", "@talend/scripts-core": "^16.5.1", @@ -95,5 +95,5 @@ "publishConfig": { "access": "public" }, - "version": "11.3.1" + "version": "11.3.2" } diff --git a/packages/playground-vite/CHANGELOG.md b/packages/playground-vite/CHANGELOG.md index e61b58e3d72..2cdd766dae6 100644 --- a/packages/playground-vite/CHANGELOG.md +++ b/packages/playground-vite/CHANGELOG.md @@ -1,5 +1,14 @@ # @talend/ui-playground +## 0.1.3 + +### Patch Changes + +- Updated dependencies [816bb91] + - @talend/react-cmf-router@8.0.0 + - @talend/react-cmf@11.0.0 + - @talend/react-containers@11.3.2 + ## 0.1.2 ### Patch Changes diff --git a/packages/playground-vite/package.json b/packages/playground-vite/package.json index 395022abcb2..ebd83683353 100644 --- a/packages/playground-vite/package.json +++ b/packages/playground-vite/package.json @@ -1,6 +1,6 @@ { "name": "@talend/ui-playground-vite", - "version": "0.1.2", + "version": "0.1.3", "description": "Showcase Talend/UI", "private": true, "type": "module", @@ -55,10 +55,10 @@ "@talend/locales-tui-containers": "^9.1.3", "@talend/locales-tui-faceted-search": "^11.3.0", "@talend/locales-tui-forms": "^15.2.0", - "@talend/react-cmf": "^10.1.0", - "@talend/react-cmf-router": "^7.1.0", + "@talend/react-cmf": "^11.0.0", + "@talend/react-cmf-router": "^8.0.0", "@talend/react-components": "^17.3.1", - "@talend/react-containers": "^11.3.0", + "@talend/react-containers": "^11.3.2", "@talend/react-dataviz": "^7.0.1", "@talend/react-faceted-search": "^21.0.0", "@talend/react-forms": "^15.1.0", diff --git a/packages/playground/CHANGELOG.md b/packages/playground/CHANGELOG.md index bd8e8a04cbd..b3fd87fd5cc 100644 --- a/packages/playground/CHANGELOG.md +++ b/packages/playground/CHANGELOG.md @@ -1,5 +1,14 @@ # @talend/ui-playground +## 2.5.2 + +### Patch Changes + +- Updated dependencies [816bb91] + - @talend/react-cmf-router@8.0.0 + - @talend/react-cmf@11.0.0 + - @talend/react-containers@11.3.2 + ## 2.5.1 ### Patch Changes diff --git a/packages/playground/package.json b/packages/playground/package.json index 9f47f820fe8..a468e3b36ac 100644 --- a/packages/playground/package.json +++ b/packages/playground/package.json @@ -1,6 +1,6 @@ { "name": "@talend/ui-playground", - "version": "2.5.1", + "version": "2.5.2", "description": "Showcase Talend/UI", "private": true, "main": "app/index.js", @@ -46,10 +46,10 @@ "@talend/locales-tui-components": "^16.0.1", "@talend/locales-tui-containers": "^9.1.3", "@talend/locales-tui-forms": "^15.2.0", - "@talend/react-cmf": "^10.0.1", - "@talend/react-cmf-router": "^7.0.1", + "@talend/react-cmf": "^11.0.0", + "@talend/react-cmf-router": "^8.0.0", "@talend/react-components": "^17.1.3", - "@talend/react-containers": "^11.2.0", + "@talend/react-containers": "^11.3.2", "@talend/react-dataviz": "^7.0.1", "@talend/react-faceted-search": "^21.0.0", "@talend/react-forms": "^15.1.0", diff --git a/packages/sagas/CHANGELOG.md b/packages/sagas/CHANGELOG.md index ee54d870e8b..f161060f7d2 100644 --- a/packages/sagas/CHANGELOG.md +++ b/packages/sagas/CHANGELOG.md @@ -1,5 +1,12 @@ # @talend/react-sagas +## 9.0.1 + +### Patch Changes + +- Updated dependencies [816bb91] + - @talend/react-cmf@11.0.0 + ## 9.0.0 ### Major Changes diff --git a/packages/sagas/package.json b/packages/sagas/package.json index 0bda680ec9f..be5ad78c76b 100644 --- a/packages/sagas/package.json +++ b/packages/sagas/package.json @@ -1,6 +1,6 @@ { "name": "@talend/react-sagas", - "version": "9.0.0", + "version": "9.0.1", "description": "App wide redux sagas", "main": "lib/index.js", "mainSrc": "src/index.js", @@ -31,7 +31,7 @@ "url": "https://github.com/Talend/ui.git" }, "dependencies": { - "@talend/react-cmf": "^10.0.1", + "@talend/react-cmf": "^11.0.0", "immutable": "^3.8.2", "redux-saga": "^1.3.0" }, diff --git a/packages/storybook-cmf/CHANGELOG.md b/packages/storybook-cmf/CHANGELOG.md index 0d7ff983a2e..d2b4aa560dc 100644 --- a/packages/storybook-cmf/CHANGELOG.md +++ b/packages/storybook-cmf/CHANGELOG.md @@ -1,5 +1,12 @@ # @talend/react-storybook-cmf +## 11.0.0 + +### Patch Changes + +- Updated dependencies [816bb91] + - @talend/react-cmf@11.0.0 + ## 10.0.0 ### Major Changes diff --git a/packages/storybook-cmf/package.json b/packages/storybook-cmf/package.json index 0c0821df045..08f08bae779 100644 --- a/packages/storybook-cmf/package.json +++ b/packages/storybook-cmf/package.json @@ -1,7 +1,7 @@ { "name": "@talend/react-storybook-cmf", "description": "react-storybook-cmf library.", - "version": "10.0.0", + "version": "11.0.0", "license": "Apache-2.0", "author": "Talend Frontend ", "repository": { @@ -26,7 +26,7 @@ "devDependencies": { "@talend/eslint-config": "^13.2.1", "@talend/eslint-plugin": "^1.3.1", - "@talend/react-cmf": "^10.0.1", + "@talend/react-cmf": "^11.0.0", "@talend/scripts-core": "^16.5.1", "@talend/scripts-config-babel": "^13.5.0", "@testing-library/react": "^14.3.1", @@ -39,7 +39,7 @@ "prop-types": "^15.8.1" }, "peerDependencies": { - "@talend/react-cmf": "^10.0.1", + "@talend/react-cmf": "^11.0.0", "react": "^18.3.1", "react-dom": "^18.3.1", "react-redux": "^7.2.9",