Skip to content

chore(deps): bump elysia-rate-limit from 3.0.0 to 5.1.0 in /backend - #25

Open
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/npm_and_yarn/backend/elysia-rate-limit-5.1.0
Open

chore(deps): bump elysia-rate-limit from 3.0.0 to 5.1.0 in /backend#25
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/npm_and_yarn/backend/elysia-rate-limit-5.1.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Aug 18, 2026

Copy link
Copy Markdown
Contributor

Bumps elysia-rate-limit from 3.0.0 to 5.1.0.

Release notes

Sourced from elysia-rate-limit's releases.

v5.1.0

Minor Changes

  • 554318e: Update published ESM entry points to use .mjs modules and .d.mts type declarations for clearer module resolution in consumers and tooling.

v5.0.0

Major Changes

  • 556666b: migrate plugin to support elysia 2.0

v4.6.2

Patch Changes

  • f088ef4: Fix cases where user ableto bypass rate limit if duration were set to 0 or NaN
  • cb2811f: Support dynamic duration as a function
  • a54821d: Add fail-closed error handling to dynamic duration and max configuration functions to prevent unhandled promise rejections and bypasses.
  • 2ce04e3: Ensure Retry-After header correctly aligns with RateLimit-Reset rather than dynamically recalculating the duration of the rejected request.
  • 3a9a100: Ensure unique plugin seeds for dynamic max and duration configurations to prevent Elysia from incorrectly deduplicating distinct rate limiter instances.
  • 50e695b: Implement high-water mark logic for dynamic duration to prevent attackers from spoofing shorter window expirations by intentionally opening shorter windows.

v4.6.1

Patch Changes

  • a35af16: extend rate limiting to 404 routes

v4.6.0

Minor Changes

  • dc24ad4: performance improvements

v4.5.1

Patch Changes

  • b8acb32: Fix unintended eager body parsing caused by destructuring body and using rest spread in lifecycle handler signatures. Elysia's static analyzer (sucrose) inspects function parameters to infer context dependencies, which caused the request body to be parsed for all routes — breaking routes that need raw body access (e.g. Stripe webhook signature verification). Context properties are now accessed at runtime via a helper function, invisible to sucrose's static analysis.

v4.5.0

Minor Changes

  • b7a1cb7: Allow for the max request/per interval to be dynamic

v4.4.2

Patch Changes

  • 2b99760: fix undeclared variable completeRequest

v4.4.1

Patch Changes

  • 8d5fd0d: add cookie to request callbacks

... (truncated)

Changelog

Sourced from elysia-rate-limit's changelog.

5.1.0

Minor Changes

  • 554318e: Update published ESM entry points to use .mjs modules and .d.mts type declarations for clearer module resolution in consumers and tooling.

5.0.0

Major Changes

  • 556666b: migrate plugin to support elysia 2.0

4.6.2

Patch Changes

  • f088ef4: Fix cases where user ableto bypass rate limit if duration were set to 0 or NaN
  • cb2811f: Support dynamic duration as a function
  • a54821d: Add fail-closed error handling to dynamic duration and max configuration functions to prevent unhandled promise rejections and bypasses.
  • 2ce04e3: Ensure Retry-After header correctly aligns with RateLimit-Reset rather than dynamically recalculating the duration of the rejected request.
  • 3a9a100: Ensure unique plugin seeds for dynamic max and duration configurations to prevent Elysia from incorrectly deduplicating distinct rate limiter instances.
  • 50e695b: Implement high-water mark logic for dynamic duration to prevent attackers from spoofing shorter window expirations by intentionally opening shorter windows.

4.6.1

Patch Changes

  • a35af16: extend rate limiting to 404 routes

4.6.0

Minor Changes

  • dc24ad4: performance improvements

4.5.1

Patch Changes

  • b8acb32: Fix unintended eager body parsing caused by destructuring body and using rest spread in lifecycle handler signatures. Elysia's static analyzer (sucrose) inspects function parameters to infer context dependencies, which caused the request body to be parsed for all routes — breaking routes that need raw body access (e.g. Stripe webhook signature verification). Context properties are now accessed at runtime via a helper function, invisible to sucrose's static analysis.

4.5.0

Minor Changes

  • b7a1cb7: Allow for the max request/per interval to be dynamic

4.4.2

Patch Changes

... (truncated)

Commits
Maintainer changes

This version was pushed to npm by GitHub Actions, a new releaser for elysia-rate-limit since your current version.


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [elysia-rate-limit](https://github.com/rayriffy/elysia-rate-limit) from 3.0.0 to 5.1.0.
- [Release notes](https://github.com/rayriffy/elysia-rate-limit/releases)
- [Changelog](https://github.com/rayriffy/elysia-rate-limit/blob/main/CHANGELOG.md)
- [Commits](rayriffy/elysia-rate-limit@v3.0.0...v5.1.0)

---
updated-dependencies:
- dependency-name: elysia-rate-limit
  dependency-version: 5.1.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Aug 18, 2026
@github-actions

Copy link
Copy Markdown

User dependabot[bot] does not have write permissions

github run

@essinghigh

essinghigh commented Aug 18, 2026

Copy link
Copy Markdown
Member

elysia-rate-limit@5.1.0 is incompatible with current ver. v5 plugin calls plugin.beforeHandle(...) during .use(), which throws:

TypeError: plugin.beforeHandle is not a function
  at registerRateLimitPlugin (node_modules/elysia-rate-limit/dist/index.mjs:187)
  at /root/github/terrence/backend/src/app.ts:431

This requires a major upgrade to elysia & a rework of the rate-limit calls in src/app.ts before I can merge.

@essinghigh

Copy link
Copy Markdown
Member

Didn't even notice Elysia v2 is still beta. Holding off until GA.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant