From 2c19a83f0baca43708079948729d5b169d508445 Mon Sep 17 00:00:00 2001 From: Gao Sun Date: Thu, 2 Feb 2023 22:21:34 +0800 Subject: [PATCH] release: version packages --- .changeset/pre.json | 10 ++++- packages/cli/CHANGELOG.md | 29 +++++++++++++ packages/console/CHANGELOG.md | 19 +++++++++ packages/core/CHANGELOG.md | 41 +++++++++++++++++++ packages/create/CHANGELOG.md | 9 ++++ packages/integration-tests/CHANGELOG.md | 8 ++++ packages/schemas/CHANGELOG.md | 20 +++++++++ ...ts => 1.0.0_rc.0-1672815959-user-roles.ts} | 0 ....0.0_rc.0-1672820345-scope-resource-id.ts} | 0 ...0-1672901841-roles-and-scopes-not-null.ts} | 0 ....0-1673001922-support-generic-passcode.ts} | 0 ...1.0.0_rc.0-1673165463-scope-name-index.ts} | 0 ...349501-sms-sign-in-identifier-to-phone.ts} | 0 ...=> 1.0.0_rc.0-1673465463-ac-scope-name.ts} | 0 ...1.0.0_rc.0-1673853579-ac-default-scope.ts} | 0 ...=> 1.0.0_rc.0-1673863835-ac-scope-role.ts} | 0 ..._rc.0-1673882867-fix-alteration-issues.ts} | 0 ...-1673940577-scope-description-not-null.ts} | 0 ....0.0_rc.0-1673941897-application-roles.ts} | 0 ...674032095.1-dedup-resources-constraint.ts} | 0 ....0.0_rc.0-1674032095.2-oidc-model-pkey.ts} | 0 ...> 1.0.0_rc.0-1674032095.3-tenant-table.ts} | 0 ... 1.0.0_rc.0-1674032095.4-add-id-column.ts} | 0 ... 1.0.0_rc.0-1674032095.5-multi-tenancy.ts} | 0 ...c.0-1674032095.6-add-tenant-id-trigger.ts} | 0 ...87042-drop-settings-and-create-systems.ts} | 0 ...1.0.0_rc.0-1675316731-update-seed-data.ts} | 0 packages/shared/CHANGELOG.md | 9 ++++ packages/ui/CHANGELOG.md | 13 ++++++ 29 files changed, 157 insertions(+), 1 deletion(-) rename packages/schemas/alterations/{next-1672815959-user-roles.ts => 1.0.0_rc.0-1672815959-user-roles.ts} (100%) rename packages/schemas/alterations/{next-1672820345-scope-resource-id.ts => 1.0.0_rc.0-1672820345-scope-resource-id.ts} (100%) rename packages/schemas/alterations/{next-1672901841-roles-and-scopes-not-null.ts => 1.0.0_rc.0-1672901841-roles-and-scopes-not-null.ts} (100%) rename packages/schemas/alterations/{next-1673001922-support-generic-passcode.ts => 1.0.0_rc.0-1673001922-support-generic-passcode.ts} (100%) rename packages/schemas/alterations/{next-1673165463-scope-name-index.ts => 1.0.0_rc.0-1673165463-scope-name-index.ts} (100%) rename packages/schemas/alterations/{next-1673349501-sms-sign-in-identifier-to-phone.ts => 1.0.0_rc.0-1673349501-sms-sign-in-identifier-to-phone.ts} (100%) rename packages/schemas/alterations/{next-1673465463-ac-scope-name.ts => 1.0.0_rc.0-1673465463-ac-scope-name.ts} (100%) rename packages/schemas/alterations/{next-1673853579-ac-default-scope.ts => 1.0.0_rc.0-1673853579-ac-default-scope.ts} (100%) rename packages/schemas/alterations/{next-1673863835-ac-scope-role.ts => 1.0.0_rc.0-1673863835-ac-scope-role.ts} (100%) rename packages/schemas/alterations/{next-1673882867-fix-alteration-issues.ts => 1.0.0_rc.0-1673882867-fix-alteration-issues.ts} (100%) rename packages/schemas/alterations/{next-1673940577-scope-description-not-null.ts => 1.0.0_rc.0-1673940577-scope-description-not-null.ts} (100%) rename packages/schemas/alterations/{next-1673941897-application-roles.ts => 1.0.0_rc.0-1673941897-application-roles.ts} (100%) rename packages/schemas/alterations/{next-1674032095.1-dedup-resources-constraint.ts => 1.0.0_rc.0-1674032095.1-dedup-resources-constraint.ts} (100%) rename packages/schemas/alterations/{next-1674032095.2-oidc-model-pkey.ts => 1.0.0_rc.0-1674032095.2-oidc-model-pkey.ts} (100%) rename packages/schemas/alterations/{next-1674032095.3-tenant-table.ts => 1.0.0_rc.0-1674032095.3-tenant-table.ts} (100%) rename packages/schemas/alterations/{next-1674032095.4-add-id-column.ts => 1.0.0_rc.0-1674032095.4-add-id-column.ts} (100%) rename packages/schemas/alterations/{next-1674032095.5-multi-tenancy.ts => 1.0.0_rc.0-1674032095.5-multi-tenancy.ts} (100%) rename packages/schemas/alterations/{next-1674032095.6-add-tenant-id-trigger.ts => 1.0.0_rc.0-1674032095.6-add-tenant-id-trigger.ts} (100%) rename packages/schemas/alterations/{next-1674987042-drop-settings-and-create-systems.ts => 1.0.0_rc.0-1674987042-drop-settings-and-create-systems.ts} (100%) rename packages/schemas/alterations/{next-1675316731-update-seed-data.ts => 1.0.0_rc.0-1675316731-update-seed-data.ts} (100%) diff --git a/.changeset/pre.json b/.changeset/pre.json index a3ea0c5a4..2c1a1bb0a 100644 --- a/.changeset/pre.json +++ b/.changeset/pre.json @@ -18,11 +18,14 @@ "@logto/language-kit": "1.0.0-rc.0" }, "changesets": [ + "breezy-socks-joke", "clever-panthers-lay", + "cyan-buses-trade", "fifty-balloons-taste", "good-feet-own", "green-geese-train", "grumpy-clocks-refuse", + "large-windows-scream", "lovely-rivers-sniff", "moody-timers-grin", "neat-snakes-smash", @@ -30,11 +33,16 @@ "quick-turtles-joke", "quiet-shrimps-flow", "silly-rules-laugh", + "six-falcons-sin", "six-mayflies-tan", "slow-meals-enjoy", "small-knives-swim", + "sweet-dolphins-own", + "tender-maps-burn", "thin-oranges-act", + "three-ducks-yell", "tricky-mirrors-act", - "unlucky-lizards-agree" + "unlucky-lizards-agree", + "unlucky-months-clap" ] } diff --git a/packages/cli/CHANGELOG.md b/packages/cli/CHANGELOG.md index f9a9dc994..2fdbe79b6 100644 --- a/packages/cli/CHANGELOG.md +++ b/packages/cli/CHANGELOG.md @@ -1,5 +1,34 @@ # Change Log +## 1.0.0-rc.0 + +### Major Changes + +- f41fd3f0: drop settings table and add systems table + + **BREAKING CHANGES** + + - core: removed `GET /settings` and `PATCH /settings` API + - core: added `GET /configs/admin-console` and `PATCH /configs/admin-console` API + - `/configs/*` APIs are config/key-specific now. they may have different logic per key + - cli: change valid `logto db config` keys by removing `alterationState` and adding `adminConsole` since: + - OIDC configs and admin console configs are tenant-level configs (the concept of "tenant" can be ignored until we officially announce it) + - alteration state is still a system-wide config + +### Minor Changes + +- f41fd3f0: Add `logto database alteration rollback` command for running `down()` alteration scripts +- f41fd3f0: - cli: use `ec` with `secp384r1` as the default key generation type + - core: use `ES384` as the signing algorithm for EC keys + +### Patch Changes + +- Updated dependencies [f41fd3f0] +- Updated dependencies [f41fd3f0] +- Updated dependencies [f41fd3f0] + - @logto/schemas@1.0.0-rc.0 + - @logto/shared@1.0.0-rc.0 + ## 1.0.0-beta.19 ### Patch Changes diff --git a/packages/console/CHANGELOG.md b/packages/console/CHANGELOG.md index e513621c6..65d6a2580 100644 --- a/packages/console/CHANGELOG.md +++ b/packages/console/CHANGELOG.md @@ -1,5 +1,24 @@ # Change Log +## 1.0.0-rc.0 + +### Major Changes + +- f41fd3f0: drop settings table and add systems table + + **BREAKING CHANGES** + + - core: removed `GET /settings` and `PATCH /settings` API + - core: added `GET /configs/admin-console` and `PATCH /configs/admin-console` API + - `/configs/*` APIs are config/key-specific now. they may have different logic per key + - cli: change valid `logto db config` keys by removing `alterationState` and adding `adminConsole` since: + - OIDC configs and admin console configs are tenant-level configs (the concept of "tenant" can be ignored until we officially announce it) + - alteration state is still a system-wide config + +### Minor Changes + +- f41fd3f0: Replace the `sms` naming convention using `phone` cross logto codebase. Including Sign-in Experience types, API paths, API payload and internal variable names. + ## 1.0.0-beta.19 ## 1.0.0-beta.18 diff --git a/packages/core/CHANGELOG.md b/packages/core/CHANGELOG.md index 83d2544d6..155754ed6 100644 --- a/packages/core/CHANGELOG.md +++ b/packages/core/CHANGELOG.md @@ -1,5 +1,46 @@ # Change Log +## 1.0.0-rc.0 + +### Major Changes + +- f41fd3f0: drop settings table and add systems table + + **BREAKING CHANGES** + + - core: removed `GET /settings` and `PATCH /settings` API + - core: added `GET /configs/admin-console` and `PATCH /configs/admin-console` API + - `/configs/*` APIs are config/key-specific now. they may have different logic per key + - cli: change valid `logto db config` keys by removing `alterationState` and adding `adminConsole` since: + - OIDC configs and admin console configs are tenant-level configs (the concept of "tenant" can be ignored until we officially announce it) + - alteration state is still a system-wide config + +### Minor Changes + +- f41fd3f0: Replace `passcode` naming convention in the interaction APIs and main flow ui with `verificationCode`. +- f41fd3f0: Officially cleanup all deprecated `/session` APIs in core and all the related integration tests. +- f41fd3f0: - cli: use `ec` with `secp384r1` as the default key generation type + - core: use `ES384` as the signing algorithm for EC keys +- fdb2bb48: **Streamlining the social sign-up flow** + + - detect trusted email (or phone number) from the social account + - email (or phone number) has been registered: automatically connecting the social identity to the existing user account with a single click + - email (or phone number) not registered: automatically sync up the user profile with the social provided email (or phone) if and only if marked as a required user profile. + +- f41fd3f0: Replace the `sms` naming convention using `phone` cross logto codebase. Including Sign-in Experience types, API paths, API payload and internal variable names. +- f41fd3f0: Add support to send and verify verification code in management APIs + +### Patch Changes + +- Updated dependencies [f41fd3f0] +- Updated dependencies [f41fd3f0] +- Updated dependencies [f41fd3f0] +- Updated dependencies [f41fd3f0] +- Updated dependencies [f41fd3f0] + - @logto/cli@1.0.0-rc.0 + - @logto/schemas@1.0.0-rc.0 + - @logto/shared@1.0.0-rc.0 + ## 1.0.0-beta.19 ### Patch Changes diff --git a/packages/create/CHANGELOG.md b/packages/create/CHANGELOG.md index 12ae234a3..2b4d83be2 100644 --- a/packages/create/CHANGELOG.md +++ b/packages/create/CHANGELOG.md @@ -1,5 +1,14 @@ # Change Log +## 1.0.0-rc.0 + +### Patch Changes + +- Updated dependencies [f41fd3f0] +- Updated dependencies [f41fd3f0] +- Updated dependencies [f41fd3f0] + - @logto/cli@1.0.0-rc.0 + ## 1.0.0-beta.19 ### Patch Changes diff --git a/packages/integration-tests/CHANGELOG.md b/packages/integration-tests/CHANGELOG.md index eb00e4e7c..4f7e8b72f 100644 --- a/packages/integration-tests/CHANGELOG.md +++ b/packages/integration-tests/CHANGELOG.md @@ -1,5 +1,13 @@ # Change Log +## 1.0.0-rc.0 + +### Minor Changes + +- f41fd3f0: Replace `passcode` naming convention in the interaction APIs and main flow ui with `verificationCode`. +- f41fd3f0: Officially cleanup all deprecated `/session` APIs in core and all the related integration tests. +- f41fd3f0: Replace the `sms` naming convention using `phone` cross logto codebase. Including Sign-in Experience types, API paths, API payload and internal variable names. + ## 1.0.0-beta.19 ## 1.0.0-beta.18 diff --git a/packages/schemas/CHANGELOG.md b/packages/schemas/CHANGELOG.md index 8976ea7a9..e92128b1f 100644 --- a/packages/schemas/CHANGELOG.md +++ b/packages/schemas/CHANGELOG.md @@ -1,5 +1,25 @@ # Change Log +## 1.0.0-rc.0 + +### Major Changes + +- f41fd3f0: drop settings table and add systems table + + **BREAKING CHANGES** + + - core: removed `GET /settings` and `PATCH /settings` API + - core: added `GET /configs/admin-console` and `PATCH /configs/admin-console` API + - `/configs/*` APIs are config/key-specific now. they may have different logic per key + - cli: change valid `logto db config` keys by removing `alterationState` and adding `adminConsole` since: + - OIDC configs and admin console configs are tenant-level configs (the concept of "tenant" can be ignored until we officially announce it) + - alteration state is still a system-wide config + +### Minor Changes + +- f41fd3f0: Replace `passcode` naming convention in the interaction APIs and main flow ui with `verificationCode`. +- f41fd3f0: Replace the `sms` naming convention using `phone` cross logto codebase. Including Sign-in Experience types, API paths, API payload and internal variable names. + ## 1.0.0-beta.18 ### Patch Changes diff --git a/packages/schemas/alterations/next-1672815959-user-roles.ts b/packages/schemas/alterations/1.0.0_rc.0-1672815959-user-roles.ts similarity index 100% rename from packages/schemas/alterations/next-1672815959-user-roles.ts rename to packages/schemas/alterations/1.0.0_rc.0-1672815959-user-roles.ts diff --git a/packages/schemas/alterations/next-1672820345-scope-resource-id.ts b/packages/schemas/alterations/1.0.0_rc.0-1672820345-scope-resource-id.ts similarity index 100% rename from packages/schemas/alterations/next-1672820345-scope-resource-id.ts rename to packages/schemas/alterations/1.0.0_rc.0-1672820345-scope-resource-id.ts diff --git a/packages/schemas/alterations/next-1672901841-roles-and-scopes-not-null.ts b/packages/schemas/alterations/1.0.0_rc.0-1672901841-roles-and-scopes-not-null.ts similarity index 100% rename from packages/schemas/alterations/next-1672901841-roles-and-scopes-not-null.ts rename to packages/schemas/alterations/1.0.0_rc.0-1672901841-roles-and-scopes-not-null.ts diff --git a/packages/schemas/alterations/next-1673001922-support-generic-passcode.ts b/packages/schemas/alterations/1.0.0_rc.0-1673001922-support-generic-passcode.ts similarity index 100% rename from packages/schemas/alterations/next-1673001922-support-generic-passcode.ts rename to packages/schemas/alterations/1.0.0_rc.0-1673001922-support-generic-passcode.ts diff --git a/packages/schemas/alterations/next-1673165463-scope-name-index.ts b/packages/schemas/alterations/1.0.0_rc.0-1673165463-scope-name-index.ts similarity index 100% rename from packages/schemas/alterations/next-1673165463-scope-name-index.ts rename to packages/schemas/alterations/1.0.0_rc.0-1673165463-scope-name-index.ts diff --git a/packages/schemas/alterations/next-1673349501-sms-sign-in-identifier-to-phone.ts b/packages/schemas/alterations/1.0.0_rc.0-1673349501-sms-sign-in-identifier-to-phone.ts similarity index 100% rename from packages/schemas/alterations/next-1673349501-sms-sign-in-identifier-to-phone.ts rename to packages/schemas/alterations/1.0.0_rc.0-1673349501-sms-sign-in-identifier-to-phone.ts diff --git a/packages/schemas/alterations/next-1673465463-ac-scope-name.ts b/packages/schemas/alterations/1.0.0_rc.0-1673465463-ac-scope-name.ts similarity index 100% rename from packages/schemas/alterations/next-1673465463-ac-scope-name.ts rename to packages/schemas/alterations/1.0.0_rc.0-1673465463-ac-scope-name.ts diff --git a/packages/schemas/alterations/next-1673853579-ac-default-scope.ts b/packages/schemas/alterations/1.0.0_rc.0-1673853579-ac-default-scope.ts similarity index 100% rename from packages/schemas/alterations/next-1673853579-ac-default-scope.ts rename to packages/schemas/alterations/1.0.0_rc.0-1673853579-ac-default-scope.ts diff --git a/packages/schemas/alterations/next-1673863835-ac-scope-role.ts b/packages/schemas/alterations/1.0.0_rc.0-1673863835-ac-scope-role.ts similarity index 100% rename from packages/schemas/alterations/next-1673863835-ac-scope-role.ts rename to packages/schemas/alterations/1.0.0_rc.0-1673863835-ac-scope-role.ts diff --git a/packages/schemas/alterations/next-1673882867-fix-alteration-issues.ts b/packages/schemas/alterations/1.0.0_rc.0-1673882867-fix-alteration-issues.ts similarity index 100% rename from packages/schemas/alterations/next-1673882867-fix-alteration-issues.ts rename to packages/schemas/alterations/1.0.0_rc.0-1673882867-fix-alteration-issues.ts diff --git a/packages/schemas/alterations/next-1673940577-scope-description-not-null.ts b/packages/schemas/alterations/1.0.0_rc.0-1673940577-scope-description-not-null.ts similarity index 100% rename from packages/schemas/alterations/next-1673940577-scope-description-not-null.ts rename to packages/schemas/alterations/1.0.0_rc.0-1673940577-scope-description-not-null.ts diff --git a/packages/schemas/alterations/next-1673941897-application-roles.ts b/packages/schemas/alterations/1.0.0_rc.0-1673941897-application-roles.ts similarity index 100% rename from packages/schemas/alterations/next-1673941897-application-roles.ts rename to packages/schemas/alterations/1.0.0_rc.0-1673941897-application-roles.ts diff --git a/packages/schemas/alterations/next-1674032095.1-dedup-resources-constraint.ts b/packages/schemas/alterations/1.0.0_rc.0-1674032095.1-dedup-resources-constraint.ts similarity index 100% rename from packages/schemas/alterations/next-1674032095.1-dedup-resources-constraint.ts rename to packages/schemas/alterations/1.0.0_rc.0-1674032095.1-dedup-resources-constraint.ts diff --git a/packages/schemas/alterations/next-1674032095.2-oidc-model-pkey.ts b/packages/schemas/alterations/1.0.0_rc.0-1674032095.2-oidc-model-pkey.ts similarity index 100% rename from packages/schemas/alterations/next-1674032095.2-oidc-model-pkey.ts rename to packages/schemas/alterations/1.0.0_rc.0-1674032095.2-oidc-model-pkey.ts diff --git a/packages/schemas/alterations/next-1674032095.3-tenant-table.ts b/packages/schemas/alterations/1.0.0_rc.0-1674032095.3-tenant-table.ts similarity index 100% rename from packages/schemas/alterations/next-1674032095.3-tenant-table.ts rename to packages/schemas/alterations/1.0.0_rc.0-1674032095.3-tenant-table.ts diff --git a/packages/schemas/alterations/next-1674032095.4-add-id-column.ts b/packages/schemas/alterations/1.0.0_rc.0-1674032095.4-add-id-column.ts similarity index 100% rename from packages/schemas/alterations/next-1674032095.4-add-id-column.ts rename to packages/schemas/alterations/1.0.0_rc.0-1674032095.4-add-id-column.ts diff --git a/packages/schemas/alterations/next-1674032095.5-multi-tenancy.ts b/packages/schemas/alterations/1.0.0_rc.0-1674032095.5-multi-tenancy.ts similarity index 100% rename from packages/schemas/alterations/next-1674032095.5-multi-tenancy.ts rename to packages/schemas/alterations/1.0.0_rc.0-1674032095.5-multi-tenancy.ts diff --git a/packages/schemas/alterations/next-1674032095.6-add-tenant-id-trigger.ts b/packages/schemas/alterations/1.0.0_rc.0-1674032095.6-add-tenant-id-trigger.ts similarity index 100% rename from packages/schemas/alterations/next-1674032095.6-add-tenant-id-trigger.ts rename to packages/schemas/alterations/1.0.0_rc.0-1674032095.6-add-tenant-id-trigger.ts diff --git a/packages/schemas/alterations/next-1674987042-drop-settings-and-create-systems.ts b/packages/schemas/alterations/1.0.0_rc.0-1674987042-drop-settings-and-create-systems.ts similarity index 100% rename from packages/schemas/alterations/next-1674987042-drop-settings-and-create-systems.ts rename to packages/schemas/alterations/1.0.0_rc.0-1674987042-drop-settings-and-create-systems.ts diff --git a/packages/schemas/alterations/next-1675316731-update-seed-data.ts b/packages/schemas/alterations/1.0.0_rc.0-1675316731-update-seed-data.ts similarity index 100% rename from packages/schemas/alterations/next-1675316731-update-seed-data.ts rename to packages/schemas/alterations/1.0.0_rc.0-1675316731-update-seed-data.ts diff --git a/packages/shared/CHANGELOG.md b/packages/shared/CHANGELOG.md index f16e5ffe7..3e55309e9 100644 --- a/packages/shared/CHANGELOG.md +++ b/packages/shared/CHANGELOG.md @@ -1,5 +1,14 @@ # Change Log +## 1.0.0-rc.0 + +### Patch Changes + +- Updated dependencies [f41fd3f0] +- Updated dependencies [f41fd3f0] +- Updated dependencies [f41fd3f0] + - @logto/schemas@1.0.0-rc.0 + ## 1.0.0-beta.18 ### Patch Changes diff --git a/packages/ui/CHANGELOG.md b/packages/ui/CHANGELOG.md index 9a32b5d44..d7186120c 100644 --- a/packages/ui/CHANGELOG.md +++ b/packages/ui/CHANGELOG.md @@ -1,5 +1,18 @@ # Change Log +## 1.0.0-rc.0 + +### Minor Changes + +- f41fd3f0: Replace `passcode` naming convention in the interaction APIs and main flow ui with `verificationCode`. +- fdb2bb48: **Streamlining the social sign-up flow** + + - detect trusted email (or phone number) from the social account + - email (or phone number) has been registered: automatically connecting the social identity to the existing user account with a single click + - email (or phone number) not registered: automatically sync up the user profile with the social provided email (or phone) if and only if marked as a required user profile. + +- f41fd3f0: Replace the `sms` naming convention using `phone` cross logto codebase. Including Sign-in Experience types, API paths, API payload and internal variable names. + ## 1.0.0-beta.19 ## 1.0.0-beta.18