Skip to content

Commit

Permalink
Add project logo and tag release v0.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
dghubble committed Dec 31, 2022
1 parent 8b07283 commit fa6acac
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 3 additions & 2 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,16 @@ Notable changes between releases.

## Latest

## v0.3.0

* Change `CookieStore` and its fields to be non-exported ([#19](https://github.com/dghubble/sessions/pull/19))
* Change `NewCookieStore` to require a `*CookieConfig` and return a `Store`
* Rename `Config` struct to `CookieConfig`
* Add `DefaultCookieConfig` and `DebugCookieConfig` convenience variables
* Change the `Session` field `Values` to be non-exported ([#18](https://github.com/dghubble/sessions/pull/18))
* Add `Session` `Set` method to set a key/value pair
* Add `Session` `Get` method to get a value for a given key
* Add `Session` `GetOk` to get a value for a given key and whether
the key exists in the map
* Add `Session` `GetOk` to get a value for a given key and whether the key exists in the map
* Remove cookie `Config` field from `Session` ([#17](https://github.com/dghubble/sessions/pull/17))

## v0.2.1
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
[![Sponsors](https://img.shields.io/github/sponsors/dghubble?logo=github)](https://github.com/sponsors/dghubble)
[![Mastodon](https://img.shields.io/badge/follow-news-6364ff?logo=mastodon)](https://fosstodon.org/@dghubble)

<img align="right" src="https://storage.googleapis.com/dghubble/small-gopher-with-cookie.png">

Package `sessions` provides minimalist Go sessions, backed by `securecookie` or database stores.

### Features
Expand Down

0 comments on commit fa6acac

Please sign in to comment.