Skip to content

2.23.0

Latest

Choose a tag to compare

@Laurianti Laurianti released this 19 Nov 14:00
· 1 commit to main since this release
5fdba3c

ChromaDotNet.Client, ChromaDotNet.Client.DependencyInjection, ChromaDotNet.Client.Backup and ChromaDotNet.Client.Cli 2.23.0, released together.

  • Redirects are followed only to the same server: the same host and port, or http to https on the same host. A redirect to another host is a ChromaException, and the request does not go there. The HttpClient the client creates, and the one of the dependency injection methods, no longer follow redirects themselves. An HttpClient you pass to the client still follows redirects as its handler says: set AllowAutoRedirect = false on its handler. See Redirects.
  • The body of an error answer is read up to 64 KB, and the message of the exception keeps its first 4 KB.
  • New option MaxResponseSize (WithMaxResponseSize), 512 MB by default, that limits every answer: a larger one is a ChromaException. See The size of the answers.
  • The body of an answer is read within the Timeout of the HttpClient and the cancellation, as HttpClient does.

A package that depends on ChromaDotNet.Client, like ChromaDotNet.Client.Backup, can resolve an older version: reference ChromaDotNet.Client 2.23.0 in the application.

In our tests on 18 and 19 November 2026, the suite passed on .NET 10 against Chroma 0.4.10, 0.4.15, 0.4.23, 0.5.15, 0.5.16, 0.5.20, 0.6.3, 1.0.0 and 1.5.9, and on .NET 11 against 1.5.9. It passed on .NET 10 against VecturaDB 1.0.0-preview.10.post1. It passed against the .NET Standard 2.0 build on .NET 10, and the .NET Framework 4.8 tests passed. An application on .NET 8 and one on .NET 9 built with the package, and the trimmed and NativeAOT builds had no warnings. The command chromadotnet 2.23.0 made a backup, a restore and a verification against Chroma 1.5.9.

Added to the public API: ChromaConfigurationOptions.MaxResponseSize and WithMaxResponseSize. Nothing is removed. A redirect to another host, which was followed, is now a ChromaException.

NuGet: https://www.nuget.org/packages/ChromaDotNet.Client/2.23.0, https://www.nuget.org/packages/ChromaDotNet.Client.DependencyInjection/2.23.0, https://www.nuget.org/packages/ChromaDotNet.Client.Backup/2.23.0 and https://www.nuget.org/packages/ChromaDotNet.Client.Cli/2.23.0