Skip to content

v0.1.0

Latest
Compare
Choose a tag to compare
@syntaqx syntaqx released this 02 Jul 21:41
· 2 commits to main since this release
c9e46f4

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