mastermemory breaking changes
mastermemory 4.0.0 (December 4, 2026) is its newest release with breaking changes, 43 of them. The first: Removed ImmutableBuilder. Every breaking API change we have recorded in mastermemory on NuGet: 43 breaking changes in 1 version. Below, its one version with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 4.0.0, released December 4, 2026. Source repository
Packages on NuGet run on .NET. .NET end of life dates.
mastermemory 4.0.0 breaking changes
- Removed
ImmutableBuilder
DatabaseBuilder now does what ImmutableBuilder did, including ToDatabaseBuilder and ToMemoryDatabase. github.com - Removed
IsReturnNullIfKeyNotFound
FindBy of a unique key always throws KeyNotFoundException for a missing key. Use TryFindBy to ask for a key that may be missing. github.com - Removed
MasterMemory.Annotations
The attributes now live in the MasterMemory package. Remove the MasterMemory.Annotations reference. github.com - Removed
MasterMemory.ImmutableBuilderBase
MasterMemory.ImmutableBuilderBase was removed in MasterMemory 4.0.0 nuget.org - Removed
MasterMemory.TableBase.FindManyClosestCore
MasterMemory.TableBase.FindManyClosestCore was removed in MasterMemory 4.0.0 nuget.org - Removed
MasterMemory.TableBase.FindUniqueCore
MasterMemory.TableBase.FindUniqueCore was removed in MasterMemory 4.0.0 nuget.org - Removed
MasterMemory.TableBase.FindUniqueCoreInt
MasterMemory.TableBase.FindUniqueCoreInt was removed in MasterMemory 4.0.0 nuget.org - Removed
MasterMemory.TableBase.TryFindUniqueCore
MasterMemory.TableBase.TryFindUniqueCore was removed in MasterMemory 4.0.0 nuget.org - Removed
MasterMemory.TableBase.TryFindUniqueCoreInt
MasterMemory.TableBase.TryFindUniqueCoreInt was removed in MasterMemory 4.0.0 nuget.org - Removed
MasterMemoryFormatterFactory
Generated code now registers each table formatter with MessagePack directly. github.com - Removed
MasterMemoryResolver
Remove its registration from StaticCompositeResolver and MessagePackSerializer.DefaultOptions. Nothing replaces it. github.com - Removed
MemoryDatabase
The internString and IFormatterResolver constructor arguments are gone. Pass InternString through MemoryDatabaseOptions, and use FormatterFactory in place of a resolver. github.com - Removed
MemoryDatabaseOptions.Default
A database or builder given no options gets options made for it. Code that used the static default must pass its own options. github.com - Removed
RangeView<T>
LINQ and other IEnumerable uses no longer compile directly on RangeView. Call AsReadOnlyList() first. github.com - Removed
ShareInternedStrings
Databases read with the same MemoryDatabaseOptions now share interned strings, so the option is no longer needed. github.com - Renamed
Diff
Call AddOrReplace where Diff was used. github.com - Renamed
ToImmutableBuilder
Call db.ToDatabaseBuilder() where db.ToImmutableBuilder() was used. github.com - Behavior changed
MemoryDatabaseOptions
A database loaded again with the same options gets the string objects of the one before it. Call ClearInternedStrings to release the pool. github.com - Behavior changed
RangeView
Code that relied on the interfaces must use AsReadOnlyList() for LINQ. github.com - Behavior changed
StringComparisonOption
v3 compared some string keys by current culture and ignored StringComparisonOption placed before the key attribute. v4 uses Ordinal or the configured option, so rebuild v3 databases with v4. github.com - Default changed
MemoryDatabaseOptions.FormatterFactory
The default formatters are now MessagePackFormatterFactory.DefaultAot. Tables with types lacking a source-generated formatter need FormatterFactory set to MessagePackFormatterFactory.Default. github.com - Default changed
MemoryDatabaseOptions.MessageProcessor
v3 compressed tables with LZ4 by default, but v4 does not. To read a v3 database, install MessagePack.LZ4 and pass the Lz4BlockProcessor in the options. github.com - Default changed
MessageProcessor
Compression is off unless MessageProcessor is set. Reading a v3 database needs the Lz4BlockProcessor from MessagePack.LZ4. github.com - Configuration changed
DISABLE_MASTERMEMORY_METADATABASE
Set GenerateMetaDatabase = false in MasterMemoryGeneratorOptions instead of defining this symbol. github.com - Configuration changed
DISABLE_MASTERMEMORY_VALIDATOR
Set GenerateValidator = false in MasterMemoryGeneratorOptions instead of defining this symbol. github.com - Configuration changed
MasterMemoryGeneratorOptions.GenerateMetaDatabase
GenerateMetaDatabase and GenerateValidator in MasterMemoryGeneratorOptions replace the DISABLE_MASTERMEMORY_* symbols. github.com - Signature changed
FindByGenderAndAge
Pass each member of the composite key as its own argument. The tuple overload is removed. github.com - Signature changed
FindRangeBy***
Use the Reverse member of the returned view to get rows from last to first. github.com - Signature changed
MasterMemory.DatabaseBuilderBase.AppendCore
Was protected void AppendCore<T, TKey>(System.Collections.Generic.IEnumerable<T> datasource, System.Func<T, TKey> indexSelector, System.Collections.Generic.IComparer<TKey> comparer); now protected void AppendCore<TRow, TTable, TKey>(ref... nuget.org - Signature changed
MasterMemory.MemoryDatabaseBase.ExtractTableData
Was protected static TView ExtractTableData<T, TView>(System.Collections.Generic.Dictionary<string, System.ValueTuple<int, int>> header, System.ReadOnlyMemory<byte> databaseBinary, MessagePack.MessagePackSerializerOptions options... nuget.org - Signature changed
MasterMemory.MemoryDatabaseBase.ValidateTable
Was protected void ValidateTable<TElement>(System.Collections.Generic.IReadOnlyList<TElement> table, MasterMemory.Validation.ValidationDatabase database, string pkName, System.Delegate pkSelector, MasterMemory.Validation.ValidateResult... nuget.org - Signature changed
MasterMemory.RangeView.GetEnumerator
Was System.Collections.Generic.IEnumerator<T> GetEnumerator(); now MasterMemory.RangeView.Enumerator<T> GetEnumerator(). nuget.org - Signature changed
MasterMemory.RangeView.Reverse
Was MasterMemory.RangeView<T> Reverse {get;}; now MasterMemory.ReverseRangeView<T> Reverse {get;}. nuget.org - Signature changed
MasterMemory.TableBase.AllReverse
Was MasterMemory.RangeView<TElement> AllReverse {get;}; now MasterMemory.ReverseRangeView<TElement> AllReverse {get;}. nuget.org - Signature changed
MasterMemory.TableBase.CloneAndSortBy
Was protected TElement[] CloneAndSortBy<TKey>(System.Func<TElement, TKey> indexSelector, System.Collections.Generic.IComparer<TKey> comparer); now protected TElement[] CloneAndSortBy<TKey, TComparer>(System.Func<TElement, TKey>... nuget.org - Signature changed
MasterMemory.TableBase.FindManyCore
Was protected static MasterMemory.RangeView<TElement> FindManyCore<TKey>(TElement[] indexKeys, System.Func<TElement, TKey> keySelector, System.Collections.Generic.IComparer<TKey> comparer, TKey key); now protected static... nuget.org - Signature changed
MasterMemory.TableBase.FindManyRangeCore
Was protected static MasterMemory.RangeView<TElement> FindManyRangeCore<TKey>(TElement[] indexArray, System.Func<TElement, TKey> keySelector, System.Collections.Generic.IComparer<TKey> comparer, TKey min, TKey max, bool ascendant); now... nuget.org - Signature changed
MasterMemory.TableBase.FindUniqueClosestCore
Was protected static TElement FindUniqueClosestCore<TKey>(TElement[] indexArray, System.Func<TElement, TKey> keySelector, System.Collections.Generic.IComparer<TKey> comparer, TKey key, bool selectLower); now protected static TElement... nuget.org - Signature changed
MasterMemory.TableBase.FindUniqueRangeCore
Was protected static MasterMemory.RangeView<TElement> FindUniqueRangeCore<TKey>(TElement[] indexArray, System.Func<TElement, TKey> keySelector, System.Collections.Generic.IComparer<TKey> comparer, TKey min, TKey max, bool ascendant); now... nuget.org - Signature changed
MasterMemory.TableBase.ValidateUniqueCore
Was protected static void ValidateUniqueCore<TKey>(TElement[] indexArray, System.Func<TElement, TKey> keySelector, string message, MasterMemory.Validation.ValidateResult resultSet); now protected static void... nuget.org - Signature changed
MasterMemory.TableInfo.DumpAsJson
DumpAsJson now takes MemoryDatabaseOptions instead of MessagePackSerializerOptions. nuget.org - Signature changed
MemoryDatabase
Those settings now go in MemoryDatabaseOptions, which MemoryDatabase takes instead. github.com - Signature changed
RangeView
The constructor is now (array) or (array, offset, count) instead of (array, left, right, ascendant). github.com
Related packages
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The API reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

Put your code on continuous maintenance.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.