# What changed in limits

> 9 changes in limits 4 to 5 from its official release notes, upgrade guides and advisories: 1 breaking, 3 new APIs and options. Each one cited. Sources checked 2026-11-30. HTML: https://unstale.sh/pypi/limits/

To see which of these apply to a repository, run `npx @unstale/cli init` in it.

## limits 5

### New APIs and options

- Storages that support it now allow password to be specified explicitly as a keyword argument. (5.8.0) — [release notes](https://github.com/alisaifee/limits/releases/tag/5.8.0)
- All Redis cluster storages now allow startup_nodes to be specified explicitly through keyword arguments. (5.8.0) — [release notes](https://github.com/alisaifee/limits/releases/tag/5.8.0)
- Storages that support it now allow username to be specified explicitly as a keyword argument. (5.8.0) — [release notes](https://github.com/alisaifee/limits/releases/tag/5.8.0)

### Performance

- Reduced event-loop load when expiring limits with async in-memory implementations. (5.0.0) — [release notes](https://github.com/alisaifee/limits/releases/tag/5.0.0)
- Improved performance of moving-window test and get_window_stats operations. (5.0.0) — [release notes](https://github.com/alisaifee/limits/releases/tag/5.0.0)
- Improved performance of moving-window test and get_window_stats operations, especially for large rate limits. (5.0.0) — [release notes](https://github.com/alisaifee/limits/releases/tag/5.0.0)

### Behavior and default changes

- Extras constraints are relaxed for redis versions below 8. (5.7.0) — [release notes](https://github.com/alisaifee/limits/releases/tag/5.7.0)

### Fixes and other changes

- Cluster locators in storage URIs now support IPv6 addresses. (5.8.0) — [release notes](https://github.com/alisaifee/limits/releases/tag/5.8.0)

## limits 4

### Breaking changes

- reset_time now uses a precise floating point value instead of truncating to the previous second. (4.0.0) — [release notes](https://github.com/alisaifee/limits/releases/tag/4.0.0)
