Skip to content

Update dependencies, image editor 1.0.0-beta.4 included - #41

Merged
skjnldsv merged 2 commits into
mainfrom
chore/update-dependencies
Sep 17, 2026
Merged

skjnldsv merged 2 commits into
mainfrom
chore/update-dependencies

Conversation

@skjnldsv

Copy link
Copy Markdown
Contributor

@nextcloud/image-editor 1.0.0-beta.4, and the lockfile refreshed for everything already in range: @nextcloud/files 4.1.0, @nextcloud/router 3.2.0, @nextcloud/vue 9.13.0, vue 3.5.43, plus a handful of dev packages.

The editor beta is the part worth knowing about. A JPEG is now written at the quality its source was written at rather than the browser's default, which on a 12 Mpx photo saved at quality 97 moves an edit from 38.1 dB PSNR and 5.41 MB to 46.0 dB and 7.42 MB. And the decode and the half-size copies the scene draws from happen in a worker now, so opening that photo on a phone-class CPU went from 6.1 s to 0.9 s with the longest blocked frame down from 5.1 s to 0.4 s.

Note

That threading change alters how the editor loads a URL source: it fetches the bytes rather than assigning them to an <img>, because the worker needs bytes to decode. The cross-origin rules are the ones the editor already applied, and anything that fails falls back to the old path. The viewer hands the editor a URL, so opens a file whose source is a plain URL in the e2e is the test that covers it, and it passes.

Majors left alone for their own PRs: vitest 5, vite 8, typescript 7, jsdom 29.

Lint, typecheck, 314 unit tests, build, the 10 kB size budget (6.8 kB gzipped) and the published-imports check all pass, along with the 12 e2e in both browsers.

👾 This pull request was assisted by Claude Code, commits carry an Assisted-by trailer.

The editor beta brings the export quality fix and the threading work:
a JPEG is written at the quality its source was written at, and the
decode and the mipmap levels happen in a worker.

Assisted-by: ClaudeCode:claude-opus-5
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
@skjnldsv skjnldsv added AI assisted status: review Waiting for reviews type: enhancement 🚀 New feature or request labels Sep 17, 2026
@skjnldsv
skjnldsv merged commit b1638a1 into main Sep 17, 2026
16 checks passed
@skjnldsv
skjnldsv deleted the chore/update-dependencies branch September 17, 2026 17:38
@codecov

codecov Bot commented Sep 17, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 87.99%. Comparing base (6cd283e) to head (abe54d7).
⚠️ Report is 3 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #41   +/-   ##
=======================================
  Coverage   87.99%   87.99%           
=======================================
  Files          36       36           
  Lines        2507     2507           
  Branches      524      524           
=======================================
  Hits         2206     2206           
  Misses        297      297           
  Partials        4        4           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@skjnldsv skjnldsv mentioned this pull request Sep 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

AI assisted status: review Waiting for reviews type: enhancement 🚀 New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant