Skip to content

Releases: logto-io/logto

v1.0.0-beta.12

19 Oct 08:40
v1.0.0-beta.12
c0fb598
Compare
Choose a tag to compare

1.0.0-beta.12 (2022-10-19)

We’re super excited to announce some new capabilities in this release that will make Logto more accessible to developers and users all around the world. Get a taste of them and tell us what you think!

Migrate from previous versions

Here, we debut the new CLI and switch OIDC configurations from using environment variables to the database. Updating the Logto core necessitates the following two procedures:

  1. Execute npx @logto/cli db alteration deploy 1.0.0-beta.12 to finish updating the database schema.
  2. Migrate the OIDC configurations by following Migrate configs from env.

Note
For Docker image users: now DB_URL_DEFAULT has been changed to DB_URL.

Sign-in Experience i18n

Manage languages

The warm reception Logto has received since its initial release in July has resulted in numerous language contributions from the community. This motivates us to localize and tailor the sign-in process even more.

Now, we're ecstatic to announce that Logto Sign-in Experience has full support for i18n, which means your products can reach a wider global audience and offer more personalized and contextualized options for all users.

  • We have 6 predefined languages to choose from, all of which were created by our international community and can be modified to your liking.
  • Support for up to 113 language tags, allowing you to use your own translation in order to reach the vast majority of countries worldwide.

The admin console already includes this functionality. The "Language" section of the Sign-in Experience tab is where you'll be able to rapidly set up and manage your keys and custom values.

CLI: Exclusively for Logto

Terminal with Logto CLI

Combating with complicated commands? That's not how we roll. So we're bringing some friendly little things to keep the elegance going even in the command line.

If you're trying to install Logto on your machine, skip the long, scary install command. It now reads:

npm init @logto

And you are all set. Check out Using CLI for a detailed explanation of how to use Logto CLI.

Contributors

Thank you! 💗

v1.0.0-beta.10

28 Sep 14:48
v1.0.0-beta.10
11381af
Compare
Choose a tag to compare

1.0.0-beta.10 (2022-09-28)

Machine to Machine apps

Are you trying to access Logto Management API in a backend service? Or programmatically access other API Resources in an OAuth 2.0 manner? Then the Machine to Machine apps are your friend, and we’re happy to announce this feature is available now!

Click “Create Application” in the Applications tab of Admin Console, and you’ll see the new “Machine to Machine” app type. We also wrote a detailed integration guide to make the process painless.

Machine to Machine poster

Automatic database alteration

Maintaining database schemas is hard, but there’s no reason to make the job yours. Starting from this version, Logto will check if the database schemas are up-to-date during initializing and guide you to start an automatic alteration without shutting down the database.

For container users

For now, you have to jump into one instance and run npm run alteration deploy in the Logto project root with ease to upgrade your database schema. We'll provide a standalone CLI soon to make it more smooth.

Database alteration poster

Where’s the stable release?

It’s not far! After internal discussion, we decided to release the first stable release when several things are complete:

  • Sign-in experience v2 (More flexible sign-in configuration, forgot password)
  • Role-based access control

Join our Discord Server to stay tuned, and see our Logto Public Roadmap for details.

Contributors

❤️ Thank you!

Other updates

