Skip to content

Vimanam v0.4.0

Choose a tag to compare

@github-actions github-actions released this 16 Jun 07:29
· 28 commits to main since this release
eecd31c

Fixed

  • Fatal errors are now printed to stderr regardless of the RUST_LOG setting,
    instead of being silently swallowed when logging was not enabled (#14)
  • --method-filter is now case-insensitive; methods are stored uppercase, so a
    lowercase value such as --method-filter get previously matched nothing and
    silently produced empty output (#13)
  • --service-filter is now case-insensitive, for the same reason (#19)
  • clean_for_id now collapses runs of 3+ consecutive separators into a single
    dash, so anchor IDs derived from inputs like a///b are clean (#15)
  • The ## Authentication section is now emitted in spec order and is
    deterministic across runs; security_schemes switched from HashMap to
    IndexMap, and serde_json's preserve_order feature keeps OpenAPI 2.0
    securityDefinitions in declaration order rather than alphabetical (#16)
  • The table of contents and body sections now share one endpoint ordering in
    every view, so TOC anchor links always point to the corresponding section in
    document order (#18)

Changed

  • Schema composition variant indices (allOf/oneOf/anyOf) are now 0-based
    (allOf[0], allOf[1], ...) to match JSON Pointer/jq conventions (#21)

Performance

  • $ref resolution no longer re-serializes the entire spec on every reference;
    the spec is serialized to JSON once per parse, making $ref-heavy large specs
    significantly faster (#17)

Internal

  • --group-by is no longer wrapped in a misleading Option (it always has a
    clap default), removing an unreachable fallback branch (#20)

Binaries for Linux, macOS (Intel & Apple Silicon), and Windows are attached. Also available via cargo install vimanam.