Skip to content

DevAnvil v1.1.0 — 13 Offline Studios, OpenAPI-to-Mock, Secret Guard & Benchmarks

Choose a tag to compare

@abd77o abd77o released this 28 Nov 19:57
· 24 commits to main since this release

Highlights in DevAnvil v1.1.0

Still 0 runtime npm dependencies ("dependencies": {}), 100% offline, and 29/29 automated tests passing.

New Studios & Features

  • OpenAPI 3.x / Swagger -> Instant Mock Server: Paste YAML or JSON specs, resolve $ref schemas safely (circular-ref guarded), and mount every endpoint live to /mock/* in one click — or run devanvil openapi spec.yaml --serve from CLI.
  • Offline Secret & .env Guard: 18 linear-time provider secret detectors + Shannon entropy scanner, 1-click safe redaction, .env vs .env.example drift checker, plus devanvil scan / devanvil env CI gates and redact_secrets pipeline op.
  • LLM Token & Context Budget Studio: Offline BPE-calibrated multi-script tokenizer (English/Arabic/CJK/code), multi-model cost & context gauges, and Smart Context Compactor (devanvil tokens).
  • Workflow Upgrades: API Studio Auth Helper Bar (Bearer / API Key / Basic), persistent local request history, Webhook Replay -> API Studio, Mock JSON Export, and 4 Pipeline Starter Recipes.

Performance & Security

  • In-memory SHA-256 ETag (304) + Gzip static UI cache.
  • Sub-millisecond core engines verified via npm run bench (279k UUIDv7/s, 60k Secret scans/s, 44k JWT verifies/s, 17k OpenAPI YAML parses/s).
  • Slowloris timeouts (headersTimeout, requestTimeout, maxHeadersCount) + strict runtime type validators returning clean 400 Bad Request.
  • Dogfood ReDoS test verifying every built-in secret rule is ReDoS-safe.
  • Hardened docker-compose.yml (read_only: true, cap_drop: ALL, no-new-privileges).