Redis-limpyd

Latest version: v2.1.2

Safety actively analyzes 621673 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 7

2.1.2

--------------------------------
* fix double-slicing with instances/values/values_list (like `collection[:3][2]`)

2.1.1

---------------------------------
* speed up (more than x1000, no kidding) of limpyd model creation time

2.1

-------------------------------
* Support for limpyd >= 2.1 only

2.0.1

---------------------------------
* Fix versions support in documentation

Release *v2* - ``2019-10-11``
-----------------------------
* Support for redis-py >= 3 only
* Support for redis-server >= 3 only
* Breaking change: `zadd` value/scores cannot be passed as positional arguments anymore
* Breaking change: `zadd` flags other than `ch` are explicitely not supported
* Breaking change: `zincrby` arguments are swaped (`amount, value` instead of `value, amount`)
* Breaking change: Redis server with `LUA` scripting support is mandatory
* Breaking change: `set` flags other than `ex` and `px` are explicitely not supported
* Breaking change: `skip_exist_test` to ``Collection.instances()`` is renamed to `lazy`
* Breaking change: collections return generators instead of lists
* Breaking change: collections method (`filter`, `values`...) return a new collection instead of updating the current one
* Add `decrby`, `incrby` and `bitpos` to `StringField`
* Add expiring commands to all normal fields (not `InstanceHashField` and `*PKField`): `expire`, `pexpire`, `expireat`, `pexpireat`, `ttl`, `pttl`, `persite`. But `*expire*` commands can only be called on non-indexable fields
* Add `setex` and `psetex` to `StringField`. Can only be called on non-indexable fields.
* Deny `ex` and `px` flag to `set` if field is indexable
* Add support for `count` argument to `spop` (only for redis-server >= 3.2)
* Add new commands to `ListField`: `lcontains`, `lrank` and `lcount`, to know if a value is in the list, where, and how many times. This is done on the redis server side via lua scripting.
* Optimize deindexing when calling `hmset` or `hdel`
* Add `hstrlen` to `HashField`
* Add `zlexcount`, `zrangebylex`, `zremrangebylex` and `zrevrangebylex` to `SortedSetField`
* Add `zpopmax` and `zpopmin` `SortedSetField` (only for redis-server >= 5)
* When calling `instances` in a collection, the ones that may have raised a `DoesNotExist` exception are now skipped

2.0

-------------------------------
* Support for limpyd >= 2 only (redis-py >= 3, redis-server >= 3)
* Breaking change: `zadd` value/scores cannot be passed as positional arguments anymore

1.3.1

---------------------------------
* Resolve race condition in `get_or_connect`

Page 1 of 7

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.