• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

stackus / sessions / 36263920823
96%

Build:
DEFAULT BRANCH: main
Ran 26 Sep 2026 06:50PM UTC
Jobs 2
Files 18
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

26 Sep 2026 06:47PM UTC coverage: 95.584% (+12.5%) from 83.117%
36263920823

push

github

stackus
Rewrite sessions towards a more usable API

Rebuild the package from the ground up to improve usability. Most APIs
have changed, and sessions created by v0.4.1 cannot be read by v0.5.0.

- The Manager is built from three separate parts: a Transport (cookie
  or bearer), an Encoder (HMAC, AES-GCM, or rotating keys), and a Store
  (cookie or file).
- Sessions are never created or saved automatically. Load, New, and
  Save are explicit, and every route that uses sessions needs
  Manager.Middleware().
- Cookies are Secure by default, and store errors are no longer
  reported as a missing session.
- Flash, Codec, custom serializers, and the context helpers have been
  removed.

See README.md for usage and MIGRATION.md for upgrading from v0.4.1.

1024 of 1070 new or added lines in 18 files covered. (95.7%)

2 existing lines in 1 file now uncovered.

1039 of 1087 relevant lines covered (95.58%)

1077.53 hits per line

Uncovered Changes

Lines Coverage ∆ File
36
83.18
store_file.go
4
91.49
encoder_aesgcm.go
2
96.49
envelope.go
2
96.88
load.go
2
98.21
transport_cookie.go

Coverage Regressions

Lines Coverage ∆ File
2
97.37
5.06% manager.go
Jobs
ID Job ID Ran Files Coverage
1 36263920823.1 26 Sep 2026 06:50PM UTC 18
95.58
GitHub Action Run
2 36263920823.2 26 Sep 2026 06:50PM UTC 18
95.58
GitHub Action Run
Source Files on build 36263920823
  • Tree
  • List 18
  • Changed 3
  • Source Changed 3
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #36263920823
  • 98407832 on github
  • Prev Build on main (#26337644723)
  • Next Build on main (#36264316708)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc