Skip to content

⬆ Manually upgrade OpenTK in one batch#264

Merged
tomrijnbeek merged 4 commits intomasterfrom
opentk-4.7.1
Apr 28, 2022
Merged

⬆ Manually upgrade OpenTK in one batch#264
tomrijnbeek merged 4 commits intomasterfrom
opentk-4.7.1

Conversation

@tomrijnbeek
Copy link
Copy Markdown
Member

@tomrijnbeek tomrijnbeek commented Apr 26, 2022

✨ What's this?

This PR updates all the OpenTK dependencies in one go.

It also removes some unnecessary code that was there for .NET standard 2.1 only, which is no longer supported.

🔗 Relationships

Replaces #256 and #262

🔍 Why do we want this?

Dependabot only does single dependencies at a time. The OpenTK dependencies break if you use different versions for the different dependencies.

🏗 How is it done?

Manually updating the csproj, since even the NuGet UI doesn't like the one-by-one updating of packages.

💥 Breaking changes

Projects implicitly depending on the OpenTK version we provide will be broken.

🔬 Why not another way?

We could switch to the full OpenTK package which also pulls in OpenAL and other libraries, so we only ever have a single dependency to deal with.

🦋 Side effects

We had to also add an explicit dependency to System.Runtime.CompilerServices.Unsafe, because both OpenTK and System.Collections.Immutable depend on them, but different versions. The current setup generates a warning, but tests run fine.

💡 Review hints

N/A

@tomrijnbeek tomrijnbeek requested a review from paulcscharf April 26, 2022 15:49
@tomrijnbeek tomrijnbeek merged commit cf667e0 into master Apr 28, 2022
@tomrijnbeek tomrijnbeek deleted the opentk-4.7.1 branch April 28, 2022 15:45
@tomrijnbeek tomrijnbeek added the dependencies Pull requests that update a dependency file label Apr 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants