Releases: adonisjs/session
Releases · adonisjs/session
Stable major release
Please consult the following releases to learn more about the breaking changes and new additions
- Breaking changes - https://github.com/adonisjs/session/releases/tag/v7.0.0-0
- Breaking changes - https://github.com/adonisjs/session/releases/tag/v7.0.0-3
- New additions - https://github.com/adonisjs/session/releases/tag/v7.0.0-7
- New additions - https://github.com/adonisjs/session/releases/tag/v7.0.0-11
- Breaking changes - https://github.com/adonisjs/session/releases/tag/v7.0.0-12
- New additions - https://github.com/adonisjs/session/releases/tag/v7.0.0-15
Commits
- chore: publish under latest tag 4eb791c
- Merge pull request #82 from adonisjs/next a3b9959
- refactor: export stubsRoot path f64df34
- chore: bundle types.ts file via tsup as well 5a3e1ff
- chore: update dependencies 8c99a2a
What's Changed
- chore: update dependencies by @targos in #76
- fix(cookie): change default config by @RomainLanz in #81
- Merge to develop for final release by @thetutlage in #82
Full Changelog: v6.4.0...v7.0.0
Add @inputError and change semantics of @error tag
Breaking change
- The
@errortag no longer reads error messages for validation errors. Instead, it is now used to read generic error messages. - Use
@inputErrortag to read validation errors. - All message properties scoped inside
@error@inputErrorand the@flashMessagetags are prefixed with$sign.
@error('E_ACCESS_DENIED')
{{ $message }}
@end
@inputError('username')
@each(message in $messages)
{{ message }}
@end
@end
@flashMessage('cartTotal')
{{ $message }}
@endCommits
- feat: add @InputError tag and change how other edge tags work 8d895c1
- fix: stubs to use latests APIs 9a98c1f
- chore: update dependencies 244cef7
Full Changelog: v7.0.0-14...v7.0.0-15
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