Update dropshot-api-manager to 0.5.2#151
Open
oxide-renovate[bot] wants to merge 1 commit intomainfrom
Open
Conversation
4fe6152 to
25ce5ca
Compare
25ce5ca to
6fa2326
Compare
f3a2e86 to
5f4bb7a
Compare
5f4bb7a to
d3b0fe4
Compare
d3b0fe4 to
0969874
Compare
089f471 to
6f6f731
Compare
6f6f731 to
401b265
Compare
401b265 to
0fd0eb8
Compare
0fd0eb8 to
660c46e
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.5.20.2.2→0.5.2Release Notes
oxidecomputer/dropshot-api-manager (dropshot-api-manager)
v0.5.2Compare Source
Changed
API manager structures are now dropped in parallel, leading to measured performance gains of up to 15%.
v0.5.1Compare Source
Fixed
Handle scenarios where the blessed version was missing from local disk. This was previously unusual and indicated a user deleting the file from disk, but the semantic compatibility support added in version 0.2.1 makes this more likely to happen in normal workflows.
v0.5.0Compare Source
Changed
Syncon top of the existing requirement to beSend. (Most validation functions are just function pointers, which are alreadySync.)v0.4.0Compare Source
Added
Support for Git stubs for versioned APIs, which enable Git's rename detection to work on blessed versions. For more information, see oxidecomputer/git-stub and RFD 634.
The API manager now handles unparseable files (e.g., those with merge conflict markers) properly. This is a fix for a pre-existing issue: in some situations, merge conflicts could have occurred with generated files. However, the issue is exacerbated by Git stub support since that causes rename detection to trigger more often.
As of this version of dropshot-api-manager, all merge conflict situations can be addressed by running
cargo xtask openapi generateor equivalent.Fixed
MERGE_HEAD. It'll use whichever ofHEADorMERGE_HEADis a descendant of the other (so it works with both first-parent and second-parent merges).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.