Skip to content

Releases: Macil/aocd

v2.0.2

02 Dec 08:34
Compare
Choose a tag to compare
  • Changed aocd init YEAR to no longer require the directory it's used in to be fully empty. Now it only gives an error if the directory has any files that conflict with the files it creates. This was mainly done so that no issue would be caused if you create a git repo first in the directory before running the init command.

v2.0.1

13 Oct 00:34
Compare
Choose a tag to compare
  • Simplified template project test configuration. Now deno test can be used to run all day scripts' tests, and the "test" deno task is unnecessary. This is done by configuring the template project's deno.json to include day_*.* files as test files. Deno did not support this when the template project was originally created.

v2.0.0

11 Oct 11:07
Compare
Choose a tag to compare
  • Fixed Deno 2.0 compatibility.
  • Removed the experimental "safe-run" subcommand that ran an individual solver script with maximum sandboxing. The feature didn't fully support certain Deno features like deno.json config files.

v1.6.1

10 Jul 03:27
Compare
Choose a tag to compare

This release fixes the installable CLI script in the JSR package being broken in new installs. One of Aocd's dependencies was a pre-release version and that project released a new version with a minor incompatible change. This release fixes compatibility with that new version and pins the dependency's version to prevent the issue from happening again.

v1.6.0

28 Jun 10:11
Compare
Choose a tag to compare

Initial JSR release. New versions of the library are now published at https://jsr.io/@macil/aocd instead of at https://deno.land/x/aocd.

v1.5.2

28 Jun 07:46
Compare
Choose a tag to compare

The project template now imports the JSR package @std/assert instead of the deno.land/std URL import.

v1.5.1

01 Dec 06:36
Compare
Choose a tag to compare
  • Better error message when submitting a wrong answer to the website.

v1.5.0

01 Dec 05:21
Compare
Choose a tag to compare
  • Added "--input" argument to allow a local file to be used as input.

v1.4.3

15 Oct 05:57
Compare
Choose a tag to compare
  • Fixed a bug introduced in v1.4.2 where writing new files through the CLI's start and init commands would report an error that the file was closed twice.

v1.4.2

02 Oct 09:46
Compare
Choose a tag to compare
  • Updated the project template to no longer use now-deprecated Deno standard library "/testing/asserts.ts" import in favor of new "/assert/mod.ts" import.
  • Fixed a typo in an error message's suggested command.