Skip to content

v0.33.0

Latest

Choose a tag to compare

@applied-ai-release-bot applied-ai-release-bot released this 23 Nov 14:06

RedisVL 0.33.0 brings OpenTelemetry to managed LangCache, fixes index operations on Redis Cluster, and makes whole-document JSON queries return the Redis key as id. Two changes may need action when upgrading: check how your application reads JSON document IDs, and clear affected cached Cohere embeddings if you use integer vectors.

Highlights

OpenTelemetry for managed LangCache

You can now track hit rate and latency for LangCacheSemanticCache through RedisVL’s existing OpenTelemetry instrumentation. Both sync and async lookups record a hit or miss, and stores and deletions report their duration. Because LangCache runs the search inside the managed service, traces show the client operation as a whole. Separate retrieval spans and vector distances are available only with the local SemanticCache backend. (#814, @paoValle)

Behaviour change for JSON document IDs

On a JSON index, a FilterQuery without return_fields now returns the full Redis key in result["id"], matching hash indexes. Previously, a document’s own id field could overwrite that key. If your application needs the ID stored inside the document, add "$.id" to return_fields and read result["$.id"], or retrieve the document with index.fetch(). (#793, @vishal-bala)

More reliable index operations on Redis Cluster

SearchIndex and AsyncSearchIndex now read index metadata correctly with RESP3, the default protocol in redis-py 8. You can also pass a freshly constructed AsyncRedisCluster client directly to AsyncSearchIndex and call create() or listall() immediately. The CLI’s rvl index listall command now works on Redis Cluster too. (#795, @vishal-bala, #848, @agustin18)

Correct integer embeddings from Cohere

CohereTextVectorizer now requests the correct embedding type when you pass a dtype such as "INT8" or a VectorDataType enum member. Previously, it could request float embeddings and turn them into all-zero vectors with as_buffer=True. If you used an affected dtype with EmbeddingsCache, clear the entries for that model after upgrading so RedisVL can regenerate them. (#856, @hyeonsang010716)

Indexes and schemas

  • SearchIndex.from_existing() now preserves a custom training_threshold on SVS-VAMANA vector fields. If you set training_threshold without compression, RedisVL raises ValueError when you build the schema, before you send it to Redis. (#850, @pcbeingused333)
  • SemanticRouter and MessageHistory now preserve validate_on_load when creating their async index. They also retain lib_name when converting a caller-supplied Redis client and support Sentinel URLs supplied through REDIS_URL. (#832, @vishal-bala)

MCP and migrations

  • The MCP server now applies runtime.startup_timeout_seconds once across the Redis connection and the initial INFO call. A slow server could previously consume the full timeout twice. (#812, @vishal-bala)
  • If a worker fails during async vector quantisation, RedisVL cancels the remaining workers and closes their Redis connections before returning the original error. Previously, those workers could keep writing after the caller saw the failure. (#812, @vishal-bala)

Testing and dependencies

  • Redis Cluster tests now run nightly. The multi-page aclear() test sets up its records in one batch. (#796, #800, @vishal-bala)
  • CI now reports test coverage to Codecov and uses Python 3.12 for jobs that run a single Python version. (#826, #815, @vishal-bala)
  • The uv lockfile updates dnspython, mistune and tornado. (#863, @dependabot)

Contributors

Thanks to @paoValle, @agustin18, @hyeonsang010716, @pcbeingused333 and @vishal-bala for their contributions to this release.

Full changelog from v0.32.1 to v0.33.0