Skip to content

Update dependency linq2db.SqlServer to v6#35

Closed
renovate[bot] wants to merge 5 commits into
mainfrom
renovate/linq2db.sqlserver-6.x
Closed

Update dependency linq2db.SqlServer to v6#35
renovate[bot] wants to merge 5 commits into
mainfrom
renovate/linq2db.sqlserver-6.x

Conversation

@renovate
Copy link
Copy Markdown

@renovate renovate Bot commented Apr 7, 2026

This PR contains the following updates:

Package Change Age Confidence
linq2db.SqlServer (source) 5.4.1.96.2.1 age confidence

Release Notes

linq2db/linq2db (linq2db.SqlServer)

v6.2.1: Release 6.2.1

This release contains only bugfixes.

Release notes
Nugets

Full Changelog: linq2db/linq2db@v6.2.0...v6.2.1

v6.2.0: Release 6.2.0

Release highlights:

  • a lot of fixes to reported issues including v6 regressions
  • various improvements to generated SQL
  • added stack guard for v
    isitors, could be managed using LinqToDB.Common.Configuration.TranslationThreadMaxHopCount setting
  • better handling of custom unary/binary operators and support for custom mappings for operators (in case of operator implementation violating contract)
  • support ~ operator translation for all databases
  • support for new .NET 6-10 LINQ operators: CountBy, Index, MaxBy, MinBy, ExceptBy, UnionBy, IntersectBy
  • [PostgreSQL] add timeout option support for native BulkCopy
  • [Oracle] fix found issues in NVARCHAR2 type mapping
  • [SQL Server 2005] scaffold support for JSON and VECTOR types
  • [ClickHouse] support for ClickHouse.Driver v0.9 and v1.0 provider versions. For v1.0+ provider we recommend to set ReadStringsAsByteArrays=true provider option
  • [YDB] continued provider implementation (still in progress)

Release notes
Nugets

Full Changelog: linq2db/linq2db@v6.1.0...v6.2.0

v6.1.0: Release 6.1.0

Release highlights:

  • fixes to reported issues and regressions
  • support of .NET 10 LeftJoin and RightJoin operators
  • re-enable DB2i support for LINQPad driver

Release notes
Nugets

Full Changelog: linq2db/linq2db@v6.0.0...v6.1.0

v6.0.0: Release 6.0.0

Since previous release candidate final release contains following changes:

  • .NET 10 support
  • EF.Core 10 integration
  • LINQPad driver releases now syncronized with Linq To DB releases
  • extension methods that vere available on DataConnection class now available for DataContext-based contexts too
  • DistinctBy support
  • Improved translation of aggregate and window functions
  • string.Join translation and better translation of Sql.ConcatStrings and Sql.StringAggregate calls
  • and many more small features and fixes to defects and regressions from prerelease versions

Provider-specific changes:

  • [Oracle] implement fixes for ORA-01704 string literal too long errors on big LOB parameters
  • [SQL Server 2025] Better VECTOR type support including mappings to float[] and mappings for vector functions
  • [SQLite] add System.Data.SQLite 2 provider support
  • [SQLite] fixes to all known issues n SQLite schema provider
  • added early preview of new provider for YDB database for early adopters

For full list of changes check this page

Release notes

Nugets

New Contributors

Full Changelog: linq2db/linq2db@v5.4.1...v6.0.0


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 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.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@CodeLogicAI
Copy link
Copy Markdown

🚀 AI Library Upgrade workflow started

Checkout and dependency detection in progress. You will see further updates as each step completes.

@CodeLogicAI
Copy link
Copy Markdown

📋 Detected Library Changes

Relevant dependency changes were detected. Specialized scans will be initiated shortly.

Direct Dependency Changes

Type Group ID Artifact ID Old Version New Version
NUGET_CSPROJ N/A linq2db.SqlServer 5.4.1.9 6.2.1

@CodeLogicAI
Copy link
Copy Markdown

