-
-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
[dotnet] Move devtools generator to System.Text.Json
, update to .NET 8
#15061
base: trunk
Are you sure you want to change the base?
Conversation
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
PR Code Suggestions ✨Explore these optional code suggestions:
|
User description
Thanks for contributing to Selenium!
A PR well described will help maintainers to quickly review and merge it
Before submitting your PR, please check our contributing guidelines.
Avoid large PRs, help reviewers by making them as simple and short as possible.
Description
Eliminate the
Newtonsoft.Json
dependency in our own tool, removing a dependency.Motivation and Context
Simplifies the build and modernizes the code.
Types of changes
Checklist
PR Type
Enhancement, Dependencies
Description
Migrated from
Newtonsoft.Json
toSystem.Text.Json
for serialization.Updated target framework to .NET 8 for modernization.
Removed
Newtonsoft.Json
dependency from project and build files.Refactored code to align with
System.Text.Json
conventions and APIs.Changes walkthrough 📝
14 files
Replace
Newtonsoft.Json
attributes withSystem.Text.Json
equivalentsTransition to `System.Text.Json` serialization attributes
Update serialization attributes to `System.Text.Json`
Rewrite BooleanJsonConverter for `System.Text.Json`
Replace `Newtonsoft.Json` with `System.Text.Json` in main logic
Migrate serialization attributes to `System.Text.Json`
Replace `Newtonsoft.Json` attributes with `System.Text.Json`
Update serialization attributes to `System.Text.Json`
Transition to `System.Text.Json` serialization attributes
Refactor serialization attributes for `System.Text.Json`
Replace `Newtonsoft.Json` attributes with `System.Text.Json`
Transition to `System.Text.Json` serialization attributes
Update serialization attributes to `System.Text.Json`
Add nullable annotations to project template
2 files
Remove `Newtonsoft.Json` dependency and update to .NET 8
Remove `Newtonsoft.Json` and update target framework to .NET 8