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

feat: use updated/faster JsonDiffPatch library #601

Merged
merged 4 commits into from
Sep 19, 2023
Merged

feat: use updated/faster JsonDiffPatch library #601

merged 4 commits into from
Sep 19, 2023

Conversation

robertcoltheart
Copy link
Contributor

@robertcoltheart robertcoltheart commented Sep 12, 2023

The main motivation behind this change is to remove the deprecated transitive dependency NetCoreApp 1.1 from JsonDiffPatch. This is causing validation issues in built images that are run through Aqua Trivy vulnerability scanner.

A nice side-effect is that the diff should be much faster as it uses System.Text.Json instead of Newtonsoft.

Functionally, there should be no impact as both libraries adhere to RFC 6902.

@buehler

@buehler
Copy link
Owner

buehler commented Sep 13, 2023

Hey @robertcoltheart
Thank you for the contribution! The linter has found an issue with some null-reference, but otherwise I'd be happy to merge this :-)

@robertcoltheart
Copy link
Contributor Author

robertcoltheart commented Sep 14, 2023

Sure, let me fix that issue

Edit: Done, please re-check @buehler

@buehler buehler merged commit 00d67cd into buehler:master Sep 19, 2023
7 checks passed
@robertcoltheart robertcoltheart deleted the feature/change-jsondiff-lib branch September 19, 2023 10:13
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