Skip to content

Commit 55f22cc

Browse files
committed
Add CHANGELOG.
1 parent 34038de commit 55f22cc

File tree

2 files changed

+56
-2
lines changed

2 files changed

+56
-2
lines changed

CHANGELOG.md

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
# Changelog
2+
3+
## v1.0.0 - 2024-07-26
4+
5+
### Added
6+
7+
- Initial fuzz API covering various primitives:
8+
- **Labelling**
9+
- `label(str: String) -> Void`
10+
- `label_when(predicate: Bool, str: String, default: String) -> Void`
11+
12+
- **Primitives**
13+
- `constant(a: a) -> Fuzzer<a>`
14+
- `option(fuzz_a: Fuzzer<a>) -> Fuzzer<Option<a>>`
15+
- `bool() -> Fuzzer<Bool>`
16+
17+
- **Int**
18+
- `int() -> Fuzzer<Int>`
19+
- `int_at_least(min: Int) -> Fuzzer<Int>`
20+
- `int_at_most(max: Int) -> Fuzzer<Int>`
21+
- `int_between(min: Int, max: Int) -> Fuzzer<Int>`
22+
- `byte() -> Fuzzer<Int>`
23+
24+
- **ByteArray**
25+
- `bytearray() -> Fuzzer<ByteArray>`
26+
- `bytearray_fixed(len: Int) -> Fuzzer<ByteArray>`
27+
- `bytearray_between(min: Int, max: Int) -> Fuzzer<ByteArray>`
28+
29+
- **List**
30+
- `list(fuzzer: Fuzzer<a>) -> Fuzzer<List<a>>`
31+
- `list_at_least(fuzzer: Fuzzer<a>, min: Int) -> Fuzzer<List<a>>`
32+
- `list_at_most(fuzzer: Fuzzer<a>, max: Int) -> Fuzzer<List<a>>`
33+
- `list_between(fuzzer: Fuzzer<a>, min: Int, max: Int) -> Fuzzer<List<a>>`
34+
- `list_with_elem(fuzzer: Fuzzer<a>) -> Fuzzer<(List<a>, a)>`
35+
- `sublist(xs: List<a>) -> Fuzzer<List<a>>`
36+
37+
- **Set**
38+
- `set(fuzzer: Fuzzer<a>) -> Fuzzer<List<a>>`
39+
- `set_at_least(fuzzer: Fuzzer<a>, min: Int) -> Fuzzer<List<a>>`
40+
- `set_at_most(fuzzer: Fuzzer<a>, max: Int) -> Fuzzer<List<a>>`
41+
- `set_between(fuzzer: Fuzzer<a>, min: Int, max: Int) -> Fuzzer<List<a>>`
42+
- `set_with_elem(fuzzer: Fuzzer<a>) -> Fuzzer<(List<a>, a)>`
43+
- `subset(xs: List<a>) -> Fuzzer<List<a>>`
44+
45+
- **Combinators**
46+
- `one_of(xs: List<a>) -> Fuzzer<a>`
47+
- `either(left: Fuzzer<a>, right: Fuzzer<a>) -> Fuzzer<a>`
48+
- `both(left: Fuzzer<a>, right: Fuzzer<b>) -> Fuzzer<(a, b)>`
49+
- `such_that(fuzzer: Fuzzer<a>, predicate: fn(a) -> Bool) -> Fuzzer<a>`
50+
- `and_then(fuzz_a: Fuzzer<a>, f: fn(a) -> Fuzzer<b>) -> Fuzzer<b>`
51+
- `map(fuzz_a: Fuzzer<a>, f: fn(a) -> b) -> Fuzzer<b>`
52+
- `map2(fuzz_0: Fuzzer<t0>, fuzz_1: Fuzzer<t1>, f: fn(t0, t1) -> result) -> Fuzzer<result>`
53+
- `...`
54+
- `map9(..) -> Fuzzer<result>`

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
<hr />
33
<h2 align="center" style="border-bottom: none"><img style="position: relative; top: 0.25rem;" src="https://raw.githubusercontent.com/aiken-lang/branding/main/assets/icon.png" alt="Aiken" height="30" /> aiken/fuzz</h2>
44

5-
[![Licence](https://img.shields.io/github/license/aiken-lang/fuzz)](https://github.com/aiken-lang/fuzz/blob/main/LICENSE?style=for-the-badge)
6-
[![Continuous Integration](https://github.com/aiken-lang/fuzz/actions/workflows/continuous-integration.yml/badge.svg?branch=main&style=for-the-badge)](https://github.com/aiken-lang/fuzz/actions/workflows/continuous-integration.yml)
5+
[![Licence](https://img.shields.io/github/license/aiken-lang/fuzz?style=for-the-badge)](https://github.com/aiken-lang/fuzz/blob/main/LICENSE)
6+
[![Continuous Integration](https://img.shields.io/github/actions/workflow/status/aiken-lang/fuzz/continuous-integration.yml?style=for-the-badge)](https://github.com/aiken-lang/fuzz/actions/workflows/continuous-integration.yml)
77
<hr/>
88
</div>
99

0 commit comments

Comments
 (0)