Skip to content

Releases: poshjosh/rate-limiter-annotation

0.7.0 Akita Inu

21 Jan 21:25
Compare
Choose a tag to compare

What's new

  • Added UnmodifiableBandwidth via Bandwidths#unmodifiableBandwidth(Bandwidth)

  • Added RateLimiterFactory to replace ResourceLimiter

  • Added method RateConfig.getParentOptional()

  • Added more performance tests

  • Renamed @Rate.name to @Rate.id

  • Renamed @RateGroup.name to @RateGroup.id

  • Renamed ElementId to RateId

  • Renamed all ResourceLimiterXXX to RateLimiterXXX

  • Renamed all ResourceLimitingXXX to RateLimitingXXX

  • Renamed all ResourceLimiterConfigXXX to RateLimiterContextXXXX

  • Minor bug fixes

  • Removed ResourceLimiter and UsageListener

  • Streamlined the methods in RateLimiterRegistry

  • Moved RateLimiterProperties and RateLimiterRegistry to project rate-limiter-annotation

0.6.0-Rottweiler

06 Jan 11:32
Compare
Choose a tag to compare

What's new

Moved Matcher and ExpressionMatcher from repository rate-limiter-annotation to rate-limiter

0.5.0 - Malamute

01 May 19:15
Compare
Choose a tag to compare

What's New

Minor bug fixes.
Performance Improvements.

0.4.0 - Chow Chows

11 Feb 11:00
Compare
Choose a tag to compare

What's new, from v0.3.0

[ 0.4.0 ] - 2023-02-11

Changed

  • Fixed handling of multiple (non-composed) limits on a single node.
  • Fixed handling of multiple methods with same path but different http method.
  • Rewrote BandwidthStore to accept Bandwidth, rather than Bandwidth[].

[ 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

Changed

Removed

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

[ 0.3.1 ] - 2023-01-24

Added

  • Implement JVM thread rate condition expression, setup code coverage

0.3.0 - American pit bull terrier

22 Jan 11:01
Compare
Choose a tag to compare

What's new

  • Implemented @RateCondition using expressions
  • Removed annotation @RateReqestIf
  • Improved performance
  • Restricted @RateGroup annotation to ElementType.ANNOTATION_TYPE
  • Renamed MatchedResourceLimiter to ResourceLimiters
  • Made @RateGroup#name or @RateGroup#value mandatory.

See CHANGELOG.md for complete list of changes.

0.0.8

30 Dec 06:22
Compare
Choose a tag to compare

What's new

See CHANGELOG.md