Skip to content
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 22 commits into from
Sep 5, 2023
Merged

feat: version 5.0.0 #1565

merged 22 commits into from
Sep 5, 2023

Commits on Sep 4, 2023

  1. Configuration menu
    Copy the full SHA
    9847cf4 View commit details
    Browse the repository at this point in the history
  2. 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
    jmcdo29 committed Sep 4, 2023
    Configuration menu
    Copy the full SHA
    56d1ccc View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    c512bb4 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    b22085f View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    2f4f2a7 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    1fbf8a7 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    530d58a View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    0017842 View commit details
    Browse the repository at this point in the history
  9. fix: await the async throw

    jmcdo29 committed Sep 4, 2023
    Configuration menu
    Copy the full SHA
    31b14d5 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    0ca0e94 View commit details
    Browse the repository at this point in the history
  11. chore: update changelog

    jmcdo29 committed Sep 4, 2023
    Configuration menu
    Copy the full SHA
    3dadcdb View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    13f4b5a View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    f371794 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    a964e51 View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    d36acf4 View commit details
    Browse the repository at this point in the history
  16. feat: get tracker can be async

    ref: #1492
    jmcdo29 committed Sep 4, 2023
    Configuration menu
    Copy the full SHA
    4396fa6 View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    19ccc45 View commit details
    Browse the repository at this point in the history
  18. 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
    jmcdo29 committed Sep 4, 2023
    Configuration menu
    Copy the full SHA
    907c1a4 View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    541f45c View commit details
    Browse the repository at this point in the history
  20. Configuration menu
    Copy the full SHA
    2a597c8 View commit details
    Browse the repository at this point in the history
  21. Configuration menu
    Copy the full SHA
    864dc0d View commit details
    Browse the repository at this point in the history

Commits on Sep 5, 2023

  1. Configuration menu
    Copy the full SHA
    29e3164 View commit details
    Browse the repository at this point in the history