Releases: salt-die/aoc_lube
Releases · salt-die/aoc_lube
Type annotations for utility functions added.
Bug Fix for UnionFind
Fixed typo in UnionFind that prevented initialization.
Add UnionFind collection.
Changes
- Require python 3.12 for generic typing.
- Add UnionFind data structure.
- Point renamed Vec2. Now a named tuple.
Fix file creation bug in fetch function.
Setup an aoc directory from the command line.
New in v1.1.0
python -m aoc_lube [-y YEAR] [-t TEMPLATE]
to setup an AoC directory from the command line.setup_dir
now accepts a code template path.- Inputs are stored in separate text files (instead of a single toml file). Fetched inputs can now be opened automatically in vs code. (Open an issue or submit a PR to open input automatically in editor X).
Version 1.0.0
1.0.0!
After a surviving last year's Advent of Code with aoc_lube
, I now consider this stable.
Changes:
- Source has been formatted and linted with
ruff
. - Dependencies are updated to newest versions.
Changes in utils
:
Deltas
class replaced withGRID_NEIGHBORHOODS
dictionary.inbounds_steps
renamed togrid_steps
.pairwise_cycle
renamedsliding_window_cycle
.
Solution template included in package files.
Also whoops.