# Changelog

This file starts at 0.7.0. For older releases, see the
[GitHub releases](https://github.com/moonrockz/expect/releases).

## 0.8.0

### Highlights

`moonrockz/expect/async_expect` now uses `moonbitlang/core/async`, which
ships with the MoonBit core library, instead of the standalone
`moonbitlang/async` package. The module no longer depends on
`moonbitlang/async`, so a module that imports `moonrockz/expect` does not
pull it in. The public API does not change.

If your own tests still use the standalone `moonbitlang/async` together with
`eventually`, use `moonbitlang/async` 0.22.10 or newer. Those versions share
their runtime with `moonbitlang/core/async`. A better fix is to move your
tests to `moonbitlang/core/async` too.

### Minimum toolchain

The minimum toolchain is MoonBit 0.10.21 (moonc `v0.10.21+06da1ed44`,
moon `0.1.20261117`). MoonBit 0.10.20 and older are no longer supported:
`moonbitlang/x` 0.5.8, which `with_source` uses, needs the
`moonbitlang/core/async/io` API of 0.10.21. CI and the release workflow use
MoonBit 1.0.0-rc1 (moonc `v1.0.0-rc1+3c0520448`, moon `0.1.20261126`).

### Changes

- #70 Pin CI and the release workflow to MoonBit 1.0.0-rc1.
- #71 Replace `moonbitlang/async` with `moonbitlang/core/async`, and upgrade
  `moonbitlang/x` from 0.5.5 to 0.5.8. `moonbitlang/x` 0.5.9 does not build
  for js, so this release does not use it.

## 0.7.0

### Highlights

This release moves the library to MoonBit 0.10.20. The public API does not
change. The source no longer uses the `view` methods of `String` and
`StringView`, which 0.10.20 deprecates. It uses `exact_view` instead.

### Minimum toolchain

The minimum toolchain is MoonBit 0.10.20 (moonc `v0.10.20+65efd5b93`,
moon `0.1.20261104`). MoonBit 0.10.18 and older are no longer supported. The
source uses the `#derive(...)` attribute, which 0.10.18 ignores, so
`moon check` and `moon test` of this module fail on those versions. CI and
the release workflow use 0.10.20 only.

### Changes

- #68 Upgrade MoonBit to 0.10.20, and pin CI and the release workflow to it.