🔬 Library scan started

Scanning source branch libraries for upgrade analysis. This may take a few minutes.

@CodeLogicAI
Copy link
Copy Markdown

⚠️ Library scan skipped due to empty downloads

Specialized scan preparation produced no scannable library artifacts (.jar/.dll).

Workflow behavior for this PR:

  • SPECIALIZED_SCAN: marked FAILED
  • TICKET_GENERATION: marked FAILED (AI ticket generation skipped)
  • No AI_LIBRARY_UPGRADE comparison job is created
  • AI implementation is enqueued immediately using fallback instructions from the PR diff

@CodeLogicAI
Copy link
Copy Markdown

🚀 Starting AI implementation...

Beginning implementation of library upgrade changes. This may take several minutes.

Workflow Status

Step Status
DETECT_DEPENDENCIES ✅ SUCCESS
SPECIALIZED_SCAN ❌ FAILED
DIFF_COMPLETE ✅ SUCCESS
TICKET_GENERATION ❌ FAILED
TICKET_IMPLEMENTATION ⏳ PENDING
PUSH_CHANGES ⏳ PENDING

@CodeLogicAI
Copy link
Copy Markdown

AI Library Upgrade (empty scan artifacts)


Immediate fallback

Ticket generation was skipped because specialized scan artifacts could not be downloaded.

Proceeding to attempt AI implementation based on the PR diff using the fallback path.

💡 Configure your CI to post build results back to CodeLogic via the Build Pipeline Data API.

Documentation: https://docs.codelogic.com/Send_Build_Info/

In linq2db v6, the linq2db.SqlServer package no longer includes the main
linq2db library as a dependency. Added explicit reference to linq2db 6.2.1
package to ensure the performance benchmarks project can compile with all
required linq2db assemblies.

Changes:
- Added linq2db 6.2.1 package version to Directory.Packages.props
- Added linq2db PackageReference to Dapper.Tests.Performance.csproj

This resolves build errors where LinqToDB namespace types could not be found.
@CodeLogicAI
Copy link
Copy Markdown

✅ AI Library Upgrade Workflow Complete

Workflow Status

Step Status
DETECT_DEPENDENCIES ✅ SUCCESS
SPECIALIZED_SCAN ❌ FAILED
DIFF_COMPLETE ✅ SUCCESS
TICKET_GENERATION ❌ FAILED
TICKET_IMPLEMENTATION ✅ SUCCESS
PUSH_CHANGES ✅ SUCCESS

Result: Changes Successfully Implemented

✅ The AI has successfully implemented the library upgrade changes and pushed them to this PR.

Summary:

  • Comparison Job: 0f9fcc5e-dca6-4a49-8b4c-a7ace11c15b5
  • Diff MVD: 73ff82a5-4044-4db5-b27a-032bd07a9f7c
  • Status: Commits pushed successfully

Please review the changes and ensure they meet your requirements.


Generated by CodeLogic AI Library Upgrade

@renovate
Copy link
Copy Markdown
Author

renovate Bot commented Apr 7, 2026

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

⚠️ Warning: custom changes will be lost.

Copy link
Copy Markdown
Member

@garrmark garrmark left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

make code changes to best utilize this upgrade

Copy link
Copy Markdown
Member

@garrmark garrmark left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

make code changes to best utilize this upgrade

Copy link
Copy Markdown

@CodeLogicAI CodeLogicAI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

CodeLogic AI Review Feedback

Status: Your feedback was saved and will be applied in the AI improvement run for this PR ✅

Reviewer feedback:

This says it's retained for reference only, I don't think that's necessary. If it's unused code, remove it.

@CodeLogicAI
Copy link
Copy Markdown

🔧 PR review feedback detected, triggering improvement cycle...

A review comment was received. The AI will apply the feedback and perform cleanup updates.

Improvement Cycle Status

