Skip to content

Releases: omercelikdev/mockifyr

v0.2.2 — one-line, OS-agnostic Docker run

Choose a tag to compare

@omercelikdev omercelikdev released this 09 Jul 19:11
b41e34e

A small usability patch on top of v0.2.1.

Docker — trivial first run, identical on every OS (#132)

No volume, no flags, same one line on macOS, Linux and Windows:

docker run -p 8080:8080 ghcr.io/omercelikdev/mockifyr
  • --root-dir /work is now baked into the image, so no run command needs it (a
    --postgres/--redis/--litedb flag still takes precedence).
  • Persistence is docker compose up or a named volume-v mockifyr-data:/work/mappings
    no $PWD, no \ line-continuation, no "invalid reference format" on PowerShell.
  • The $PWD bind-mount drops to an "advanced: edit stub files on your host" note with the
    per-shell path syntax.

Verified on a locally built image: the zero-arg run serves stubs + the dashboard, and a named
volume persists stubs across a container restart.

Docs

  • A complete design-system referencedocs/design-system.md. (#131)

Engine parity stays green against the Java WireMock oracle in CI.

v0.2.1 — templated jsonBody responses + Docker docs

Choose a tag to compare

@omercelikdev omercelikdev released this 09 Jul 13:13
1a893c9

Patch release fixing WireMock-export migration and Docker onboarding.

Fixes

  • Templated jsonBody responses now work (#130). A response jsonBody was serialized with an
    encoder that escaped '', which broke WireMock's single-quoted helper arguments —
    {{jsonPath request.body '$.field'}} rendered empty, and {{now format='…'}} /
    {{randomValue type='UUID'}} ignored their args. jsonBody is now serialized verbatim (Jackson-equivalent),
    so templated bodies from real WireMock exports resolve correctly. Byte-diff differential regression added.
  • Docker: stubs now load (#129). docker run/compose mounted the stub dir at /work while the
    server reads <root-dir>/mappings — so nothing loaded. Mount is now /work/mappings. Added a
    Windows/PowerShell command (the bash \ line-continuation produced invalid reference format) and a
    named-tenant loading note.

Upgrade: docker pull ghcr.io/omercelikdev/mockifyr:0.2.1 (or :latest). Full CI green incl. the
Differential (WireMock oracle) suite.

v0.2.0 — Stubs redesign + journal detail + templating docs

Choose a tag to compare

@omercelikdev omercelikdev released this 09 Jul 11:52
0e6c408

A major dashboard update. The engine stays byte-for-byte parity with WireMock
(differentially validated in CI); the only engine change is an additive serve-event
timestamp.

Stubs

  • Grouped tree — path → HTTP method → individual case, each with a colour-coded
    status-code chip. Correctly represents many stubs per URL+method. (#127)
  • Tabbed workspace — single rounded surface, resizable tree splitter, tabs
    persisted per tenant. (#125)
  • CodeMirror JSON editor for response/webhook bodies with on-field Beautify/Copy.
  • Inline tenant-delete confirm; line-art empty states across screens.

Request journal

  • Newest-first ordering + sortable "time ago" column. (#118, #119)
  • Request / Response / Callback detail drawer (headers + pretty bodies) via a new
    GET /__admin/requests/{id}. (#122)
  • Search/filter resets pagination to page 1. (#123)

Import & docs

  • Import accepts a bare JSON array (no mappings wrapper). (#128)
  • In-app Templating helpers reference — searchable, categorized — from the editor
    and ⌘K. (#120)

Full CI green: build, unit tests, and the Differential (WireMock oracle) suite.

v0.1.3 — dashboard stub create/edit fix

Choose a tag to compare

@omercelikdev omercelikdev released this 08 Jul 11:46
8de94dc

Fixes the showstopper where creating/editing a stub in the dashboard appeared to lose data and the mock "stopped working."

Fixed

  • GET /__admin/mappings now returns the full mapping, not just an id. Previously the stub list read every stub as a placeholder (ANY /), the editor seeded nothing, and re-saving overwrote the stub — so it looked like nothing was saved and the mock stopped serving. The editor now reverse-maps the full mapping so an edit never loses data; the JSON tab shows the exact source.

Also in this release

  • Webhook delay support (WireMock postServeActions delay) + headers/delay in the editor.
  • GET /__admin/tenants — the switcher surfaces tenants created via the API.
  • New tenants read as empty in sample mode; dashboard + sidebar show live counts.

Image

ghcr.io/omercelikdev/mockifyr:latest · :0.1.3linux/amd64 + linux/arm64.

docker run -p 8080:8080 -v "$PWD/mappings:/work" ghcr.io/omercelikdev/mockifyr:latest --root-dir /work

Dashboard: http://localhost:8080/__mockifyr

Verified

End-to-end against a live host: create POST /orders (201 + body + header matcher) → the list shows it → the editor seeds every field → saving keeps the mock serving POST /orders → 201 (no data loss). Full differential suite green.

v0.1.1 — multi-arch container image

Choose a tag to compare

@omercelikdev omercelikdev released this 08 Jul 06:55
f65979b

First published single-image distribution of Mockifyr — the mock engine, admin REST API, and the embedded dashboard in one container.

Image

ghcr.io/omercelikdev/mockifyr · tags 0.1.1 · 0.1 · latest
Platforms: linux/amd64 and linux/arm64 (Apple Silicon native — no emulation).

Run

# Single container
docker run -p 8080:8080 -v "$PWD/mappings:/work" \
  ghcr.io/omercelikdev/mockifyr:latest --root-dir /work

# Compose (ephemeral)
docker compose up

# Compose (durable PostgreSQL)
docker compose -f docker-compose.postgres.yml up
  • Mock surface — :8080
  • Admin API — /__admin
  • Dashboard — /__mockifyr

Verified

Admin API, dashboard, and stub matching all serve from the published image on both architectures; the Postgres compose reloads stubs from the database across a restart.