⚠ BREAKING CHANGES

  • core: update user scopes (#1922)

Features

  • core: support base64 format OIDC_PRIVATE_KEYS config in .env file (#1903) (5bdb675)

Bug Fixes

  • bump react sdk and essentials toolkit to support CJK characters in idToken (2f92b43)
  • console: add sandbox attribute to iframe (#1926) (14cb043)
  • console: get prefixed router basename in local dev env (ccbe5da)
  • console: old value does not flash back on saving form (cdbd8d7)
  • console: use fallback language in preview (#1960) (de4c46e)
  • core,schemas: move alteration types into schemas src (#2005) (10c1be6)
  • core: filter out connector-kit (#1987) (f4cf89f)
  • phrases: phrases-ui typo and types (#1948) (2f373db)
  • support capital letter "Y" in command line prompt (416f4e8)
  • ui: align mobile input outline (#1991) (c9ba198)

v1.0.0-beta.9

07 Sep 16:37
v1.0.0-beta.9
8335e1f
Compare
Choose a tag to compare

1.0.0-beta.9 (2022-09-07)

Highlights

Thank you!

  • Built-in Go integration tutorial for Traditional Web apps is ready. Let's go try it!

image

⚠ DEVELOPER BREAKING CHANGES

  • core: load connectors by folder (#1879)

We moved all connectors to a new repo logto-io/connectors for a better experience. Nothing changed if you are not developing connectors.

Bug Fixes

  • console,ui: fix locale guard issue in settings page (e200578)
  • console: input invalid format content in multitextinput will not crash the app (035be48)
  • downgrade to sdk 1.0.0-beta.2 (#1896) (91d1bf8)
  • fetch connectors list from npm (#1894) (c6764f9)
  • remove --incremental to temporarily fix pnpm dev (4c2308e)

v1.0.0-beta.8

01 Sep 06:34
v1.0.0-beta.8
301bd23
Compare
Choose a tag to compare

1.0.0-beta.8 (2022-09-01)

Note: We skipped beta.7 due to some technical issues.

Features

v1.0.0-beta.6

30 Aug 06:04
v1.0.0-beta.6
3d92f35
Compare
Choose a tag to compare

1.0.0-beta.6 (2022-08-30)

Features

  • console: allow to disable create account (#1806) (67305ec)
  • console: express integration guide (#1807) (8e4ef2f)
  • core: guard session with sign-in mode (a8a3de3)

Bug Fixes

  • console: change step title to sentence case (#1814) (82cd315)

v1.0.0-beta.5

19 Aug 14:12
v1.0.0-beta.5
a9241c5
Compare
Choose a tag to compare

1.0.0-beta.5 (2022-08-19)

⚠ BREAKING CHANGES

  • core,console: remove /me apis (#1781) (since they are... useless for now)

Highlights

  • @Olyno contributed French translation. Thank you! ❤️
  • Userinfo Endpoint is now enabled. While we‘re updating our SDKs are docs, you can directly use the opaque access token to fetch the full user data via GET /oidc/me.
  • Support Hasura authentication using webhook. While we're working on the step by step tutorial, you can check out #1790 and #1793 for a sneak peek and try it yourself.

Features

Bug Fixes

  • console: show platform icons in connector table (#1792) (31f2439)
  • core: fix ac & ui proxy under subpath deployment (#1761) (163c23b)
  • deps: update dependency slonik to v30 (#1744) (a9f99db)

Code Refactoring

v1.0.0-beta.4

11 Aug 14:09
v1.0.0-beta.4
e42172e
Compare
Choose a tag to compare

1.0.0-beta.4 (2022-08-11)

Logto is now available on DockerHub. Use docker pull svhd/logto:prerelease to pull the image.

⚠ BREAKING CHANGES

  • core: use comma separated values as a string array in the env file (#1762)
  • core,schemas: add application secret (#1715)
  • deps: update react monorepo to v18 (major) (#1731)

Migiration

We are sorry for the manual migration. The automatic migration process is under development, will let you know once it's launched!

  • update env OIDC_COOKIE_KEYS from JSON array to comma separated value, e.g. OIDC_COOKIE_KEYS=LOGTOSEKRIT2,LOGTOSEKRIT1
  • update env key OIDC_PRIVATE_KEY_PATH to OIDC_PRIVATE_KEY_PATHS (if applicable)
  • update env key OIDC_PRIVATE_KEY to OIDC_PRIVATE_KEYS (if applicable)
  • add a secret varchar(64) not null column in applications table (definition)
    • you'll need manually generate nanoid with alphabet 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz and length 21 for each application.

Features

Bug Fixes

v1.0.0-beta.3

01 Aug 15:16
v1.0.0-beta.3
1e568e0
Compare
Choose a tag to compare

1.0.0-beta.3 (2022-08-01)

Highlights

Thank you! ❤️

Features

  • connector: azure active directory connector added (#1662) (875a828)
  • console: add Next.js integration guide in admin console (7d3f947)
  • console: checked if sign in method is primary (#1706) (405791f)
  • phrases: tr language (#1707) (411a8c2)

Bug Fixes

  • console: app error illustration height should not be shrunk (301cc6c)
  • console: should not display unsaved changes alert on connector config updated (#1685) (61b65a7)
  • test: run integration test serially (#1676) (8394f7b)

Reverts

v1.0.0-beta.2

25 Jul 17:17
v1.0.0-beta.2
c2050b7
Compare
Choose a tag to compare

1.0.0-beta.2 (2022-07-25)

Features

Bug Fixes

  • console: code editor content should be editable on firefox (56ded3e)
  • console: connector can be dragged upwards to reorder (038bba4)
  • console: remove annoying horizontal scrollbar from code editor (7dba908)
  • console: should parse to json before using zod safeParse (ec674ec)
  • core: resolve some core no-restricted-syntax lint error (#1606) (c56ddec)
  • demo-app: hide username if not exists (#1644) (8b30f97)
  • deps: update dependency koa-router to v12 (#1596) (6e96d73)
  • test: use demo app to test username-password flow in integration test (#1635) (a258587)
  • ui: fix some firefox standout bug (#1615) (4ce6bd8)
  • ui: protect window.location xss (#1639) (34b465c)
  • ui: should clear prev passcode input when click on backspace (#1660) (7dfbc30)

v1.0.0-beta.1

19 Jul 01:16
v1.0.0-beta.1
3af4f54
Compare
Choose a tag to compare

1.0.0-beta.1 (2022-07-19)

Features

  • console: add a declaration file for react-i18next (#1556) (6ae5e7d)
  • console: update dashboard chart y-axis tick format (#1590) (951c6fa)
  • core: add response guard (#1542) (6c39790)
  • ui: add submit input to all the sign-in & register forms (#1587) (0c0c83c)

Bug Fixes

  • console: docs link doesn't work for en-US locale (#1594) (78fcb03)
  • console: external links in readme should be opened in new tab (23ff0bf)
  • console: language select box initial value should not be empty (26f47d8)
  • console: navigate to new connector details page after switching connector (1615e36)
  • ui: fix no-restrict-syntax in ui (#1559) (816ce9f)
  • ui: format phone number with country calling code (#1551) (c6384be)