Metric Value
Trigger 🧑‍⚖️ PR Review Feedback
Pass One-shot (this review only)
Status 🔍 Applying Review Feedback
Queue 🚀 Checkout + implementation queued
After CI If the build fails, the build-failure improvement loop runs with its own iteration counter

@CodeLogicAI
Copy link
Copy Markdown

🚀 Starting AI improvement iteration...

Applying the latest human review feedback to this PR.

Updated the linq2db integration to use the DataOptions builder pattern,
which is the recommended approach in linq2db v6. This provides better
performance and follows best practices.

Key changes:
- Replaced legacy ILinqToDBSettings configuration with DataOptions
- Updated Linq2DBContext to accept DataOptions in constructor
- Modified benchmark setup to use UseSqlServer() builder method
- Removed dependency on DefaultSettings static configuration

Benefits:
- More explicit and testable configuration
- Better performance with immutable options
- Aligns with linq2db v6 best practices and future-proofs the code
- Eliminates use of obsolete constructor patterns

References:
- https://github.com/linq2db/linq2db/wiki/Linq-To-DB-6
- linq2db/linq2db#3940
@CodeLogicAI
Copy link
Copy Markdown

✅ AI Library Upgrade Workflow Complete

Workflow Status

Step Status
DETECT_DEPENDENCIES ✅ SUCCESS
SPECIALIZED_SCAN ❌ FAILED
DIFF_COMPLETE ✅ SUCCESS
TICKET_GENERATION ❌ FAILED
TICKET_IMPLEMENTATION ✅ SUCCESS
PUSH_CHANGES ✅ SUCCESS

Result: Changes Successfully Implemented

✅ The AI has successfully implemented the library upgrade changes and pushed them to this PR.

Summary:

  • Comparison Job: 0f9fcc5e-dca6-4a49-8b4c-a7ace11c15b5
  • Diff MVD: 73ff82a5-4044-4db5-b27a-032bd07a9f7c
  • Status: Commits pushed successfully

Please review the changes and ensure they meet your requirements.


Generated by CodeLogic AI Library Upgrade

@garrmark garrmark self-requested a review April 8, 2026 20:06
Copy link
Copy Markdown
Member

@garrmark garrmark left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A review comment shouldn't trigger anything

Copy link
Copy Markdown
Member

@garrmark garrmark left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

an approval shouldn't either

Copy link
Copy Markdown
Member

@garrmark garrmark left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

review all documentation against changes made and reconcile

@CodeLogicAI
Copy link
Copy Markdown

🔧 PR review feedback detected, triggering improvement cycle...

A review comment was received. The AI will apply the feedback and perform cleanup updates.

Improvement Cycle Status

Metric Value
Trigger 🧑‍⚖️ PR Review Feedback
Pass One-shot (this review only)
Status 🔍 Applying Review Feedback
Queue 🚀 Checkout + implementation queued
After CI If the build fails, the build-failure improvement loop runs with its own iteration counter

@CodeLogicAI
Copy link
Copy Markdown

🚀 Starting AI improvement iteration...

Applying the latest human review feedback to this PR.

Marked Linq2DBSettings and ConnectionStringSettings as obsolete with
clear documentation directing developers to use the DataOptions builder
pattern introduced in linq2db v6.

These classes are retained for backward compatibility and reference but
should not be used in new code. The obsolete attributes and documentation
comments guide developers to the modern implementation in Benchmarks.Linq2DB.cs.

Changes:
- Added [Obsolete] attribute to Linq2DBSettings class
- Added [Obsolete] attribute to ConnectionStringSettings class
- Added XML documentation comments explaining the deprecation
- Referenced the modern DataOptions pattern implementation

This ensures code documentation is aligned with the v6 upgrade changes.
@CodeLogicAI
Copy link
Copy Markdown

✅ AI Library Upgrade Workflow Complete

Workflow Status

