Commit afd9442
authored
chore(release): router crates and artifacts (#573)
> [!IMPORTANT]
> Merging this pull request will create these releases
# router 0.0.18 (2025-11-18)
## Features
### JWT claims caching for improved performance
**Performance improvement:** JWT token claims are now cached for up to 5
seconds, reducing the overhead of repeated decoding and verification
operations. This optimization increases throughput by approximately 75%
in typical workloads.
**What's changed:**
- Decoded JWT payloads are cached with a 5-second time-to-live (TTL),
which respects token expiration times
- The cache automatically invalidates based on the token's `exp` claim,
ensuring security is maintained
**How it affects you:**
If you're running Hive Router, you'll see significant performance
improvements out of the box with no configuration needed. The 5-second
cache provides an optimal balance between performance gains and cache
freshness without requiring manual tuning.
Co-authored-by: knope-bot[bot] <152252888+knope-bot[bot]@users.noreply.github.com>1 parent b03d9cc commit afd9442
File tree
4 files changed
+17
-16
lines changed- .changeset
- bin/router
4 files changed
+17
-16
lines changedLines changed: 0 additions & 14 deletions
This file was deleted.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
116 | 116 | | |
117 | 117 | | |
118 | 118 | | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
119 | 134 | | |
120 | 135 | | |
121 | 136 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
0 commit comments