8000 Releases · linq2db/linq2db · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Releases: linq2db/linq2db

Release 6.0.0 RC 1

17 Jul 10:21
5d22870
Compare
Choose a tag to compare

Finally we have a new version of Linq To DB almost done.

Bases on amount and severity of reports for this release we will decide later wether we need another RC before final release.

For any questions regarding v6 migration, please use this discussion

Main changes in this (RC1) release:

  • [breaking] we reorganized Linq To DB namespaces into two categories: general use public APIs in LinqToDB.* and internal APIs (mostly intended for external provider development or advanced functionality) in LinqToDB.Internal.* namespaces. If you cannot find some types/methods - check their new location in source or ask here
  • [breaking] async IEnumerable extensions were moved from LinqToDB namespace to LinqToDB.Async to simplify resolve of naming conflicts for users who use other libraries with same extensions
  • [breaking] drop .NET 6 and EF.Core 6 support
  • a lof of work were done to improve translation of predicates (especially complex) to SQL:
    • complex predicate expressions that could fail translate before to SQL for all or for specific databases now should work
    • a lot of new optimizations implemented to simplify predicates
    • fixed support for mappings with IsPredicate=true option, done using Sql.FunctionAttribute or Sql.ExtensionAttribute attributes
    • fixed a lot of issues in predicate generation, including fixes to nullability tracking for nested predicates
  • multiple improvemens in JOINs generation:
    • automatically promote LEFT joins to INNER when query filters effectively already remove empty records
    • improve nullability tracking for LEFT joins
  • [all databases] fix/add translations of string.PadLeft, string.Length and Guid.ToString() members
  • add Sql.Parameter(x) and Sql.Constant(x) helpers to explicitly specify value translation type (as parameter or as literal) for specific value
  • FromSqlScalar API now expects user to use value alias for column name. It will be generated automatically for databases, which support column aliases specification in subquery alias clause. For other databases it should be specified by user in SQL.
  • added UseOptions API on data context to temporary change context settings
  • added initial support for new SQL dialects: SQL Server 2025 and PostgreSQL 18
  • [EF.Core] import enum mappings for PostgreSQL from EF.Core model
  • [RemoteContext] released new remote context transports: HttpClient (server, client) and Signal/R (server, client)
  • a lot of other bugfixes and improvements

For full list of changes check this page

Release notes

Nugets

New Contributors

Full Changelog: v6.0.0-preview.4...v6.0.0-rc.1

Release 6.0.0 Preview 4

26 Mar 22:07
bc50707
Compare
Choose a tag to compare

Yet another preview release before upcoming release candidate.

Alongside with fixes to multiple bugs and regrssions from previous previews it contains following changes:

  • Obsoletion of excess constructors on DataConnection and DataContext types that could be replaced with constructor, accepting DataOptions configuration object
  • experimental support for new SQL Server JSON data type type
  • changes to default precision and scale mappings for decimal type from DECIMAL to DECIMAL(x, 10) for many database providers. This mostly affects which data type is used by CreateTable APIs by default
  • added AllowMultiple=true option to some mapping attributes, which didn't had it for some unknown reason
  • [SAP HANA] added support for Sap.Data.Hana.Net.* providers
  • fixed nuget generation issue for linq2db.EntityFrameworkCore packages, that resulted in incorrect package content for previous (Preview 3) release for EF 8 and 9

For full list of changes check this page

Release notes

Nugets

Full Changelog: v6.0.0-preview.3...v6.0.0-preview.4

Release 6.0.0 Preview 3

28 Jan 09:54
904225e
Compare
Choose a tag to compare

Small release to fix regression with interfaces, introduced in preview 2.

For full list of changes check this page

Release notes

Nugets

Full Changelog: v6.0.0-preview.2...v6.0.0-preview.3

Release 6.0.0 Preview 2

22 Jan 10:15
Compare
Choose a tag to compare

Release Highlights

Except more small changes, bugfixes and fixes to discovered regressions since preview 1 this release contains:

  • various improvements to SQL predicates generation
  • refactoring of T4 nugets
  • Select((entity, int index) => ...) overload support with index parameter converted to ROWNUMBER window function
  • net9.0 TFM support
  • linq2db.EntityFrameworkCore project was migrated to main repository to imrove its support and release it in sync with other projects

For full list of changes check this page

Release notes

Nugets

New Contributors

Full Changelog: v6.0.0-preview.1...v6.0.0-preview.2

Release 6.0.0 Preview 1

17 Jun 07:43
80c54cd
Compare
Choose a tag to compare

Release Highlights

This is a first preview of LINQ To DB 6 which includes completely rewritten query parser resulting in a lot of issues and limitations resolved. We recommend everyone to try it as we don't plan any other big changes before final release and your feedback will help us to polish it.

Note that we don't release LINQPad extension and EF.Core integration for first preview. They will be released with preview 2.

Also note that this release should fix more issues than currently marked as fixed in release notes as we didn't yet re-tested all repored issues. This will be done before next preview release.

Release notes

Nugets

New Contributors

Full Changelog: v5.4.1...v6.0.0-preview.1

Release 5.4.1

07 Apr 11:26
ca363a2
Compare
Choose a tag to compare

Release Highlights

  • minor bugfix release

Release notes

Nugets

New Contributors

Full Changelog: v5.4.0...v5.4.1

Release 5.4.0

20 Feb 18:19
33b9d13
Compare
Choose a tag to compare

Release highlights:

  • add library metrics collection API
  • add support for one-way conversions in MappingSchema to specify logic for DB <-> application values conversion in one direction only
  • ensure library works with object <-> string conversions using Invariant culture everywhere
  • add support for ClickHouse.Client 6.8.0+ provider versions
  • many small improvements and bug-fixes

Release notes

Nugets

Release 5.3.2

18 Oct 12:12
6bb5d8b
Compare
Choose a tag to compare

This release fixes regression in Npgsql 7- support from previous release

Release notes

Nugets

Release 5.3.1

16 Oct 14:28
acf85cd
Compare
Choose a tag to compare

This release adds support for Npgsql 8.0.0 (rc-2)

Release notes

Nugets

Release 5.3.0

12 Oct 12:49
@MaceWindu MaceWindu < 6611 /div>
Compare
Choose a tag to compare

Release highlights

  • implement fixes to avoid data context instance caching in query cache
  • improvements to collection-typed parameter values logging
  • fixed null support for value IN (subquery) expressions
  • fixes several issues with NativeAOT builds
  • retract obsoletion note from T4 scaffold nugets
  • many other fixes and improvements

Release notes

Nugets

0