Skip to content

v2.0.0

Compare
Choose a tag to compare
@eduherminio eduherminio released this 12 Nov 23:35
· 68 commits to main since this release

Breaking changes:

  • SolverConfiguration arguments which were set to null explicitly will stop compiling due to call ambiguity.

    In most cases, simply removing that argument should be enough.
    Otherwise, named arguments can be used (configuration: null or options: null) or even _ => { } / new SolverConfiguration().

  • Drop .NET 5 support.

New Features:

  • Add .NET 7 support (#131)
  • Methods that accept an instance of SolverConfiguration as argument are deprecated in favor of those ones that use Action<SolverConfiguration> configuration instead (#129).

v1:

await Solver.SolveAll(new SolverConfiguration
{
    ShowConstructorElapsedTime = true,
    ShowOverallResults = true,
    ClearConsole = false
});

Recommended v2 approach:

await Solver.SolveAll(options =>
{
    options.ShowConstructorElapsedTime = true;
    options.ShowOverallResults = true;
    options.ClearConsole = false;
});

Full Changelog: v1.0.2...v2.0.0