Rom

Latest version: v1.1.1

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

Scan your dependencies

Page 7 of 14

0.35.3

Not secure
[fixed] a unicode decoding issue in some cases when iterating over data that
wasn't filtered. Thanks to Axel for the email report and 1-line fix :)
[added] unittests to cover the two paths that weren't previously covered for
no-filter data traversal.

0.35.2

Not secure
[fixed] fixed the travis-ci build.

0.35.1

Not secure
[added] documentation about expiring models/ttls. This is going to be a docs-
only update.

0.35.0

Not secure
[added] Now supporting Python 3.5
[changed] Removed unnecessary class-level _default attribute on Column objects
(it was alway overridden by the instance __slots__)
[fixed] Thanks to a bug report by Github user https://github.com/Edorka from
4 weeks ago, rom now has proper round-tripping for *all* binary data
stored in String columns. Previously, some data would not decode properly
on reading, forcing users to base-64 encode their data on the way in and
out. This is no longer necessary. :D
[fixed] Also fixed an issue with String columns not working properly with
Python 3.x; bug report thanks to Github user https://github.com/summer1988
[added] tests for binary data

0.34.1

Not secure
[changed] Removed the simplejson import at the top of model.py - it was an
accidental testing change that made it through a previous release

0.34.0

Not secure
[added] For column definitions that previously took a `keygen` argument, you
can isntead pass a `keygen2` argument. This `keygen2` argument will be a
callable that accepts 2 arguments, the name of the key, and the dictionary
representing the data that will be written to Redis when the save has been
completed - warning: modifying this dictionary could lead to unpredictable
and/or unexpected behavior
[changed] If an explicit keygen/keygen2 argument is specified on column
creation, you must pass `index=True`, `prefix=True`, or `suffix=True` to
prevent errors
[changed] Previously if a keygen and any either prefix/suffix were set to True
on column creation, you would get "as a bonus" a numeric index for sorting
data by that column. To re-enable this, you must pass `index=True` (the
extra index was not intended)
[changed] If your keygen function returns a dictionary, that dictionary can be
used for both full-text indexes as well as scored value indexes - None or
empty string values in the dictionary will be used for string keys,
numeric values will be used for numeric indexes
[fixed] Tests for index cleanup would fail under Redis 2.6, even though that
test failure was expected under Redis 2.6 . That specific test is now
skipped, and the warning produced during index cleanup informs the user of
the Redis 2.6 issue. Thanks to Github user https://github.com/thedrow for
the PR that demonstrated this issue
[added] Thanks to Github user https://github.com/thedrow for additional tests
for various Redis versions via Travis-ci
[added] Thanks to Github user https://github.com/jmmills for the PR to provide
the ability to use the environment variable ROM_REDIS_URI to pass
connection configuration information into rom
[fixed] Script execution after "SCRIPT FLUSH" has mostly been fixed, thanks to
Github user https://github.com/thedrow for the initial PR/bug report for
updating to fix new Redis client versions - note that you really should
restart your rom-using daemons after a SCRIPT FLUSH call to Redis.

Page 7 of 14

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.