diff --git a/.changeset/signin-field-labels-i18n.md b/.changeset/signin-field-labels-i18n.md deleted file mode 100644 index b95d2029a..000000000 --- a/.changeset/signin-field-labels-i18n.md +++ /dev/null @@ -1,11 +0,0 @@ ---- -'@asgardeo/javascript': patch -'@asgardeo/react': patch -'@asgardeo/nextjs': patch ---- - -Let applications relabel the embedded sign-in fields through i18n. - -- The username and password fields of the embedded sign-in form now take their label and placeholder from the i18n bundle (`elements.fields..label` / `elements.fields..placeholder`) when a translation is provided, falling back to the text returned by the identity server. This lets applications whose users sign in with an email address relabel the identifier field without changing the login flow. -- `preferences.i18n.bundles` now accepts partial bundles (`I18nBundleOverride`): only the keys being changed need to be supplied, and the bundle metadata is optional. This was already the runtime behaviour but the types required a complete bundle. -- The Next.js `` component now accepts the `preferences` prop, so texts can be overridden per component as with `` and the React SDK. diff --git a/packages/browser/CHANGELOG.md b/packages/browser/CHANGELOG.md index 1c6bdda03..d9433f926 100644 --- a/packages/browser/CHANGELOG.md +++ b/packages/browser/CHANGELOG.md @@ -1,5 +1,13 @@ # @asgardeo/browser +## 0.7.14 + +### Patch Changes + +- Updated dependencies + [[`3177d83`](https://github.com/asgardeo/javascript/commit/3177d83d1ef76b0dbf83f102d8213f78b9d9213d)]: + - @asgardeo/javascript@0.23.4 + ## 0.7.13 ### Patch Changes diff --git a/packages/browser/package.json b/packages/browser/package.json index 96abc586a..230b59693 100644 --- a/packages/browser/package.json +++ b/packages/browser/package.json @@ -1,6 +1,6 @@ { "name": "@asgardeo/browser", - "version": "0.7.13", + "version": "0.7.14", "description": "Browser-specific implementation of Asgardeo JavaScript SDK.", "keywords": [ "asgardeo", diff --git a/packages/express/CHANGELOG.md b/packages/express/CHANGELOG.md index dd7c3f554..158968010 100644 --- a/packages/express/CHANGELOG.md +++ b/packages/express/CHANGELOG.md @@ -1,5 +1,12 @@ # @asgardeo/express +## 0.0.85 + +### Patch Changes + +- Updated dependencies []: + - @asgardeo/node@0.0.86 + ## 0.0.84 ### Patch Changes diff --git a/packages/express/package.json b/packages/express/package.json index 73f42c7d9..fb470304c 100644 --- a/packages/express/package.json +++ b/packages/express/package.json @@ -1,6 +1,6 @@ { "name": "@asgardeo/express", - "version": "0.0.84", + "version": "0.0.85", "description": "Express.js implementation of Asgardeo JavaScript SDK.", "keywords": [ "asgardeo", diff --git a/packages/javascript/CHANGELOG.md b/packages/javascript/CHANGELOG.md index d2681eecb..e748d8965 100644 --- a/packages/javascript/CHANGELOG.md +++ b/packages/javascript/CHANGELOG.md @@ -1,5 +1,24 @@ # @asgardeo/javascript +## 0.23.4 + +### Patch Changes + +- [#548](https://github.com/asgardeo/javascript/pull/548) + [`3177d83`](https://github.com/asgardeo/javascript/commit/3177d83d1ef76b0dbf83f102d8213f78b9d9213d) Thanks + [@DonOmalVindula](https://github.com/DonOmalVindula)! - Let applications relabel the embedded sign-in fields through + i18n. + + - The username and password fields of the embedded sign-in form now take their label and placeholder from the i18n + bundle (`elements.fields..label` / `elements.fields..placeholder`) when a translation is provided, + falling back to the text returned by the identity server. This lets applications whose users sign in with an email + address relabel the identifier field without changing the login flow. + - `preferences.i18n.bundles` now accepts partial bundles (`I18nBundleOverride`): only the keys being changed need to + be supplied, and the bundle metadata is optional. This was already the runtime behaviour but the types required a + complete bundle. + - The Next.js `` component now accepts the `preferences` prop, so texts can be overridden per component as + with `` and the React SDK. + ## 0.23.3 ### Patch Changes diff --git a/packages/javascript/package.json b/packages/javascript/package.json index 9f54a6887..77aa5e185 100644 --- a/packages/javascript/package.json +++ b/packages/javascript/package.json @@ -1,6 +1,6 @@ { "name": "@asgardeo/javascript", - "version": "0.23.3", + "version": "0.23.4", "description": "Framework agnostic JavaScript SDK for Asgardeo.", "keywords": [ "asgardeo", diff --git a/packages/nextjs/CHANGELOG.md b/packages/nextjs/CHANGELOG.md index d1d030119..182dfefea 100644 --- a/packages/nextjs/CHANGELOG.md +++ b/packages/nextjs/CHANGELOG.md @@ -1,5 +1,29 @@ # @asgardeo/nextjs +## 0.3.33 + +### Patch Changes + +- [#548](https://github.com/asgardeo/javascript/pull/548) + [`3177d83`](https://github.com/asgardeo/javascript/commit/3177d83d1ef76b0dbf83f102d8213f78b9d9213d) Thanks + [@DonOmalVindula](https://github.com/DonOmalVindula)! - Let applications relabel the embedded sign-in fields through + i18n. + + - The username and password fields of the embedded sign-in form now take their label and placeholder from the i18n + bundle (`elements.fields..label` / `elements.fields..placeholder`) when a translation is provided, + falling back to the text returned by the identity server. This lets applications whose users sign in with an email + address relabel the identifier field without changing the login flow. + - `preferences.i18n.bundles` now accepts partial bundles (`I18nBundleOverride`): only the keys being changed need to + be supplied, and the bundle metadata is optional. This was already the runtime behaviour but the types required a + complete bundle. + - The Next.js `` component now accepts the `preferences` prop, so texts can be overridden per component as + with `` and the React SDK. + +- Updated dependencies + [[`3177d83`](https://github.com/asgardeo/javascript/commit/3177d83d1ef76b0dbf83f102d8213f78b9d9213d)]: + - @asgardeo/react@0.25.11 + - @asgardeo/node@0.0.86 + ## 0.3.32 ### Patch Changes diff --git a/packages/nextjs/package.json b/packages/nextjs/package.json index 9b0fec1fd..7d4d4367e 100644 --- a/packages/nextjs/package.json +++ b/packages/nextjs/package.json @@ -1,6 +1,6 @@ { "name": "@asgardeo/nextjs", - "version": "0.3.32", + "version": "0.3.33", "description": "Next.js implementation of Asgardeo JavaScript SDK.", "keywords": [ "asgardeo", diff --git a/packages/node/CHANGELOG.md b/packages/node/CHANGELOG.md index 71508d2a6..a1a150ee3 100644 --- a/packages/node/CHANGELOG.md +++ b/packages/node/CHANGELOG.md @@ -1,5 +1,13 @@ # @asgardeo/node +## 0.0.86 + +### Patch Changes + +- Updated dependencies + [[`3177d83`](https://github.com/asgardeo/javascript/commit/3177d83d1ef76b0dbf83f102d8213f78b9d9213d)]: + - @asgardeo/javascript@0.23.4 + ## 0.0.85 ### Patch Changes diff --git a/packages/node/package.json b/packages/node/package.json index 9633f9559..0a00166d7 100644 --- a/packages/node/package.json +++ b/packages/node/package.json @@ -1,6 +1,6 @@ { "name": "@asgardeo/node", - "version": "0.0.85", + "version": "0.0.86", "description": "Node.js runtime specific implementation of Asgardeo JavaScript SDK.", "keywords": [ "asgardeo", diff --git a/packages/nuxt/CHANGELOG.md b/packages/nuxt/CHANGELOG.md index 5a516110f..dfc726de2 100644 --- a/packages/nuxt/CHANGELOG.md +++ b/packages/nuxt/CHANGELOG.md @@ -1,5 +1,14 @@ # @asgardeo/nuxt +## 0.2.7 + +### Patch Changes + +- Updated dependencies []: + - @asgardeo/browser@0.7.14 + - @asgardeo/node@0.0.86 + - @asgardeo/vue@0.4.7 + ## 0.2.6 ### Patch Changes diff --git a/packages/nuxt/package.json b/packages/nuxt/package.json index 7d4f48e6e..a352536ae 100644 --- a/packages/nuxt/package.json +++ b/packages/nuxt/package.json @@ -1,6 +1,6 @@ { "name": "@asgardeo/nuxt", - "version": "0.2.6", + "version": "0.2.7", "description": "Nuxt module for Asgardeo - Authentication and Identity Management", "author": "WSO2", "license": "Apache-2.0", diff --git a/packages/react/CHANGELOG.md b/packages/react/CHANGELOG.md index 189b726a4..62f97da50 100644 --- a/packages/react/CHANGELOG.md +++ b/packages/react/CHANGELOG.md @@ -1,5 +1,27 @@ # @asgardeo/react +## 0.25.11 + +### Patch Changes + +- [#548](https://github.com/asgardeo/javascript/pull/548) + [`3177d83`](https://github.com/asgardeo/javascript/commit/3177d83d1ef76b0dbf83f102d8213f78b9d9213d) Thanks + [@DonOmalVindula](https://github.com/DonOmalVindula)! - Let applications relabel the embedded sign-in fields through + i18n. + + - The username and password fields of the embedded sign-in form now take their label and placeholder from the i18n + bundle (`elements.fields..label` / `elements.fields..placeholder`) when a translation is provided, + falling back to the text returned by the identity server. This lets applications whose users sign in with an email + address relabel the identifier field without changing the login flow. + - `preferences.i18n.bundles` now accepts partial bundles (`I18nBundleOverride`): only the keys being changed need to + be supplied, and the bundle metadata is optional. This was already the runtime behaviour but the types required a + complete bundle. + - The Next.js `` component now accepts the `preferences` prop, so texts can be overridden per component as + with `` and the React SDK. + +- Updated dependencies []: + - @asgardeo/browser@0.7.14 + ## 0.25.10 ### Patch Changes diff --git a/packages/react/package.json b/packages/react/package.json index f74d20628..8891e2a47 100644 --- a/packages/react/package.json +++ b/packages/react/package.json @@ -1,6 +1,6 @@ { "name": "@asgardeo/react", - "version": "0.25.10", + "version": "0.25.11", "description": "React implementation of Asgardeo JavaScript SDK.", "keywords": [ "asgardeo", diff --git a/packages/vue/CHANGELOG.md b/packages/vue/CHANGELOG.md index 309b81ed9..f23c0919a 100644 --- a/packages/vue/CHANGELOG.md +++ b/packages/vue/CHANGELOG.md @@ -1,5 +1,12 @@ # @asgardeo/vue +## 0.4.7 + +### Patch Changes + +- Updated dependencies []: + - @asgardeo/browser@0.7.14 + ## 0.4.6 ### Patch Changes diff --git a/packages/vue/package.json b/packages/vue/package.json index 16cbc6a11..db8210c55 100644 --- a/packages/vue/package.json +++ b/packages/vue/package.json @@ -1,6 +1,6 @@ { "name": "@asgardeo/vue", - "version": "0.4.6", + "version": "0.4.7", "description": "Vue 3 SDK for Asgardeo - Authentication and Identity Management", "keywords": [ "asgardeo",