Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 0 additions & 18 deletions .changeset/readonly-federated-profile.md

This file was deleted.

8 changes: 8 additions & 0 deletions packages/browser/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# @asgardeo/browser

## 0.7.16

### Patch Changes

- Updated dependencies
[[`9a156a9`](https://github.com/asgardeo/javascript/commit/9a156a948a0a3c36f504954e1b87a6ef39f13d3a)]:
- @asgardeo/javascript@0.23.6

## 0.7.15

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/browser/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@asgardeo/browser",
"version": "0.7.15",
"version": "0.7.16",
"description": "Browser-specific implementation of Asgardeo JavaScript SDK.",
"keywords": [
"asgardeo",
Expand Down
7 changes: 7 additions & 0 deletions packages/express/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# @asgardeo/express

## 0.0.87

### Patch Changes

- Updated dependencies []:
- @asgardeo/node@0.0.88

## 0.0.86

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/express/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@asgardeo/express",
"version": "0.0.86",
"version": "0.0.87",
"description": "Express.js implementation of Asgardeo JavaScript SDK.",
"keywords": [
"asgardeo",
Expand Down
28 changes: 28 additions & 0 deletions packages/i18n/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,33 @@
# @asgardeo/i18n

## 0.4.10

### Patch Changes

- [#569](https://github.com/asgardeo/javascript/pull/569)
[`9a156a9`](https://github.com/asgardeo/javascript/commit/9a156a948a0a3c36f504954e1b87a6ef39f13d3a) Thanks
[@DonOmalVindula](https://github.com/DonOmalVindula)! - Render a read-only profile for users whose attributes are
owned by an identity provider.

Asgardeo rejects attribute updates for accounts provisioned from a social or enterprise connection, so the profile
used to offer edit controls that always failed with a raw SCIM error.

- `<UserProfile />` accepts `editable="auto"` in React and Next.js. On Asgardeo it looks up the signed-in user's
federated associations and, when the account is linked to a connection, renders the profile read-only with a short
note naming the provider. On WSO2 Identity Server, where the same updates succeed, the profile stays editable.
- `<UserDropdown />` forwards `editable` to the profile it opens from "Manage profile", so the modal follows the same
rule as the page.
- `BaseUserProfile` accepts a predicate for `editable`, so applications can decide per user without any lookup, and a
`readOnlyNote` to explain why editing is unavailable.
- A rejected update is now reported in plain words instead of the raw SCIM error, and switches the profile to
read-only for the rest of the session. The Next.js `<UserProfile />` previously ignored update failures entirely.
- New API `getMeFederatedAssociations` in `@asgardeo/javascript` and `@asgardeo/react`, plus the `signup`-style texts
`user.profile.readonly.federated` and `user.profile.update.not.allowed.error` in all i18n bundles.

While `auto` is resolving, the profile shows a loading state rather than edit controls it may have to take away;
`BaseUserProfile` now renders that state whenever `isLoading` is set, in both inline and popup modes. In popup mode
the lookup is deferred until the profile is actually opened.

## 0.4.9

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/i18n/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@asgardeo/i18n",
"version": "0.4.9",
"version": "0.4.10",
"description": "Internationalization (i18n) package for Asgardeo JavaScript SDKs.",
"keywords": [
"asgardeo",
Expand Down
32 changes: 32 additions & 0 deletions packages/javascript/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,37 @@
# @asgardeo/javascript

## 0.23.6

### Patch Changes

- [#569](https://github.com/asgardeo/javascript/pull/569)
[`9a156a9`](https://github.com/asgardeo/javascript/commit/9a156a948a0a3c36f504954e1b87a6ef39f13d3a) Thanks
[@DonOmalVindula](https://github.com/DonOmalVindula)! - Render a read-only profile for users whose attributes are
owned by an identity provider.

Asgardeo rejects attribute updates for accounts provisioned from a social or enterprise connection, so the profile
used to offer edit controls that always failed with a raw SCIM error.

- `<UserProfile />` accepts `editable="auto"` in React and Next.js. On Asgardeo it looks up the signed-in user's
federated associations and, when the account is linked to a connection, renders the profile read-only with a short
note naming the provider. On WSO2 Identity Server, where the same updates succeed, the profile stays editable.
- `<UserDropdown />` forwards `editable` to the profile it opens from "Manage profile", so the modal follows the same
rule as the page.
- `BaseUserProfile` accepts a predicate for `editable`, so applications can decide per user without any lookup, and a
`readOnlyNote` to explain why editing is unavailable.
- A rejected update is now reported in plain words instead of the raw SCIM error, and switches the profile to
read-only for the rest of the session. The Next.js `<UserProfile />` previously ignored update failures entirely.
- New API `getMeFederatedAssociations` in `@asgardeo/javascript` and `@asgardeo/react`, plus the `signup`-style texts
`user.profile.readonly.federated` and `user.profile.update.not.allowed.error` in all i18n bundles.

While `auto` is resolving, the profile shows a loading state rather than edit controls it may have to take away;
`BaseUserProfile` now renders that state whenever `isLoading` is set, in both inline and popup modes. In popup mode
the lookup is deferred until the profile is actually opened.

- Updated dependencies
[[`9a156a9`](https://github.com/asgardeo/javascript/commit/9a156a948a0a3c36f504954e1b87a6ef39f13d3a)]:
- @asgardeo/i18n@0.4.10

## 0.23.5

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/javascript/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@asgardeo/javascript",
"version": "0.23.5",
"version": "0.23.6",
"description": "Framework agnostic JavaScript SDK for Asgardeo.",
"keywords": [
"asgardeo",
Expand Down
33 changes: 33 additions & 0 deletions packages/nextjs/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,38 @@
# @asgardeo/nextjs

## 0.3.35

### Patch Changes

- [#569](https://github.com/asgardeo/javascript/pull/569)
[`9a156a9`](https://github.com/asgardeo/javascript/commit/9a156a948a0a3c36f504954e1b87a6ef39f13d3a) Thanks
[@DonOmalVindula](https://github.com/DonOmalVindula)! - Render a read-only profile for users whose attributes are
owned by an identity provider.

Asgardeo rejects attribute updates for accounts provisioned from a social or enterprise connection, so the profile
used to offer edit controls that always failed with a raw SCIM error.

- `<UserProfile />` accepts `editable="auto"` in React and Next.js. On Asgardeo it looks up the signed-in user's
federated associations and, when the account is linked to a connection, renders the profile read-only with a short
note naming the provider. On WSO2 Identity Server, where the same updates succeed, the profile stays editable.
- `<UserDropdown />` forwards `editable` to the profile it opens from "Manage profile", so the modal follows the same
rule as the page.
- `BaseUserProfile` accepts a predicate for `editable`, so applications can decide per user without any lookup, and a
`readOnlyNote` to explain why editing is unavailable.
- A rejected update is now reported in plain words instead of the raw SCIM error, and switches the profile to
read-only for the rest of the session. The Next.js `<UserProfile />` previously ignored update failures entirely.
- New API `getMeFederatedAssociations` in `@asgardeo/javascript` and `@asgardeo/react`, plus the `signup`-style texts
`user.profile.readonly.federated` and `user.profile.update.not.allowed.error` in all i18n bundles.

While `auto` is resolving, the profile shows a loading state rather than edit controls it may have to take away;
`BaseUserProfile` now renders that state whenever `isLoading` is set, in both inline and popup modes. In popup mode
the lookup is deferred until the profile is actually opened.

- Updated dependencies
[[`9a156a9`](https://github.com/asgardeo/javascript/commit/9a156a948a0a3c36f504954e1b87a6ef39f13d3a)]:
- @asgardeo/react@0.25.13
- @asgardeo/node@0.0.88

## 0.3.34

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/nextjs/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@asgardeo/nextjs",
"version": "0.3.34",
"version": "0.3.35",
"description": "Next.js implementation of Asgardeo JavaScript SDK.",
"keywords": [
"asgardeo",
Expand Down
8 changes: 8 additions & 0 deletions packages/node/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# @asgardeo/node

## 0.0.88

### Patch Changes

- Updated dependencies
[[`9a156a9`](https://github.com/asgardeo/javascript/commit/9a156a948a0a3c36f504954e1b87a6ef39f13d3a)]:
- @asgardeo/javascript@0.23.6

## 0.0.87

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/node/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@asgardeo/node",
"version": "0.0.87",
"version": "0.0.88",
"description": "Node.js runtime specific implementation of Asgardeo JavaScript SDK.",
"keywords": [
"asgardeo",
Expand Down
9 changes: 9 additions & 0 deletions packages/nuxt/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# @asgardeo/nuxt

## 0.2.9

### Patch Changes

- Updated dependencies []:
- @asgardeo/browser@0.7.16
- @asgardeo/node@0.0.88
- @asgardeo/vue@0.4.9

## 0.2.8

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/nuxt/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@asgardeo/nuxt",
"version": "0.2.8",
"version": "0.2.9",
"description": "Nuxt module for Asgardeo - Authentication and Identity Management",
"author": "WSO2",
"license": "Apache-2.0",
Expand Down
33 changes: 33 additions & 0 deletions packages/react/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,38 @@
# @asgardeo/react

## 0.25.13

### Patch Changes

- [#569](https://github.com/asgardeo/javascript/pull/569)
[`9a156a9`](https://github.com/asgardeo/javascript/commit/9a156a948a0a3c36f504954e1b87a6ef39f13d3a) Thanks
[@DonOmalVindula](https://github.com/DonOmalVindula)! - Render a read-only profile for users whose attributes are
owned by an identity provider.

Asgardeo rejects attribute updates for accounts provisioned from a social or enterprise connection, so the profile
used to offer edit controls that always failed with a raw SCIM error.

- `<UserProfile />` accepts `editable="auto"` in React and Next.js. On Asgardeo it looks up the signed-in user's
federated associations and, when the account is linked to a connection, renders the profile read-only with a short
note naming the provider. On WSO2 Identity Server, where the same updates succeed, the profile stays editable.
- `<UserDropdown />` forwards `editable` to the profile it opens from "Manage profile", so the modal follows the same
rule as the page.
- `BaseUserProfile` accepts a predicate for `editable`, so applications can decide per user without any lookup, and a
`readOnlyNote` to explain why editing is unavailable.
- A rejected update is now reported in plain words instead of the raw SCIM error, and switches the profile to
read-only for the rest of the session. The Next.js `<UserProfile />` previously ignored update failures entirely.
- New API `getMeFederatedAssociations` in `@asgardeo/javascript` and `@asgardeo/react`, plus the `signup`-style texts
`user.profile.readonly.federated` and `user.profile.update.not.allowed.error` in all i18n bundles.

While `auto` is resolving, the profile shows a loading state rather than edit controls it may have to take away;
`BaseUserProfile` now renders that state whenever `isLoading` is set, in both inline and popup modes. In popup mode
the lookup is deferred until the profile is actually opened.

- Updated dependencies
[[`9a156a9`](https://github.com/asgardeo/javascript/commit/9a156a948a0a3c36f504954e1b87a6ef39f13d3a)]:
- @asgardeo/i18n@0.4.10
- @asgardeo/browser@0.7.16

## 0.25.12

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/react/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@asgardeo/react",
"version": "0.25.12",
"version": "0.25.13",
"description": "React implementation of Asgardeo JavaScript SDK.",
"keywords": [
"asgardeo",
Expand Down
9 changes: 9 additions & 0 deletions packages/vue/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# @asgardeo/vue

## 0.4.9

### Patch Changes

- Updated dependencies
[[`9a156a9`](https://github.com/asgardeo/javascript/commit/9a156a948a0a3c36f504954e1b87a6ef39f13d3a)]:
- @asgardeo/i18n@0.4.10
- @asgardeo/browser@0.7.16

## 0.4.8

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/vue/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@asgardeo/vue",
"version": "0.4.8",
"version": "0.4.9",
"description": "Vue 3 SDK for Asgardeo - Authentication and Identity Management",
"keywords": [
"asgardeo",
Expand Down