NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Go modules
Go modules, #1679 by repository stars
Latest stable
v1.7.3
Last release 2 years ago
no release in 18 months
Release timing varies
gaps range from 1 weeks to 1.2 years
Most releases are documented
notes for 8 of 10 stable releases
Nothing withdrawn
no release was ever pulled
11 years old
85 releases · first in 2015
Drag across the ruler to compare, or tap a release to open it.
This Release fixes the following:
This Release fixes the following:
Full Changelog: https://github.com/gorilla/csrf/compare/v1.7.2...v1.7.3
Nothing published for this version
Remove pkg/errors dependency by @husio in #161
Full Changelog: v1.7.1...v1.7.2
Your coding agent can read these notes before it upgrades. Set up the MCP server →
Full Changelog: https://github.com/gorilla/csrf/compare/v1.7.1...v1.7.2
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
v1.7.1 is a minor maintenance release. It improves documentation, and fixes a bug (#149) that caused missing tokens to not provide a clear error messa
v1.7.1 is a minor maintenance release. It improves documentation, and fixes a bug (#149) that caused missing tokens to not provide a clear error message back to the client.
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
📢 This release of _gorilla/csrf_ changes the default SameSite cookie attribute to address changes in the SameSite spec (see https://github.com/golang/
📢 This release of gorilla/csrf changes the default SameSite cookie attribute to address changes in the SameSite spec (see https://github.com/golang/go/issues/36990)
Previously: The SameSiteDefaultMode in csrf (prior to v1.7.0) would set SameSite on the cookie, which is not valid in some browsers, notably older versions of Chrome/Android. These browsers would not set cookies with this "invalid" attribute.
Now: The default mode is SameSite=Lax, which is supported by Chrome v51, Firefox v60, Safari v13 and most recent browsers.
If you're new to SameSite, read the MDN documentation for a great overview on why this attribute helps prevent cookies from being 'leaked' to third-party domains unintentionally.
🆕 This release adds support for SameSite cookies (how they work), introduced in Go v1.11+, which can better scope cookies to first-party requests only
🆕 This release adds support for SameSite cookies (how they work), introduced in Go v1.11+, which can better scope cookies to first-party requests only (instead of just same-origin).
See the README for an example.
Nothing published for this version
🆕 This release introduces the `TrustedOrigins` option, which allows a user to explicitly trust specific Referers. This simplifies the use of this libr
🆕 This release introduces the TrustedOrigins option, which allows a user to explicitly trust specific Referers. This simplifies the use of this library when the backend domain (issuing the cookie) does not match the front-end domain, such as in Single Page Application architectures.
🐞 This release also fixes a regression to applying the default cookie MaxAge (cookies were only session cookies). This would typically have been unnoticed by most users as the CSRF middleware resets the cookie on each request.
Nothing published for this version
Nothing published for this version
Nothing published for this version
We've removed support for versions of Go prior to v1.7 - v1.6 was released over 3.5 years ago (@kisielk making me feel old!)
gorilla/context as a dependency, since Go 1.7+ has its own http.Request.Context() implementation38c9e46 Remove gorilla/context as part of pre-1.7 support (#114)
3719438 (elithrar/go-mod) [build] Add CircleCI config (#112)
d162037 [docs] Improve JS header/form instructions (#103)
40703b8 Update and rename stale to stale.yml (#102)
1db7df7 Merge pull request #101 from gorilla/stalebot
472e852 [docs] Add a "Reviewed by Hound" badge (#98)
abcfd25 (origin/stalebot) Add stalebot config
f903b4e README.md: Update site URL
10bfafc [docs] Note that developers should check the HTTP method (#91)
d690280 Merge pull request #88 from gorilla/elithrar/corporate-overlords
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
gorilla/csrf defines a go.mod file and correctly defines a SemVer version (v1.5.1) to support versioning in upcoming releases of Go.
gorilla/csrf defines a go.mod file and correctly defines a SemVer version (v1.5.1) to support versioning in upcoming releases of Go.
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
One column per quarter.