Skip to content

Releases: syntaqx/cookie

v0.1.0

02 Jul 21:41
c9e46f4
Compare
Choose a tag to compare

What's Changed

  • @syntaqx in #8
    • cookie.Manager is now the primary API to this package
    • cookie.DefaultManager initialized and provides global Set, Get, ... methods for API compatibility
    • cookie.Options change:
      • cookie.NewManager(cookie.WithSigningKey(signingKey)
    • CustomTypeHandler for non-standard types
      • Removes gofrs/uuid package dependency while still supporting it if you wish
    • Significant overhaul of PopulateFromCookies
    • Removal of DefaultOptions - mergeOptions was proving to be quite inconsitent with expected results
    • Support for omitempty on struct tags for PopulateFromCookies to silently ignore missing cookies.

Full Changelog: v0.0.7...v0.1.0

v0.0.7

01 Jul 17:44
056c306
Compare
Choose a tag to compare

What's Changed

  • ErrInvalidSignedFormat and ErrInvalidSignature consistently used and tested
  • Documentation and example updates

Full Changelog: v0.0.6...v0.0.7

v0.0.6

01 Jul 16:57
b218b27
Compare
Choose a tag to compare

What's Changed

  • Global DefaultOptions by @syntaqx in #4
  • UnsupportedTypeError is now ErrUnsupportedType for consistency
  • Minor documentation updates

Full Changelog: v0.0.5...v0.0.6

v0.0.5

30 Jun 22:36
03ac385
Compare
Choose a tag to compare

What's Changed

Special Thanks

Full Changelog: v0.0.4...v0.0.5

v0.0.4

29 Jun 00:06
7e946fc
Compare
Choose a tag to compare
  • ErrNoCookie returned instead of quiet failure

v0.0.3

28 Jun 22:32
cbd4248
Compare
Choose a tag to compare
  • Remove weird types that are less likely to exist as Cookie values
  • Further documentation and test coverage

v0.0.2

28 Jun 21:10
e44dcd9
Compare
Choose a tag to compare

Added support for common types and nested structures

v0.0.1

28 Jun 21:00
e1850fc
Compare
Choose a tag to compare

Initial release