Skip to content

chore(deps): weekly dependencies update 2026-06-03#348

Merged
CataldoMazzilli merged 1 commit into
develfrom
chore/deps-update-2026-06-03
Jun 4, 2026
Merged

chore(deps): weekly dependencies update 2026-06-03#348
CataldoMazzilli merged 1 commit into
develfrom
chore/deps-update-2026-06-03

Conversation

@CataldoMazzilli

@CataldoMazzilli CataldoMazzilli commented Jun 3, 2026

Copy link
Copy Markdown
Member

Weekly dependencies update — 2026-06-03

Bundle of runtime dependencies bumped to the latest minor/patch within the same major.

Note: @apollo/client (3.10.83.14.1) was originally part of this bundle but has been split into a dedicated PR (#349) because it requires source changes for breaking type/API changes in the 3.11–3.14 line. This PR now contains only the remaining 6 runtime dependencies, all of which build cleanly.

Updates

Package Old New Minor jump Peer Security
@zextras/carbonio-design-system 12.0.0 12.0.4 0
@zextras/carbonio-shell-ui 14.0.1 14.3.1 +3
core-js 3.45.1 3.49.0 +4
date-fns 4.1.0 4.4.0 +3
graphql 16.10.0 16.14.1 +4
react-router-dom 6.30.3 6.30.4 0

⚠️ High-risk updates

Runtime dependencies with a minor version jump ≥ 3 — check the release notes carefully.

Package Old New Minor jump Changelog
@zextras/carbonio-shell-ui 14.0.1 14.3.1 +3 private registry
core-js 3.45.1 3.49.0 +4 CHANGELOG
date-fns 4.1.0 4.4.0 +3 releases
graphql 16.10.0 16.14.1 +4 releases

🔒 Security

A known moderate advisory affects i18next-http-backend (GHSA-q89c-q3h5-w34g). It is not addressed by this PR — that package is not among the updated dependencies and has no direct minor/patch upgrade here. It should be handled separately.

Notes

  • Base branch: devel
  • Only package.json and pnpm-lock.yaml were modified.
  • All pre-commit/pre-push hooks pass (type-check, lint, reuse, test, build).

🤖 Generated by the update-deps skill (Apollo split off manually into #349).

@CataldoMazzilli CataldoMazzilli added the needs-investigation Automated PR skipped local validation label Jun 3, 2026
@CataldoMazzilli

Copy link
Copy Markdown
Member Author

Local validation was skipped (--no-verify): hook pre-commit failed. Please review carefully.

@CataldoMazzilli CataldoMazzilli force-pushed the chore/deps-update-2026-06-03 branch from 72142e0 to d8131b2 Compare June 4, 2026 07:41
@CataldoMazzilli CataldoMazzilli removed the needs-investigation Automated PR skipped local validation label Jun 4, 2026
@CataldoMazzilli

Copy link
Copy Markdown
Member Author

Rielaborata: @apollo/client (3.10.8 → 3.14.1) è stato estratto in una PR dedicata #349 perché richiedeva modifiche al sorgente per i breaking change di tipi/API della linea 3.11–3.14. Questa PR ora contiene solo i 6 runtime deps restanti, che compilano senza modifiche. Il branch è stato force-pushato e tutti gli hook (type-check, lint, reuse, test, build) passano.

Bundled minor/patch update of runtime dependencies (excluding @apollo/client,
which is handled in a dedicated PR due to breaking type changes in 3.14):

- @zextras/carbonio-design-system 12.0.0 -> 12.0.4
- @zextras/carbonio-shell-ui 14.0.1 -> 14.3.1
- core-js 3.45.1 -> 3.49.0
- date-fns 4.1.0 -> 4.4.0
- graphql 16.10.0 -> 16.14.1
- react-router-dom 6.30.3 -> 6.30.4

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@CataldoMazzilli CataldoMazzilli force-pushed the chore/deps-update-2026-06-03 branch from d8131b2 to c8fc370 Compare June 4, 2026 15:19
@sonarqube-zextras

Copy link
Copy Markdown

@CataldoMazzilli CataldoMazzilli merged commit a4a19cb into devel Jun 4, 2026
3 checks passed
CataldoMazzilli added a commit that referenced this pull request Jun 4, 2026
## Summary

Updates **`@apollo/client` `3.10.8` → `3.14.1`**.

This bump was split out of the bundled runtime-dependencies PR (#348)
because, unlike the other runtime packages, it requires source changes
to adapt to breaking type and API changes introduced across the
3.11–3.14 releases.

## Type changes

- **`cache.modify` / `Modifier<T>`** — `Modifier<T>` now returns
`DeepPartial<T>` (previously `T`), and `cache.modify` infers its
`Entity` type from the field modifiers. This broke the list-field
modifiers.
- Annotated the call sites with the explicit field shape:
`cache.modify<{ findTasks: Reference[] }>(...)` (`NewTaskBoard.tsx`,
`useTrashAction.ts`, `RemindersManager.test.tsx`).
- Narrowed the helpers in `cacheUtils.ts` from `Modifier<readonly
Reference[] | Reference>` to `Modifier<readonly Reference[]>` (the
single-`Reference` branch is invalid for a list field's return type).
- **`MockedResponse`** — now declared `MockedResponse<out TData, out
TVariables>` with `result: FetchResult<Unmasked<TData>>`. The local
`Mock` interface can no longer be widened to `Mock<Record<string,
unknown>>` (the `out` covariance can't be propagated through
`Unmasked`). Typed the test helper's `mocks` option as
`MockedResponse[]` — exactly what `MockedProvider` accepts — instead of
the local `Mock[]`.

## Deprecations

These were emitted as `console.warn` and broke the
`vitest-fail-on-console` test setup, so they had to be migrated:

- **`ApolloClient({ connectToDevTools })`** → `devtools: { enabled }`
(`apollo/index.ts`).
- **`useLazyQuery(doc, { variables })`** → variables are now passed to
the returned `execute` function instead (`RemindersManager.tsx`).

## Verification

- `pnpm type-check` ✅
- `pnpm lint` ✅ (only the 2 pre-existing
`import/no-extraneous-dependencies` warnings in `testUtils.tsx`)
- `pnpm test` ✅ — 229/229
- `pnpm build` ✅

## Changelog

Release notes: https://github.com/apollographql/apollo-client/releases
(3.11.x → 3.14.1)

---

Split from #348 (bundled runtime dependencies update).

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
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