v2.3.7
Optimization: CachedOrderedDict.__init__()
Dramatically improve the performance of CachedOrderedDict.__init__()
. Prior to this release, we were making multiple round trips to Redis, one per dict_key
. As of this release, we make a single bulk call to Redis.
What's Changed
- Document NextId.init() kwargs in docstring by @brainix in #592
- Upgrade requirements by @brainix in #593
- Comment which Redis versions introduced commands by @brainix in #594
- Use dataclasses to define exception classes by @brainix in #595
- Share the same logger between monkey and base by @brainix in #596
- Upgrade Python to 3.10.2 by @brainix in #597
- Improve test coverage by @brainix in #598
- Check for security vulnerabilities by @brainix in #599
- Upgrade requirements by @brainix in #600
- Check for security vulnerabilities on local dev by @brainix in #601
- Upgrade requirements by @brainix in #602
- Upgrade requirements by @brainix in #603
- Implement RedisSet.contains() using SISMEMBER by @brainix in #604
- Lint on file save with Bandit by @brainix in #605
- Upgrade requirements by @brainix in #606
- Upgrade requirements by @brainix in #607
- Write union types as X | Y by @brainix in #608
- Tighten up type checking and type annotations by @brainix in #609
- Upgrade requirements by @brainix in #610
- Upgrade requirements by @brainix in #611
- Configure Bandit to not warn on asserts in tests by @brainix in #612
- Add emojis to README by @brainix in #613
- Write union types as X | Y by @brainix in #614
- Use protocol instead of making _Clearable an ABC by @brainix in #615
- Upgrade requirements by @brainix in #616
- Rename Base class to Container by @brainix in #617
- Refactor _Common class by @brainix in #618
- Clean up formatting by @brainix in #619
- Upgrade requirements by @brainix in #620
- Improve Redlock usage documentation by @brainix in #621
- Upgrade requirements by @brainix in #622
- Create a proper Pottery JSON encoder by @brainix in #623
- Refactor json.dumps() monkey patch by @brainix in #624
- Dramatically speed up CachedOrderedDict.init() by @brainix in #625
Full Changelog: v2.3.6...v2.3.7