Skip to content

Commit

Permalink
release: version packages
Browse files Browse the repository at this point in the history
  • Loading branch information
silverhand-bot committed Nov 19, 2024
1 parent 7ebef18 commit 1ab357b
Show file tree
Hide file tree
Showing 31 changed files with 386 additions and 148 deletions.
16 changes: 0 additions & 16 deletions .changeset/early-numbers-attend.md

This file was deleted.

15 changes: 0 additions & 15 deletions .changeset/four-deers-divide.md

This file was deleted.

35 changes: 0 additions & 35 deletions .changeset/warm-pugs-divide.md

This file was deleted.

12 changes: 0 additions & 12 deletions .changeset/wet-nails-guess.md

This file was deleted.

10 changes: 10 additions & 0 deletions packages/cli/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
# Change Log

## 1.22.0

### Patch Changes

- Updated dependencies [640425414]
- Updated dependencies [7ebef18e3]
- Updated dependencies [640425414]
- @logto/schemas@1.22.0
- @logto/connector-kit@4.1.0

## 1.21.0

### Patch Changes
Expand Down
6 changes: 3 additions & 3 deletions packages/cli/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@logto/cli",
"version": "1.21.0",
"version": "1.22.0",
"description": "Logto CLI.",
"author": "Silverhand Inc. <[email protected]>",
"homepage": "https://github.com/logto-io/logto#readme",
Expand Down Expand Up @@ -42,9 +42,9 @@
"url": "https://github.com/logto-io/logto/issues"
},
"dependencies": {
"@logto/connector-kit": "workspace:^4.0.0",
"@logto/connector-kit": "workspace:^4.1.0",
"@logto/core-kit": "workspace:^2.5.0",
"@logto/schemas": "workspace:1.21.0",
"@logto/schemas": "workspace:1.22.0",
"@logto/shared": "workspace:^3.1.2",
"@silverhand/essentials": "^2.9.1",
"@silverhand/slonik": "31.0.0-beta.2",
Expand Down
27 changes: 27 additions & 0 deletions packages/console/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,32 @@
# Change Log

## 1.19.0

### Minor Changes

- 640425414: add `trustUnverifiedEmail` setting for the Microsoft EntraID OIDC SSO connector

Since we launched the **EntraID OIDC SSO connector** we have received several feedbacks that their customer's email address can not be populated to Logto's user profile when signing up through the EntraID OIDC SSO connector.
This is because Logto only syncs verified email addresses, meaning the `email_verified` claim must be `true` in the user info response from the OIDC provider.

However, based on Microsoft's documentation, since the user's email address in manually managed by the organization, they are not verified guaranteed. This means that the `email_verified` claim will not be included in their user info response.

To address this issue, we have added a new `trustUnverifiedEmail` exclusively for the Microsoft EntraID OIDC SSO connector. When this setting is enabled, Logto will trust the email address provided by the Microsoft EntraID OIDC SSO connector even if the `email_verified` claim is not included in the user info response. This will allow users to sign up and log in to Logto using their email address without any issues. Please note this may introduce a security risk as the email address is not verified by the OIDC provider. You should only enable this setting if you trust the email address provided by the Microsoft EntraID OIDC SSO connector.

You can configure this setting in the **EntraID OIDC SSO connector** settings page in the Logto console or through the management API.

- 640425414: display support email and website info on experience error pages.

Added support email and website info to the error pages of the experience app. E.g. when a user tries to access a page that doesn't exist, or when the social session is not found in a social callback page. This will help users to contact support easily when they encounter an error.

You may configure the support email and website info in the sign-in experience settings page in the Logto console or through the management API.

- 640425414: add unknown session redirect url in the sign-in experience settings

In certain cases, Logto may be unable to properly identify a user’s authentication session when they land on the sign-in page. This can happen if the session has expired, if the user bookmarks the sign-in URL for future access, or if they directly share the sign-in link. By default, an "unknown session" 404 error is displayed.

To improve user experience, we have added a new `unknownSessionRedirectUrl` field in the sign-in experience settings.You can configure this field to redirect users to a custom URL when an unknown session is detected. This will help users to easily navigate to your client application or website and reinitiate the authentication process automatically.

## 1.18.1

### Patch Changes
Expand Down
10 changes: 5 additions & 5 deletions packages/console/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@logto/console",
"version": "1.18.1",
"version": "1.19.0",
"description": "> TODO: description",
"author": "Silverhand Inc. <[email protected]>",
"homepage": "https://github.com/logto-io/logto#readme",
Expand Down Expand Up @@ -28,13 +28,13 @@
"@fontsource/roboto-mono": "^5.0.0",
"@jest/types": "^29.5.0",
"@logto/cloud": "0.2.5-5e334eb",
"@logto/connector-kit": "workspace:^4.0.0",
"@logto/connector-kit": "workspace:^4.1.0",
"@logto/core-kit": "workspace:^2.5.0",
"@logto/language-kit": "workspace:^1.1.0",
"@logto/phrases": "workspace:^1.14.1",
"@logto/phrases-experience": "workspace:^1.8.0",
"@logto/phrases": "workspace:^1.15.0",
"@logto/phrases-experience": "workspace:^1.9.0",
"@logto/react": "^3.0.12",
"@logto/schemas": "workspace:^1.21.0",
"@logto/schemas": "workspace:^1.22.0",
"@logto/shared": "workspace:^3.1.2",
"@mdx-js/react": "^3.0.1",
"@mdx-js/rollup": "^3.0.1",
Expand Down
70 changes: 70 additions & 0 deletions packages/core/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,75 @@
# Change Log

## 1.22.0

### Minor Changes

- 640425414: add `trustUnverifiedEmail` setting for the Microsoft EntraID OIDC SSO connector

Since we launched the **EntraID OIDC SSO connector** we have received several feedbacks that their customer's email address can not be populated to Logto's user profile when signing up through the EntraID OIDC SSO connector.
This is because Logto only syncs verified email addresses, meaning the `email_verified` claim must be `true` in the user info response from the OIDC provider.

However, based on Microsoft's documentation, since the user's email address in manually managed by the organization, they are not verified guaranteed. This means that the `email_verified` claim will not be included in their user info response.

To address this issue, we have added a new `trustUnverifiedEmail` exclusively for the Microsoft EntraID OIDC SSO connector. When this setting is enabled, Logto will trust the email address provided by the Microsoft EntraID OIDC SSO connector even if the `email_verified` claim is not included in the user info response. This will allow users to sign up and log in to Logto using their email address without any issues. Please note this may introduce a security risk as the email address is not verified by the OIDC provider. You should only enable this setting if you trust the email address provided by the Microsoft EntraID OIDC SSO connector.

You can configure this setting in the **EntraID OIDC SSO connector** settings page in the Logto console or through the management API.

- 640425414: display support email and website info on experience error pages.

Added support email and website info to the error pages of the experience app. E.g. when a user tries to access a page that doesn't exist, or when the social session is not found in a social callback page. This will help users to contact support easily when they encounter an error.

You may configure the support email and website info in the sign-in experience settings page in the Logto console or through the management API.

- 7ebef18e3: add account api

Introduce the new Account API, designed to give end users direct API access without needing to go through the Management API, here is the highlights:

1. Direct access: The Account API empowers end users to directly access and manage their own account profile without requiring the relay of Management API.
2. User profile and identities management: Users can fully manage their profiles and security settings, including the ability to update identity information like email, phone, and password, as well as manage social connections. MFA and SSO support are coming soon.
3. Global access control: Admin has full, global control over access settings, can customize each fields.
4. Seamless authorization: Authorizing is easier than ever! Simply use `client.getAccessToken()` to obtain an opaque access token for OP (Logto), and attach it to the Authorization header as `Bearer <access_token>`.

## Get started

> ![Note]
> Go to the [Logto Docs](https://bump.sh/logto/doc/logto-user-api) to find full API reference.
1. Use `/api/account-center` endpoint to enable the feature, for security reason, it is disabled by default. And set fields permission for each field.
2. Use `client.getAccessToken()` to get the access token.
3. Attach the access token to the Authorization header of your request, and start interacting with the Account API directly from the frontend.
4. You may need to setup `logto-verification-id` header as an additional verification for some requests related to identity verification.

## What you can do with Account API

1. Get user account profile
2. Update basic information including name, avatar, username and other profile information
3. Update password
4. Update primary email
5. Update primary phone
6. Manage social identities

- 640425414: add unknown session redirect url in the sign-in experience settings

In certain cases, Logto may be unable to properly identify a user’s authentication session when they land on the sign-in page. This can happen if the session has expired, if the user bookmarks the sign-in URL for future access, or if they directly share the sign-in link. By default, an "unknown session" 404 error is displayed.

To improve user experience, we have added a new `unknownSessionRedirectUrl` field in the sign-in experience settings.You can configure this field to redirect users to a custom URL when an unknown session is detected. This will help users to easily navigate to your client application or website and reinitiate the authentication process automatically.

### Patch Changes

- Updated dependencies [640425414]
- Updated dependencies [640425414]
- Updated dependencies [7ebef18e3]
- Updated dependencies [640425414]
- @logto/console@1.19.0
- @logto/phrases@1.15.0
- @logto/experience@1.10.0
- @logto/experience-legacy@1.10.0
- @logto/phrases-experience@1.9.0
- @logto/schemas@1.22.0
- @logto/connector-kit@4.1.0
- @logto/cli@1.22.0

## 1.21.0

### Minor Changes
Expand Down
12 changes: 6 additions & 6 deletions packages/core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@logto/core",
"version": "1.21.0",
"version": "1.22.0",
"description": "The open source identity solution.",
"main": "build/index.js",
"author": "Silverhand Inc. <[email protected]>",
Expand Down Expand Up @@ -33,18 +33,18 @@
"@koa/cors": "^5.0.0",
"@logto/affiliate": "^0.1.0",
"@logto/app-insights": "workspace:^2.0.0",
"@logto/cli": "workspace:^1.21.0",
"@logto/connector-kit": "workspace:^4.0.0",
"@logto/cli": "workspace:^1.22.0",
"@logto/connector-kit": "workspace:^4.1.0",
"@logto/console": "workspace:*",
"@logto/core-kit": "workspace:^2.5.0",
"@logto/demo-app": "workspace:*",
"@logto/experience": "workspace:*",
"@logto/experience-legacy": "workspace:*",
"@logto/js": "^4.1.4",
"@logto/language-kit": "workspace:^1.1.0",
"@logto/phrases": "workspace:^1.14.1",
"@logto/phrases-experience": "workspace:^1.8.0",
"@logto/schemas": "workspace:^1.21.0",
"@logto/phrases": "workspace:^1.15.0",
"@logto/phrases-experience": "workspace:^1.9.0",
"@logto/schemas": "workspace:^1.22.0",
"@logto/shared": "workspace:^3.1.2",
"@silverhand/essentials": "^2.9.1",
"@silverhand/slonik": "31.0.0-beta.2",
Expand Down
6 changes: 6 additions & 0 deletions packages/create/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Change Log

## 1.22.0

### Patch Changes

- @logto/cli@1.22.0

## 1.21.0

### Patch Changes
Expand Down
4 changes: 2 additions & 2 deletions packages/create/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@logto/create",
"version": "1.21.0",
"version": "1.22.0",
"author": "Silverhand Inc. <[email protected]>",
"license": "MPL-2.0",
"type": "module",
Expand All @@ -15,6 +15,6 @@
"node": "^20.9.0"
},
"dependencies": {
"@logto/cli": "workspace:^1.21.0"
"@logto/cli": "workspace:^1.22.0"
}
}
10 changes: 10 additions & 0 deletions packages/experience-legacy/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
# Change Log

