aboutsummaryrefslogtreecommitdiffstats
path: root/CHANGELOG.md
blob: e2b404fccd51d3a6ab911e7a1e1b9183da04ff84 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
# Changelog

All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased]

### Changed

- Migrated the project from sourcehut to git.eugenetriguba.com. The module path
  is now `git.eugenetriguba.com/checkmate` instead of
  `git.sr.ht/~eugenetriguba/checkmate`.

## [0.5.0] - 2025-10-13

### Changed

- `Contains` and `NotContains` supported checking whether a string is
  a substring of another. Now, it also supports checking whether an item is
  contained within an array, slice, a key in a map, and
  pointers to any of the supported types.

## [0.4.0] - 2025-10-11

### Added

- `Contains` and `NotContains` functions for checking if a string contains a substring.

## [0.3.3] - 2025-07-18

### Changed

- Migrated the project to sourcehut.

## [0.3.2] - 2024-02-19

### Fixed

- `check.Equal` and `assert.Equal` had the expected and actual values flipped in the test failure error message.

## [0.3.1] - 2024-02-11

### Fixed

- `check.Nil` and `assert.Nil` now handle nil pointers.

## [0.3.0] - 2024-02-01

### Added

- Added `check` module. This module contains the same functions as the
  `assert` module, but they return a boolean and mark the test as failed
  instead of failing the test immediately.

- `NotErrorIs`, `NotErrorContains`, and `NotDeepEqual` functions.

### Removed

- `LenEqual`, `Assert`, and `Check` functions.

## [0.2.0] - 2024-01-28

### Changed

- Moved assertion functions to a `assert` module and removed `Assert` suffix
  from many of the functions.

## [0.1.0] - 2024-01-28

- Initial Release