Update dependency linq2db to 6.4.0 - #1164
Open
renovate[bot] wants to merge 1 commit into
Open
Conversation
renovate
Bot
requested review from
ACaiCat,
Controllerdestiny,
LaoSparrow and
sgkoishi
as code owners
June 11, 2026 16:16
renovate
Bot
force-pushed
the
renovate/linq2db-6.x
branch
from
July 12, 2026 13:05
a826fe4 to
f8244d4
Compare
renovate
Bot
force-pushed
the
renovate/linq2db-6.x
branch
from
July 21, 2026 02:44
f8244d4 to
0088eeb
Compare
renovate
Bot
force-pushed
the
renovate/linq2db-6.x
branch
from
July 30, 2026 17:46
0088eeb to
42f9a0e
Compare
renovate
Bot
force-pushed
the
renovate/linq2db-6.x
branch
from
August 7, 2026 05:46
42f9a0e to
05614f9
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
6.2.1→6.4.0Release Notes
linq2db/linq2db (linq2db)
v6.4.0: Release 6.4.0Highlights of this release:
Sql.Window.*fluent API for window functions — ranking, offset, value, aggregate, statistical, regression, ordered-set and distribution functions, full ROWS/RANGE/GROUPS frames, named windows,FILTER,NULLS FIRST/LASTand OracleKEEP, with compile-time safety. ExistingSql.Ext.*().Over()queries keep working unchanged — they run on the new pipeline internally (#5468)LoadWith/ThenLoadand inline collection projections:KeyedQuery(buffers the parent query and loads children withWHERE key IN (…)) andCteUnion(collapses same-level collections into oneUNION ALLCTE). Selectable per query or globally, with automatic fallback (#5450)HasQueryFilter(key, …)and selectiveIgnoreFilters(keys), mirroring the EF Core 10 API, including EF Core keyed-filter flow-through (#5525)Upsertplus entity-basedInsert(item, …)/Update(item, …)DML APIs (#5482)linq2db.Analyzers— a new analyzer package shipped as a dependency oflinq2db, with ruleL2DB1001and a code fix that migrates the legacySql.Extwindow API toSql.Window. Opt out withEnableLinqToDBAnalyzers(#5703)NULLS FIRST/NULLS LASTcontrol onOrderBy/ThenBywith aDataOptionsdefault, rendered natively or emulated across all providers (#5561)Sql.NewGuid7()andGuid.CreateVersion7()mapping for UUIDv7 generation (#5648)'T option/'T voptioncolumns after.UseFSharp(), with none stored asNULL(#5624)PreferClientCalculationevaluates non-server-required projection expressions client-side, restoring v5 projection behavior (#5604)DistinctByemits nativeDISTINCT ONon PostgreSQL and DuckDB (#5630)OptimizeForSequentialAccessbecame a per-context option, fixing query-cache collisions between sequential and non-sequential reader plans (#5639)[Column]and[ValueConverter], binding by mapped column name rather than parameter name (#5659)PublishSingleFileself-contained deployments (#5489)ToLinqToDB()/ToLinqToDBTable()/GetTable<T>()helpers (#5378)object-typed projection member (#5680),InvalidCastExceptionon a local-collection LEFT JOIN feeding decimal arithmetic (#5587), invalid SQL when subtracting twoDateTime/DateTimeOffsetcolumns (#5581),[ExpressionMethod]running at materialization withIsColumn = false(#5578), nested member-path mappings throwing in MERGE setters and discriminators (#5545),InvalidCastExceptiononContainsin a correlated subquery (#5558), aggregates over a captured local collection turned into SQL subqueries (#5557), andORDER BYexpressions lifted from a subquery producing invalid SQL (#5556)Provider-specific highlights:
IGNORE NULLS/RESPECT NULLSwindow SQL (#5644); v11 and v12 dialects, with unsupported window features rejected client-side with a clear exception (#5687)[GetSqlDecimal]attribute readsdecimalcolumns whose precision exceeds the CLRdecimalrange instead of throwing (#5605)DbContextwith pooled contexts or disabled service-provider caching (#5695)linq2db.cli:
query,executeandschemacommands, plus an MCP server for agent-driven database access (#5678)Full release notes
Nugets
New Contributors
Full Changelog: linq2db/linq2db@v6.3.0...v6.4.0
v6.3.0: Release 6.3.0Highlights of this release:
Enum.HasFlagtranslationstring.Concat/string.Join/TrimStart/TrimEndtranslation improvements (with many translator-bug fixes uncovered along the way)AsCtebuilder overload for explicit CTE materialization configuration (PostgreSQL, ClickHouse, DuckDB, SQLite, DuckDB)AsQueryable(db, ...)overload with per-column parameterization control forVALUESclausesNow/UtcNowtranslation with timezone awareness across providers; providers without TZ gracefully downgradeIgnoreConflictsoption forMultipleRowsmodeBulkCopyon MySql / MariaDB / PostgreSQL / SQLite / DuckDB (thanks @darko1979)SqlQueryDependentParamsissues, association discovery on interfaces, subquery null-aggregate SQL generation,UPDATE FROMregressions,ValueConverternull handling, CTE column removal, set-operator flattening,Sql.Rowconverters, predicate null-check optimization,FromSqlcaching,DropTable(throwExceptionIfNotExists: false)behavior,EXISTSover set queriesProvider-specific highlights:
linq2db.cli, LINQPad supportCOALESCEparameter type inference,DateTimeOffset.Nowno longer corruptsTIMESTAMP WITH TIME ZONEwrites, drop of global temp tables with data now worksDbType="..."mappingsEXECUTEblocks for create/drop tablesDROP TABLE IF NOT EXISTShandled on SQL levelUseSequence-defined fields now detected as identity (#5439)FSharp.Core10.1.x; record mapping fixes for case-only-distinct member nameslinq2db.cli:
linq2db.clinow ships as per-RID tool packages (win-x64/win-x86/win-arm64/linux-x64/linux-arm64/osx-arm64/osx-x64).dotnet tool install -g linq2db.cliauto-picks the variant for your SDK; add--arch x86when you need 32-bit (Jet OLE DB; or to match a 32-bit ACE / SqlCe / SAP HANA driver).--architecturescaffold option removed — bitness is now fixed at install time. Jet connection strings on a 64-bit process now fail fast with a clear x86-variant hint. See #5539.Full release notes
Nugets
What's Changed
nullhandling by value converter by @MaceWindu in #5437New Contributors
Full Changelog: linq2db/linq2db@v6.2.1...v6.3.0
Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.