Redis-om

Latest version: v0.3.3

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

Scan your dependencies

Page 3 of 4

0.3.0

Changed
- Internal changes in preparation for adding embeddable objects.
- Performance improvements.
- Renamed and reorganized some types that might affect TypeScript users.
- Removed support for Node 12.
- Changed examples in README to assume top-level awaits are available.

Fixed
- Fixed error in sample code when calling `.use`.

0.2.1

Added
- Added limited ability to sort search results using `.sortBy`.
- Added `.min` and `.max` which returns the *Entity* with the minimum or maximum value for a provided field.

0.2.0

Added
- Added 'point' data type that represents a spot on the globe.
- Added 'date' data type with UNIX, ISO-8601, and JavaScript flavors.
- Perform radius searches on 'point' data type using `.inRadius`.
- Perform searches on 'date' data type using `.before`, `.after`, etc.
- Issue raw RediSearch commands using `Repository.searchRaw`.
- Attach existing Node Redis connections using `.use` on *Client*. Handy if you need to do raw Redis stuff too!
- Added `.keyName` property on *Entity* that lets you to get the Redis keyname storing that *Entity*.
- Added `.expire` method to *Repository* allowing you to expire an *Entity*.

Changed
- String fields and searches can now be set to numbers or booleans and will be coerced to a string.
- Calls to `.createIndex` will automatically reindex if the index has changed and will do nothing if the index has not changed.
- *Breaking Change*: Changed 'array' type in Schema definitions to 'string[]' in preparation for adding other types of arrays.
- *Breaking Change*: Split 'string' type into 'string' and 'text' types, representing string values that support `.eq` searches and text values that support `.match` searches.
- *Breaking Change*: Removed the `textSearch` property from strings as it was no longer needed with 'string' and 'text' types replacing it.
- *Breaking Change*: *Schema* data structure now defaults to JSON instead of HASH.

Fixed
- Wildcard searches on text fields no longer fail.
- Tag searches now escape slash and backslash characters.

Removed
- *Breaking Change*: `Repository` constructor cannot be directly called. Use `client.fetchRepository` instead.

0.1.7

Added
- Added `.isOpen` to *Client*

Changed
- *Client* no longer errors when opened or closed if already opened or closed.
- Update table of contents in README.

0.1.6

Added
- Added `.return.first` and `.returnFirst` methods to search. Sometimes you really can eat just one.

Fixed
- *Entity* now has a better default JSON serialization output.

0.1.5

Added
- Added ability to pass in initial values when creating an *Entity* with `.createEntity`.
- Added `.createAndSave` method to Repository that does exactly what you think it does.

Changed
- More fluent interface on `.return.all`, `return.page`, and `return.count` on *Search*.
- Replace `.return` with `.returnPage` in *Search* class.

Page 3 of 4

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.