From 5db1a4925191738b84c8e33639507f1c49502be0 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Thu, 26 Sep 2024 11:57:21 +0200 Subject: [PATCH] [RELEASE] Update package versions (#67) Co-authored-by: github-actions[bot] --- .changeset/dry-apes-sparkle.md | 41 --------------- .changeset/moody-panthers-count.md | 5 -- .changeset/old-mayflies-sing.md | 19 ------- .../authentication-keycloak/CHANGELOG.md | 14 +++++ .../authentication-keycloak/package.json | 2 +- src/packages/authentication/CHANGELOG.md | 51 +++++++++++++++++++ src/packages/authentication/package.json | 2 +- src/packages/base-theme/CHANGELOG.md | 9 ++++ src/packages/base-theme/package.json | 2 +- src/packages/chakra-integration/CHANGELOG.md | 7 +++ src/packages/chakra-integration/package.json | 2 +- src/packages/core/CHANGELOG.md | 7 +++ src/packages/core/package.json | 2 +- src/packages/http/CHANGELOG.md | 10 ++++ src/packages/http/package.json | 2 +- src/packages/integration/CHANGELOG.md | 9 ++++ src/packages/integration/package.json | 2 +- src/packages/local-storage/CHANGELOG.md | 10 ++++ src/packages/local-storage/package.json | 2 +- src/packages/notifier/CHANGELOG.md | 12 +++++ src/packages/notifier/package.json | 2 +- src/packages/react-utils/CHANGELOG.md | 10 ++++ src/packages/react-utils/package.json | 2 +- src/packages/reactivity/CHANGELOG.md | 7 +++ src/packages/reactivity/package.json | 2 +- .../runtime-react-support/CHANGELOG.md | 7 +++ .../runtime-react-support/package.json | 2 +- src/packages/runtime/CHANGELOG.md | 12 +++++ src/packages/runtime/package.json | 2 +- src/packages/test-utils/CHANGELOG.md | 10 ++++ src/packages/test-utils/package.json | 2 +- 31 files changed, 189 insertions(+), 79 deletions(-) delete mode 100644 .changeset/dry-apes-sparkle.md delete mode 100644 .changeset/moody-panthers-count.md delete mode 100644 .changeset/old-mayflies-sing.md diff --git a/.changeset/dry-apes-sparkle.md b/.changeset/dry-apes-sparkle.md deleted file mode 100644 index 3260df08..00000000 --- a/.changeset/dry-apes-sparkle.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -"@open-pioneer/authentication": minor ---- - -Introduce new authentication state `AuthStateAuthenticationError` - -Error state is supposed to be used for errors that occur during the authentication process (e.g. lost connection to authentication backend) rather than for failed login attempts (e.g. invalid credentials) - -`ForceAuth` component provides two mechanisms to render a fallback component if an authentication error occurs. - -`errorFallback` option takes an abitrary react component that is rendered in case of an error. The error object can be accessed via the ErrorFallbackPros. - -```jsx - - App Content - - - function ErrorFallback(props: ErrorFallbackProps) { - return ( - <> - {props.error.message} - - ); - } -``` - -If additional inputs or state must be accessed from within the error fallback component the `renderErrorFallback` option should be used. - -```jsx -const userName = "user1"; - ( - <> - Could not login {userName} - {e.message} - - )}> - App Content - -``` - -The `renderErrorFallback` property takes precedence over the `errorFallback` property. diff --git a/.changeset/moody-panthers-count.md b/.changeset/moody-panthers-count.md deleted file mode 100644 index d1f63ea6..00000000 --- a/.changeset/moody-panthers-count.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@open-pioneer/authentication-keycloak": patch ---- - -Use error state to communicate keycloak exceptions diff --git a/.changeset/old-mayflies-sing.md b/.changeset/old-mayflies-sing.md deleted file mode 100644 index 4dbe8865..00000000 --- a/.changeset/old-mayflies-sing.md +++ /dev/null @@ -1,19 +0,0 @@ ---- -"@open-pioneer/authentication": patch -"@open-pioneer/authentication-keycloak": patch -"@open-pioneer/base-theme": patch -"@open-pioneer/chakra-integration": patch -"@open-pioneer/core": patch -"@open-pioneer/http": patch -"@open-pioneer/integration": patch -"@open-pioneer/local-storage": patch -"@open-pioneer/notifier": patch -"@open-pioneer/react-utils": patch -"@open-pioneer/reactivity": patch -"@open-pioneer/runtime": patch -"@open-pioneer/runtime-react-support": patch -"@open-pioneer/test-utils": patch ---- - -Switch to a new versioning strategy. -From now on, packages released by this repository share a common version number. diff --git a/src/packages/authentication-keycloak/CHANGELOG.md b/src/packages/authentication-keycloak/CHANGELOG.md index f2b79825..77f64469 100644 --- a/src/packages/authentication-keycloak/CHANGELOG.md +++ b/src/packages/authentication-keycloak/CHANGELOG.md @@ -1,5 +1,19 @@ # @open-pioneer/authentication-keycloak +## 2.2.0 + +### Patch Changes + +- 41f0c6f: Use error state to communicate keycloak exceptions +- 39dad46: Switch to a new versioning strategy. + From now on, packages released by this repository share a common version number. +- Updated dependencies [41f0c6f] +- Updated dependencies [39dad46] + - @open-pioneer/authentication@2.2.0 + - @open-pioneer/core@2.2.0 + - @open-pioneer/notifier@2.2.0 + - @open-pioneer/runtime@2.2.0 + ## 0.2.0 ### Minor Changes diff --git a/src/packages/authentication-keycloak/package.json b/src/packages/authentication-keycloak/package.json index e1b3641d..dc106a2c 100644 --- a/src/packages/authentication-keycloak/package.json +++ b/src/packages/authentication-keycloak/package.json @@ -1,6 +1,6 @@ { "name": "@open-pioneer/authentication-keycloak", - "version": "0.2.0", + "version": "2.2.0", "description": "Implements authentication against Keycloak servers.", "license": "Apache-2.0", "main": "index.ts", diff --git a/src/packages/authentication/CHANGELOG.md b/src/packages/authentication/CHANGELOG.md index 88e7e5b6..d09d3912 100644 --- a/src/packages/authentication/CHANGELOG.md +++ b/src/packages/authentication/CHANGELOG.md @@ -1,5 +1,56 @@ # @open-pioneer/authentication +## 2.2.0 + +### Minor Changes + +- 41f0c6f: Introduce new authentication state `AuthStateAuthenticationError` + + Error state is supposed to be used for errors that occur during the authentication process (e.g. lost connection to authentication backend) rather than for failed login attempts (e.g. invalid credentials) + + `ForceAuth` component provides two mechanisms to render a fallback component if an authentication error occurs. + + `errorFallback` option takes an abitrary react component that is rendered in case of an error. The error object can be accessed via the ErrorFallbackPros. + + ```jsx + + App Content + + + function ErrorFallback(props: ErrorFallbackProps) { + return ( + <> + {props.error.message} + + ); + } + ``` + + If additional inputs or state must be accessed from within the error fallback component the `renderErrorFallback` option should be used. + + ```jsx + const userName = "user1"; + ( + <> + Could not login {userName} + {e.message} + + )}> + App Content + + ``` + + The `renderErrorFallback` property takes precedence over the `errorFallback` property. + +### Patch Changes + +- 39dad46: Switch to a new versioning strategy. + From now on, packages released by this repository share a common version number. +- Updated dependencies [39dad46] + - @open-pioneer/chakra-integration@2.2.0 + - @open-pioneer/core@2.2.0 + - @open-pioneer/runtime@2.2.0 + ## 0.3.6 ### Patch Changes diff --git a/src/packages/authentication/package.json b/src/packages/authentication/package.json index eb7d9132..0fe7e253 100644 --- a/src/packages/authentication/package.json +++ b/src/packages/authentication/package.json @@ -2,7 +2,7 @@ "name": "@open-pioneer/authentication", "description": "Authentication API for Open Pioneer Trails applications.", "license": "Apache-2.0", - "version": "0.3.6", + "version": "2.2.0", "main": "index.ts", "repository": { "type": "git", diff --git a/src/packages/base-theme/CHANGELOG.md b/src/packages/base-theme/CHANGELOG.md index 08e9a2e3..04e8bfab 100644 --- a/src/packages/base-theme/CHANGELOG.md +++ b/src/packages/base-theme/CHANGELOG.md @@ -1,5 +1,14 @@ # @open-pioneer/base-theme +## 2.2.0 + +### Patch Changes + +- 39dad46: Switch to a new versioning strategy. + From now on, packages released by this repository share a common version number. +- Updated dependencies [39dad46] + - @open-pioneer/chakra-integration@2.2.0 + ## 0.3.3 ### Patch Changes diff --git a/src/packages/base-theme/package.json b/src/packages/base-theme/package.json index 0bd44ab1..4d1c0c30 100644 --- a/src/packages/base-theme/package.json +++ b/src/packages/base-theme/package.json @@ -1,7 +1,7 @@ { "name": "@open-pioneer/base-theme", "description": "This package provides the default theme for all Open Pioneer Trails applications.", - "version": "0.3.3", + "version": "2.2.0", "main": "index.ts", "license": "Apache-2.0", "repository": { diff --git a/src/packages/chakra-integration/CHANGELOG.md b/src/packages/chakra-integration/CHANGELOG.md index bb4f67fa..869309ce 100644 --- a/src/packages/chakra-integration/CHANGELOG.md +++ b/src/packages/chakra-integration/CHANGELOG.md @@ -1,5 +1,12 @@ # @open-pioneer/chakra-integration +## 2.2.0 + +### Patch Changes + +- 39dad46: Switch to a new versioning strategy. + From now on, packages released by this repository share a common version number. + ## 1.1.4 ### Patch Changes diff --git a/src/packages/chakra-integration/package.json b/src/packages/chakra-integration/package.json index be96375e..3763c6cd 100644 --- a/src/packages/chakra-integration/package.json +++ b/src/packages/chakra-integration/package.json @@ -1,6 +1,6 @@ { "name": "@open-pioneer/chakra-integration", - "version": "1.1.4", + "version": "2.2.0", "description": "Integrates Chakra UI into Open Pioneer Trails application.", "main": "index.ts", "license": "Apache-2.0", diff --git a/src/packages/core/CHANGELOG.md b/src/packages/core/CHANGELOG.md index 3837b8ef..8e1fc508 100644 --- a/src/packages/core/CHANGELOG.md +++ b/src/packages/core/CHANGELOG.md @@ -1,5 +1,12 @@ # @open-pioneer/core +## 2.2.0 + +### Patch Changes + +- 39dad46: Switch to a new versioning strategy. + From now on, packages released by this repository share a common version number. + ## 1.3.0 ### Minor Changes diff --git a/src/packages/core/package.json b/src/packages/core/package.json index f8ff8573..02b3711a 100644 --- a/src/packages/core/package.json +++ b/src/packages/core/package.json @@ -1,6 +1,6 @@ { "name": "@open-pioneer/core", - "version": "1.3.0", + "version": "2.2.0", "description": "Contains basic utility functions and classes used by the @open-pioneer project.", "license": "Apache-2.0", "main": "index.ts", diff --git a/src/packages/http/CHANGELOG.md b/src/packages/http/CHANGELOG.md index 58d90910..a2618bbe 100644 --- a/src/packages/http/CHANGELOG.md +++ b/src/packages/http/CHANGELOG.md @@ -1,5 +1,15 @@ # @open-pioneer/http +## 2.2.0 + +### Patch Changes + +- 39dad46: Switch to a new versioning strategy. + From now on, packages released by this repository share a common version number. +- Updated dependencies [39dad46] + - @open-pioneer/core@2.2.0 + - @open-pioneer/runtime@2.2.0 + ## 2.1.9 ### Patch Changes diff --git a/src/packages/http/package.json b/src/packages/http/package.json index be4b5992..cd632bb6 100644 --- a/src/packages/http/package.json +++ b/src/packages/http/package.json @@ -1,6 +1,6 @@ { "name": "@open-pioneer/http", - "version": "2.1.9", + "version": "2.2.0", "description": "Provides the HttpService, which can be used to request resources over HTTP.", "license": "Apache-2.0", "main": "index.ts", diff --git a/src/packages/integration/CHANGELOG.md b/src/packages/integration/CHANGELOG.md index d83e8e4c..bc123a79 100644 --- a/src/packages/integration/CHANGELOG.md +++ b/src/packages/integration/CHANGELOG.md @@ -1,5 +1,14 @@ # @open-pioneer/integration +## 2.2.0 + +### Patch Changes + +- 39dad46: Switch to a new versioning strategy. + From now on, packages released by this repository share a common version number. +- Updated dependencies [39dad46] + - @open-pioneer/runtime@2.2.0 + ## 2.0.10 ### Patch Changes diff --git a/src/packages/integration/package.json b/src/packages/integration/package.json index 6f6ddd89..7a735324 100644 --- a/src/packages/integration/package.json +++ b/src/packages/integration/package.json @@ -1,6 +1,6 @@ { "name": "@open-pioneer/integration", - "version": "2.0.10", + "version": "2.2.0", "description": "Provides techniques for the communication between an application (web component) and its embedding site.", "license": "Apache-2.0", "main": "index.ts", diff --git a/src/packages/local-storage/CHANGELOG.md b/src/packages/local-storage/CHANGELOG.md index 72e81cc9..45411208 100644 --- a/src/packages/local-storage/CHANGELOG.md +++ b/src/packages/local-storage/CHANGELOG.md @@ -1,5 +1,15 @@ # @open-pioneer/local-storage +## 2.2.0 + +### Patch Changes + +- 39dad46: Switch to a new versioning strategy. + From now on, packages released by this repository share a common version number. +- Updated dependencies [39dad46] + - @open-pioneer/core@2.2.0 + - @open-pioneer/runtime@2.2.0 + ## 0.3.6 ### Patch Changes diff --git a/src/packages/local-storage/package.json b/src/packages/local-storage/package.json index cccd8006..d54dc315 100644 --- a/src/packages/local-storage/package.json +++ b/src/packages/local-storage/package.json @@ -1,6 +1,6 @@ { "name": "@open-pioneer/local-storage", - "version": "0.3.6", + "version": "2.2.0", "description": "Provides access to the browser's local storage.", "license": "Apache-2.0", "main": "index.ts", diff --git a/src/packages/notifier/CHANGELOG.md b/src/packages/notifier/CHANGELOG.md index ba50ae28..bcf66fe2 100644 --- a/src/packages/notifier/CHANGELOG.md +++ b/src/packages/notifier/CHANGELOG.md @@ -1,5 +1,17 @@ # @open-pioneer/notifier +## 2.2.0 + +### Patch Changes + +- 39dad46: Switch to a new versioning strategy. + From now on, packages released by this repository share a common version number. +- Updated dependencies [39dad46] + - @open-pioneer/chakra-integration@2.2.0 + - @open-pioneer/core@2.2.0 + - @open-pioneer/react-utils@2.2.0 + - @open-pioneer/runtime@2.2.0 + ## 0.3.6 ### Patch Changes diff --git a/src/packages/notifier/package.json b/src/packages/notifier/package.json index 27e21917..7b24da21 100644 --- a/src/packages/notifier/package.json +++ b/src/packages/notifier/package.json @@ -1,7 +1,7 @@ { "name": "@open-pioneer/notifier", "description": "Provides support for application-wide notifications.", - "version": "0.3.6", + "version": "2.2.0", "license": "Apache-2.0", "main": "index.ts", "repository": { diff --git a/src/packages/react-utils/CHANGELOG.md b/src/packages/react-utils/CHANGELOG.md index c935b272..b022cef1 100644 --- a/src/packages/react-utils/CHANGELOG.md +++ b/src/packages/react-utils/CHANGELOG.md @@ -1,5 +1,15 @@ # @open-pioneer/react-utils +## 2.2.0 + +### Patch Changes + +- 39dad46: Switch to a new versioning strategy. + From now on, packages released by this repository share a common version number. +- Updated dependencies [39dad46] + - @open-pioneer/chakra-integration@2.2.0 + - @open-pioneer/core@2.2.0 + ## 1.0.1 ### Patch Changes diff --git a/src/packages/react-utils/package.json b/src/packages/react-utils/package.json index 6b7c5b75..69b84faa 100644 --- a/src/packages/react-utils/package.json +++ b/src/packages/react-utils/package.json @@ -1,7 +1,7 @@ { "name": "@open-pioneer/react-utils", "description": "Contains common react utilities used by the open pioneer trails project", - "version": "1.0.1", + "version": "2.2.0", "license": "Apache-2.0", "main": "index.ts", "repository": { diff --git a/src/packages/reactivity/CHANGELOG.md b/src/packages/reactivity/CHANGELOG.md index 4de0dd3a..6fe389b0 100644 --- a/src/packages/reactivity/CHANGELOG.md +++ b/src/packages/reactivity/CHANGELOG.md @@ -1,5 +1,12 @@ # @open-pioneer/reactivity +## 2.2.0 + +### Patch Changes + +- 39dad46: Switch to a new versioning strategy. + From now on, packages released by this repository share a common version number. + ## 0.1.0 ### Minor Changes diff --git a/src/packages/reactivity/package.json b/src/packages/reactivity/package.json index b0cee3c7..0b74fc36 100644 --- a/src/packages/reactivity/package.json +++ b/src/packages/reactivity/package.json @@ -1,7 +1,7 @@ { "name": "@open-pioneer/reactivity", "description": "Provides integration for the reactivity API.", - "version": "0.1.0", + "version": "2.2.0", "license": "Apache-2.0", "main": "index.ts", "repository": { diff --git a/src/packages/runtime-react-support/CHANGELOG.md b/src/packages/runtime-react-support/CHANGELOG.md index b4eea391..a56abfb6 100644 --- a/src/packages/runtime-react-support/CHANGELOG.md +++ b/src/packages/runtime-react-support/CHANGELOG.md @@ -1,5 +1,12 @@ # @open-pioneer/runtime-react-support +## 2.2.0 + +### Patch Changes + +- 39dad46: Switch to a new versioning strategy. + From now on, packages released by this repository share a common version number. + ## 1.0.2 ### Patch Changes diff --git a/src/packages/runtime-react-support/package.json b/src/packages/runtime-react-support/package.json index db55621a..a131d09f 100644 --- a/src/packages/runtime-react-support/package.json +++ b/src/packages/runtime-react-support/package.json @@ -1,6 +1,6 @@ { "name": "@open-pioneer/runtime-react-support", - "version": "1.0.2", + "version": "2.2.0", "description": "An internal module providing support for react integration.", "license": "Apache-2.0", "main": "index.ts", diff --git a/src/packages/runtime/CHANGELOG.md b/src/packages/runtime/CHANGELOG.md index c71d419b..b90d68e9 100644 --- a/src/packages/runtime/CHANGELOG.md +++ b/src/packages/runtime/CHANGELOG.md @@ -1,5 +1,17 @@ # @open-pioneer/runtime +## 2.2.0 + +### Patch Changes + +- 39dad46: Switch to a new versioning strategy. + From now on, packages released by this repository share a common version number. +- Updated dependencies [39dad46] + - @open-pioneer/base-theme@2.2.0 + - @open-pioneer/chakra-integration@2.2.0 + - @open-pioneer/core@2.2.0 + - @open-pioneer/runtime-react-support@2.2.0 + ## 2.1.7 ### Patch Changes diff --git a/src/packages/runtime/package.json b/src/packages/runtime/package.json index d864838d..9157809d 100644 --- a/src/packages/runtime/package.json +++ b/src/packages/runtime/package.json @@ -1,6 +1,6 @@ { "name": "@open-pioneer/runtime", - "version": "2.1.7", + "version": "2.2.0", "description": "Implements the runtime environment for Open Pioneer Trails apps.", "license": "Apache-2.0", "main": "index.ts", diff --git a/src/packages/test-utils/CHANGELOG.md b/src/packages/test-utils/CHANGELOG.md index 84c26c7b..b3c5741f 100644 --- a/src/packages/test-utils/CHANGELOG.md +++ b/src/packages/test-utils/CHANGELOG.md @@ -1,5 +1,15 @@ # @open-pioneer/test-utils +## 2.2.0 + +### Patch Changes + +- 39dad46: Switch to a new versioning strategy. + From now on, packages released by this repository share a common version number. +- Updated dependencies [39dad46] + - @open-pioneer/chakra-integration@2.2.0 + - @open-pioneer/runtime-react-support@2.2.0 + ## 1.1.4 ### Patch Changes diff --git a/src/packages/test-utils/package.json b/src/packages/test-utils/package.json index fc47ee71..5aa6a502 100644 --- a/src/packages/test-utils/package.json +++ b/src/packages/test-utils/package.json @@ -1,6 +1,6 @@ { "name": "@open-pioneer/test-utils", - "version": "1.1.4", + "version": "2.2.0", "description": "Contains test utilities that make it easier to test parts of an Open Pioneer Trails application.", "license": "Apache-2.0", "repository": {