Skip to content

Releases: adonisjs/session

Bundle code using tsup

25 Nov 06:02
Compare
Choose a tag to compare
Pre-release
  • 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

19 Oct 07:37
Compare
Choose a tag to compare
Fix configure command Pre-release
Pre-release
  • 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

19 Oct 06:55
Compare
Choose a tag to compare
Pre-release

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

Full Changelog: v7.0.0-11...v7.0.0-12

Add japa plugins to access and set session via api and browser clients

15 Sep 03:52
Compare
Choose a tag to compare
  • chore: pin swc/core as the latest release breaks 066861f
  • refactor: remove unused imports aa07fb5
  • ci: install playwright browser 332f6ec
  • feat: implement session browser client 6cbcbb3
  • feat: add japa api client plugin 339afa6
  • chore: update dependencies ae1cc30

v7.0.0-10...v7.0.0-11

Full Changelog: v7.0.0-10...v7.0.0-11

Export factories

05 Sep 09:28
Compare
Choose a tag to compare
Export factories Pre-release
Pre-release

v7.0.0-8...v7.0.0-9

Full Changelog: v7.0.0-8...v7.0.0-9

Publish factories directory

05 Sep 09:34
Compare
Choose a tag to compare
Pre-release
  • chore: publish factories directory 1fa1c92

Full Changelog: v7.0.0-9...v7.0.0-10

Bug fixes and some improvements

23 Aug 10:08
Compare
Choose a tag to compare
Pre-release
  • 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

22 Aug 16:58
Compare
Choose a tag to compare
Integrate with Edge Pre-release
Pre-release
  • 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

22 Aug 06:14
Compare
Choose a tag to compare
Update dependencies Pre-release
Pre-release
  • chore: update dependencies 88ae651

Full Changelog: v7.0.0-5...v7.0.0-6

Use codemods in configure command

21 Aug 11:54
Compare
Choose a tag to compare
Pre-release
  • feat: use latest codemods b13c120
  • chore: update dependencies 4322881

Full Changelog: v7.0.0-4...v7.0.0-5