Update dropshot-api-manager to 0.3.0 #151
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
0.2.2->0.3.00.2.2->0.3.0Release Notes
oxidecomputer/dropshot-api-manager (dropshot-api-manager)
v0.3.0Compare Source
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.v0.2.4Compare Source
Added
ValidationContext::is_latest()returnstrueif this is the latest version of a versioned API, or if it is a lockstep API.ValidationContext::is_blessed()returnsSome(true)if a version is blessed,Some(false)if not, orNonefor non-versioned APIs.Changed
extra_validationis now compatible with versioned APIs. Use theValidationContext::is_blessedto filter out validation checks for blessed APIs as appropriate (since those APIs are immutable), andis_latestto only write out extra files for the latest version of the API.v0.2.3Compare Source
Fixed
Updated drift to 0.1.1 to enable proper handling of OpenAPI type graph cycles.
Configuration
📅 Schedule: Branch creation - "after 8pm,before 6am" in timezone America/Los_Angeles, Automerge - "after 8pm,before 6am" in timezone America/Los_Angeles.
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about these updates again.
This PR has been generated by Renovate Bot.