Skip to content

Release 5.0.3

Latest

Choose a tag to compare

@github-actions github-actions released this 06 Sep 21:30
45deb1b

What's Changed

💥 Breaking Changes

  • Added the optional reuse parameter to SimpleParameterInfo and DefineParam<T>. This changes their binary signatures, so dependent applications and libraries compiled against an earlier release must be recompiled. by @mishael-o in #117
  • Replaced the dedicated .NET 9 target with .NET 10 while retaining the .NET 8 and .NET Standard targets. by @mishael-o in #117

✨ New Features

  • Added per-parameter reuse control through DefineParam(..., reuse: false), independently of the builder-level reuseParameters setting. Defined parameters continue to be reused by default. by @mishael-o in #117

🐛 Bug Fixes

  • Fixed duplicate OffsetRows and FetchNext calls appending invalid ROWS or ONLY SQL fragments. by @mishael-o in #117
  • Corrected conditional OrWhere interpolated-string handling. by @mishael-o in #117
  • Fixed package and GitHub release publishing detection by evaluating repository-relative paths from the repository root. by @mishael-o in #118

🛠 Enhancements

  • Reduced intermediate formatting allocations by writing formatted values directly to the destination SQL buffer. by @mishael-o in #117
  • Replaced mutable parameter-name tracking with immutable, builder-local parameter keys based on parameter value, runtime type, database type, size, precision, and scale. by @mishael-o in #117
  • Migrated the solution to .slnx, xUnit v3, Microsoft Testing Platform, NSubstitute, and .NET 10 tooling. by @mishael-o in #117
  • Refreshed the documentation website, parameter reuse guidance, API references, CI/CD workflows, and performance results. by @mishael-o in #117

📦 Other Changes

  • Improved documentation, updated dependencies, clarified configuration guidance, and cleaned up formatting. by @mishael-o in #113
  • Refactored unit tests to use Shouldly and removed FluentAssertions. by @mishael-o in #114
  • Restored the README acknowledgements section to link to the documentation page and removed the JetBrains acknowledgement. by @mishael-o in #119

Full Changelog: v4.2.3...v5.0.3