·
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_latestfunction. -
Validation functions can now be
Fnclosures, not just function pointers.
Changed
-
The optional
extra_validationargument no longer needs to be specified onManagedApiConfig. Instead, first convert theManagedApiConfigto aManagedApi, then callextra_validationon the resultingManagedApi. -
ManagedApis::newis changed to accept an iterator over any kind of type that can be converted toManagedApi, includingManagedApiConfig.