Skip to content

v2.16.0

Latest

Choose a tag to compare

@github-actions github-actions released this 27 Nov 07:52
4c2249e

Built with harnsy — the Buggregator team runs its AI agents in harnsy.

Ships with frontend 1.44.0.

Added

  • Mock rules with conditions. A rule can require request headers and JSON body fields, so one endpoint answers differently per request: 200 for one payment token, 402 for another, 401 without the right Authorization. Each condition checks a header (name in any case) or a body field by path (card.token, items.*.sku) with equals, not_equals, exists or not_exists. All conditions must hold; otherwise the next rule is tried. Set them in the rule editor, in buggregator.yaml (mocks[].conditions), over REST or MCP. A request that no rule answered names the condition that missed. Rules without conditions work as before. Thanks @wikando-ck for the idea (#512). Docs: https://docs.buggregator.dev/config/mock-server.html (#513, #516)
  • Profiler: collapse recursion. The call graph can show one node per function instead of a node per recursion level (recursion=collapsed; the «Collapse recursion» switch in the UI). Thanks @roxblnfk! (#514)

Fixed

  • Sentry traces list: a trace's duration now covers the whole trace, other services' work included, so its preview bars fit. Thanks @roxblnfk for the diagnosis (frontend#390). (#515)

Upgrade

  • A database migration adds the conditions column to mock rules; it runs by itself at start.

What's Changed

  • fix(assist): follow the pass's address list on a live connection by @butschster in #510
  • feat(assist): mail events go to the agents as text by @butschster in #511
  • feat(mock): rules match request headers and JSON body fields by @butschster in #513
  • feat(profiler): collapse recursion in the call graph on request by @butschster in #514
  • fix(sentry): traces list spans the whole trace by @butschster in #515
  • docs(mock): name the conditions reason of near rules in mock_requests_list by @butschster in #516
  • chore: bump frontend version to 1.44.0 by @butschster in #517

Full Changelog: v2.15.0...v2.16.0