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