PackageTrack
Sign in Get early access

github.com/gorilla/csrf

v1.7.3 #1957 most downloaded on Go modules gorilla/csrf

What this package is like to depend on

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 7 of 10 stable releases

Nothing withdrawn

no release was ever pulled

11 years old

73 releases · first in 2015

0 releases in the last 12 months

see the full history below

Release timeline

73 releases · Aug 2015 to Jan 2025
2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 2026
Release Pre-release

Releases

latest 60 of 73
  1. v1.7.3 23 Jan 2025
    Release notes

    This Release fixes the following:

    Full Changelog: v1.7.2...v1.7.3

    Open source →
  2. v1.7.3-0.20250123201450-9dd6af1f6d30 23 Jan 2025 pre-release

    Nothing published for this version

  3. v1.7.2 05 Nov 2023
    Release notes

    What's Changed

    New Contributors

    Full Changelog: v1.7.1...v1.7.2

    Open source →
  4. v1.7.2-0.20231105020839-a00974357249 05 Nov 2023 pre-release

    Nothing published for this version

  5. v1.7.2-0.20231018114527-94b5a9efbc27 18 Oct 2023 pre-release

    Nothing published for this version

  6. v1.7.2-0.20230725193743-15d47eceb8d5 25 Jul 2023 pre-release

    Nothing published for this version

  7. v1.7.2-0.20230715144940-04cc5dba5dd0 15 Jul 2023 pre-release

    Nothing published for this version

  8. v1.7.2-0.20221209161023-93379db1992f 09 Dec 2022 pre-release

    Nothing published for this version

  9. v1.7.2-0.20220121111802-e40f2349c645 21 Jan 2022 pre-release

    Nothing published for this version

  10. v1.7.1 29 Jul 2021
    Release notes

    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.

    CHANGELOG

    • bugfix: Not providing any token in requests results in wrong error message (#149)
    • Add a note about secrecy of CSRF token in the README.md (#154) @maxximino
    • Add note about csrf.Path option (#147) @karelbilek
    • build: use build matrix; drop Go <= 1.10 (#142) @elithrar
    • docs: change TrustedOrigin to TrustedOrigins in README (#140) @mittonface
    • docs: add TOC to README (#137) @elithrar
    Open source →
  11. v1.7.1-0.20210528222427-c61da383cc18 28 May 2021 pre-release

    Nothing published for this version

  12. v1.7.1-0.20210411134123-46c01904ff6c 11 Apr 2021 pre-release

    Nothing published for this version

  13. v1.7.1-0.20200912192721-9565ae2856dc 12 Sep 2020 pre-release

    Nothing published for this version

  14. v1.7.1-0.20200826133805-d1ee07fb166e 26 Aug 2020 pre-release

    Nothing published for this version

  15. v1.7.1-0.20200530170000-4be14634cc85 30 May 2020 pre-release

    Nothing published for this version

  16. v1.7.0 26 Apr 2020
    Release notes

    📢 This release of gorilla/csrf changes the default SameSite cookie attribute to address changes in the SameSite spec (see golang/go#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.

    CHANGELOG

    • Set SameSite=Lax by default (#136) @elithrar
    • Don't set a default samesite for backwards compatibility (#132) @euank
    Open source →
  17. v1.6.2 08 Oct 2019

    Nothing published for this version

  18. v1.6.2-0.20191008022326-4b50158aba1b 08 Oct 2019 pre-release

    Nothing published for this version

  19. v1.6.1 26 Aug 2019
    Release notes

    Notable Changes

    🆕 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.

    CHANGELOG

    Open source →
  20. v1.6.1-0.20190720201952-a7479e757eab 20 Jul 2019 pre-release

    Nothing published for this version

  21. v1.6.1-0.20190720201729-5050f9cc5be6 20 Jul 2019 pre-release

    Nothing published for this version

  22. v1.6.1-0.20190626012333-9b0e3acb4f79 26 Jun 2019 pre-release

    Nothing published for this version

  23. v1.6.0 26 Jun 2019
    Release notes

    Notable Changes

    • 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!)
    • As a result, we've also removed gorilla/context as a dependency, since Go 1.7+ has its own http.Request.Context() implementation
    • Moved our CI to CircleCI - you can see the build dashboard here

    CHANGELOG

    38c9e46 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

    Open source →
  24. v1.5.2-0.20190626011022-3719438df5e0 26 Jun 2019 pre-release

    Nothing published for this version

  25. v1.5.2-0.20181210000252-d1620373958b 10 Dec 2018 pre-release

    Nothing published for this version

  26. v1.5.2-0.20181012153437-f903b4ea4d60 12 Oct 2018 pre-release

    Nothing published for this version

  27. v1.5.2-0.20180620203027-10bfafc91ef1 20 Jun 2018 pre-release

    Nothing published for this version

  28. v1.5.2-0.20180608135259-d69028034505 08 Jun 2018 pre-release

    Nothing published for this version

  29. v1.5.1 22 May 2018
    Release notes

    gorilla/csrf defines a go.mod file and correctly defines a SemVer version (v1.5.1) to support versioning in upcoming releases of Go.

    Open source →
  30. v1.0.3-0.20170912155303-8aae08ff9fb9 12 Sep 2017 pre-release

    Nothing published for this version

  31. v1.0.3-0.20170809183922-8b1b43bb8260 09 Aug 2017 pre-release

    Nothing published for this version

  32. v1.0.3-0.20170606230813-c5a2560016c2 06 Jun 2017 pre-release

    Nothing published for this version

  33. v1.0.3-0.20170420015430-e6dca6753d92 20 Apr 2017 pre-release

    Nothing published for this version

  34. v1.0.3-0.20170324141126-0790a8282591 24 Mar 2017 pre-release

    Nothing published for this version

  35. v1.0.3-0.20161122164500-69581736821c 22 Nov 2016 pre-release

    Nothing published for this version

  36. v1.0.3-0.20161122164342-10e8fd1f4e34 22 Nov 2016 pre-release

    Nothing published for this version

  37. v1.0.3-0.20161023170907-fdae182b1882 23 Oct 2016 pre-release

    Nothing published for this version

  38. v1.0.3-0.20161002180012-bbe668740d1d 02 Oct 2016 pre-release

    Nothing published for this version

  39. v1.0.3-0.20160926154116-0ff6a2ce414a 26 Sep 2016 pre-release

    Nothing published for this version

  40. v1.0.3-0.20160901055816-a8abe8abf66d 01 Sep 2016 pre-release

    Nothing published for this version

  41. v1.0.3-0.20160721043629-a9c30aea0c80 21 Jul 2016 pre-release

    Nothing published for this version

  42. v1.0.3-0.20160612205039-4642ecf016ef 12 Jun 2016 pre-release

    Nothing published for this version

  43. v1.0.3-0.20160602165904-0bb4971d4d67 02 Jun 2016 pre-release

    Nothing published for this version

  44. v1.0.3-0.20160602035145-50eb875b7d37 02 Jun 2016 pre-release

    Nothing published for this version

  45. v1.0.3-0.20160414155925-58276522e587 14 Apr 2016 pre-release

    Nothing published for this version

  46. v1.0.3-0.20160414154100-0c14fb7a6acf 14 Apr 2016 pre-release

    Nothing published for this version

  47. v1.0.3-0.20160226212210-7d028c187173 26 Feb 2016 pre-release

    Nothing published for this version

  48. v1.0.3-0.20151130014503-5af669152673 30 Nov 2015 pre-release

    Nothing published for this version

  49. v1.0.3-0.20151112000310-cdcc3244878a 12 Nov 2015 pre-release

    Nothing published for this version

  50. v1.0.3-0.20151027205814-f6d7c0f720c6 27 Oct 2015 pre-release

    Nothing published for this version

  51. v1.0.3-0.20151026114943-30989f40779d 26 Oct 2015 pre-release

    Nothing published for this version

  52. v1.0.3-0.20150916000504-10de59347f89 16 Sep 2015 pre-release

    Nothing published for this version

  53. v1.0.2 26 Aug 2015

    Nothing published for this version

  54. v1.0.2-0.20150809075724-4a4cf75876fd 09 Aug 2015 pre-release

    Nothing published for this version

  55. v1.0.1 05 Aug 2015

    Nothing published for this version

  56. v0.0.0-20250123201450-9dd6af1f6d30 23 Jan 2025 pre-release

    Nothing published for this version

  57. v0.0.0-20231105020839-a00974357249 05 Nov 2023 pre-release

    Nothing published for this version

  58. v0.0.0-20220121111802-e40f2349c645 21 Jan 2022 pre-release

    Nothing published for this version

  59. v0.0.0-20190626012333-9b0e3acb4f79 26 Jun 2019 pre-release

    Nothing published for this version

  60. v0.0.0-20181210000252-d1620373958b 10 Dec 2018 pre-release

    Nothing published for this version

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive