unstale

pypi / limits

limits

What changed in limits 4 to 5, from its official release notes, upgrade guides and advisories. Sources checked 2026-11-30.

1 breaking3 new APIs and options3 performance1 behavior and defaults1 fixes and other

See which of these apply to your code, ranked, in your agent:

npx @unstale/cli init

@unstale/cli on npm

limits 58 changes

New APIs and options 3

  • Storages that support it now allow password to be specified explicitly as a keyword argument.

    5.8.0release notes

  • All Redis cluster storages now allow startup_nodes to be specified explicitly through keyword arguments.

    5.8.0release notes

  • Storages that support it now allow username to be specified explicitly as a keyword argument.

    5.8.0release notes

Performance 3

  • Reduced event-loop load when expiring limits with async in-memory implementations.

    5.0.0release notes

  • Improved performance of moving-window test and get_window_stats operations.

    5.0.0release notes

  • Improved performance of moving-window test and get_window_stats operations, especially for large rate limits.

    5.0.0release notes

Behavior and default changes 1

  • Extras constraints are relaxed for redis versions below 8.

    5.7.0release notes

Fixes and other changes 1

  • Cluster locators in storage URIs now support IPv6 addresses.

    5.8.0release notes

limits 41 changes

Breaking changes 1

  • reset_time now uses a precise floating point value instead of truncating to the previous second.

    4.0.0release notes