Rom

Latest version: v1.1.1

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

Scan your dependencies

Page 10 of 14

0.29.4

Not secure
[added] the ability to explicitly set the namespace all of your data will live
inside. Feature request and first pass at a patch thanks to github user
https://github.com/cabowabo-de
[fixed] bug 56, allowing to set a ManyToOne() column to None as being the
same as deleting the attribute. Thanks to Github user
https://github.com/hakib for the feature request/bug report.
[fixed] bug 57, in which an exception could be raised when making composite
string queries like:
Model.query.filter(a='this', b=['other', 'thing']).execute()
Thanks to github user https://github.com/liorchen for the bug report.

0.29.3

Not secure
[fixed] index cleanup will now also clean any unique indexes that had not
previously been cleaned out when using Redis 2.8+. Note that data deleted
normally using entity.delete() or cascading deletes from rom 0.29.0 and
later should be fine. The only users that should be affected by this are
those who have directly manipulated keys in Redis.
[added] more testing for index cleanup
[changed] when trying to filter or order by a non-existent column, rom will
now raise an exception referring to the missing column. Rom used to let
these queries silently return an empty result set.
[added] warning when trying to order by a json, string, or text columns where
the user would need to provide a custom keygen
[fixed] rom will no longer encode updated data twice when saving, thanks to
Github user https://github.com/huangwei1024 for the bug report and first
pass at a patch

0.29.2

Not secure
[added] HSCAN-based index cleanup for Model keyspaces with many deleted
entities. Should improve index cleanup performance for users of Redis 2.8+
[added] better testing for index cleanup
[fixed] some documentation

0.29.1

[added] Thanks to https://github.com/pconerly travis-ci integration and
optional tox-based testing has been added

0.29.0

Not secure
[added] Query result iterator: query.iter_result(timeout, pagesize) that
automatically wraps query.cached_result(timeout) for convenient iteration
over all entities in the query. Added at the request of Github user
https://github.com/JamesHutchison .
[added] On delete for OneToMany columns now support 'cascade' for recursively
deleting all referencing entities. All on delete behavior is checked
before deleting (a restrict in an entity after 100 levels of 'cascade'
will prevent all deletions). Requested by
https://github.com/JamesHutchison and closes issue #39.
[added] OneToMany columns can now include a reference to the foreign model's
ManyToOne column name that references *this* OneToMany. Useful for cases
where models have multiple OneToMany or ManyToOne columns referencing the
same models. Closes issue 23.
[fixed] Index clearing with util.clean_old_index()
[changed] Index clearing with util.clean_old_index() will also clean out index
data for entities directly deleted or expired in Redis. Closes issue 40.

0.28.0

Not secure
[added] Composite unique constraints like SQLAlchemy's UniqueConstraint() and
Django's unique_together, spelled and used like Django's unique_together.
See http://pythonhosted.org//rom/rom.html#rom.Model for details.
[fixed] Deleting entities will no longer leave extra index data around
(regardless of whether the entitiy had any indexes defined).
[added] Convenience function for cleaning out old index data from deleted
entities. See and read the help on util.clean_old_index() .
[added] Convenience function util.show_progress() to show the progress of
util.refresh_indices() and util.clean_old_index() . See and read the help
on util.show_progress() for usage.
[fixed] Tests to no longer leave testing data in db 15, and running tests
again should clean out the testing data.
[fixed] Incorrect documentation about the String column type.

Page 10 of 14

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.