Skip to content

0.4.0 - Chow Chows

Compare
Choose a tag to compare
@poshjosh poshjosh released this 11 Feb 11:16
· 57 commits to master since this release

Whats new, since v0.3.0

[ 0.4.0 ] - 2023-02-11

Added

  • Added RateLimitProperties#getApplicationPath to support application path.

Changed

  • Used HttpServletRequest for javaee. (It is already used for spring).
    • This fixes Issue #2 rate-limiter-javaee: Implement MatchType.REMOTE_ADDRESS for usage in @RateRequestIf
  • Fixed handling of multiple (non-composed) limits on a single node.
  • Fixed handling of multiple methods with same path but different http method.

[ 0.3.4 ] - 2023-02-05

Changed

  • Permit expressions (for rate conditions) having null right-hand side
  • Improved expression splitting
  • Renamed web.session.cookie to web.request.cookie
  • Renamed web.session.user.role to web.request.user.role
  • Renamed web.session.user.principal to web.request.user.principal
  • Renamed Element to RateSource and add PropertyRateSource
  • Renamed Matcher#matchOrNull to Matcher#match
  • Use String return type for Matcher#match

[ 0.3.3 ] - 2023-02-04

Added

  • Added field id to Bandwidths
  • Added support for multiple (non-composed) bandwidths

Changed

  • Renamed Operator#DEFAULT to Operator#NONE

[ 0.3.2 ] - 2023-01-29

Added

  • Added when field to @Rate annotation. It is an alias for @RateCondition

Removed

  • Removed ResourceLimiters.of. Rather use: ResourceLimiter.of

[ 0.3.1 ] - 2023-01-24

Added

  • Implement JVM thread rate condition expression, setup code coverage