Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 13 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,12 +53,24 @@ public API only — no breaking change.

### Changed

- Built against `Wolfgang.Etl.Abstractions` 0.17.0 → **0.18.0**.
- Built against `Wolfgang.Etl.Abstractions` 0.17.0 → **0.18.1**.
- The doubles build their progress `Report` via the new
`Report(int, DateTimeOffset?, TimeSpan, int?)` constructor (Abstractions 0.18.1) instead of
the object-initializer form, so setting the timing/total values is safe cross-assembly on
every target framework (see Fixed).
- The doubles' `CreateProgressReport()` now surfaces the base's `StartedAt`/`Elapsed` timing
(Abstractions 0.14.0) in the `Report`, so `ItemsPerSecond` is computed for reported progress;
the extractor doubles also set `TotalItemCount` from a materialized collection source so
`PercentComplete`/`EstimatedRemaining` compute.

### Fixed

- Surfacing `Report` timing from the doubles no longer throws `MissingMethodException` on
**.NET 6 / .NET 7**. The doubles' `netstandard2.0` assembly (which those runtimes load) set the
`Report` timing via the object-initializer (`init`) form, whose `IsExternalInit` modreq did not
match the modern Abstractions assembly resolved at runtime. The doubles now use the plain
`Report` timing constructor added in Abstractions 0.18.1, which is safe across every framework.

## [0.10.1] - 2026-07-24

Maintenance release: the deferred "thorough-review" hardening tier plus the
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@

<ItemGroup>
<PackageReference Include="Microsoft.Bcl.Memory" Version="10.0.10" />
<PackageReference Include="Wolfgang.Etl.Abstractions" Version="0.18.0" />
<PackageReference Include="Wolfgang.Etl.Abstractions" Version="0.18.1" />
<PackageReference Include="System.Linq.Async" Version="7.0.1" />
<PackageReference Include="xunit.abstractions" Version="2.0.3" />
<PackageReference Include="xunit.assert" Version="2.9.3" />
Expand Down
14 changes: 5 additions & 9 deletions src/Wolfgang.Etl.TestKit/FaultyExtractor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -353,15 +353,11 @@ protected override void Dispose(bool disposing)

/// <inheritdoc/>
protected override Report CreateProgressReport() =>
new(CurrentItemCount)
{
StartedAt = StartedAt,
Elapsed = Elapsed,

// When the source is a materialized collection its size is a cheap, known
// total, so PercentComplete / EstimatedRemaining can be computed.
TotalItemCount = (_items as ICollection<T>)?.Count,
};
// When the source is a materialized collection its size is a cheap, known total, so
// PercentComplete / EstimatedRemaining can be computed. The timing constructor
// (Abstractions 0.18.1) sets these via plain parameters, avoiding the init-setter
// cross-assembly modreq mismatch that broke netstandard2.0 consumers on .NET 6/7.
new(CurrentItemCount, StartedAt, Elapsed, (_items as ICollection<T>)?.Count);



Expand Down
2 changes: 1 addition & 1 deletion src/Wolfgang.Etl.TestKit/FaultyLoader.cs
Original file line number Diff line number Diff line change
Expand Up @@ -364,7 +364,7 @@ protected override void Dispose(bool disposing)

/// <inheritdoc/>
protected override Report CreateProgressReport() =>
new(CurrentItemCount) { StartedAt = StartedAt, Elapsed = Elapsed };
new(CurrentItemCount, StartedAt, Elapsed);



Expand Down
2 changes: 1 addition & 1 deletion src/Wolfgang.Etl.TestKit/FaultyTransformer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -328,7 +328,7 @@ protected override void Dispose(bool disposing)

/// <inheritdoc/>
protected override Report CreateProgressReport() =>
new(CurrentItemCount) { StartedAt = StartedAt, Elapsed = Elapsed };
new(CurrentItemCount, StartedAt, Elapsed);



Expand Down
16 changes: 6 additions & 10 deletions src/Wolfgang.Etl.TestKit/TestExtractor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -515,16 +515,12 @@ protected override void Dispose(bool disposing)

/// <inheritdoc/>
protected override Report CreateProgressReport() =>
new(CurrentItemCount)
{
StartedAt = StartedAt,
Elapsed = Elapsed,

// When the source is a materialized collection its size is a cheap, known
// total, so PercentComplete / EstimatedRemaining can be computed. An
// enumerator- or factory-backed source has no known total (stays null).
TotalItemCount = (_enumerable as ICollection<T>)?.Count,
};
// When the source is a materialized collection its size is a cheap, known total, so
// PercentComplete / EstimatedRemaining can be computed. An enumerator- or factory-backed
// source has no known total (stays null). The timing constructor (Abstractions 0.18.1)
// sets these via plain parameters, avoiding the init-setter cross-assembly modreq
// mismatch that broke netstandard2.0 consumers running on .NET 6/7.
new(CurrentItemCount, StartedAt, Elapsed, (_enumerable as ICollection<T>)?.Count);



Expand Down
2 changes: 1 addition & 1 deletion src/Wolfgang.Etl.TestKit/TestLoader.cs
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ protected override void Dispose(bool disposing)

/// <inheritdoc/>
protected override Report CreateProgressReport() =>
new(CurrentItemCount) { StartedAt = StartedAt, Elapsed = Elapsed };
new(CurrentItemCount, StartedAt, Elapsed);



Expand Down
2 changes: 1 addition & 1 deletion src/Wolfgang.Etl.TestKit/TestTransformer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ protected override void Dispose(bool disposing)

/// <inheritdoc/>
protected override Report CreateProgressReport() =>
new(CurrentItemCount) { StartedAt = StartedAt, Elapsed = Elapsed };
new(CurrentItemCount, StartedAt, Elapsed);



Expand Down
2 changes: 1 addition & 1 deletion src/Wolfgang.Etl.TestKit/Wolfgang.Etl.TestKit.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@

<ItemGroup>
<PackageReference Include="Microsoft.Bcl.Memory" Version="10.0.10" />
<PackageReference Include="Wolfgang.Etl.Abstractions" Version="0.18.0" />
<PackageReference Include="Wolfgang.Etl.Abstractions" Version="0.18.1" />
<PackageReference Include="System.Linq.Async" Version="7.0.1" />
</ItemGroup>

Expand Down
Loading