Releases
v0.1.1
Compare
Sorry, something went wrong.
No results found
0mjs
released this
11 Apr 00:37
Added
Added a broader first-party middleware set under github.com/0mjs/zinc/middleware:
RequestID for request ID generation and response header publishing.
Recover for panic recovery through Zinc's normal error flow.
Gzip and Decompress for response compression and gzip request-body handling.
KeyAuth for API key validation from headers, query values, cookies, and composed extractors.
CasbinAuth for Casbin-compatible authorization through a small adapter interface.
MethodOverride for POST method override support.
Prometheus and PrometheusHandler for dependency-free request metrics.
Jaeger for uber-trace-id propagation with an observer hook.
Proxy for net/http/httputil reverse proxy middleware.
Redirect and Rewrite helpers for exact and wildcard path rules.
Secure for common security response headers.
SessionCookie for signed cookie-backed string session values.
Static for middleware-shaped static file serving.
TrailingSlash for add, remove, and redirect slash normalization.
Added focused tests for new middleware behavior, integration paths, route rewriting helpers, and hardening coverage.
Added docs pages and sidebar entries for the expanded middleware package.
Changed
Updated README middleware examples to show a more complete real-world stack.
Cleaned up the docs visual style to use flatter panels, simpler code blocks, tighter radii, and less decorative chrome.
Switched the docs favicon and navbar logo to z_logo.png.
Reworked the docs sidebar row geometry so expanding and collapsing categories does not shift labels or carets.
Moved Docusaurus broken markdown link handling to markdown.hooks.onBrokenMarkdownLinks.
Quality
Verified with go test ./....
Verified with npm run build for the docs site.
You can鈥檛 perform that action at this time.