Skip to content

Commit 0a9e3a1

Browse files
shavounetclaude
andcommitted
Initial public release (v0.5.0)
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
0 parents  commit 0a9e3a1

38 files changed

Lines changed: 3986 additions & 0 deletions

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/target

CHANGELOG.md

Lines changed: 70 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,70 @@
1+
# Changelog
2+
3+
## 0.5.0 (2025-09-12)
4+
5+
### Features
6+
7+
* **preload:** read an input file on boot
8+
9+
## 0.4.1 (2025-05-05)
10+
11+
### Bug Fixes
12+
13+
* **clippy:** fixed a warning while checking status code during /mock/add
14+
15+
## 0.4.0 (2025-04-23)
16+
17+
### ⚠ BREAKING CHANGES
18+
19+
* **response:** use a deserializable object from API to directly define mocked response
20+
Change is quite straightforward, from:
21+
```json
22+
{
23+
"response": {"some": "content"},
24+
"status_code": 200
25+
}
26+
```
27+
to:
28+
```json
29+
{
30+
"response": {
31+
"body": {"some": "content"},
32+
"status_code": 200
33+
}
34+
}
35+
```
36+
37+
### Features
38+
39+
* **response:** handle infinite response mock
40+
Use `usage_count` (integer) to define how many times a mock can be used. Without this parameter it will be always available.
41+
* **response:** use a deserializable object from API to directly define mocked response
42+
43+
## 0.3.0 (2023-09-13)
44+
45+
### Features
46+
47+
* **body:** allow to match request based on body content
48+
* **logs:** add more logs on start/stop
49+
* **logs:** added debug logs in request matching
50+
51+
### Bug Fixes
52+
53+
* **body:** enforce body matching only if defined in mocks
54+
55+
## 0.2.4 (2023-08-25)
56+
57+
### Features
58+
59+
* **query:** added query values to request matching
60+
* **signals:** gracefully exit on ctrl-c
61+
62+
## 0.2.0 (2023-07-07)
63+
64+
### Features
65+
66+
* **calls:** list and count called mocks
67+
* **headers:** added headers in response
68+
* **headers:** implemented request header matching
69+
* **identifier:** remove the identifier to only match requests
70+
* **refactor:** reorganized files & routes

CONTRIBUTING.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# Contributing
2+
3+
Still under construction... but feel free to push PR that contains
4+
* unit tests inside modules
5+
* functional tests in the `tests/` folder for the external interface
6+
* examples in [readme](README.md)
7+
* use [conventional commits](https://www.conventionalcommits.org/en/v1.0.0/) for PR names (fix, feat, feat!) depending on the change level: they will be squashed using the PR name

0 commit comments

Comments
 (0)