Skip to content

Commit

Permalink
[RELEASE] 0.5.12 (#2913)
Browse files Browse the repository at this point in the history
Release version 0.5.12
  • Loading branch information
itaismith authored Oct 8, 2024
1 parent 6d878f1 commit 8f38a4b
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
2 changes: 1 addition & 1 deletion chromadb/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@

__settings = Settings()

__version__ = "0.5.11"
__version__ = "0.5.12"


# Workaround to deal with Colab's old sqlite3 version
Expand Down
15 changes: 15 additions & 0 deletions docs/docs.trychroma.com/pages/deployment/migration.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,21 @@ We will aim to provide:

## Migration Log

### v0.5.12

The operators `$ne` (not equal) and `$nin` (not in) in `where` clauses have been updated:
* Previously: They only matched records that had the specified key.
* Now: They also match records that don't have the specified key at all.

In other words, `$ne` and `$nin` now match the complement set of records (the exact opposite) that `$eq` (equals) and `$in` (in) would match, respectively.

The `$not_contains` operator in the `where_document` clause has also been updated:
* Previously: It only matched records that had a document field.
* Now: It also matches records that don't have a document field at all.

In other words, `$not_contains` now matches the exact opposite set of records that `$contains` would match.

`RateLimitingProvider` is now deprecated and replaced by `RateLimitEnforcer`. This new interface allows you to wrap server calls with rate limiting logic. The default `SimpleRateLimitEnforcer` implementation allows all requests, but you can create custom implementations for more advanced rate limiting strategies.
### v0.5.11

The results returned by `collection.get()` is now ordered by internal ids. Whereas previously, the results were ordered by user provided ids, although this behavior was not explicitly documented. We would like to make the change because using user provided ids may not be ideal for performance in hosted Chroma, and we hope to propagate the change to local Chroma for consistency of behavior. In general, newer documents in Chroma has larger internal ids.
Expand Down

0 comments on commit 8f38a4b

Please sign in to comment.