Skip to content

Releases: dracory/rtr

v1.9.0: chore: replace go-chi/cors with stdlib-only CORS implementation

Choose a tag to compare

@lesichkovm lesichkovm released this 15 Aug 21:18
- Remove dependencies on go-chi/chi/v5, go-chi/cors, and go-chi/httprate
- Implement custom CORS middleware matching go-chi/cors API and behavior
- Add CORSOptions struct mirroring go-chi/cors.Options for drop-in replacement
- Support wildcard origin matching with prefix/suffix pattern validation
- Implement proper preflight and actual request handling per CORS spec
- Add origin, method, and header validation with case normalization
- Handle

v1.8.0: chore: update dependencies to latest versions

Choose a tag to compare

@lesichkovm lesichkovm released this 15 Aug 20:07
- Updated go-chi/chi/v5 to v5.3.1
- Updated go-chi/httprate to v0.16.0
- Updated go-pretty/v6 to v6.8.3
- Updated jellydator/ttlcache/v3 to v3.4.1
- Updated klauspost/cpuid/v2 to v2.4.0
- Updated mattn/go-runewidth to v0.0.27
- Updated golang.org/x/sync to v0.22.0
- Updated golang.org/x/sys to v0.47.0
- Updated golang.org/x/text to v0.41.0

v1.7.0

Choose a tag to compare

@lesichkovm lesichkovm released this 13 Jul 19:48
chore: add authentication middleware with session and user context ma…

v1.6.0

Choose a tag to compare

@lesichkovm lesichkovm released this 21 Mar 10:19
test: fix flaky Permissions-Policy header assertion by checking indiv…

v1.5.0: chore: update Go version to 1.26 and refresh dependencies

Choose a tag to compare

@lesichkovm lesichkovm released this 21 Mar 07:28
- Bump Go version from 1.25 to 1.26
- Update go-runewidth from v0.0.20 to v0.0.21
- Update golang.org/x/sys from v0.41.0 to v0.42.0
- Update golang.org/x/text from v0.34.0 to v0.35.0
- Update golang.org/x/sync from v0.19.0 to v0.20.0
- Add HTTPS redirect middleware with configurable localhost skipping and custom skip logic
- Add security headers middleware with CSP, HSTS, and comprehensive header configuration
- Add security middleware documentation

v1.4.0: docs: add "Why RTR" comparison table to README

Choose a tag to compare

@lesichkovm lesichkovm released this 21 Feb 21:58
- Add comparison table highlighting RTR's advantages over httprouter, chi, and gorilla
- Rename "Features" section to "Key Features"
- Streamline README by moving detailed docs to separate files

v1.3.0

Choose a tag to compare

@lesichkovm lesichkovm released this 29 Dec 07:17
refactor: handle ignored return values from Write and Fprint calls ac…

v1.2.0

Choose a tag to compare

@lesichkovm lesichkovm released this 15 Nov 10:06
47a6e08
Update Go version in GitHub Actions workflow

v1.1.0

Choose a tag to compare

@lesichkovm lesichkovm released this 12 Oct 22:20
feat: normalize brace parameters by stripping regex suffixes while pr…

v1.0.0

Choose a tag to compare

@lesichkovm lesichkovm released this 13 Sep 15:56
feat: add support for brace-style parameter syntax ({id} ≡ :id) as st…