- 3d0c0ae: added ability to let pligin not to send RateLimit-* headers
- e867896: scoping
local
is considered unstable, please move toscoped
- e867896: fixes multiple instances running duplicate jobs at the same time
- 17f10e3: BREAKING CHANGES remove
responseCode
, andresponseMessage
in favor of newerrorResponse
option. please consult with documentation for more details
- 17f10e3: added
injectServer
option
- d4d7a62: added debug logs
- 5e83844: fix context is being shared across multiple local scope
- 5e83844: add example for multiple instance scoping
- 2c5d035: fix generic value of generator types
- ebe2c77: generators function now passed derive values as a thrid argruments
- 55f0e22: allowing user to change plugin hooks scoping behavior
- 37dc931: allowing user to change plugin hooks scoping behavior
- generators function now passed derive values as a thrid argruments
- 9ffb155: plugin no longer server to be initialized
- 7317819: nextReset time for default context always returns to year 1970. my bad
- dea390c: default generator throws detailed warning message with reason
- ca7f124:
getNextResetTime
implementation are now moved intodefaultContext
- 28316db: excluding unintended files that being published to npm
- 1bcda4f:
generator
function now acceptsserver
option as non-nullable. the plugin also checks if elysia server is initialized first. - d5056ec: file structure changes to match directory convention
- 8779402: new default context strategy
- 8619ac1: new default context strategy
- 17047d9: refactor code structure
- 693125a: Breaking change Plugin compatibility with Elysia 1.0. Please refer to compatibility list in README for older Elysia, Bun versions.
- b666627: Add second parameter to skip with the key so requests can be skipped based on their key
- 0f53f96: reset the clock when attempting to manually reset the context (#10)
- d84ebbd: responseMessage type has been changed to
any
, so you can actually return response as anything (i.e. object)
- fc6e385:
generator
now determine IP address natively viaserver.requestIP()
function. This is a breaking change for those who use Bun version 1.0.3 or below. Please update your code to support Bun version 1.0.4 or above.
- a5a0b02: bump minimum peer dependency verison of elysia to 0.7.15
- 89d308c: securely signed package with provenance
- dba19a3: minimum version of support bun is now 0.3.0
- a34655c: automatic package publishing with changesets