Step Status
DETECT_DEPENDENCIES ✅ SUCCESS
SPECIALIZED_SCAN ❌ FAILED
DIFF_COMPLETE ✅ SUCCESS
TICKET_GENERATION ❌ FAILED
TICKET_IMPLEMENTATION ✅ SUCCESS
PUSH_CHANGES ✅ SUCCESS

Result: Changes Successfully Implemented

✅ The AI has successfully implemented the library upgrade changes and pushed them to this PR.

Summary:

  • Comparison Job: 0f9fcc5e-dca6-4a49-8b4c-a7ace11c15b5
  • Diff MVD: 73ff82a5-4044-4db5-b27a-032bd07a9f7c
  • Status: Commits pushed successfully

Please review the changes and ensure they meet your requirements.


Generated by CodeLogic AI Library Upgrade

Copy link
Copy Markdown
Member

@garrmark garrmark left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

see inline comments

/// Use DataOptions builder pattern instead. See Benchmarks.Linq2DB.cs for the modern approach.
/// </summary>
[Obsolete("Use DataOptions builder pattern instead. This class is retained for reference only.")]
public class ConnectionStringSettings : IConnectionStringSettings
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This says it's retained for reference only, I don't think that's necessary. If it's unused code, remove it.

@CodeLogicAI
Copy link
Copy Markdown

🔧 PR review feedback detected, triggering improvement cycle...

A review comment was received. The AI will apply the feedback and perform cleanup updates.

Improvement Cycle Status

Metric Value
Trigger 🧑‍⚖️ PR Review Feedback
Pass One-shot (this review only)
Status 🔍 Applying Review Feedback
Queue 🚀 Checkout + implementation queued
After CI If the build fails, the build-failure improvement loop runs with its own iteration counter

@CodeLogicAI
Copy link
Copy Markdown

🚀 Starting AI improvement iteration...

Applying the latest human review feedback to this PR.

Removed Linq2DBSettings and ConnectionStringSettings classes as they are
no longer used after migrating to the DataOptions builder pattern in
linq2db v6.

These classes were part of the legacy ILinqToDBSettings configuration
approach which has been replaced by the modern DataOptions pattern in
Benchmarks.Linq2DB.cs.

Changes:
- Deleted benchmarks/Dapper.Tests.Performance/Linq2DB/Linq2DbSettings.cs
- Deleted benchmarks/Dapper.Tests.Performance/Linq2DB/ConnectionStringSettings.cs

This cleanup removes unnecessary code and simplifies the codebase.
@CodeLogicAI
Copy link
Copy Markdown

✅ AI Library Upgrade Workflow Complete

Workflow Status

Step Status
DETECT_DEPENDENCIES ✅ SUCCESS
SPECIALIZED_SCAN ❌ FAILED
DIFF_COMPLETE ✅ SUCCESS
TICKET_GENERATION ❌ FAILED
TICKET_IMPLEMENTATION ✅ SUCCESS
PUSH_CHANGES ✅ SUCCESS

Result: Changes Successfully Implemented

✅ The AI has successfully implemented the library upgrade changes and pushed them to this PR.

Summary:

  • Comparison Job: 0f9fcc5e-dca6-4a49-8b4c-a7ace11c15b5
  • Diff MVD: 73ff82a5-4044-4db5-b27a-032bd07a9f7c
  • Status: Commits pushed successfully

Please review the changes and ensure they meet your requirements.


Generated by CodeLogic AI Library Upgrade

@garrmark garrmark closed this Apr 14, 2026
@renovate
Copy link
Copy Markdown
Author

renovate Bot commented Apr 14, 2026

Renovate Ignore Notification

Because you closed this PR without merging, Renovate will ignore this update. You will not get PRs for any future 6.x releases. But if you manually upgrade to 6.x then Renovate will re-enable minor and patch updates automatically.

If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR.

@renovate renovate Bot deleted the renovate/linq2db.sqlserver-6.x branch April 14, 2026 17:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants