---
title: "mastermemory 4.0.0 Breaking Changes on NuGet | Since.dev"
description: "What each mastermemory release removed, renamed or changed: 43 breaking changes in 1 version on NuGet, each with its source."
canonical_url: https://since.dev/packages/nuget/mastermemory
last_updated: 2026-12-04
---

# 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

Latest version `4.0.0`, released December 4, 2026. [Source repository](https://github.com/Cysharp/MasterMemory)

Packages on NuGet run on .NET. [.NET end of life dates](https://since.dev/calendar/dotnet.md).

## mastermemory 4.0.0 breaking changes

mastermemory 4.0.0, released December 4, 2026: 43 breaking changes.

- **Removed** `ImmutableBuilder`  

DatabaseBuilder now does what ImmutableBuilder did, including ToDatabaseBuilder and ToMemoryDatabase. [github.com](https://github.com/Cysharp/MasterMemory/commit/57242188aba4bb591e0d07c4f8211f7985623886)
- **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](https://github.com/Cysharp/MasterMemory/commit/be1f431713a6c0b1309345f8829a83c815b0d20e)
- **Removed** `MasterMemory.Annotations`  

The attributes now live in the MasterMemory package. Remove the MasterMemory.Annotations reference. [github.com](https://github.com/Cysharp/MasterMemory)
- **Removed** `MasterMemory.ImmutableBuilderBase`  

MasterMemory.ImmutableBuilderBase was removed in MasterMemory 4.0.0 [nuget.org](https://www.nuget.org/packages/MasterMemory/4.0.0)
- **Removed** `MasterMemory.TableBase.FindManyClosestCore`  

MasterMemory.TableBase.FindManyClosestCore was removed in MasterMemory 4.0.0 [nuget.org](https://www.nuget.org/packages/MasterMemory/4.0.0)
- **Removed** `MasterMemory.TableBase.FindUniqueCore`  

MasterMemory.TableBase.FindUniqueCore was removed in MasterMemory 4.0.0 [nuget.org](https://www.nuget.org/packages/MasterMemory/4.0.0)
- **Removed** `MasterMemory.TableBase.FindUniqueCoreInt`  

MasterMemory.TableBase.FindUniqueCoreInt was removed in MasterMemory 4.0.0 [nuget.org](https://www.nuget.org/packages/MasterMemory/4.0.0)
- **Removed** `MasterMemory.TableBase.TryFindUniqueCore`  

MasterMemory.TableBase.TryFindUniqueCore was removed in MasterMemory 4.0.0 [nuget.org](https://www.nuget.org/packages/MasterMemory/4.0.0)
- **Removed** `MasterMemory.TableBase.TryFindUniqueCoreInt`  

MasterMemory.TableBase.TryFindUniqueCoreInt was removed in MasterMemory 4.0.0 [nuget.org](https://www.nuget.org/packages/MasterMemory/4.0.0)
- **Removed** `MasterMemoryFormatterFactory`  

Generated code now registers each table formatter with MessagePack directly. [github.com](https://github.com/Cysharp/MasterMemory/commit/96e9cc0736af2e5e7da3db772d6e75e7dd71568d)
- **Removed** `MasterMemoryResolver`  

Remove its registration from StaticCompositeResolver and MessagePackSerializer.DefaultOptions. Nothing replaces it. [github.com](https://github.com/Cysharp/MasterMemory)
- **Removed** `MemoryDatabase`  

The internString and IFormatterResolver constructor arguments are gone. Pass InternString through MemoryDatabaseOptions, and use FormatterFactory in place of a resolver. [github.com](https://github.com/Cysharp/MasterMemory)
- **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](https://github.com/Cysharp/MasterMemory/commit/bffc30fa1204cbd9c1e853e029dfacfbb686a03b)
- **Removed** `RangeView<T>`  

LINQ and other IEnumerable uses no longer compile directly on RangeView. Call AsReadOnlyList() first. [github.com](https://github.com/Cysharp/MasterMemory)
- **Removed** `ShareInternedStrings`  

Databases read with the same MemoryDatabaseOptions now share interned strings, so the option is no longer needed. [github.com](https://github.com/Cysharp/MasterMemory/commit/bffc30fa1204cbd9c1e853e029dfacfbb686a03b)
- **Renamed** `Diff`  

Call AddOrReplace where Diff was used. [github.com](https://github.com/Cysharp/MasterMemory/commit/57242188aba4bb591e0d07c4f8211f7985623886)
- **Renamed** `ToImmutableBuilder`  

Call db.ToDatabaseBuilder() where db.ToImmutableBuilder() was used. [github.com](https://github.com/Cysharp/MasterMemory)
- **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](https://github.com/Cysharp/MasterMemory/commit/bffc30fa1204cbd9c1e853e029dfacfbb686a03b)
- **Behavior changed** `RangeView`  

Code that relied on the interfaces must use AsReadOnlyList() for LINQ. [github.com](https://github.com/Cysharp/MasterMemory/commit/96e9cc0736af2e5e7da3db772d6e75e7dd71568d)
- **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](https://github.com/Cysharp/MasterMemory)
- **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](https://github.com/Cysharp/MasterMemory)
- **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](https://github.com/Cysharp/MasterMemory)
- **Default changed** `MessageProcessor`  

Compression is off unless MessageProcessor is set. Reading a v3 database needs the Lz4BlockProcessor from MessagePack.LZ4. [github.com](https://github.com/Cysharp/MasterMemory/commit/96e9cc0736af2e5e7da3db772d6e75e7dd71568d)
- **Configuration changed** `DISABLE_MASTERMEMORY_METADATABASE`  

Set GenerateMetaDatabase = false in MasterMemoryGeneratorOptions instead of defining this symbol. [github.com](https://github.com/Cysharp/MasterMemory)
- **Configuration changed** `DISABLE_MASTERMEMORY_VALIDATOR`  

Set GenerateValidator = false in MasterMemoryGeneratorOptions instead of defining this symbol. [github.com](https://github.com/Cysharp/MasterMemory)
- **Configuration changed** `MasterMemoryGeneratorOptions.GenerateMetaDatabase`  

GenerateMetaDatabase and GenerateValidator in MasterMemoryGeneratorOptions replace the DISABLE_MASTERMEMORY\_\* symbols. [github.com](https://github.com/Cysharp/MasterMemory/commit/96e9cc0736af2e5e7da3db772d6e75e7dd71568d)
- **Signature changed** `FindByGenderAndAge`  

Pass each member of the composite key as its own argument. The tuple overload is removed. [github.com](https://github.com/Cysharp/MasterMemory/commit/987de699139fe2fa84b079818c1a700d753384ca)
- **Signature changed** `FindRangeBy***`  

Use the Reverse member of the returned view to get rows from last to first. [github.com](https://github.com/Cysharp/MasterMemory/commit/249bfb77e34ddfa2d4f5b414e8fb9200f70898af)
- **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](https://www.nuget.org/packages/MasterMemory/4.0.0)
- **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](https://www.nuget.org/packages/MasterMemory/4.0.0)
- **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](https://www.nuget.org/packages/MasterMemory/4.0.0)
- **Signature changed** `MasterMemory.RangeView.GetEnumerator`  

Was System.Collections.Generic.IEnumerator\<T> GetEnumerator(); now MasterMemory.RangeView.Enumerator\<T> GetEnumerator(). [nuget.org](https://www.nuget.org/packages/MasterMemory/4.0.0)
- **Signature changed** `MasterMemory.RangeView.Reverse`  

Was MasterMemory.RangeView\<T> Reverse {get;}; now MasterMemory.ReverseRangeView\<T> Reverse {get;}. [nuget.org](https://www.nuget.org/packages/MasterMemory/4.0.0)
- **Signature changed** `MasterMemory.TableBase.AllReverse`  

Was MasterMemory.RangeView\<TElement> AllReverse {get;}; now MasterMemory.ReverseRangeView\<TElement> AllReverse {get;}. [nuget.org](https://www.nuget.org/packages/MasterMemory/4.0.0)
- **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](https://www.nuget.org/packages/MasterMemory/4.0.0)
- **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](https://www.nuget.org/packages/MasterMemory/4.0.0)
- **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](https://www.nuget.org/packages/MasterMemory/4.0.0)
- **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](https://www.nuget.org/packages/MasterMemory/4.0.0)
- **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](https://www.nuget.org/packages/MasterMemory/4.0.0)
- **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](https://www.nuget.org/packages/MasterMemory/4.0.0)
- **Signature changed** `MasterMemory.TableInfo.DumpAsJson`  

DumpAsJson now takes MemoryDatabaseOptions instead of MessagePackSerializerOptions. [nuget.org](https://www.nuget.org/packages/MasterMemory/4.0.0)
- **Signature changed** `MemoryDatabase`  

Those settings now go in MemoryDatabaseOptions, which MemoryDatabase takes instead. [github.com](https://github.com/Cysharp/MasterMemory/commit/96e9cc0736af2e5e7da3db772d6e75e7dd71568d)
- **Signature changed** `RangeView`  

The constructor is now (array) or (array, offset, count) instead of (array, left, right, ascendant). [github.com](https://github.com/Cysharp/MasterMemory/commit/249bfb77e34ddfa2d4f5b414e8fb9200f70898af)

## Related packages

- [mastermemory.annotations](https://since.dev/packages/nuget/mastermemory.annotations.md)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#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.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
