Skip to content

dropshot-api-manager 0.3.0

Latest

Choose a tag to compare

@github-actions github-actions released this 19 Dec 01:25
· 1 commit to main since this release

Added

  • For versioned APIs, the latest blessed version is now checked for bytewise equality, not just wire compatibility. This prevents trivial changes (such as documentation changes or type renames) from accumulating invisibly.

    The previous behavior can be restored with the allow_trivial_changes_for_latest function.

  • Validation functions can now be Fn closures, not just function pointers.

Changed

  • The optional extra_validation argument no longer needs to be specified on ManagedApiConfig. Instead, first convert the ManagedApiConfig to a ManagedApi, then call extra_validation on the resulting ManagedApi.

  • ManagedApis::new is changed to accept an iterator over any kind of type that can be converted to ManagedApi, including ManagedApiConfig.