Skip to content

Latest commit

 

History

History
70 lines (48 loc) · 1.46 KB

File metadata and controls

70 lines (48 loc) · 1.46 KB

Changelog

0.5.0 (2025-09-12)

Features

  • preload: read an input file on boot

0.4.1 (2025-05-05)

Bug Fixes

  • clippy: fixed a warning while checking status code during /mock/add

0.4.0 (2025-04-23)

⚠ BREAKING CHANGES

  • response: use a deserializable object from API to directly define mocked response Change is quite straightforward, from:
{
  "response": {"some": "content"},
  "status_code": 200
}

to:

{
  "response": {
    "body": {"some": "content"},
    "status_code": 200
  }
}

Features

  • response: handle infinite response mock Use usage_count (integer) to define how many times a mock can be used. Without this parameter it will be always available.
  • response: use a deserializable object from API to directly define mocked response

0.3.0 (2023-09-13)

Features

  • body: allow to match request based on body content
  • logs: add more logs on start/stop
  • logs: added debug logs in request matching

Bug Fixes

  • body: enforce body matching only if defined in mocks

0.2.4 (2023-08-25)

Features

  • query: added query values to request matching
  • signals: gracefully exit on ctrl-c

0.2.0 (2023-07-07)

Features

  • calls: list and count called mocks
  • headers: added headers in response
  • headers: implemented request header matching
  • identifier: remove the identifier to only match requests
  • refactor: reorganized files & routes