intermodal/CHANGELOG.md
Casey Rodarmor a6bf752791
Use invariant instead of unwrap and expect
Add the `Invariant` trait, which provides `Invariant::invariant` and
`Invariant::invariant_unwrap` methods, and use them instead of unwrap
and expect.

I think these methods are a bit clearer than `unwrap` and `expect`,
since they more clearly document intent, i.e. that the thing passed to
`invariant` should be a description of an invariant that should always
be true, and should provide better error messages.

Replace uses of `unwrap` and `expect` with `invariant`.

type: reform
fixes:
- https://github.com/casey/intermodal/issues/167
2020-04-18 14:41:27 -07:00

38 KiB

Changelog

UNRELEASED - 2020-04-18

v0.1.5 - 2020-04-11

v0.1.4 - 2020-04-10

v0.1.3 - 2020-04-10

v0.1.2 - 2020-04-08

v0.1.1 - 2020-04-08

v0.1.0 - 2020-04-08

v0.0.3 - 2020-04-08

v0.0.2 - 2020-04-08

v0.0.1 - 2020-04-08