Releases: adonisjs/session
Releases · adonisjs/session
Bundle code using tsup
- ci: update node versions ca94473
- ci: update node versions 6481870
- refactor: use app.usingEdgeJS boolean to register edge plugin 55399e0
- chore: update config stub to create a config var and then export it 0ca5d22
- chore: publish source maps and use tsc for generating types c5197f8
- chore: update dependencies 4c3250c
Full Changelog: v7.0.0-13...v7.0.0-14
Fix configure command
- refactor: configure command to only allow cookie and memory drivers aa8faf3
- chore: update dependencies f6f2202
Full Changelog: v7.0.0-12...v7.0.0-13
Breaking change in config
The configuration now uses the concept of stores and configures them using the stores
object. This release only impacts the users using the alpha release.
import {
defineConfig,
+ stores
} from '@adonisjs/session'
export default defineConfig({
// ...rest of the config remains unchanged.
- driver: env.get('SESSION_DRIVER'),
+ store: env.get('SESSION_DRIVER'),
- file: {},
- redis: {},
+ stores: {
+ cookie: stores.cookie(),
+ },
})
- refactor: use session stores and get rid of drivers collection 3e967ac
- fix(cookie): change default config (#81) 3a0a592
- chore: update dependencies 9edb89e
What's Changed
- fix(cookie): change default config by @RomainLanz in #81
Full Changelog: v7.0.0-11...v7.0.0-12
Add japa plugins to access and set session via api and browser clients
Export factories
Publish factories directory
- chore: publish factories directory 1fa1c92
Full Changelog: v7.0.0-9...v7.0.0-10
Bug fixes and some improvements
- refactor: fix module augmentation code 52450a5
- ci: increase test timeout for ci ee56e1d
- fix: handle case when there are no validation errors in flash messages 489909b
- refactor: session.get use default value when original value is null d47a0e7
- test: fix broken test 721e7cc
- feat: register middleware 10fc5ea
- fix: stubs and codemods 23a51bf
Full Changelog: v7.0.0-7...v7.0.0-8
Integrate with Edge
- chore: update dependencies 9c4230a
- feat: add edge tags 610ee1a
- feat: share session and flash messages with edge template e9e9006
- ci: increase test timeout for ci ac9c1df
Full Changelog: v7.0.0-6...v7.0.0-7
Update dependencies
- chore: update dependencies 88ae651
Full Changelog: v7.0.0-5...v7.0.0-6
Use codemods in configure command
Full Changelog: v7.0.0-4...v7.0.0-5