Skip to content

Tags: ParsekDev/parsek

Tags

v1.0.0-beta.27

Toggle v1.0.0-beta.27's commit message

Verified

This commit was signed with the committer’s verified signature.
duruer Ahmet Enes Duruer
fix(rate-limit): harden client IP resolution and drop localhost bypass

- getClientIp now trusts only a single configured header (client-ip-header,
  default CF-Connecting-IP) and otherwise falls back to the socket peer address.
  The previous CF/X-Forwarded-For/X-Real-IP fallback chain let a direct client
  spoof its IP and bypass the per-IP limiter.
- Remove the localhost exemption (a local reverse proxy made all traffic appear
  as 127.0.0.1, disabling rate limiting entirely).
- ConfigMigration5To6 surfaces the new client-ip-header option.

Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>

v1.0.0-beta.26

Toggle v1.0.0-beta.26's commit message

Verified

This commit was signed with the committer’s verified signature.
duruer Ahmet Enes Duruer
feat: add global per-IP API rate limiting

Apply a token-bucket rate limiter as a global router handler to every request
under the router api-prefix, so abusive clients get HTTP 429 before any endpoint
logic runs.

- New `rate-limit` config section (enabled + named tiers). DEFAULT tier allows
  300 req/min (burst 300, refill 1 token / 200ms).
- Exceeding the limit returns 429 with Retry-After and X-RateLimit-* headers and
  an {"result":"error","error":"RATE_LIMIT_EXCEEDED","retryAfter":N} body.
- Plugins can register custom tiers / path matchers via RateLimitManager.
- ConfigMigration4To5 adds the section to existing configs.

Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>

v1.0.0-beta.25

Toggle v1.0.0-beta.25's commit message

Verified

This commit was signed with the committer’s verified signature.
duruer Ahmet Enes Duruer
fix: fixed plugin config migration not finishing migration

v1.0.0-beta.24

Toggle v1.0.0-beta.24's commit message

Verified

This commit was signed with the committer’s verified signature.
duruer Ahmet Enes Duruer
fix: fixed plugin lifecycle

v1.0.0-beta.23

Toggle v1.0.0-beta.23's commit message

Verified

This commit was signed with the committer’s verified signature.
duruer Ahmet Enes Duruer
fix: fixed plugins not starting correctly

v1.0.0-beta.22

Toggle v1.0.0-beta.22's commit message

Verified

This commit was signed with the committer’s verified signature.
duruer Ahmet Enes Duruer
fix: should fix preflight requests - attempt 2

v1.0.0-beta.21

Toggle v1.0.0-beta.21's commit message

Verified

This commit was signed with the committer’s verified signature.
duruer Ahmet Enes Duruer
fix: should fix preflight requests

v1.0.0-beta.20

Toggle v1.0.0-beta.20's commit message

Verified

This commit was signed with the committer’s verified signature.
duruer Ahmet Enes Duruer
feat: added allowed hosts, schemes, headers config

v1.0.0-beta.19

Toggle v1.0.0-beta.19's commit message

Verified

This commit was signed with the committer’s verified signature.
duruer Ahmet Enes Duruer
feat: improved codebase

v1.0.0-beta.18

Toggle v1.0.0-beta.18's commit message

Verified

This commit was signed with the committer’s verified signature.
duruer Ahmet Enes Duruer
refactor: refactored build.gradle.kts