Releases: mpizenberg/elm-test-rs
v3.0 Support for the new elm-explorations/test v2
This release upgrades elm-test-rs runners and reporters to support the new v2 of the elm-explorations/test
library. A detailed explanation of the testing library changes is available in its own changelog.
Many thanks to @Janiczek who is the main contributor for this release.
v2.0.2 bespoke error message for incompatible test lib
The main change of this release is the creation of bespoke error messages when using an incompatible version of elm testing lib elm-explorations/test
. This change is in preparation to the upcoming v2 of the testing lib.
v2.0.1 new tests listing in verbose + exercism report fixes
The main changes of this version are the following:
- Changed: When using verbose
-v
, the console output now also display a listing of all tests that run. - Fixed: The exercism output now has unique
name
for each test. - Security: Update of the regex crate due to RUSTSEC-2022-0013.
v2.0 Fixes, Security, Lamdera compatibility
The main changes of this version are the following:
- Breaking: I fixed an error in the json report output, where
testsCompleted
should have beentestCompleted
instead. It may not have been impacting many people, but it's still a breaking change, so here we go 2.0.0. - Other bug fixes: Big thanks to @jjant for fixing the
package.json
file specifying that the code generated by elm-test-rs is commonjs. - Security: Some indirect dependency had a security issue in it's usage of time (RUSTSEC-2020-0071). This never occurred with how the crate is used in elm-test-rs, but just to be sure, I removed the dependency.
- Quality of life: elm-test-rs now has better compatibility with Lamdera. This is convenient as recent versions of elm-test have an incompatibility with it due to an incompatibility between elm-json and Lamdera.
- Future-proofness: Some options have been added to smooth a potential future integration in the language server.
v1.2.2 fix debug log capture
This release introduces two changes:
- It fixes a bug in the capture of calls to
Debug.log
. Version 1.2 removed the end of line unintentionally when making things compatible with the Deno runtime. This restores the missing end of line. - It adds a delimiter between different runs when detecting changes in --watch mode. That should improve visibility of where starts the output the latest run.
v1.2.1 fix --version
🤦 I forgot to update the version in 1.2 so here we go.
v1.2 Deno, ARM, and symlink fixes
EDIT: I forgot to update the version of the program, so please use v1.2.1 instead.
This release brings two main changes.
- ARM precompiled binaries are now available for Apple M1 and Linux.
- It is possible to use Deno instead of Node for the runtime via the
--deno
CLI argument.
Also, some issues with symlinks have been fixed.
v1.1 Update of the exercism report
The only change since 1.0 is an update of the exercism report output to satisfy the latest spec.
Bug fixes for the new shiny elm-test-rs 1.0.0
The main changes since 1.0.0-beta are bug fixes!
- validate the
--fuzz
argument earlier - add multiple verbosity levels up to
-vvv
- fix the
--watch
mode, prevent duplicate events and race conditions - fix issues with paths on Windows
- fix elm not found when installed with npm on Windows
New CLI, make subcommand, and bug fixes
The main changes since 1.0.0-alpha are the following:
- The CLI is now based on another library called clap instead of pico_args. This should improve all inconsistencies in the previous handling of CLI arguments.
- The
--connectivity
flag has been replaced by a combination of two flags,--offline
and--dependencies
incompatible with each other. - A new
--elm-home
argument is available if preferred over using theELM_HOME
environment variable. - There is a new
elm-test-rs make
subcommand, if you don't need to run the tests, just check that they compile.
There are also quite a few bug fixes, which are:
- Fix some JUnit and JSON reports issues (typos and such).
- Fix
--compiler
error when using relative paths. - Fix indentation and order of the generated elm.json.