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

Allow usage of System.Text.Json versions greater than 7.0.0 #150

Closed
Floopy-Doo opened this issue Jan 20, 2023 · 2 comments
Closed

Allow usage of System.Text.Json versions greater than 7.0.0 #150

Floopy-Doo opened this issue Jan 20, 2023 · 2 comments
Labels
Bug Something isn't working
Milestone

Comments

@Floopy-Doo
Copy link
Contributor

Floopy-Doo commented Jan 20, 2023

Bug details

Symptoms

Unable to update to System.Text.Json 7.0.0 or later versions.

Who's affected

Anyone who wants to update to System.Text.Json 7.0.0 or later.

Root cause

A Microsoft dependency was defined as a NuGet version range instead of as a regular version number.

Original User report

I am trying to use the ServicePlatform.Connector package in our software, but due to the dependency constraints of System.Text.Json i need to use version > 7.0.0. I would rather us this packages instead of each individual sub-package (Metrics, Heartbeats, etc.) by itself.

The packages constraints for ServicePlatform.Connector forces the usage of versions 6.0.5 <= x < 7.0.0 of System.Text.Json.

I would propose to use the same constraint as NServiceBus for System.Text.Json to be in line with the core packages.

Kind regards
Florian

@DavidBoike DavidBoike changed the title Allow usage of System.Text.Json in version >7.0.0 Allow usage of System.Text.Json versions greater than 7.0.0 Jan 24, 2023
@DavidBoike
Copy link
Member

Fixed in main in #151 - thanks for the PR!

Backported to version 2.0 in #152

Will be released as 2.0.1

@DavidBoike DavidBoike added the Bug Something isn't working label Jan 24, 2023
@DavidBoike DavidBoike added this to the 2.0.1 milestone Jan 24, 2023
@DavidBoike
Copy link
Member

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants