Skip to content

v0.7.0

Choose a tag to compare

@Julien-R44 Julien-R44 released this 24 Sep 21:16
· 103 commits to main since this release

What's new

  • Sésame now uses one configurable store, backed by the Lucid or Kysely driver or a custom SesameStore implementation.
  • Kysely applications can use Sésame without Lucid. The installer provides a standalone migration for SQLite, PostgreSQL, and MySQL; tables are not created automatically.
  • OAuth persistence and transactional token operations are handled through the store contract.

Breaking changes

  • Existing applications must configure a store, for example store: stores.lucid().
  • Lucid models moved to @julr/sesame/drivers/lucid, the Lucid user provider moved to @julr/sesame/guard/lucid, and public TypeScript types are imported from @julr/sesame/types.
  • Client-management methods now return plain OAuthClientRecord values instead of Lucid model instances.
  • @adonisjs/auth is now a required peer dependency.

Read the 0.6.0 to 0.7.0 migration guide before upgrading an existing application.

Full changelog