Pottery Versions Save

Redis for humans. 🌎🌍🌏

v2.2.1

2 years ago

Optimization: HyperLogLog.contains_many()

Previously, we were generating a new temporary HyperLogLog key for every element that we wanted to do a membership test for. Now, we're reusing the same temporary key since we copy/delete the HyperLogLog before/after each membership test anyway. This speeds up membership testing by 2x.

What's Changed

Full Changelog: https://github.com/brainix/pottery/compare/v2.2.0...v2.2.1

v2.2.0

2 years ago

New Feature: HyperLogLog.contains_many()

.contains_many() is like .__contains__(), but it's better for fast membership testing for multiple elements.

What's Changed

Full Changelog: https://github.com/brainix/pottery/compare/v2.1.0...v2.2.0

v2.1.0

2 years ago
  1. Breaking Change: Drop support for Python 3.6
  2. New Feature: Implement RedisSet.contains_many() to more efficiently membership test multiple elements
  3. New Feature: Implement BloomFilter.contains_many() to more efficiently membership test multiple elements
  4. New Feature: Implement HyperLogLog.__contains__() for membership testing
  5. Quality of Life: Warn when doing O(n) operations on RedisDicts, RedisSets, RedisLists, and RedisDeques

What's Changed

Full Changelog: https://github.com/brainix/pottery/compare/v2.0.1...v2.1.0

v2.0.1

2 years ago

Quality of Life: Warn when doing O(n) operations on RedisLists

What's Changed

Full Changelog: https://github.com/brainix/pottery/compare/v2.0.0...v2.0.1

v2.0.0

2 years ago
  1. Breaking Change: Require redis-py 4.0.0
  2. Bug Fix: Fix potential race condition in RedisSet.issubset() and .issuperset()
  3. New Feature: Implement RedisSet.union() and .difference()

What's Changed

Full Changelog: https://github.com/brainix/pottery/compare/v1.4.7...v2.0.0

v1.4.7

2 years ago

Bug Fix: Race conditions and bugs in RedisList.insert() and RedisDeque.insert()

What's Changed

Full Changelog: https://github.com/brainix/pottery/compare/v1.4.6...v1.4.7

v1.4.6

2 years ago

Optimization: Make Redlock.locked() and the NextId.__current_id getter slightly more efficient for several masters

What's Changed

Full Changelog: https://github.com/brainix/pottery/compare/v1.4.5...v1.4.6

v1.4.5

2 years ago

Bug Fix: RedisList.__eq__() logic

What's Changed

Full Changelog: https://github.com/brainix/pottery/compare/v1.4.4...v1.4.5

v1.4.4

2 years ago

New Feature: More RedisSet methods

Implement:

  1. RedisSet.issubset()
  2. RedisSet.issuperset()
  3. RedisSet.intersection()

Also support Python 3.10.

What's Changed

Full Changelog: https://github.com/brainix/pottery/compare/v1.4.3...v1.4.4

v1.4.3

2 years ago

Quality of Life: Delete the Redis.lolwut() monkey patch

I got Redis.lolwut() merged upstream! 🎉 https://github.com/andymccurdy/redis-py/pull/1568

What's Changed

Full Changelog: https://github.com/brainix/pottery/compare/v1.4.2...v1.4.3