Skip to content

Commit b7fac26

Browse files
Merge pull request #570 from asgardeo/changeset-release/main
[Release] [GitHub Action] Update package versions
2 parents 49380df + 56fbf44 commit b7fac26

19 files changed

Lines changed: 176 additions & 27 deletions

‎.changeset/readonly-federated-profile.md‎

Lines changed: 0 additions & 18 deletions
This file was deleted.

‎packages/browser/CHANGELOG.md‎

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
# @asgardeo/browser
22

3+
## 0.7.16
4+
5+
### Patch Changes
6+
7+
- Updated dependencies
8+
[[`9a156a9`](https://github.com/asgardeo/javascript/commit/9a156a948a0a3c36f504954e1b87a6ef39f13d3a)]:
9+
- @asgardeo/javascript@0.23.6
10+
311
## 0.7.15
412

513
### Patch Changes

‎packages/browser/package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@asgardeo/browser",
3-
"version": "0.7.15",
3+
"version": "0.7.16",
44
"description": "Browser-specific implementation of Asgardeo JavaScript SDK.",
55
"keywords": [
66
"asgardeo",

‎packages/express/CHANGELOG.md‎

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# @asgardeo/express
22

3+
## 0.0.87
4+
5+
### Patch Changes
6+
7+
- Updated dependencies []:
8+
- @asgardeo/node@0.0.88
9+
310
## 0.0.86
411

512
### Patch Changes

‎packages/express/package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@asgardeo/express",
3-
"version": "0.0.86",
3+
"version": "0.0.87",
44
"description": "Express.js implementation of Asgardeo JavaScript SDK.",
55
"keywords": [
66
"asgardeo",

‎packages/i18n/CHANGELOG.md‎

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,33 @@
11
# @asgardeo/i18n
22

3+
## 0.4.10
4+
5+
### Patch Changes
6+
7+
- [#569](https://github.com/asgardeo/javascript/pull/569)
8+
[`9a156a9`](https://github.com/asgardeo/javascript/commit/9a156a948a0a3c36f504954e1b87a6ef39f13d3a) Thanks
9+
[@DonOmalVindula](https://github.com/DonOmalVindula)! - Render a read-only profile for users whose attributes are
10+
owned by an identity provider.
11+
12+
Asgardeo rejects attribute updates for accounts provisioned from a social or enterprise connection, so the profile
13+
used to offer edit controls that always failed with a raw SCIM error.
14+
15+
- `<UserProfile />` accepts `editable="auto"` in React and Next.js. On Asgardeo it looks up the signed-in user's
16+
federated associations and, when the account is linked to a connection, renders the profile read-only with a short
17+
note naming the provider. On WSO2 Identity Server, where the same updates succeed, the profile stays editable.
18+
- `<UserDropdown />` forwards `editable` to the profile it opens from "Manage profile", so the modal follows the same
19+
rule as the page.
20+
- `BaseUserProfile` accepts a predicate for `editable`, so applications can decide per user without any lookup, and a
21+
`readOnlyNote` to explain why editing is unavailable.
22+
- A rejected update is now reported in plain words instead of the raw SCIM error, and switches the profile to
23+
read-only for the rest of the session. The Next.js `<UserProfile />` previously ignored update failures entirely.
24+
- New API `getMeFederatedAssociations` in `@asgardeo/javascript` and `@asgardeo/react`, plus the `signup`-style texts
25+
`user.profile.readonly.federated` and `user.profile.update.not.allowed.error` in all i18n bundles.
26+
27+
While `auto` is resolving, the profile shows a loading state rather than edit controls it may have to take away;
28+
`BaseUserProfile` now renders that state whenever `isLoading` is set, in both inline and popup modes. In popup mode
29+
the lookup is deferred until the profile is actually opened.
30+
331
## 0.4.9
432

533
### Patch Changes

‎packages/i18n/package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@asgardeo/i18n",
3-
"version": "0.4.9",
3+
"version": "0.4.10",
44
"description": "Internationalization (i18n) package for Asgardeo JavaScript SDKs.",
55
"keywords": [
66
"asgardeo",

‎packages/javascript/CHANGELOG.md‎

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,37 @@
11
# @asgardeo/javascript
22

3+
## 0.23.6
4+
5+
### Patch Changes
6+
7+
- [#569](https://github.com/asgardeo/javascript/pull/569)
8+
[`9a156a9`](https://github.com/asgardeo/javascript/commit/9a156a948a0a3c36f504954e1b87a6ef39f13d3a) Thanks
9+
[@DonOmalVindula](https://github.com/DonOmalVindula)! - Render a read-only profile for users whose attributes are
10+
owned by an identity provider.
11+
12+
Asgardeo rejects attribute updates for accounts provisioned from a social or enterprise connection, so the profile
13+
used to offer edit controls that always failed with a raw SCIM error.
14+
15+
- `<UserProfile />` accepts `editable="auto"` in React and Next.js. On Asgardeo it looks up the signed-in user's
16+
federated associations and, when the account is linked to a connection, renders the profile read-only with a short
17+
note naming the provider. On WSO2 Identity Server, where the same updates succeed, the profile stays editable.
18+
- `<UserDropdown />` forwards `editable` to the profile it opens from "Manage profile", so the modal follows the same
19+
rule as the page.
20+
- `BaseUserProfile` accepts a predicate for `editable`, so applications can decide per user without any lookup, and a
21+
`readOnlyNote` to explain why editing is unavailable.
22+
- A rejected update is now reported in plain words instead of the raw SCIM error, and switches the profile to
23+
read-only for the rest of the session. The Next.js `<UserProfile />` previously ignored update failures entirely.
24+
- New API `getMeFederatedAssociations` in `@asgardeo/javascript` and `@asgardeo/react`, plus the `signup`-style texts
25+
`user.profile.readonly.federated` and `user.profile.update.not.allowed.error` in all i18n bundles.
26+
27+
While `auto` is resolving, the profile shows a loading state rather than edit controls it may have to take away;
28+
`BaseUserProfile` now renders that state whenever `isLoading` is set, in both inline and popup modes. In popup mode
29+
the lookup is deferred until the profile is actually opened.
30+
31+
- Updated dependencies
32+
[[`9a156a9`](https://github.com/asgardeo/javascript/commit/9a156a948a0a3c36f504954e1b87a6ef39f13d3a)]:
33+
- @asgardeo/i18n@0.4.10
34+
335
## 0.23.5
436

537
### Patch Changes

‎packages/javascript/package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@asgardeo/javascript",
3-
"version": "0.23.5",
3+
"version": "0.23.6",
44
"description": "Framework agnostic JavaScript SDK for Asgardeo.",
55
"keywords": [
66
"asgardeo",

‎packages/nextjs/CHANGELOG.md‎

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,38 @@
11
# @asgardeo/nextjs
22

3+
## 0.3.35
4+
5+
### Patch Changes
6+
7+
- [#569](https://github.com/asgardeo/javascript/pull/569)
8+
[`9a156a9`](https://github.com/asgardeo/javascript/commit/9a156a948a0a3c36f504954e1b87a6ef39f13d3a) Thanks
9+
[@DonOmalVindula](https://github.com/DonOmalVindula)! - Render a read-only profile for users whose attributes are
10+
owned by an identity provider.
11+
12+
Asgardeo rejects attribute updates for accounts provisioned from a social or enterprise connection, so the profile
13+
used to offer edit controls that always failed with a raw SCIM error.
14+
15+
- `<UserProfile />` accepts `editable="auto"` in React and Next.js. On Asgardeo it looks up the signed-in user's
16+
federated associations and, when the account is linked to a connection, renders the profile read-only with a short
17+
note naming the provider. On WSO2 Identity Server, where the same updates succeed, the profile stays editable.
18+
- `<UserDropdown />` forwards `editable` to the profile it opens from "Manage profile", so the modal follows the same
19+
rule as the page.
20+
- `BaseUserProfile` accepts a predicate for `editable`, so applications can decide per user without any lookup, and a
21+
`readOnlyNote` to explain why editing is unavailable.
22+
- A rejected update is now reported in plain words instead of the raw SCIM error, and switches the profile to
23+
read-only for the rest of the session. The Next.js `<UserProfile />` previously ignored update failures entirely.
24+
- New API `getMeFederatedAssociations` in `@asgardeo/javascript` and `@asgardeo/react`, plus the `signup`-style texts
25+
`user.profile.readonly.federated` and `user.profile.update.not.allowed.error` in all i18n bundles.
26+
27+
While `auto` is resolving, the profile shows a loading state rather than edit controls it may have to take away;
28+
`BaseUserProfile` now renders that state whenever `isLoading` is set, in both inline and popup modes. In popup mode
29+
the lookup is deferred until the profile is actually opened.
30+
31+
- Updated dependencies
32+
[[`9a156a9`](https://github.com/asgardeo/javascript/commit/9a156a948a0a3c36f504954e1b87a6ef39f13d3a)]:
33+
- @asgardeo/react@0.25.13
34+
- @asgardeo/node@0.0.88
35+
336
## 0.3.34
437

538
### Patch Changes

0 commit comments

Comments
 (0)