## 1.10.0

### Minor Changes

- 640425414: display support email and website info on experience error pages.

Added support email and website info to the error pages of the experience app. E.g. when a user tries to access a page that doesn't exist, or when the social session is not found in a social callback page. This will help users to contact support easily when they encounter an error.

You may configure the support email and website info in the sign-in experience settings page in the Logto console or through the management API.

## 1.9.0

### Minor Changes
Expand Down
10 changes: 5 additions & 5 deletions packages/experience-legacy/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@logto/experience-legacy",
"version": "1.9.0",
"version": "1.10.0",
"license": "MPL-2.0",
"type": "module",
"private": true,
Expand All @@ -21,12 +21,12 @@
},
"devDependencies": {
"@jest/types": "^29.5.0",
"@logto/connector-kit": "workspace:^4.0.0",
"@logto/connector-kit": "workspace:^4.1.0",
"@logto/core-kit": "workspace:^2.5.0",
"@logto/language-kit": "workspace:^1.1.0",
"@logto/phrases": "workspace:^1.14.0",
"@logto/phrases-experience": "workspace:^1.8.0",
"@logto/schemas": "workspace:^1.20.0",
"@logto/phrases": "workspace:^1.15.0",
"@logto/phrases-experience": "workspace:^1.9.0",
"@logto/schemas": "workspace:^1.22.0",
"@react-spring/shared": "^9.6.1",
"@react-spring/web": "^9.6.1",
"@silverhand/eslint-config": "6.0.1",
Expand Down
10 changes: 10 additions & 0 deletions packages/experience/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
# Change Log

## 1.10.0

### Minor Changes

- 640425414: display support email and website info on experience error pages.

Added support email and website info to the error pages of the experience app. E.g. when a user tries to access a page that doesn't exist, or when the social session is not found in a social callback page. This will help users to contact support easily when they encounter an error.

You may configure the support email and website info in the sign-in experience settings page in the Logto console or through the management API.

## 1.9.0

### Minor Changes
Expand Down
10 changes: 5 additions & 5 deletions packages/experience/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@logto/experience",
"version": "1.9.0",
"version": "1.10.0",
"license": "MPL-2.0",
"type": "module",
"private": true,
Expand All @@ -21,12 +21,12 @@
},
"devDependencies": {
"@jest/types": "^29.5.0",
"@logto/connector-kit": "workspace:^4.0.0",
"@logto/connector-kit": "workspace:^4.1.0",
"@logto/core-kit": "workspace:^2.5.0",
"@logto/language-kit": "workspace:^1.1.0",
"@logto/phrases": "workspace:^1.14.0",
"@logto/phrases-experience": "workspace:^1.8.0",
"@logto/schemas": "workspace:^1.20.0",
"@logto/phrases": "workspace:^1.15.0",
"@logto/phrases-experience": "workspace:^1.9.0",
"@logto/schemas": "workspace:^1.22.0",
"@react-spring/shared": "^9.6.1",
"@react-spring/web": "^9.6.1",
"@silverhand/eslint-config": "6.0.1",
Expand Down
Loading

0 comments on commit 1ab357b

Please sign in to comment.