Skip to content

Releases: dever-labs/mockly

v0.8.1

Choose a tag to compare

@czprz czprz released this 22 May 20:04

What's Changed

🐛 Bug Fixes

  • Docker: Fixed build failure caused by Dockerfile using golang:1.24-alpine while go.mod requires Go 1.25.

Full Changelog: v0.8.0...v0.8.1

v0.8.0

Choose a tag to compare

@czprz czprz released this 21 May 23:43

What's Changed

🚀 Features

  • Add support for multiple protocols with corresponding server implementations (MQTT, SMTP, WebSocket, gRPC)
  • Add fault injection support for various protocols
  • Enhance CORS support with new configuration options
  • Add request body size limit configuration

🐛 Bug Fixes

  • Fix response handling optimization in handleGet method
  • Fix WebSocket server race condition by using initialMocks in Start method
  • Fix fault injection to use per-protocol endpoint for HTTP

🔧 Dependency Updates

  • Bump google.golang.org/grpc from 1.80.0 → 1.81.1
  • Bump react-dom from 19.2.5 → 19.2.6
  • Bump @types/node from 25.6.0 → 25.9.0
  • Bump @tanstack/react-query from 5.100.6 → 5.100.10
  • Bump vite from 8.0.10 → 8.0.13
  • Bump eslint from 10.2.1 → 10.4.0
  • Bump globals from 17.5.0 → 17.6.0
  • Bump typescript-eslint from 8.59.1 → 8.59.3
  • Bump @vitejs/plugin-react to 6.0.2 and react-router-dom to 7.15.1

Full Changelog: v0.7.0...v0.8.0

v0.7.0

Choose a tag to compare

@czprz czprz released this 03 May 14:06

What's New

Features

  • Add TLS support for HTTP, WebSocket, TCP, and GraphQL servers (+ management API server)
  • Add race-condition protection (sync.RWMutex) to WebSocket, Redis, SMTP, TCP, and GraphQL servers

Bug Fixes

  • Fix deadlock in tlsutil TLS handshake test

Tests

  • Add concurrency and TLS integration tests for all affected servers

Dependencies

  • Bump typescript-eslint, @tanstack/react-query, and batch dependency updates

v0.6.1

Choose a tag to compare

@czprz czprz released this 26 Apr 20:25

What's New

New Presets (41 mocks total)

  • Anthropic — 7 mocks: Messages API, list models, count tokens, and error states (unauthorized, rate limit, overloaded)
  • AWS S3 — 11 mocks: list/create/head buckets, list/get/put/delete/head/copy objects, XML error states
  • PagerDuty — 13 mocks: incidents CRUD + notes, services, users, escalation policies, unauthorized error state
  • Resend — 10 mocks: send/get/update/cancel email, batch send, domains, API keys, error states

All presets are available via the Management API GET /api/presets and can be loaded with POST /api/presets/{name}/load.

v0.6.0

Choose a tag to compare

@czprz czprz released this 26 Apr 20:14
566ac62

What's New

SNMP Protocol Support (#38)

Mockly now ships a full SNMP agent mock alongside HTTP, WebSocket, gRPC, GraphQL, TCP, Redis, SMTP, and MQTT.

Features:

  • SNMPv1 / v2c / v3 agent (USM auth: MD5/SHA; priv: DES/AES)
  • GET / GETNEXT / GETBULK / SET operations
  • Outbound TRAPs — send configured trap PDUs to any target via the management API
  • Dynamic reload — add/update/delete OID mocks at runtime without restarting
  • 7 new REST endpoints under /api/mocks/snmp and /api/snmp/traps
  • Default port 1161 (change to 161 in config for the standard SNMP port)
protocols:
  snmp:
    enabled: true
    port: 1161
    community: public
    mocks:
      - id: sys-descr
        oid: 1.3.6.1.2.1.1.1.0
        type: string
        value: "Mockly Virtual Device"

See the SNMP section in the README for the full configuration reference.


Full Changelog: v0.5.1...v0.6.0

v0.5.1

Choose a tag to compare

@czprz czprz released this 17 Apr 17:05
f1d0d6c

v0.5.1

Bug Fixes & Security

  • fix(security): Bump rustls-webpki to 0.103.12 in Rust client (fixes 2 low-severity name constraint advisories)
  • fix(ci): Correct Docker UI dist path (/app/ui/dist/app/assets/dist)
  • fix(ci): Use npm install instead of npm ci for main package publish to fix lock file sync

Maintenance

  • Added cargo ecosystem to Dependabot config for Rust client tracking
  • Bumped react-dom 19.2.4 → 19.2.5
  • Bumped typescript 6.0.2 → 6.0.3
  • Bumped eslint-plugin-react-hooks 7.0.1 → 7.1.0
  • Bumped @types/node 25.5.2 → 25.6.0
  • Bumped @tanstack/react-query 5.96.2 → 5.99.0

v0.5.0

Choose a tag to compare

@czprz czprz released this 17 Apr 16:48

v0.5.0

New Features

  • Query parameter support: HTTP mocks can now match on query parameters, enabling proper OAuth endpoint mocking
  • Template rendering in response headers: {{.query.foo}} and other template variables now work in response headers (not just body)
  • KV editor in UI: New key-value editor component for managing query params on mocks

Bug Fixes

  • Fixed Docker build copying UI dist from incorrect path
  • Fixed npm publish workflow lockfile sync issue

v0.4.7

Choose a tag to compare

@czprz czprz released this 05 Apr 19:38

Fixes

  • fix(ci): strip 'v' prefix from tag when passing version to \dotnet pack\ (NuGet does not accept 'v0.x.x' version strings)

v0.4.6

Choose a tag to compare

@czprz czprz released this 05 Apr 19:37

Changes

  • feat(node): scope all npm packages under @dever-labs (@dever-labs/mockly-driver)
  • fix(docker): correct UI dist path in multi-stage build
  • fix(ci): install .NET 11 preview SDK for net11.0 target framework
  • fix(ci): replace blocked actions with inline run steps for PyPI publish
  • fix(ci): explicitly import GPG key before Maven deploy
  • chore(ci): update actions/setup-java to v5.2.0

v0.4.5

Choose a tag to compare

@czprz czprz released this 05 Apr 19:32

Bug Fixes

  • fix(docker): correct UI dist path in multi-stage build (/app/ui/dist → /app/assets/dist)
  • fix(ci): install .NET 11 preview SDK for net11.0 target framework
  • fix(ci): replace blocked actions with inline run steps for PyPI publish
  • fix(ci): explicitly import GPG key before Maven deploy
  • fix(ci): add NPM_TOKEN auth and provenance to npm publish