Releases: eduherminio/AoCHelper
Releases · eduherminio/AoCHelper
v4.0.0
v3.1.0
New Features:
- Add
SolverConfiguration.ProblemAssemblies
to allow having the days/problems in a different project/assembly than the one where theSolver
is invoked (#181, #182) - community contribution by @codemonkey85, 🎉
Full Changelog: v3.0.0...v3.1.0
v3.0.0
v2.0.2
- 🐛 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
- Prevent crashes when certain exceptions are thrown in
Solve
methods (#139)
Full Changelog: v2.0.0...v2.0.1
v2.0.0
Breaking changes:
-
SolverConfiguration
arguments which were set tonull
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
oroptions: 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 useAction<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
v1.0.1
- Fix
Solver.Solve<T>()
andSolver.SolveLast()
(not rendering anything) - Fix
SolverConfiguration.ClearConsole
(no effect)
v1.0.0
- [Breaking change] Add async support:
ValueTask<string> Solve_1()
andValueTask<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
- Fix
Solver.FormatTime
formatting when time > 1min.
Given 61_000 ms:
- Before:
1.0167 min 1 s
- After:
1 min 1 s