Skip to content

Releases: eduherminio/AoCHelper

v4.0.0

24 Nov 13:18
Compare
Choose a tag to compare
  • Add support for .NET 9 (#209)
  • Drop support for .NET 6 and .NET 7 (#209)

Full Changelog: v3.1.0...v4.0.0

v3.1.0

30 Nov 00:20
Compare
Choose a tag to compare

New Features:

  • Add SolverConfiguration.ProblemAssemblies to allow having the days/problems in a different project/assembly than the one where the Solver is invoked (#181, #182) - community contribution by @codemonkey85, 🎉

Full Changelog: v3.0.0...v3.1.0

v3.0.0

24 Nov 23:32
Compare
Choose a tag to compare
  • Remove obsolete API methods (#175)
  • Add .NET 8 support (#174)
  • Bump Spectre.Console from 0.45.0 to 0.48.0 (#151, #178)

Full Changelog: v2.0.2...v3.0.0

v2.0.2

14 Dec 03:17
Compare
Choose a tag to compare
  • 🐛 Ensure problems are ordered correctly when namespaces include _ symbols (#141)
    Most of AoCHelper users weren't affected by this.
  • 🐛 Handle exceptions thrown in problem constructors when possible, preventing unnecessary crashes (#142)

Full Changelog: v2.0.1...v2.0.2

v2.0.1

07 Dec 19:14
Compare
Choose a tag to compare
  • Prevent crashes when certain exceptions are thrown in Solve methods (#139)

Full Changelog: v2.0.0...v2.0.1

v2.0.0

12 Nov 23:35
Compare
Choose a tag to compare

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

v1.0.2

29 Nov 12:50
Compare
Choose a tag to compare
  • 🐛 Fix autoclear issue (#89)

Full Changelog: v1.0.1...v1.0.2

v1.0.1

17 Nov 00:56
Compare
Choose a tag to compare
  • Fix Solver.Solve<T>() and Solver.SolveLast() (not rendering anything)
  • Fix SolverConfiguration.ClearConsole (no effect)

v1.0.0

16 Nov 23:20
Compare
Choose a tag to compare
  • [Breaking change] Add async support: ValueTask<string> Solve_1() and ValueTask<string> Solve_2() (migration guide in README)
  • Improve rendering by bumping Spectre.Console version and making use of new Live Display component
  • Add .NET 6 support

Full Changelog: v0.15.1...v1.0.0

v0.15.1

02 May 22:18
Compare
Choose a tag to compare
  • Fix Solver.FormatTime formatting when time > 1min.

Given 61_000 ms:

  • Before: 1.0167 min 1 s
  • After: 1 min 1 s