Releases: Arkptz/mitm2openapi
Releases · Arkptz/mitm2openapi
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
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
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>(defaultSuccess) - (output) sort paths and component schemas alphabetically for deterministic YAML output
Fixed
- (envelope)
infer_api_errornow merges all error bodies, not just the first — an outliermsg: 0no longer overrides thousands ofmsg: "string"samples - (envelope) inferred
ApiErrorschema now includes the discriminator field pinned withenum: [false] - (cli)
--redact-patternsno longer splits on,— regex quantifiers like{32,}now work correctly (pass multiple patterns via repeated flags) - (cli) invalid
--redact-patternsregex now hard-fails under--strictinstead of silently skipping redaction
Found and fixed by integration testing against a 3.1 GB MEXC capture in mexc-reversed-sdk.
v0.5.2
chore: Release package mitm2openapi version 0.5.2
v0.5.1
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
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
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
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
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
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
Fixed
- (builder) skip requests with unknown HTTP methods instead of aliasing to GET
Other
- (builder) verify unknown method is skipped and standard methods preserved