Skip to content

v0.30.0

Choose a tag to compare

@daveshanley daveshanley released this 17 Dec 15:25
· 409 commits to main since this release

Fixing, adding, solving, doing, making.

This PR introduces v0.30 with significant enhancements to the breaking rules system, concurrency improvements in the indexing layer, and API additions for programmatic spec building. The main changes include:

  • Refactored breaking rules to be fully configurable with validation
  • Added reference support to high-level v3 types for better spec construction
  • Improved concurrency handling in rolodex file loading to prevent deadlocks
  • Updated test assertions to reflect corrected breaking change counts

Key Changes

  • Introduced configurable breaking rules system with YAML validation
  • Added CreateXRef() helper functions for Parameter, Response, RequestBody, PathItem, Header, Link, Callback, and SecurityScheme
  • Fixed circular reference deadlocks in rolodex by coordinating indexing with context tracking
  • Refactored PropertyCheck creation across 20+ files to use NewPropertyCheck helper

Docs updated:

https://pb33f.io/libopenapi/bundling/#advanced-inline-bundling
https://pb33f.io/libopenapi/modifying/#using-references
https://pb33f.io/libopenapi/what-changed/#configurable-breaking-change-rules

Fixes