Skip to content

Releases: syntaqx/cookie

v0.1.1

13 Nov 08:08
a144cbf

Choose a tag to compare

What's Changed

  • Bump codecov/codecov-action from 4.5.0 to 5.1.2 by @dependabot[bot] in #15
  • Bump golangci/golangci-lint-action from 6 to 8 by @dependabot[bot] in #19

New Contributors

Full Changelog: v0.1.0...v0.1.1

v0.1.0

02 Jul 21:41
c9e46f4

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

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

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

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

Choose a tag to compare

  • ErrNoCookie returned instead of quiet failure

v0.0.3

28 Jun 22:32
cbd4248

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

Choose a tag to compare

Added support for common types and nested structures

v0.0.1

28 Jun 21:00
e1850fc

Choose a tag to compare

Initial release