Skip to content

Releases: Arkptz/mitm2openapi

v0.8.0

30 May 22:00

Choose a tag to compare

What's Changed

  • chore: release v0.7.0 by @github-actions[bot] in #52
  • feat: add --enrichments overlay for operationId-keyed metadata by @Arkptz in #53

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

What's Changed

  • chore: release v0.7.0 by @github-actions[bot] in #52
  • feat: add --enrichments overlay for operationId-keyed metadata by @Arkptz in #53

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

v0.7.0

28 May 18:56
dc9a4f6

Choose a tag to compare

Added

  • (generate) integrate envelope detection into build()
  • (generate) integrate operationId strategy into builder
  • (cli) add envelope detection CLI flags
  • (generate) integrate tag rules strategy into builder
  • add envelope module for discriminator-based response splitting
  • (cli) add operationId and tag strategy CLI flags
  • add operation_id module with camelCase derivation and collision resolution
  • add tag_rules module with regex-based tag matching

Fixed

  • (cli) show correct value name and help text for --redact-patterns
  • (cli) stop splitting --redact-patterns on comma, fail invalid regex under --strict
  • (envelope) pin discriminator field to boolean enum:[false] in ApiError
  • (envelope) merge all error bodies in infer_api_error, not just first
  • (test) normalize CRLF in snapshot comparison, add .gitattributes eol=lf
  • (output) sort maps for deterministic YAML output

Other

  • (changelog) add bugfix entries from MEXC integration testing
  • document operationId, tags, and envelope features
  • (integration) add end-to-end test for operationId, tags, and envelope
  • add snapshot test pinning current generate output

Added

  • (generate) add --operation-id-strategy {none,path,template} flag for stable operationId generation
  • (generate) add --operation-id-overrides <path> for per-operation overrides via YAML
  • (generate) add --operation-id-template <string> for custom operationId templates
  • (generate) add --tag-strategy {legacy,none,path-segment,rules} flag
  • (generate) add --tag-rules <path> for regex-based tag assignment from YAML
  • (generate) add --tag-segment-index <N> to use a specific path segment as tag
  • (generate) add --envelope-discriminator <field> for discriminator-based response splitting
  • (generate) add --envelope-error-shape <path> for hand-supplied ApiError schema
  • (generate) add --envelope-success-component-suffix <string> (default Success)
  • (output) sort paths and component schemas alphabetically for deterministic YAML output

Fixed

  • (envelope) infer_api_error now merges all error bodies, not just the first — an outlier msg: 0 no longer overrides thousands of msg: "string" samples
  • (envelope) inferred ApiError schema now includes the discriminator field pinned with enum: [false]
  • (cli) --redact-patterns no longer splits on , — regex quantifiers like {32,} now work correctly (pass multiple patterns via repeated flags)
  • (cli) invalid --redact-patterns regex now hard-fails under --strict instead of silently skipping redaction

Found and fixed by integration testing against a 3.1 GB MEXC capture in mexc-reversed-sdk.

v0.5.2

24 Apr 23:03

Choose a tag to compare

chore: Release package mitm2openapi version 0.5.2

v0.5.1

22 Apr 22:37

Choose a tag to compare

Other

  • (bench) refresh benchmark results
  • (bench) drop small fixture tier
  • (readme) add benchmarks section linking to automated results
  • (bench) seed benchmarks.md with methodology and placeholders
  • regenerate demo.gif [skip ci]

v0.5.0

22 Apr 21:29

Choose a tag to compare

Added

  • (cli) add --strict flag to escalate warnings to errors

Other

  • (readme) document --strict flag and benchmark CI
  • (strict) verify strict mode exit codes

v0.4.1

22 Apr 21:27

Choose a tag to compare

Fixed

  • (builder) use .get() in dedup_schema_variants to satisfy indexing_slicing lint
  • (reader) warn on skipped directory entries and malformed overrides
  • (schema) union array element schemas and tighten dict heuristic

Other

  • (lint) deny clippy::indexing_slicing at crate level
  • extract is_numeric_string and is_uuid to shared module
  • (output) lazy-init regex via LazyLock
  • (error) replace guarded unwrap sites with pattern matching

v0.4.0

22 Apr 21:22

Choose a tag to compare

Added

  • feat!(builder): merge response schemas per status code
  • feat!(cli): remove unused --param-regex flag

Other

  • (readme) remove --param-regex mention from CLI reference
  • (cli) verify --param-regex is rejected as unknown argument
  • (builder) cover multi-status response aggregation
  • refactor!(error): mark Error enum as non_exhaustive
  • regenerate demo.gif [skip ci]

v0.3.0

22 Apr 21:06

Choose a tag to compare

Added

  • (report) track cap firings and parse errors in processing report
  • (cli) add --report flag for structured processing summary
  • (tnetstring) emit byte offset and error kind on parse halt

Other

  • (readme) document --report flag and parse halt diagnostics
  • (report) verify report file schema and contents
  • (tnetstring) verify parse halt diagnostics and no-resync on binary payload

v0.2.6

22 Apr 21:02

Choose a tag to compare

Fixed

  • (test) gate Unix-specific path-failure test behind cfg(unix)
  • (output) write YAML via tempfile and atomic rename

Other

  • (output) verify atomic write preserves target on failure
  • (deps) move tempfile to runtime dependencies

v0.2.5

22 Apr 21:00

Choose a tag to compare

Fixed

  • (builder) skip requests with unknown HTTP methods instead of aliasing to GET

Other

  • (builder) verify unknown method is skipped and standard methods preserved