Skip to content

Conversation

@ChrisJollyAU
Copy link
Member

This pull request introduces a major version upgrade to .NET 10, Entity Framework Core 10, and related dependencies, along with several codebase improvements and bug fixes. The changes update target frameworks, package versions, and language features to align with .NET 10, and enhance compatibility and maintainability. Additionally, there are improvements to query translation, resource disposal, and code style.

.NET and Dependency Upgrades:

  • Updated the target .NET version to 10.0 in global.json, Directory.Build.props, and Dependencies.targets, and set allowPrerelease to true for SDK usage. [1] [2] [3]
  • Bumped all major dependency versions (Entity Framework Core, Microsoft.Extensions, Newtonsoft.Json, MSTest, xUnit, etc.) to their 10.x or latest equivalents in Dependencies.targets and project files. [1] [2] [3] [4]
  • Updated project versioning to 10.0.0-beta.1 in Version.props.

Project and Code Style Enhancements:

  • Set C# language version to preview to allow use of the latest language features.
  • Enabled ImplicitUsings in ODBC and OleDb projects and added explicit <Using> directives for improved code clarity and reduced boilerplate. [1] [2] [3] [4]

Query and Expression Translator Improvements:

  • Enhanced JetDateOnlyMemberTranslator and JetDateOnlyMethodTranslator to support additional DateOnly/TimeOnly members and methods, including proper SQL translation for ToDateTime and FromDateTime, with null-safety and improved handling of complex expressions. [1] [2] [3] [4] [5]
  • Added support for object type in JetConvertTranslator.
  • Changed math translation from using the INT SQL function to FIX for integer conversion.

Resource Management and Minor Fixes:

  • Overrode Dispose in JetDataReader to ensure proper disposal of wrapped resources and debug tracking.
  • Simplified transaction commit logic in JetMigrationCommandExecutor using null-conditional operator.
  • Improved error handling and type mapping in column definition generation for migrations. [1] [2] [3]

These updates collectively modernize the codebase, improve maintainability, and enable new features and better compatibility with the latest .NET ecosystem.

@ChrisJollyAU ChrisJollyAU merged commit f200f33 into CirrusRedOrg:master Dec 8, 2025
46 of 49 checks passed
@ChrisJollyAU ChrisJollyAU deleted the net10 branch December 8, 2025 13:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant