Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update minimum version of OpenAPIKit to 3.1.2 #439

Merged
merged 2 commits into from
Dec 8, 2023

Conversation

simonjbeaumont
Copy link
Collaborator

@simonjbeaumont simonjbeaumont commented Dec 7, 2023

Motivation

This picks up a bug fix with inferred properties. While Swift package resolution should pick this up for adopters automatically, we want to go into 1.0 with the minimum version of the dependency bumped to one that includes the fix.

Modifications

Update minimum version of OpenAPIKit to 3.1.2

Result

Requires newer OpenAPIKit with fix.

Test Plan

CI.

@czechboy0
Copy link
Contributor

This was only a bug for 3.0.3, not 3.1.0. We only run snippet tests for 3.1.0.

While I'm happy with the change, I don't think we should be testing 3.0.3 behavior in our project beyond the fact that we can load and convert it. So I'd prefer not to add that test, and just test it manually one time. Otherwise it feels like testing our dependencies.

@czechboy0
Copy link
Contributor

Oh it seems 3.1.2 also changed some diagnostics emitted by OpenAPIKit, so we'll need to update the compat suite. I suspect a few expected diagnostics will be able to be removed.

@simonjbeaumont simonjbeaumont marked this pull request as ready for review December 8, 2023 09:43
@simonjbeaumont simonjbeaumont enabled auto-merge (squash) December 8, 2023 09:44
@czechboy0
Copy link
Contributor

Landing this to unblock other PRs. Compat suite passed, which is the only thing changed here.

@czechboy0 czechboy0 disabled auto-merge December 8, 2023 11:22
@czechboy0 czechboy0 merged commit 32b4154 into apple:main Dec 8, 2023
7 of 9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants