Skip to content

chore(deps): bump @ownclouders/* web packages from 12.3.2 to 12.4.1#479

Merged
LukasHirt merged 1 commit into
owncloud:mainfrom
dj4oC:chore/web-client-12.4.x-compat
Jun 25, 2026
Merged

chore(deps): bump @ownclouders/* web packages from 12.3.2 to 12.4.1#479
LukasHirt merged 1 commit into
owncloud:mainfrom
dj4oC:chore/web-client-12.4.x-compat

Conversation

@dj4oC

@dj4oC dj4oC commented Jun 25, 2026

Copy link
Copy Markdown
Contributor

Problem

@ownclouders/web-client 12.4.x makes Resource.spaceId required (it was optional in 12.3.x). Bumping the @ownclouders/* web packages to 12.4.1 — as dependabot proposes in #471 — therefore fails the repo-wide check:types job, which blocks the entire bump. (Same failure that surfaced on #460 once its lockfile briefly drifted to 12.4.1.)

Changes

  • Bump @ownclouders/web-client, web-pkg, extension-sdk, web-test-helpers, and eslint-config from ^12.3.2^12.4.1 across the workspace, with a regenerated pnpm-lock.yaml.
  • web-app-advanced-search (src/types/index.ts): SearchResource re-declared spaceId as optional, which illegally widens the now-required base property (TS2430) and left SearchResource unassignable to Resource (TS2322). It is always populated in parseSearchResponse, so it is now declared required.
  • web-app-ai-image-alt-text-sidebar (tests/unit/AltTextPanel.spec.ts): one unit-test Resource fixture omitted the now-required spaceId; added it.

Testing

All green across the workspace on 12.4.1:

  • pnpm check:types
  • pnpm lint (0 errors)
  • pnpm test:unit

Relation to #471

This carries the @ownclouders portion of dependabot #471 plus the two source fixes that bump needs to compile (they can't ship separately — the alt-text fixture change is invalid on 12.3.x and required on 12.4.x). With this merged, the remaining routine bumps in #471 (Playwright, Vue, prettier, etc.) can land cleanly.

web-client 12.4.x makes Resource.spaceId required (it was optional before).
That breaks the repo-wide check:types in two spots, fixed here:

- web-app-advanced-search: SearchResource re-declared spaceId as optional,
  which illegally widens the now-required base property (TS2430) and left
  SearchResource unassignable to Resource (TS2322). spaceId is always set in
  parseSearchResponse, so it is now declared required.
- web-app-ai-image-alt-text-sidebar: a unit-test Resource fixture omitted the
  now-required spaceId; added it.

Verified on 12.4.1: pnpm check:types, pnpm lint (0 errors), and the full
pnpm test:unit suite are green across the workspace.

Supersedes the @ownclouders portion of owncloud#471.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Signed-off-by: David Walter <david.walter@kiteworks.com>
@kw-security

kw-security commented Jun 25, 2026

Copy link
Copy Markdown

Snyk checks have passed. No issues have been found so far.

Status Scan Engine Critical High Medium Low Total (0)
Open Source Security 0 0 0 0 0 issues
Licenses 0 0 0 0 0 issues
Code Security 0 0 0 0 0 issues

💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse.

@LukasHirt LukasHirt merged commit 0614c84 into owncloud:main Jun 25, 2026
24 checks passed
@dj4oC dj4oC deleted the chore/web-client-12.4.x-compat branch June 25, 2026 11:58
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.

3 participants