Skip to content

Releases: go-macaron/session

v1.0.4: Skip Release for sessions that were not mutated

Choose a tag to compare

@unknwon unknwon released this 22 May 03:34
ae808a4
The file provider (and others that persist via Encode in Release) writes the
session unconditionally at the end of every request. Two concurrent reads of
the same session ID then race: each request encodes its stale snapshot and
writes it back, so an in-flight mutation from a third request can be clobbered.

Track Set/Delete/Flush calls on a wrapper around the per-request RawStore and
skip Release when nothing was written. Reads no longer touch the backing
store, eliminating the race for read-only traffic.

v1.0.3

Choose a tag to compare

@unknwon unknwon released this 15 Dec 04:07
1ad741c

What's Changed

  • chore: update github.com/go-redis/redis to v8.11.5 by @unknwon in #50

Full Changelog: v1.0.2...v1.0.3

1.0.2

Choose a tag to compare

@unknwon unknwon released this 30 Nov 01:16
85871e5
v1.0.2

Update README.md

1.0.1

Choose a tag to compare

@unknwon unknwon released this 18 Nov 03:41
dd240b0
Detect expired entries on read (#41)

Co-authored-by: zeripath <art27@cantab.net>
Co-authored-by: Andrew Thornton <art27@cantab.net>
Co-authored-by: techknowlogick <techknowlogick@gitea.io>

1.0.0

Choose a tag to compare

@unknwon unknwon released this 26 Sep 14:38
6021384
v1.0.0

Add ability to set cookie SameSite attribute (#38)