View Source Changelog

This project adheres to Semantic Versioning.

v0-2-1-2023-03-19

v0.2.1 (2023-03-19)

enhancements

Enhancements

  • More consistent formatting between :semantic and :text diffs.

v0-2-0-2023-03-18

v0.2.0 (2023-03-18)

breaking

Breaking

  • Mneme now requires Elixir v1.14 or later.

enhancements-1

Enhancements

  • Adds semantic diffs which selectively highlight only meaningful changes when updating an assertion. This can be disabled with the diff: :text option; see the "Configuration" section of the Mneme module doc for more.

fixes

Fixes

  • Invalid options now cause a warning instead of crashing test process.
  • Internal errors now show an error instead of crashing test process.
  • Fix bug causing multiple identical choices to be presented in some cases where empty lists were a part of the value.

v0-1-6-2023-03-04

v0.1.6 (2023-03-04)

enhancements-2

Enhancements

  • Improved compile-time error message when auto_assert is used outside of a test block (#9).

v0-1-5-2023-02-25

v0.1.5 (2023-02-25)

enhancements-3

Enhancements

  • More consistent handling of charlists: lists of integers will now generate themselves as a pattern as well as a charlist if the list is ASCII printable (#6).

v0-1-4-2023-02-23

v0.1.4 (2023-02-23)

fixes-1

Fixes

  • Fix a bug that could cause auto_assert expressions to revert to the previous value when using Mneme.start(restart: true) (#7).

v0-1-3-2023-02-22

v0.1.3 (2023-02-22)

enhancements-4

Enhancements

  • Add a :default_pattern configuration option for auto-assertions which controls the pattern that should be selected by default when prompted.

fixes-2

Fixes

  • When converting an auto-assertion to an ExUnit assertion, select the identical pattern when the :default_pattern is :infer (set by default).

v0-1-2-2023-02-21

v0.1.2 (2023-02-21)

enhancements-5

Enhancements

  • Add a :restart option to Mneme.start/1 to restart Mneme if called multiple times.

v0-1-1-2023-02-20

v0.1.1 (2023-02-20)

enhancements-6

Enhancements

  • Dramatically reduce the performance gap between auto_assert and ExUnit's assert.

v0-1-0-2023-02-19

v0.1.0 (2023-02-19)

First release.