Repository navigation
v0.7.0
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.