0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2024-12-16 20:26:19 -05:00

release: version packages (#6197)

This commit is contained in:
silverhand-bot 2024-08-08 13:00:14 +08:00 committed by GitHub
parent 2f40aaa773
commit ddfa7aa96e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
116 changed files with 1085 additions and 495 deletions

View file

@ -1,5 +0,0 @@
---
"@logto/connector-postmark": major
---
add postmark connector

View file

@ -1,12 +0,0 @@
---
"@logto/schemas": minor
"@logto/core": minor
---
add `custom_data` to applications
Introduce a new property `custom_data` to the `Application` schema. This property is an arbitrary object that can be used to store custom data for an application.
Added a new API to update the custom data of an application:
- `PATCH /applications/:applicationId/custom-data`

View file

@ -1,5 +0,0 @@
---
"@logto/console": patch
---
fix Google connector `scope` field can not be reset bug

View file

@ -1,7 +0,0 @@
---
"@logto/core": patch
---
use native OpenAPI OAuth 2 security schema
The built-in OpenAPI OAuth 2 security schema is now used instead of the custom HTTP header-based security schema. This change improves compatibility with OpenAPI tools and libraries that support OAuth 2.

View file

@ -1,33 +0,0 @@
---
"@logto/experience": minor
"@logto/console": minor
"@logto/core": minor
"@logto/integration-tests": patch
"@logto/phrases": patch
"@logto/schemas": patch
---
support organization logo and sign-in experience override
Now it's able to set light and dark logos for organizations. You can upload the logos in the organization settings page.
Also, it's possible to override the sign-in experience logo from an organization. Simply add the `organization_id` parameter to the authentication request. In most Logto SDKs, it can be done by using the `extraParams` field in the `signIn` method.
For example, in the JavaScript SDK:
```ts
import LogtoClient from '@logto/client';
const logtoClient = new LogtoClient(/* your configuration */);
logtoClient.signIn({
redirectUri: 'https://your-app.com/callback',
extraParams: {
organization_id: '<organization-id>'
},
});
```
The value `<organization-id>` can be found in the organization settings page.
If you could not find the `extraParams` field in the SDK you are using, please let us know.

View file

@ -1,14 +0,0 @@
---
"@logto/core": patch
---
fix the status code 404 error in webhook events payload
Impact webhook events:
- `Role.Scopes.Updated`
- `Organizations.Membership.Updates`
Issue: These webhook event payloads were returning a API response status code of 404 when the webhook was triggered.
Expected: A status code of 200 should be returned, as we only trigger the webhook when the request is successful.
Fix: All webhook event contexts should be created and inserted into the webhook pipeline after the response body and status code are properly set.

View file

@ -1,6 +0,0 @@
---
"@logto/console": minor
"@logto/phrases": minor
---
add the application `custom_data` field editor to the application details page in console

View file

@ -1,5 +0,0 @@
---
"@logto/demo-app": minor
---
support extra token params in dev panel

View file

@ -1,12 +0,0 @@
---
"@logto/console": minor
"@logto/core": minor
"@logto/experience": minor
"@logto/integration-tests": patch
---
support app-level branding
You can now set logos, favicons, and colors for your app. These settings will be used in the sign-in experience when the app initiates the authentication flow. For apps that have no branding settings, the omni sign-in experience branding will be used.
If `organization_id` is provided in the authentication request, the app-level branding settings will be overridden by the organization's branding settings, if available.

View file

@ -1,26 +0,0 @@
---
"@logto/core": minor
---
implement token exchange for user impersonation
Added support for user impersonation via token exchange:
1. New endpoint: `POST /subject-tokens` (Management API)
- Request body: `{ "userId": "<user-id>" }`
- Returns a subject token
2. Enhanced `POST /oidc/token` endpoint (OIDC API)
- Supports new grant type: `urn:ietf:params:oauth:grant-type:token-exchange`
- Request body:
```json
{
"grant_type": "urn:ietf:params:oauth:grant-type:token-exchange",
"subject_token": "<subject-token>",
"subject_token_type": "urn:ietf:params:oauth:token-type:access_token",
"client_id": "<client-id>"
}
```
- Returns an impersonated access token
Refer to documentation for usage examples and the [Token Exchange RFC](https://tools.ietf.org/html/rfc8693) for more details.

View file

@ -1,13 +0,0 @@
---
"@logto/experience": minor
"@logto/schemas": minor
"@logto/core": minor
"@logto/integration-tests": patch
---
support experience data server-side rendering
Logto now injects the sign-in experience settings and phrases into the `index.html` file for better first-screen performance. The experience app will still fetch the settings and phrases from the server if:
- The server didn't inject the settings and phrases.
- The parameters in the URL are different from server-rendered data.

View file

@ -1,5 +0,0 @@
---
"@logto/connector-smtp": minor
---
enable static custom headers for SMTP connector

View file

@ -1,34 +0,0 @@
---
"@logto/cli": minor
---
add new cli command to setup proxy for developing and debugging custom ui locally
This command will establish a proxy tunnel between the following 3 entities together: your Logto cloud auth services, your application, and your custom sign-in UI.
Assuming you have a custom sign-in page running on `http://localhost:4000`.
Then you can execute the command this way:
```bash
npm cli proxy --endpoint https://<tenant-id>.logto.app --port 9000 --experience-uri http://localhost:4000
```
Or if you don't have your custom UI pages hosted on a dev server, you can use the `--experience-path` option to specify the path to your static files:
```bash
npm cli proxy --endpoint https://<tenant-id>.logto.app --port 9000 --experience-path /path/to/your/custom/ui
```
This command also works if you have enabled custom domain in your Logto tenant. E.g.:
```bash
npm cli proxy --endpoint https://your-custom-domain.com --port 9000 --experience-path /path/to/your/custom/ui
```
This should set up the proxy and it will be running on your local machine at `http://localhost:9000/`.
Finally, run your application and set its Logto endpoint to the proxy address `http://localhost:9000/` instead.
If all set up correctly, when you click the "sign-in" button in your application, you should be navigated to your custom sign-in page instead of Logto's built-in UI, along with valid session (cookies) that allows you to further interact with Logto experience API.
Happy coding!

View file

@ -1,12 +0,0 @@
---
"@logto/experience": minor
"@logto/demo-app": minor
"@logto/console": minor
---
use Vite for transpilation and bundling
Removed ParcelJS and replaced with Vite. No breaking changes should be expected, but use a minor version bump to catch your attention.
> [!Important]
> The browserlist configuration for `@logto/experience` and been synced with what is stated in README.md.

View file

@ -1,18 +0,0 @@
---
"@logto/console": minor
"@logto/schemas": minor
"@logto/core": minor
"@logto/integration-tests": patch
"@logto/phrases": patch
---
support multiple app secrets with expiration
Now secure apps (machine-to-machine, traditional web, Protected) can have multiple app secrets with expiration. This allows for secret rotation and provides an even safer experience.
To manage your application secrets, go to Logto Console -> Applications -> Application Details -> Endpoints & Credentials.
We've also added a set of Management APIs (`/api/applications/{id}/secrets`) for this purpose.
> [!Important]
> You can still use existing app secrets for client authentication, but it is recommended to delete the old ones and create new secrets with expiration for enhanced security.

View file

@ -1,10 +0,0 @@
---
"@logto/core": minor
---
update the jsonb field update mode from `merge` to `replace` for the `PATCH /application/:id` endpoint.
remove the `deepPartial` statement from the `PATCH /application/:id` endpoint payload guard.
For all the jsonb typed fields in the application entity, the update mode is now `replace` instead of `merge`. This means that when you send a `PATCH` request to update an application, the jsonb fields will be replaced with the new values instead of merging them.
This change is to make the request behavior more strict aligned with the restful API principles for a `PATCH` request.

View file

@ -1,9 +0,0 @@
---
"@logto/console": minor
"@logto/experience": minor
"@logto/schemas": minor
---
support dark favicon
The favicon for the dark theme now can be set in the sign-in experience branding settings.

View file

@ -1,10 +0,0 @@
---
"@logto/schemas": minor
"@logto/core": minor
---
add support for new password digest algorithm argon2d and argon2id
In `POST /users`, the `passwordAlgorithm` field now accepts `Argon2d` and `Argon2id`.
Users with those algorithms will be migrated to `Argon2i` upon succussful sign in.

View file

@ -1,46 +0,0 @@
---
"@logto/connector-mock-standard-email": minor
"@logto/connector-logto-social-demo": minor
"@logto/connector-sendgrid-email": minor
"@logto/connector-alipay-native": minor
"@logto/connector-wechat-native": minor
"@logto/connector-dingtalk-web": minor
"@logto/connector-huggingface": minor
"@logto/connector-logto-email": minor
"@logto/connector-mock-social": minor
"@logto/connector-tencent-sms": minor
"@logto/connector-alipay-web": minor
"@logto/connector-aliyun-sms": minor
"@logto/connector-feishu-web": minor
"@logto/connector-mock-email": minor
"@logto/connector-twilio-sms": minor
"@logto/connector-wechat-web": minor
"@logto/connector-aliyun-dm": minor
"@logto/connector-logto-sms": minor
"@logto/connector-facebook": minor
"@logto/connector-mock-sms": minor
"@logto/connector-aws-ses": minor
"@logto/connector-azuread": minor
"@logto/connector-discord": minor
"@logto/connector-mailgun": minor
"@logto/connector-smsaero": minor
"@logto/connector-github": minor
"@logto/connector-google": minor
"@logto/connector-oauth": minor
"@logto/connector-apple": minor
"@logto/connector-kakao": minor
"@logto/connector-naver": minor
"@logto/connector-wecom": minor
"@logto/connector-oidc": minor
"@logto/connector-saml": minor
"@logto/connector-smtp": minor
"@logto/integration-tests": minor
"@logto/schemas": minor
"@logto/core": minor
---
use tsup for building
We've updated some of the packages to use `tsup` for building. This will make the build process faster, and should not affect the functionality of the packages.
Use minor version bump to catch your attention.

View file

@ -1,5 +1,53 @@
# Change Log
## 1.19.0
### Minor Changes
- 2d0502a42: add new cli command to setup proxy for developing and debugging custom ui locally
This command will establish a proxy tunnel between the following 3 entities together: your Logto cloud auth services, your application, and your custom sign-in UI.
Assuming you have a custom sign-in page running on `http://localhost:4000`.
Then you can execute the command this way:
```bash
npm cli proxy --endpoint https://<tenant-id>.logto.app --port 9000 --experience-uri http://localhost:4000
```
Or if you don't have your custom UI pages hosted on a dev server, you can use the `--experience-path` option to specify the path to your static files:
```bash
npm cli proxy --endpoint https://<tenant-id>.logto.app --port 9000 --experience-path /path/to/your/custom/ui
```
This command also works if you have enabled custom domain in your Logto tenant. E.g.:
```bash
npm cli proxy --endpoint https://your-custom-domain.com --port 9000 --experience-path /path/to/your/custom/ui
```
This should set up the proxy and it will be running on your local machine at `http://localhost:9000/`.
Finally, run your application and set its Logto endpoint to the proxy address `http://localhost:9000/` instead.
If all set up correctly, when you click the "sign-in" button in your application, you should be navigated to your custom sign-in page instead of Logto's built-in UI, along with valid session (cookies) that allows you to further interact with Logto experience API.
Happy coding!
### Patch Changes
- Updated dependencies [6477c6dee]
- Updated dependencies [3a839f6d6]
- Updated dependencies [b91ec0cd6]
- Updated dependencies [d203c8d2f]
- Updated dependencies [b188bb161]
- Updated dependencies [62f5e5e0c]
- Updated dependencies [d56bc2f73]
- Updated dependencies [510f681fa]
- @logto/schemas@1.19.0
- @logto/phrases@1.13.0
## 1.18.0
### Patch Changes

View file

@ -1,6 +1,6 @@
{
"name": "@logto/cli",
"version": "1.18.0",
"version": "1.19.0",
"description": "Logto CLI.",
"author": "Silverhand Inc. <contact@silverhand.io>",
"homepage": "https://github.com/logto-io/logto#readme",
@ -45,9 +45,9 @@
"@logto/connector-kit": "workspace:^4.0.0",
"@logto/core-kit": "workspace:^2.5.0",
"@logto/language-kit": "workspace:^1.1.0",
"@logto/phrases": "workspace:^1.12.0",
"@logto/phrases": "workspace:^1.13.0",
"@logto/phrases-experience": "workspace:^1.7.0",
"@logto/schemas": "workspace:1.18.0",
"@logto/schemas": "workspace:1.19.0",
"@logto/shared": "workspace:^3.1.1",
"@silverhand/essentials": "^2.9.1",
"@silverhand/slonik": "31.0.0-beta.2",

View file

@ -1,5 +1,15 @@
# @logto/connector-alipay-native
## 1.3.0
### Minor Changes
- 510f681fa: use tsup for building
We've updated some of the packages to use `tsup` for building. This will make the build process faster, and should not affect the functionality of the packages.
Use minor version bump to catch your attention.
## 1.2.1
### Patch Changes

View file

@ -1,6 +1,6 @@
{
"name": "@logto/connector-alipay-native",
"version": "1.2.1",
"version": "1.3.0",
"description": "Alipay Native implementation.",
"author": "Silverhand Inc. <contact@silverhand.io>",
"dependencies": {

View file

@ -1,5 +1,15 @@
# @logto/connector-alipay-web
## 1.4.0
### Minor Changes
- 510f681fa: use tsup for building
We've updated some of the packages to use `tsup` for building. This will make the build process faster, and should not affect the functionality of the packages.
Use minor version bump to catch your attention.
## 1.3.1
### Patch Changes

View file

@ -1,6 +1,6 @@
{
"name": "@logto/connector-alipay-web",
"version": "1.3.1",
"version": "1.4.0",
"description": "Alipay implementation.",
"dependencies": {
"@logto/connector-kit": "workspace:^4.0.0",

View file

@ -1,5 +1,15 @@
# @logto/connector-aliyun-dm
## 1.2.0
### Minor Changes
- 510f681fa: use tsup for building
We've updated some of the packages to use `tsup` for building. This will make the build process faster, and should not affect the functionality of the packages.
Use minor version bump to catch your attention.
## 1.1.2
### Patch Changes

View file

@ -1,6 +1,6 @@
{
"name": "@logto/connector-aliyun-dm",
"version": "1.1.2",
"version": "1.2.0",
"description": "Aliyun DM connector implementation.",
"dependencies": {
"@logto/connector-kit": "workspace:^4.0.0",

View file

@ -1,5 +1,15 @@
# @logto/connector-aliyun-sms
## 1.2.0
### Minor Changes
- 510f681fa: use tsup for building
We've updated some of the packages to use `tsup` for building. This will make the build process faster, and should not affect the functionality of the packages.
Use minor version bump to catch your attention.
## 1.1.2
### Patch Changes

View file

@ -1,6 +1,6 @@
{
"name": "@logto/connector-aliyun-sms",
"version": "1.1.2",
"version": "1.2.0",
"description": "Aliyun SMS connector implementation.",
"dependencies": {
"@logto/connector-kit": "workspace:^4.0.0",

View file

@ -1,5 +1,15 @@
# @logto/connector-apple
## 1.4.0
### Minor Changes
- 510f681fa: use tsup for building
We've updated some of the packages to use `tsup` for building. This will make the build process faster, and should not affect the functionality of the packages.
Use minor version bump to catch your attention.
## 1.3.1
### Patch Changes

View file

@ -1,6 +1,6 @@
{
"name": "@logto/connector-apple",
"version": "1.3.1",
"version": "1.4.0",
"description": "Apple web connector implementation.",
"dependencies": {
"@logto/connector-kit": "workspace:^4.0.0",

View file

@ -1,5 +1,15 @@
# @logto/connector-aws-ses
## 1.2.0
### Minor Changes
- 510f681fa: use tsup for building
We've updated some of the packages to use `tsup` for building. This will make the build process faster, and should not affect the functionality of the packages.
Use minor version bump to catch your attention.
## 1.1.2
### Patch Changes

View file

@ -1,6 +1,6 @@
{
"name": "@logto/connector-aws-ses",
"version": "1.1.2",
"version": "1.2.0",
"description": "Logto Connector for Amazon SES",
"author": "Jeff <admin@breadth.app>",
"dependencies": {

View file

@ -1,5 +1,15 @@
# @logto/connector-azuread
## 1.4.0
### Minor Changes
- 510f681fa: use tsup for building
We've updated some of the packages to use `tsup` for building. This will make the build process faster, and should not affect the functionality of the packages.
Use minor version bump to catch your attention.
## 1.3.0
### Minor Changes

View file

@ -1,6 +1,6 @@
{
"name": "@logto/connector-azuread",
"version": "1.3.0",
"version": "1.4.0",
"description": "Microsoft Azure AD connector implementation.",
"author": "Mobilist Inc. <info@mobilist.com.tr>",
"dependencies": {

View file

@ -1,5 +1,15 @@
# @logto/connector-dingtalk-web
## 0.2.0
### Minor Changes
- 510f681fa: use tsup for building
We've updated some of the packages to use `tsup` for building. This will make the build process faster, and should not affect the functionality of the packages.
Use minor version bump to catch your attention.
## 0.1.1
### Patch Changes

View file

@ -1,6 +1,6 @@
{
"name": "@logto/connector-dingtalk-web",
"version": "0.1.1",
"version": "0.2.0",
"description": "Dingtalk web connector implementation.",
"dependencies": {
"@logto/connector-kit": "workspace:^4.0.0",

View file

@ -1,5 +1,15 @@
# @logto/connector-discord
## 1.4.0
### Minor Changes
- 510f681fa: use tsup for building
We've updated some of the packages to use `tsup` for building. This will make the build process faster, and should not affect the functionality of the packages.
Use minor version bump to catch your attention.
## 1.3.1
### Patch Changes

View file

@ -1,6 +1,6 @@
{
"name": "@logto/connector-discord",
"version": "1.3.1",
"version": "1.4.0",
"description": "Discord connector implementation.",
"author": "ZR3SYSTEMS. <https://github.com/FlurryNight>",
"dependencies": {

View file

@ -1,5 +1,15 @@
# @logto/connector-facebook
## 1.4.0
### Minor Changes
- 510f681fa: use tsup for building
We've updated some of the packages to use `tsup` for building. This will make the build process faster, and should not affect the functionality of the packages.
Use minor version bump to catch your attention.
## 1.3.1
### Patch Changes

View file

@ -1,6 +1,6 @@
{
"name": "@logto/connector-facebook",
"version": "1.3.1",
"version": "1.4.0",
"description": "Facebook web connector implementation.",
"author": "Silverhand Inc. <contact@silverhand.io>",
"dependencies": {

View file

@ -1,5 +1,15 @@
# @logto/connector-feishu-web
## 1.3.0
### Minor Changes
- 510f681fa: use tsup for building
We've updated some of the packages to use `tsup` for building. This will make the build process faster, and should not affect the functionality of the packages.
Use minor version bump to catch your attention.
## 1.2.1
### Patch Changes

View file

@ -1,6 +1,6 @@
{
"name": "@logto/connector-feishu-web",
"version": "1.2.1",
"version": "1.3.0",
"description": "Feishu web connector.",
"author": "Silverhand Inc. <contact@silverhand.io>",
"dependencies": {

View file

@ -1,5 +1,15 @@
# @logto/connector-github
## 1.5.0
### Minor Changes
- 510f681fa: use tsup for building
We've updated some of the packages to use `tsup` for building. This will make the build process faster, and should not affect the functionality of the packages.
Use minor version bump to catch your attention.
## 1.4.2
### Patch Changes

View file

@ -1,6 +1,6 @@
{
"name": "@logto/connector-github",
"version": "1.4.2",
"version": "1.5.0",
"description": "Github web connector implementation.",
"author": "Silverhand Inc. <contact@silverhand.io>",
"dependencies": {

View file

@ -1,5 +1,15 @@
# @logto/connector-google
## 1.5.0
### Minor Changes
- 510f681fa: use tsup for building
We've updated some of the packages to use `tsup` for building. This will make the build process faster, and should not affect the functionality of the packages.
Use minor version bump to catch your attention.
## 1.4.0
### Minor Changes

View file

@ -1,6 +1,6 @@
{
"name": "@logto/connector-google",
"version": "1.4.0",
"version": "1.5.0",
"description": "Google web connector implementation.",
"author": "Silverhand Inc. <contact@silverhand.io>",
"dependencies": {

View file

@ -1,5 +1,20 @@
# @logto/connector-huggingface
## 0.2.0
### Minor Changes
- 510f681fa: use tsup for building
We've updated some of the packages to use `tsup` for building. This will make the build process faster, and should not affect the functionality of the packages.
Use minor version bump to catch your attention.
### Patch Changes
- Updated dependencies [510f681fa]
- @logto/connector-oauth@1.4.0
## 0.1.1
### Patch Changes

View file

@ -1,11 +1,11 @@
{
"name": "@logto/connector-huggingface",
"version": "0.1.1",
"version": "0.2.0",
"description": "Hugging Face connector implementation.",
"author": "Silverhand Inc. <contact@silverhand.io>",
"dependencies": {
"@logto/connector-kit": "workspace:^4.0.0",
"@logto/connector-oauth": "workspace:^1.3.1",
"@logto/connector-oauth": "workspace:^1.4.0",
"@silverhand/essentials": "^2.9.1",
"ky": "^1.2.3",
"zod": "^3.23.8"

View file

@ -1,5 +1,15 @@
# @logto/connector-kakao
## 1.3.0
### Minor Changes
- 510f681fa: use tsup for building
We've updated some of the packages to use `tsup` for building. This will make the build process faster, and should not affect the functionality of the packages.
Use minor version bump to catch your attention.
## 1.2.1
### Patch Changes

View file

@ -1,6 +1,6 @@
{
"name": "@logto/connector-kakao",
"version": "1.2.1",
"version": "1.3.0",
"description": "Kakao connector implementation.",
"author": "Kyungyoon Kim. <ruddbs5302@gmail.com>",
"dependencies": {

View file

@ -1,5 +1,15 @@
# @logto/connector-logto-email
## 1.2.0
### Minor Changes
- 510f681fa: use tsup for building
We've updated some of the packages to use `tsup` for building. This will make the build process faster, and should not affect the functionality of the packages.
Use minor version bump to catch your attention.
## 1.1.2
### Patch Changes

View file

@ -1,6 +1,6 @@
{
"name": "@logto/connector-logto-email",
"version": "1.1.2",
"version": "1.2.0",
"description": "Logto email connector.",
"author": "Silverhand Inc. <contact@silverhand.io>",
"dependencies": {

View file

@ -1,5 +1,15 @@
# @logto/connector-logto-sms
## 1.2.0
### Minor Changes
- 510f681fa: use tsup for building
We've updated some of the packages to use `tsup` for building. This will make the build process faster, and should not affect the functionality of the packages.
Use minor version bump to catch your attention.
## 1.1.2
### Patch Changes

View file

@ -1,6 +1,6 @@
{
"name": "@logto/connector-logto-sms",
"version": "1.1.2",
"version": "1.2.0",
"description": "Logto SMS connector.",
"author": "Silverhand Inc. <contact@silverhand.io>",
"dependencies": {

View file

@ -1,5 +1,15 @@
# @logto/connector-logto-social-demo
## 1.2.0
### Minor Changes
- 510f681fa: use tsup for building
We've updated some of the packages to use `tsup` for building. This will make the build process faster, and should not affect the functionality of the packages.
Use minor version bump to catch your attention.
## 1.1.2
### Patch Changes

View file

@ -1,6 +1,6 @@
{
"name": "@logto/connector-logto-social-demo",
"version": "1.1.2",
"version": "1.2.0",
"description": "OAuth standard connector implementation.",
"author": "Silverhand Inc. <contact@silverhand.io>",
"dependencies": {

View file

@ -1,5 +1,15 @@
# @logto/connector-mailgun
## 1.3.0
### Minor Changes
- 510f681fa: use tsup for building
We've updated some of the packages to use `tsup` for building. This will make the build process faster, and should not affect the functionality of the packages.
Use minor version bump to catch your attention.
## 1.2.2
### Patch Changes

View file

@ -1,6 +1,6 @@
{
"name": "@logto/connector-mailgun",
"version": "1.2.2",
"version": "1.3.0",
"description": "Mailgun connector for Logto.",
"author": "Silverhand Inc. <contact@silverhand.io>",
"dependencies": {

View file

@ -1,5 +1,15 @@
# @logto/connector-mock-standard-email
## 2.1.0
### Minor Changes
- 510f681fa: use tsup for building
We've updated some of the packages to use `tsup` for building. This will make the build process faster, and should not affect the functionality of the packages.
Use minor version bump to catch your attention.
## 2.0.2
### Patch Changes

View file

@ -1,6 +1,6 @@
{
"name": "@logto/connector-mock-standard-email",
"version": "2.0.2",
"version": "2.1.0",
"description": "Mock Standard Email Service connector implementation for integration tests only.",
"author": "Silverhand Inc. <contact@silverhand.io>",
"dependencies": {

View file

@ -1,5 +1,15 @@
# @logto/connector-mock-email
## 2.1.0
### Minor Changes
- 510f681fa: use tsup for building
We've updated some of the packages to use `tsup` for building. This will make the build process faster, and should not affect the functionality of the packages.
Use minor version bump to catch your attention.
## 2.0.2
### Patch Changes

View file

@ -1,6 +1,6 @@
{
"name": "@logto/connector-mock-email",
"version": "2.0.2",
"version": "2.1.0",
"description": "Mock Email Service connector implementation for integration tests only.",
"author": "Silverhand Inc. <contact@silverhand.io>",
"dependencies": {

View file

@ -1,5 +1,15 @@
# @logto/connector-mock-sms
## 2.1.0
### Minor Changes
- 510f681fa: use tsup for building
We've updated some of the packages to use `tsup` for building. This will make the build process faster, and should not affect the functionality of the packages.
Use minor version bump to catch your attention.
## 2.0.2
### Patch Changes

View file

@ -1,6 +1,6 @@
{
"name": "@logto/connector-mock-sms",
"version": "2.0.2",
"version": "2.1.0",
"description": "Mock SMS connector implementation for integration tests only.",
"author": "Silverhand Inc. <contact@silverhand.io>",
"dependencies": {

View file

@ -1,5 +1,15 @@
# @logto/connector-mock-social
## 1.3.0
### Minor Changes
- 510f681fa: use tsup for building
We've updated some of the packages to use `tsup` for building. This will make the build process faster, and should not affect the functionality of the packages.
Use minor version bump to catch your attention.
## 1.2.1
### Patch Changes

View file

@ -1,6 +1,6 @@
{
"name": "@logto/connector-mock-social",
"version": "1.2.1",
"version": "1.3.0",
"description": "Social mock connector implementation.",
"author": "Silverhand Inc. <contact@silverhand.io>",
"dependencies": {

View file

@ -1,5 +1,15 @@
# @logto/connector-naver
## 1.3.0
### Minor Changes
- 510f681fa: use tsup for building
We've updated some of the packages to use `tsup` for building. This will make the build process faster, and should not affect the functionality of the packages.
Use minor version bump to catch your attention.
## 1.2.1
### Patch Changes

View file

@ -1,6 +1,6 @@
{
"name": "@logto/connector-naver",
"version": "1.2.1",
"version": "1.3.0",
"description": "Naver connector implementation.",
"author": "Kyungyoon Kim. <ruddbs5302@gmail.com>",
"dependencies": {

View file

@ -1,5 +1,15 @@
# @logto/connector-oauth
## 1.4.0
### Minor Changes
- 510f681fa: use tsup for building
We've updated some of the packages to use `tsup` for building. This will make the build process faster, and should not affect the functionality of the packages.
Use minor version bump to catch your attention.
## 1.3.1
### Patch Changes

View file

@ -1,6 +1,6 @@
{
"name": "@logto/connector-oauth",
"version": "1.3.1",
"version": "1.4.0",
"description": "OAuth standard connector implementation.",
"author": "Silverhand Inc. <contact@silverhand.io>",
"dependencies": {

View file

@ -1,5 +1,20 @@
# @logto/connector-oidc
## 1.4.0
### Minor Changes
- 510f681fa: use tsup for building
We've updated some of the packages to use `tsup` for building. This will make the build process faster, and should not affect the functionality of the packages.
Use minor version bump to catch your attention.
### Patch Changes
- Updated dependencies [510f681fa]
- @logto/connector-oauth@1.4.0
## 1.3.1
### Patch Changes

View file

@ -1,10 +1,10 @@
{
"name": "@logto/connector-oidc",
"version": "1.3.1",
"version": "1.4.0",
"description": "OIDC standard connector implementation.",
"dependencies": {
"@logto/connector-kit": "workspace:^4.0.0",
"@logto/connector-oauth": "workspace:^1.3.1",
"@logto/connector-oauth": "workspace:^1.4.0",
"@logto/shared": "workspace:^3.1.1",
"@silverhand/essentials": "^2.9.1",
"jose": "^5.6.3",

View file

@ -0,0 +1,7 @@
# @logto/connector-postmark
## 1.0.0
### Major Changes
- e9581d8b4: add postmark connector

View file

@ -1,6 +1,6 @@
{
"name": "@logto/connector-postmark",
"version": "0.0.0",
"version": "1.0.0",
"description": "Postmark connector implementation.",
"author": "Sten Sandvik <stenrs@gmail.com>",
"dependencies": {

View file

@ -1,5 +1,15 @@
# @logto/connector-saml
## 1.2.0
### Minor Changes
- 510f681fa: use tsup for building
We've updated some of the packages to use `tsup` for building. This will make the build process faster, and should not affect the functionality of the packages.
Use minor version bump to catch your attention.
## 1.1.2
### Patch Changes

View file

@ -1,6 +1,6 @@
{
"name": "@logto/connector-saml",
"version": "1.1.2",
"version": "1.2.0",
"description": "SAML standard connector implementation.",
"author": "Silverhand Inc. <contact@silverhand.io>",
"dependencies": {

View file

@ -1,5 +1,15 @@
# @logto/connector-sendgrid-email
## 1.2.0
### Minor Changes
- 510f681fa: use tsup for building
We've updated some of the packages to use `tsup` for building. This will make the build process faster, and should not affect the functionality of the packages.
Use minor version bump to catch your attention.
## 1.1.2
### Patch Changes

View file

@ -1,6 +1,6 @@
{
"name": "@logto/connector-sendgrid-email",
"version": "1.1.2",
"version": "1.2.0",
"description": "SendGrid Email Service connector implementation.",
"author": "Silverhand Inc. <contact@silverhand.io>",
"dependencies": {

View file

@ -1,5 +1,15 @@
# @logto/connector-smsaero
## 1.3.0
### Minor Changes
- 510f681fa: use tsup for building
We've updated some of the packages to use `tsup` for building. This will make the build process faster, and should not affect the functionality of the packages.
Use minor version bump to catch your attention.
## 1.2.2
### Patch Changes

View file

@ -1,6 +1,6 @@
{
"name": "@logto/connector-smsaero",
"version": "1.2.2",
"version": "1.3.0",
"description": "SMSAero connector implementation.",
"author": "Danil Tankov <danil.tankoff@yandex.ru>",
"dependencies": {

View file

@ -1,5 +1,16 @@
# @logto/connector-smtp
## 1.2.0
### Minor Changes
- 6fca3fe3c: enable static custom headers for SMTP connector
- 510f681fa: use tsup for building
We've updated some of the packages to use `tsup` for building. This will make the build process faster, and should not affect the functionality of the packages.
Use minor version bump to catch your attention.
## 1.1.3
### Patch Changes

View file

@ -1,6 +1,6 @@
{
"name": "@logto/connector-smtp",
"version": "1.1.3",
"version": "1.2.0",
"description": "SMTP connector implementation.",
"author": "Silverhand Inc. <contact@silverhand.io>",
"dependencies": {

View file

@ -1,5 +1,15 @@
# @logto/connector-tencent-sms
## 1.2.0
### Minor Changes
- 510f681fa: use tsup for building
We've updated some of the packages to use `tsup` for building. This will make the build process faster, and should not affect the functionality of the packages.
Use minor version bump to catch your attention.
## 1.1.2
### Patch Changes

View file

@ -1,6 +1,6 @@
{
"name": "@logto/connector-tencent-sms",
"version": "1.1.2",
"version": "1.2.0",
"description": "Tencent SMS connector implementation.",
"author": "StringKe",
"dependencies": {

View file

@ -1,5 +1,15 @@
# @logto/connector-twilio-sms
## 1.2.0
### Minor Changes
- 510f681fa: use tsup for building
We've updated some of the packages to use `tsup` for building. This will make the build process faster, and should not affect the functionality of the packages.
Use minor version bump to catch your attention.
## 1.1.2
### Patch Changes

View file

@ -1,6 +1,6 @@
{
"name": "@logto/connector-twilio-sms",
"version": "1.1.2",
"version": "1.2.0",
"description": "Twilio SMS connector implementation.",
"author": "Silverhand Inc. <contact@silverhand.io>",
"dependencies": {

View file

@ -1,5 +1,15 @@
# @logto/connector-wechat-native
## 1.3.0
### Minor Changes
- 510f681fa: use tsup for building
We've updated some of the packages to use `tsup` for building. This will make the build process faster, and should not affect the functionality of the packages.
Use minor version bump to catch your attention.
## 1.2.1
### Patch Changes

View file

@ -1,6 +1,6 @@
{
"name": "@logto/connector-wechat-native",
"version": "1.2.1",
"version": "1.3.0",
"description": "WeChat native connector implementation.",
"author": "Silverhand Inc. <contact@silverhand.io>",
"dependencies": {

View file

@ -1,5 +1,15 @@
# @logto/connector-wechat-web
## 1.4.0
### Minor Changes
- 510f681fa: use tsup for building
We've updated some of the packages to use `tsup` for building. This will make the build process faster, and should not affect the functionality of the packages.
Use minor version bump to catch your attention.
## 1.3.1
### Patch Changes

View file

@ -1,6 +1,6 @@
{
"name": "@logto/connector-wechat-web",
"version": "1.3.1",
"version": "1.4.0",
"description": "Wechat Web connector implementation.",
"author": "Silverhand Inc. <contact@silverhand.io>",
"dependencies": {

View file

@ -1,5 +1,15 @@
# @logto/connector-wecom
## 0.3.0
### Minor Changes
- 510f681fa: use tsup for building
We've updated some of the packages to use `tsup` for building. This will make the build process faster, and should not affect the functionality of the packages.
Use minor version bump to catch your attention.
## 0.2.1
### Patch Changes

View file

@ -1,6 +1,6 @@
{
"name": "@logto/connector-wecom",
"version": "0.2.1",
"version": "0.3.0",
"description": "Wecom connector implementation.",
"author": "Dove<dove@feegr.cc> fork from Wechat Web connector",
"dependencies": {

View file

@ -1,5 +1,67 @@
# Change Log
## 1.17.0
### Minor Changes
- 3a839f6d6: support organization logo and sign-in experience override
Now it's able to set light and dark logos for organizations. You can upload the logos in the organization settings page.
Also, it's possible to override the sign-in experience logo from an organization. Simply add the `organization_id` parameter to the authentication request. In most Logto SDKs, it can be done by using the `extraParams` field in the `signIn` method.
For example, in the JavaScript SDK:
```ts
import LogtoClient from "@logto/client";
const logtoClient = new LogtoClient(/* your configuration */);
logtoClient.signIn({
redirectUri: "https://your-app.com/callback",
extraParams: {
organization_id: "<organization-id>",
},
});
```
The value `<organization-id>` can be found in the organization settings page.
If you could not find the `extraParams` field in the SDK you are using, please let us know.
- b91ec0cd6: add the application `custom_data` field editor to the application details page in console
- 62f5e5e0c: support app-level branding
You can now set logos, favicons, and colors for your app. These settings will be used in the sign-in experience when the app initiates the authentication flow. For apps that have no branding settings, the omni sign-in experience branding will be used.
If `organization_id` is provided in the authentication request, the app-level branding settings will be overridden by the organization's branding settings, if available.
- 3bf756f2b: use Vite for transpilation and bundling
Removed ParcelJS and replaced with Vite. No breaking changes should be expected, but use a minor version bump to catch your attention.
> [!Important]
> The browserlist configuration for `@logto/experience` and been synced with what is stated in README.md.
- b188bb161: support multiple app secrets with expiration
Now secure apps (machine-to-machine, traditional web, Protected) can have multiple app secrets with expiration. This allows for secret rotation and provides an even safer experience.
To manage your application secrets, go to Logto Console -> Applications -> Application Details -> Endpoints & Credentials.
We've also added a set of Management APIs (`/api/applications/{id}/secrets`) for this purpose.
> [!Important]
> You can still use existing app secrets for client authentication, but it is recommended to delete the old ones and create new secrets with expiration for enhanced security.
- 62f5e5e0c: support dark favicon
The favicon for the dark theme now can be set in the sign-in experience branding settings.
### Patch Changes
- 3aa7e57b3: fix Google connector `scope` field can not be reset bug
## 1.16.0
### Minor Changes

View file

@ -1,6 +1,6 @@
{
"name": "@logto/console",
"version": "1.16.0",
"version": "1.17.0",
"description": "> TODO: description",
"author": "Silverhand Inc. <contact@silverhand.io>",
"homepage": "https://github.com/logto-io/logto#readme",
@ -32,10 +32,10 @@
"@logto/core-kit": "workspace:^2.5.0",
"@logto/elements": "workspace:^0.0.0",
"@logto/language-kit": "workspace:^1.1.0",
"@logto/phrases": "workspace:^1.12.0",
"@logto/phrases": "workspace:^1.13.0",
"@logto/phrases-experience": "workspace:^1.7.0",
"@logto/react": "^3.0.12",
"@logto/schemas": "workspace:^1.18.0",
"@logto/schemas": "workspace:^1.19.0",
"@logto/shared": "workspace:^3.1.1",
"@mdx-js/react": "^3.0.1",
"@mdx-js/rollup": "^3.0.1",

View file

@ -1,5 +1,144 @@
# Change Log
## 1.19.0
### Minor Changes
- 6477c6dee: add `custom_data` to applications
Introduce a new property `custom_data` to the `Application` schema. This property is an arbitrary object that can be used to store custom data for an application.
Added a new API to update the custom data of an application:
- `PATCH /applications/:applicationId/custom-data`
- 3a839f6d6: support organization logo and sign-in experience override
Now it's able to set light and dark logos for organizations. You can upload the logos in the organization settings page.
Also, it's possible to override the sign-in experience logo from an organization. Simply add the `organization_id` parameter to the authentication request. In most Logto SDKs, it can be done by using the `extraParams` field in the `signIn` method.
For example, in the JavaScript SDK:
```ts
import LogtoClient from "@logto/client";
const logtoClient = new LogtoClient(/* your configuration */);
logtoClient.signIn({
redirectUri: "https://your-app.com/callback",
extraParams: {
organization_id: "<organization-id>",
},
});
```
The value `<organization-id>` can be found in the organization settings page.
If you could not find the `extraParams` field in the SDK you are using, please let us know.
- 62f5e5e0c: support app-level branding
You can now set logos, favicons, and colors for your app. These settings will be used in the sign-in experience when the app initiates the authentication flow. For apps that have no branding settings, the omni sign-in experience branding will be used.
If `organization_id` is provided in the authentication request, the app-level branding settings will be overridden by the organization's branding settings, if available.
- 18c8fdf01: implement token exchange for user impersonation
Added support for user impersonation via token exchange:
1. New endpoint: `POST /subject-tokens` (Management API)
- Request body: `{ "userId": "<user-id>" }`
- Returns a subject token
2. Enhanced `POST /oidc/token` endpoint (OIDC API)
- Supports new grant type: `urn:ietf:params:oauth:grant-type:token-exchange`
- Request body:
```json
{
"grant_type": "urn:ietf:params:oauth:grant-type:token-exchange",
"subject_token": "<subject-token>",
"subject_token_type": "urn:ietf:params:oauth:token-type:access_token",
"client_id": "<client-id>"
}
```
- Returns an impersonated access token
Refer to documentation for usage examples and the [Token Exchange RFC](https://tools.ietf.org/html/rfc8693) for more details.
- d203c8d2f: support experience data server-side rendering
Logto now injects the sign-in experience settings and phrases into the `index.html` file for better first-screen performance. The experience app will still fetch the settings and phrases from the server if:
- The server didn't inject the settings and phrases.
- The parameters in the URL are different from server-rendered data.
- b188bb161: support multiple app secrets with expiration
Now secure apps (machine-to-machine, traditional web, Protected) can have multiple app secrets with expiration. This allows for secret rotation and provides an even safer experience.
To manage your application secrets, go to Logto Console -> Applications -> Application Details -> Endpoints & Credentials.
We've also added a set of Management APIs (`/api/applications/{id}/secrets`) for this purpose.
> [!Important]
> You can still use existing app secrets for client authentication, but it is recommended to delete the old ones and create new secrets with expiration for enhanced security.
- b91ec0cd6: update the jsonb field update mode from `merge` to `replace` for the `PATCH /application/:id` endpoint.
remove the `deepPartial` statement from the `PATCH /application/:id` endpoint payload guard.
For all the jsonb typed fields in the application entity, the update mode is now `replace` instead of `merge`. This means that when you send a `PATCH` request to update an application, the jsonb fields will be replaced with the new values instead of merging them.
This change is to make the request behavior more strict aligned with the restful API principles for a `PATCH` request.
- d56bc2f73: add support for new password digest algorithm argon2d and argon2id
In `POST /users`, the `passwordAlgorithm` field now accepts `Argon2d` and `Argon2id`.
Users with those algorithms will be migrated to `Argon2i` upon succussful sign in.
- 510f681fa: use tsup for building
We've updated some of the packages to use `tsup` for building. This will make the build process faster, and should not affect the functionality of the packages.
Use minor version bump to catch your attention.
### Patch Changes
- 84f7e13a2: use native OpenAPI OAuth 2 security schema
The built-in OpenAPI OAuth 2 security schema is now used instead of the custom HTTP header-based security schema. This change improves compatibility with OpenAPI tools and libraries that support OAuth 2.
- f76252e0d: fix the status code 404 error in webhook events payload
Impact webhook events:
- `Role.Scopes.Updated`
- `Organizations.Membership.Updates`
Issue: These webhook event payloads were returning a API response status code of 404 when the webhook was triggered.
Expected: A status code of 200 should be returned, as we only trigger the webhook when the request is successful.
Fix: All webhook event contexts should be created and inserted into the webhook pipeline after the response body and status code are properly set.
- Updated dependencies [6477c6dee]
- Updated dependencies [3aa7e57b3]
- Updated dependencies [3a839f6d6]
- Updated dependencies [b91ec0cd6]
- Updated dependencies [3a839f6d6]
- Updated dependencies [62f5e5e0c]
- Updated dependencies [d203c8d2f]
- Updated dependencies [2d0502a42]
- Updated dependencies [3bf756f2b]
- Updated dependencies [b188bb161]
- Updated dependencies [62f5e5e0c]
- Updated dependencies [d56bc2f73]
- Updated dependencies [510f681fa]
- @logto/schemas@1.19.0
- @logto/console@1.17.0
- @logto/experience@1.8.0
- @logto/phrases@1.13.0
- @logto/demo-app@1.4.0
- @logto/cli@1.19.0
## 1.18.0
### Minor Changes

View file

@ -1,6 +1,6 @@
{
"name": "@logto/core",
"version": "1.18.0",
"version": "1.19.0",
"description": "The open source identity solution.",
"main": "build/index.js",
"author": "Silverhand Inc. <contact@silverhand.io>",
@ -33,16 +33,16 @@
"@koa/cors": "^5.0.0",
"@logto/affiliate": "^0.1.0",
"@logto/app-insights": "workspace:^2.0.0",
"@logto/cli": "workspace:^1.18.0",
"@logto/cli": "workspace:^1.19.0",
"@logto/connector-kit": "workspace:^4.0.0",
"@logto/console": "workspace:*",
"@logto/core-kit": "workspace:^2.5.0",
"@logto/demo-app": "workspace:*",
"@logto/experience": "workspace:*",
"@logto/language-kit": "workspace:^1.1.0",
"@logto/phrases": "workspace:^1.12.0",
"@logto/phrases": "workspace:^1.13.0",
"@logto/phrases-experience": "workspace:^1.7.0",
"@logto/schemas": "workspace:^1.18.0",
"@logto/schemas": "workspace:^1.19.0",
"@logto/shared": "workspace:^3.1.1",
"@silverhand/essentials": "^2.9.1",
"@silverhand/slonik": "31.0.0-beta.2",

View file

@ -1,5 +1,12 @@
# Change Log
## 1.19.0
### Patch Changes
- Updated dependencies [2d0502a42]
- @logto/cli@1.19.0
## 1.18.0
### Patch Changes

View file

@ -1,6 +1,6 @@
{
"name": "@logto/create",
"version": "1.18.0",
"version": "1.19.0",
"author": "Silverhand Inc. <contact@silverhand.io>",
"license": "MPL-2.0",
"type": "module",
@ -15,6 +15,6 @@
"node": "^20.9.0"
},
"dependencies": {
"@logto/cli": "workspace:^1.18.0"
"@logto/cli": "workspace:^1.19.0"
}
}

View file

@ -1,5 +1,17 @@
# Change Log
## 1.4.0
### Minor Changes
- 3a839f6d6: support extra token params in dev panel
- 3bf756f2b: use Vite for transpilation and bundling
Removed ParcelJS and replaced with Vite. No breaking changes should be expected, but use a minor version bump to catch your attention.
> [!Important]
> The browserlist configuration for `@logto/experience` and been synced with what is stated in README.md.
## 1.3.0
### Minor Changes

Some files were not shown because too many files have changed in this diff Show more