Skip to content

Releases: PromethixLabs/Promethix.Framework.Ado

2.1.7

Choose a tag to compare

@gentoorax gentoorax released this 12 Jul 19:20

Promethix.Framework.Ado 2.1.7

Summary

This release hardens AdoScope's runtime behavior around scope configuration, distributed transaction async flow, and misconfiguration handling. It also improves package validation coverage and release-process reliability.

Highlights

  • Fixed scope option leakage across singleton IAdoScopeFactory calls so per-scope overrides do not bleed into later scopes.
  • Enabled async flow for distributed scopes, making distributed transaction usage safer across await boundaries.
  • Added explicit failure handling for unconfigured AdoContext types instead of allowing null-state failures deeper in execution.

Fixes and Improvements

  • Fixed mutation of shared AdoScopeOptions state when creating explicit transaction or distributed scopes.
  • Added regression coverage to prove per-scope transaction overrides do not leak into later default scopes.
  • Enabled TransactionScopeAsyncFlowOption.Enabled for distributed scope execution.
  • Added regression coverage for distributed scope execution across an await.
  • Added UnconfiguredAdoContextException to fail fast when a context is instantiated without valid configuration.
  • Cleared disposed transaction references after commit, rollback, and dispose so IsInTransaction reflects actual state.
  • Expanded automated test coverage to run on net8.0-windows and net10.0-windows.
  • Disabled parallel execution across target frameworks in the test project to avoid shared integration-database interference during multi-target test runs.
  • Tightened README guidance around DI lifetime safety, supported test coverage, and platform expectations.

Compatibility

  • Targets: net48, net8.0, net10.0
  • Tested on: net8.0-windows, net10.0-windows

Breaking Changes

  • None expected for consumers.

Upgrade Notes

  • No code changes should be required for existing consumers.
  • If you use distributed transactions across async flows, this release is recommended because it corrects the TransactionScope async-flow behavior.
  • If you rely on misconfigured or implicitly unconfigured contexts failing later during execution, those cases now fail earlier with an explicit library exception.

Known Issues

  • None.

Provenance

  • NuGet package published by GitHub Actions
  • SHA256 checksum artifact attached to the GitHub Release
  • CycloneDX SBOM attached to the GitHub Release
  • Release metadata and GitHub build provenance attestation attached to the GitHub Release

2.1.7-alpha.221ce9b

2.1.7-alpha.221ce9b Pre-release
Pre-release

Choose a tag to compare

@gentoorax gentoorax released this 06 Jul 22:25

Pre-release provenance assets for 2.1.7-alpha.221ce9b

2.1.6-alpha.e0217c0

2.1.6-alpha.e0217c0 Pre-release
Pre-release

Choose a tag to compare

@gentoorax gentoorax released this 27 Jun 01:23

Pre-release provenance assets for 2.1.6-alpha.e0217c0