From f6a8ce33d572466fef48c617a4dc31b8fba3a036 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Wed, 23 Sep 2026 08:46:15 +0000 Subject: [PATCH] [WSO2 Release] [GitHub Action] [Release] [skip ci] update package versions --- .changeset/wicked-ghosts-swim.md | 9 --------- packages/browser/CHANGELOG.md | 19 +++++++++++++++++++ packages/browser/package.json | 2 +- packages/nextjs/CHANGELOG.md | 7 +++++++ packages/nextjs/package.json | 2 +- packages/nuxt/CHANGELOG.md | 9 +++++++++ packages/nuxt/package.json | 2 +- packages/react/CHANGELOG.md | 8 ++++++++ packages/react/package.json | 2 +- packages/vue/CHANGELOG.md | 8 ++++++++ packages/vue/package.json | 2 +- 11 files changed, 56 insertions(+), 14 deletions(-) delete mode 100644 .changeset/wicked-ghosts-swim.md diff --git a/.changeset/wicked-ghosts-swim.md b/.changeset/wicked-ghosts-swim.md deleted file mode 100644 index 2b45cba35..000000000 --- a/.changeset/wicked-ghosts-swim.md +++ /dev/null @@ -1,9 +0,0 @@ ---- -'@asgardeo/browser': patch ---- - -Fix SCIM2 responses (`/scim2/Me`, `/scim2/Schemas`, and related organization/profile API calls) not being parsed as JSON. - -`FetchHttpClient` only treated a response as JSON when its `Content-Type` header was exactly `application/json`. Asgardeo's SCIM2 endpoints respond with `Content-Type: application/scim+json`, which didn't match, so the response body was returned as raw, unparsed text instead of a parsed object. This caused the user profile to render incorrectly (missing fields, or falling back to a partial ID-token-derived profile) or crash with `TypeError: schemas.forEach is not a function`. - -The content-type check now correctly matches `application/json` and any subtype ending in `+json` (e.g. `application/scim+json`), while still treating non-document JSON formats like `application/geo+json-seq` as text (since those aren't parseable as a single JSON document). diff --git a/packages/browser/CHANGELOG.md b/packages/browser/CHANGELOG.md index d6744c140..25cd82080 100644 --- a/packages/browser/CHANGELOG.md +++ b/packages/browser/CHANGELOG.md @@ -1,5 +1,24 @@ # @asgardeo/browser +## 0.7.17 + +### Patch Changes + +- [#575](https://github.com/asgardeo/javascript/pull/575) + [`83c0597`](https://github.com/asgardeo/javascript/commit/83c0597a828c4d1bd1ca9d5e316e124466bb7327) Thanks + [@janithjay](https://github.com/janithjay)! - Fix SCIM2 responses (`/scim2/Me`, `/scim2/Schemas`, and related + organization/profile API calls) not being parsed as JSON. + + `FetchHttpClient` only treated a response as JSON when its `Content-Type` header was exactly `application/json`. + Asgardeo's SCIM2 endpoints respond with `Content-Type: application/scim+json`, which didn't match, so the response + body was returned as raw, unparsed text instead of a parsed object. This caused the user profile to render incorrectly + (missing fields, or falling back to a partial ID-token-derived profile) or crash with + `TypeError: schemas.forEach is not a function`. + + The content-type check now correctly matches `application/json` and any subtype ending in `+json` (e.g. + `application/scim+json`), while still treating non-document JSON formats like `application/geo+json-seq` as text + (since those aren't parseable as a single JSON document). + ## 0.7.16 ### Patch Changes diff --git a/packages/browser/package.json b/packages/browser/package.json index 0d2f87c88..5bcf762fa 100644 --- a/packages/browser/package.json +++ b/packages/browser/package.json @@ -1,6 +1,6 @@ { "name": "@asgardeo/browser", - "version": "0.7.16", + "version": "0.7.17", "description": "Browser-specific implementation of Asgardeo JavaScript SDK.", "keywords": [ "asgardeo", diff --git a/packages/nextjs/CHANGELOG.md b/packages/nextjs/CHANGELOG.md index f8e663c01..0a642c984 100644 --- a/packages/nextjs/CHANGELOG.md +++ b/packages/nextjs/CHANGELOG.md @@ -1,5 +1,12 @@ # @asgardeo/nextjs +## 0.3.36 + +### Patch Changes + +- Updated dependencies []: + - @asgardeo/react@0.25.14 + ## 0.3.35 ### Patch Changes diff --git a/packages/nextjs/package.json b/packages/nextjs/package.json index 6cb6517c9..87fbaf1a7 100644 --- a/packages/nextjs/package.json +++ b/packages/nextjs/package.json @@ -1,6 +1,6 @@ { "name": "@asgardeo/nextjs", - "version": "0.3.35", + "version": "0.3.36", "description": "Next.js implementation of Asgardeo JavaScript SDK.", "keywords": [ "asgardeo", diff --git a/packages/nuxt/CHANGELOG.md b/packages/nuxt/CHANGELOG.md index 4ee898c76..ea1b207a6 100644 --- a/packages/nuxt/CHANGELOG.md +++ b/packages/nuxt/CHANGELOG.md @@ -1,5 +1,14 @@ # @asgardeo/nuxt +## 0.2.10 + +### Patch Changes + +- Updated dependencies + [[`83c0597`](https://github.com/asgardeo/javascript/commit/83c0597a828c4d1bd1ca9d5e316e124466bb7327)]: + - @asgardeo/browser@0.7.17 + - @asgardeo/vue@0.4.10 + ## 0.2.9 ### Patch Changes diff --git a/packages/nuxt/package.json b/packages/nuxt/package.json index 721ae2984..e87189abe 100644 --- a/packages/nuxt/package.json +++ b/packages/nuxt/package.json @@ -1,6 +1,6 @@ { "name": "@asgardeo/nuxt", - "version": "0.2.9", + "version": "0.2.10", "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 1b5dd91fe..3f3ab6e12 100644 --- a/packages/react/CHANGELOG.md +++ b/packages/react/CHANGELOG.md @@ -1,5 +1,13 @@ # @asgardeo/react +## 0.25.14 + +### Patch Changes + +- Updated dependencies + [[`83c0597`](https://github.com/asgardeo/javascript/commit/83c0597a828c4d1bd1ca9d5e316e124466bb7327)]: + - @asgardeo/browser@0.7.17 + ## 0.25.13 ### Patch Changes diff --git a/packages/react/package.json b/packages/react/package.json index c3c9e298e..9629bbf76 100644 --- a/packages/react/package.json +++ b/packages/react/package.json @@ -1,6 +1,6 @@ { "name": "@asgardeo/react", - "version": "0.25.13", + "version": "0.25.14", "description": "React implementation of Asgardeo JavaScript SDK.", "keywords": [ "asgardeo", diff --git a/packages/vue/CHANGELOG.md b/packages/vue/CHANGELOG.md index f8e2599ef..4f55a996a 100644 --- a/packages/vue/CHANGELOG.md +++ b/packages/vue/CHANGELOG.md @@ -1,5 +1,13 @@ # @asgardeo/vue +## 0.4.10 + +### Patch Changes + +- Updated dependencies + [[`83c0597`](https://github.com/asgardeo/javascript/commit/83c0597a828c4d1bd1ca9d5e316e124466bb7327)]: + - @asgardeo/browser@0.7.17 + ## 0.4.9 ### Patch Changes diff --git a/packages/vue/package.json b/packages/vue/package.json index b4ccafd17..f8deaca71 100644 --- a/packages/vue/package.json +++ b/packages/vue/package.json @@ -1,6 +1,6 @@ { "name": "@asgardeo/vue", - "version": "0.4.9", + "version": "0.4.10", "description": "Vue 3 SDK for Asgardeo - Authentication and Identity Management", "keywords": [ "asgardeo",