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

Refactored so that the dependency on System.Text.Json is removed from Cucumber.Messages deployable. #241

Conversation

clrudolphi
Copy link
Contributor

🤔 What's changed?

Moved the dependency to the Specs testing project only. The Cucumber.Messages project no longer has a dependency on System.Text.Json.

⚡️ What's your motivation?

.NET implementations of Cucumber either take a dependency on an older version of the System.Text.Json library or want to avoid consuming libraries (such as this one) that hardwire such dependencies.

🏷️ What kind of change is this?

  • 🏦 Refactoring/debt/DX (improvement to code design, tooling, etc. without changing behaviour)

📋 Checklist:

  • I agree to respect and uphold the Cucumber Community Code of Conduct
  • I've changed the behaviour of the code
    • I have added/updated tests to cover my changes.
  • My change requires a change to the documentation.
    • I have updated the documentation accordingly.
  • Users should know about my change
    • I have added an entry to the "Unreleased" section of the CHANGELOG, linking to this pull request.
      < CHANGELOG already includes the refactoring of the DotNet implementation as an unreleased item. I felt an additional entry just for this was unwarranted.>

This text was originally generated from a template, then edited by hand. You can modify the template here.

…he Specs testing project only. The Cucumber.Messages project no longer has a dependency on it.
@mpkorstanje mpkorstanje merged commit 6d71a11 into cucumber:main Aug 2, 2024
26 checks passed
@mpkorstanje
Copy link
Contributor

Cheers! Looks good.

@mpkorstanje
Copy link
Contributor

mpkorstanje commented Aug 2, 2024

@clrudolphi Do you have any breaking changes in mind? If not, we can make a release.

@luke-hill I don't think you have any breaking changes in the pipeline. Is that correct?

@clrudolphi
Copy link
Contributor Author

No. No breaking changes as none of this had been previously released.

@mpkorstanje
Copy link
Contributor

No I meant, on top of the current state. I would rather not make a new major release and 5 minutes later yet another. 😄

@clrudolphi
Copy link
Contributor Author

clrudolphi commented Aug 2, 2024 via email

@mpkorstanje
Copy link
Contributor

mpkorstanje commented Aug 8, 2024

Okay. Luke would like to finish his refactoring (#233 (comment)) and then we can release.

Apologies for the hold up. Normally we can release more quickly because the project is relatively quite.

@clrudolphi clrudolphi deleted the Dotnet-RemoveDeploymentDependencyOnSystemTextJson branch September 13, 2024 13:25
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