Skip to content

v6.8.0

Latest

Choose a tag to compare

@grahamalama grahamalama released this 02 Dec 17:42
· 6 commits to master since this release
4ec8b76

Highlights

Attachment content diffs in per-record review

When a record's attachment changes, reviewers used to see only a new hash, size and location, and had to download both files to compare them. Each changed record in the review page now has a "Compare attachment contents" section that fetches both versions and shows a diff, with a side-by-side option that can be set as the default from the toolbar. JSON attachments are pretty-printed before diffing so minified files produce a useful line diff (#4037).

Screen.Recording.2026-11-17.at.4.59.21.PM.mov

The section only appears when the admin can fetch from the attachments origin, either because it is the same origin or because the server lists it in capabilities.admin.csp_connect_src (added in Kinto/kinto#3818). Contents are compared for text-like files (by extension: .json, .csv, .ftl, .txt, .xml, .yaml and others) up to 5 MB; other files get links to open the old and new versions.

Internal

  • Record diffs are now rendered with @codemirror/merge, which replaces the hand-rolled diff view, keeps the existing look, and only renders the lines on screen (#4030)

Dependencies

  • @codemirror/merge added at 6.12.3 (#4030)
  • @testing-library/jest-dom 7.0.1 → 8.0.0 (#4047)
  • eslint 10.14.0 → 10.15.0 (#4040)
  • eslint-plugin-testing-library 7.16.2 → 7.16.3 (#4044)
  • jsdom 31.0.0 → 31.0.1 (#4042)
  • prettier 3.9.10 → 3.10.1 (#4041)
  • react-router 8.5.1 → 8.5.2 (#4046)
  • timeago.js 4.3.0 → 4.3.1 (#4045)
  • typescript-eslint 8.72.1 → 8.72.2 (#4039)
  • vite 8.3.7 → 8.3.8 (#4038)
  • vitest, @vitest/coverage-v8 5.1.0 → 5.1.1 (#4043)

Full Changelog: v6.7.1...v6.8.0