Skip to content

ci: bump github.com/wI2L/jsondiff from 0.7.1 to 0.7.2 - #767

Merged
peternose merged 1 commit into
masterfrom
dependabot/go_modules/github.com/wI2L/jsondiff-0.7.2
Nov 30, 2026
Merged

peternose merged 1 commit into
masterfrom
dependabot/go_modules/github.com/wI2L/jsondiff-0.7.2

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 30, 2026

Copy link
Copy Markdown
Contributor

Bumps github.com/wI2L/jsondiff from 0.7.1 to 0.7.2.

Release notes

Sourced from github.com/wI2L/jsondiff's releases.

v0.7.2

This release fixes correctness issues in the diff options and the JSON decoding and patch paths.

  • Factorize: moves and copies are now only used when no other operation shifts the array indexes they rely on, and are kept even when the other operations merely replace values or write inside array elements.
  • Equivalent: order-independent hashing no longer sorts (and thereby mutates) the compared arrays, counts duplicate elements correctly, tags values with their type and length to avoid collisions, and supports json.Number natively.
  • Ignores: descendants of ignored fields are preserved during rationalization.
  • MergePatch: a null target is now treated as the merge patch itself.
  • Decoder: fixed object keys and strings containing escape sequences (e.g. escaped backslashes).
  • Apply: errors from failed move and copy operations are now returned instead of being discarded.

Changelog

  • 96f1ab423de2f5c285ac71da9ab22fa208f11557 fix(factorize): keep move/copy unless other operations shift array indices
  • 81c48b9b1fb3ab7055924d82f071e4ae3922dbc5 fix: factorize moves and copies against stale array indexes
  • 334567013803e9faf268510f6a8f53139e368d0a fix: decode keys with escape sequences in findKey
  • 8b1169512f1947361b859c5381030c67115c9107 fix: tag hashed values with their type and length
  • ce0b982d3af2d0cc35524caf52769eaac984b1f4 fix: handle escaped backslashes when scanning strings
  • b46e8aa4f038a2a6631a15393a4c077c0ceb6567 fix: return errors of failed move and copy operations in apply
  • 680c270600ff0d14970821ff2ee70487e15343af docs(README): remove Go Report Card badge
  • 7166c04166ecec4a218fa3e170dcd89c01358270 docs(README): fix inaccuracies and improve clarity
  • 350339a5b5076ff9b531fd05156996e5e392bfd1 ci: checkout before setup-go to restore module cache
  • 2e79ce86f4260278da91310fb5978f1802c293af docs(README): explain why Ignores and LCS options should not be combined
  • bd3059df2786a3c1da1fdc676370eceb7bcb2f35 fix: preserve ignored descendants during rationalization
  • 75133ee9b97c9b628565350f9608e7c7ed5430eb fix: treat a null target as the merge patch itself
  • 6e9b8cb50220f1422f84f85a535e8dcf2a66d092 fix(hash): sort element digests instead of arrays
  • a1009ff3490a87be00c36f6b1a78fb82956b187a fix: hash json.Number values
  • f2d83c412db301d275e8e346f8c7efc4e6cc29bd fix: count element occurrences in Equivalent array comparison
  • f93efd5db99a0ae1bcae62cb1928bc290c237eb3 chore(ci): pin goreleaser and golangci-lint versions
  • 40a5579377f6a149a1f9fa68b322e91fd58ffe11 chore: bump minimum go version to 1.25
  • b4a02267558c1a98ad7dedc6f35ba203fe4e5d91 chore: upgrade dependencies
  • 4a121ee98f6f561989589a06bbe1c92cc78cbd77 test: add go1.27 and drop go1.24 from test matrix
  • 1d8dd605f091077055ca1b56048ed1913364f4a8 chore(ci): bump action versions
  • fc06430d2806255f23c533c7ff8c2d046a43cb3c refactor: modernize codebase

New Contributors

Full Changelog: wI2L/jsondiff@v0.7.1...v0.7.2

Commits
  • 96f1ab4 fix(factorize): keep move/copy unless other operations shift array indices
  • 81c48b9 fix: factorize moves and copies against stale array indexes
  • 3345670 fix: decode keys with escape sequences in findKey
  • 8b11695 fix: tag hashed values with their type and length
  • ce0b982 fix: handle escaped backslashes when scanning strings
  • b46e8aa fix: return errors of failed move and copy operations in apply
  • 680c270 docs(README): remove Go Report Card badge
  • 7166c04 docs(README): fix inaccuracies and improve clarity
  • 350339a ci: checkout before setup-go to restore module cache
  • 2e79ce8 docs(README): explain why Ignores and LCS options should not be combined
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [github.com/wI2L/jsondiff](https://github.com/wI2L/jsondiff) from 0.7.1 to 0.7.2.
- [Release notes](https://github.com/wI2L/jsondiff/releases)
- [Commits](wI2L/jsondiff@v0.7.1...v0.7.2)

---
updated-dependencies:
- dependency-name: github.com/wI2L/jsondiff
  dependency-version: 0.7.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file go Pull requests that update Go code labels Nov 30, 2026
@netlify

netlify Bot commented Nov 30, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for oasisprotocol-cli canceled.

Name Link
🔨 Latest commit 3382037
🔍 Latest deploy log https://app.netlify.com/projects/oasisprotocol-cli/deploys/6b0deba32d8a15f93f32ae46

@peternose
peternose merged commit e7fb627 into master Nov 30, 2026
5 checks passed
@peternose
peternose deleted the dependabot/go_modules/github.com/wI2L/jsondiff-0.7.2 branch November 30, 2026 23:37
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 go Pull requests that update Go code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant