-
Notifications
You must be signed in to change notification settings - Fork 60
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: version 5.0.0 #1565
Merged
Merged
feat: version 5.0.0 #1565
Commits on Sep 4, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 9847cf4 - Browse repository at this point
Copy the full SHA 9847cf4View commit details -
feat: allowfor multiple throttler contexts
This is a bit of something that I've wanted to do for a while and inspired by [this pr][pr]. With the new appraoch, we're now able to let users define scales at which they would like the throttling to work over, and let it work for any number of configuratins, from a single 10 requests in 5 seconds to scales of months, or milliseconds BREAKING CHANGES: It's worth noting there are quite a few breaking changes in this which will be reflected in the changelog as well, but better to have multiple mentions in my opinion * ttl is now in milliseconds, not seconds, but there are time helper exposed to ease the migration to that * the module options is now either an array or an object with a `throttlers` array property * `@Throttle()` now takes in an object instead of two parameters, to allow for setting multiple throttle contexts at once in a more readable manner * `@ThrottleSkip()` now takes in an object with string boolean to say which throttler should be skipped pr: #1522 ref: #1369 ref: #1522
Configuration menu - View commit details
-
Copy full SHA for 56d1ccc - Browse repository at this point
Copy the full SHA 56d1cccView commit details -
Configuration menu - View commit details
-
Copy full SHA for c512bb4 - Browse repository at this point
Copy the full SHA c512bb4View commit details -
Configuration menu - View commit details
-
Copy full SHA for b22085f - Browse repository at this point
Copy the full SHA b22085fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2f4f2a7 - Browse repository at this point
Copy the full SHA 2f4f2a7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1fbf8a7 - Browse repository at this point
Copy the full SHA 1fbf8a7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 530d58a - Browse repository at this point
Copy the full SHA 530d58aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0017842 - Browse repository at this point
Copy the full SHA 0017842View commit details -
Configuration menu - View commit details
-
Copy full SHA for 31b14d5 - Browse repository at this point
Copy the full SHA 31b14d5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0ca0e94 - Browse repository at this point
Copy the full SHA 0ca0e94View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3dadcdb - Browse repository at this point
Copy the full SHA 3dadcdbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 13f4b5a - Browse repository at this point
Copy the full SHA 13f4b5aView commit details -
Configuration menu - View commit details
-
Copy full SHA for f371794 - Browse repository at this point
Copy the full SHA f371794View commit details -
Configuration menu - View commit details
-
Copy full SHA for a964e51 - Browse repository at this point
Copy the full SHA a964e51View commit details -
Configuration menu - View commit details
-
Copy full SHA for d36acf4 - Browse repository at this point
Copy the full SHA d36acf4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4396fa6 - Browse repository at this point
Copy the full SHA 4396fa6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 19ccc45 - Browse repository at this point
Copy the full SHA 19ccc45View commit details -
feat: allowfor multiple throttler contexts
This is a bit of something that I've wanted to do for a while and inspired by [this pr][pr]. With the new appraoch, we're now able to let users define scales at which they would like the throttling to work over, and let it work for any number of configuratins, from a single 10 requests in 5 seconds to scales of months, or milliseconds BREAKING CHANGES: It's worth noting there are quite a few breaking changes in this which will be reflected in the changelog as well, but better to have multiple mentions in my opinion * ttl is now in milliseconds, not seconds, but there are time helper exposed to ease the migration to that * the module options is now either an array or an object with a `throttlers` array property * `@Throttle()` now takes in an object instead of two parameters, to allow for setting multiple throttle contexts at once in a more readable manner * `@ThrottleSkip()` now takes in an object with string boolean to say which throttler should be skipped pr: #1522 ref: #1369 ref: #1522
Configuration menu - View commit details
-
Copy full SHA for 907c1a4 - Browse repository at this point
Copy the full SHA 907c1a4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 541f45c - Browse repository at this point
Copy the full SHA 541f45cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2a597c8 - Browse repository at this point
Copy the full SHA 2a597c8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 864dc0d - Browse repository at this point
Copy the full SHA 864dc0dView commit details
Commits on Sep 5, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 29e3164 - Browse repository at this point
Copy the full SHA 29e3164View commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.