Skip to content

Comments

Upgrade deps 2026 07 01#56

Open
HappyPaul55 wants to merge 2 commits intomainfrom
upgrade-deps-2026-07-01
Open

Upgrade deps 2026 07 01#56
HappyPaul55 wants to merge 2 commits intomainfrom
upgrade-deps-2026-07-01

Conversation

@HappyPaul55
Copy link
Contributor

@HappyPaul55 HappyPaul55 commented Jan 7, 2026

This pull request updates several dependencies in the package.json file to their latest minor or patch versions. These upgrades include both runtime and development dependencies, which may bring in bug fixes, performance improvements, and new features.

Dependency updates:

  • Upgraded core dependencies: @deskpro/app-sdk, @deskpro/deskpro-ui, @sentry/react, @sentry/vite-plugin, @swc/core, @tanstack/react-query, and react-router-dom to newer versions.
  • Updated development dependencies: @types/react, jest-environment-jsdom, styled-components, typescript, and vite to newer versions. [1] [2]

Summary by Sourcery

Update application and tooling dependencies to newer minor and patch versions.

Enhancements:

  • Refresh core runtime libraries (Deskpro SDK/UI, Sentry, SWC, React Query, React Router) to the latest compatible releases for stability and improvements.

Build:

  • Upgrade TypeScript, Vite, Jest jsdom environment, styled-components, and React type definitions to newer versions to keep the build and test tooling up to date.

@HappyPaul55 HappyPaul55 requested a review from Copilot January 7, 2026 14:12
@sourcery-ai
Copy link

sourcery-ai bot commented Jan 7, 2026

Reviewer's guide (collapsed on small PRs)

Reviewer's Guide

This PR bumps several runtime and dev dependency versions in package.json (and syncs pnpm-lock.yaml) to newer minor/patch releases, with no code changes, so review should focus on compatibility, build/test health, and potential transitive impacts.

File-Level Changes

Change Details Files
Update core runtime dependencies to newer minor/patch versions
  • Bump @deskpro/app-sdk from ^6.0.6 to ^6.0.8
  • Bump @deskpro/deskpro-ui from ^8.3.1 to ^8.4.0
  • Bump @sentry/react from ^9.38.0 to ^9.47.1
  • Bump @sentry/vite-plugin from ^3.5.0 to ^3.6.1
  • Bump @swc/core from ^1.12.14 to ^1.15.8
  • Bump @tanstack/react-query from ^4.40.1 to ^4.42.0
  • Bump react-router-dom from ^6.30.1 to ^6.30.2
package.json
pnpm-lock.yaml
Update type, testing, styling, TypeScript, and build tool devDependencies
  • Bump @types/react from ^18.3.23 to ^18.3.27
  • Bump jest-environment-jsdom from ^30.0.5 to ^30.2.0
  • Bump styled-components from ^6.1.19 to ^6.2.0
  • Bump typescript from ^5.8.3 to ^5.9.3
  • Bump vite from ^6.3.6 to ^6.4.1
package.json
pnpm-lock.yaml

Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it. You can also reply to a
    review comment with @sourcery-ai issue to create an issue from it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time. You can also comment
    @sourcery-ai title on the pull request to (re-)generate the title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time exactly where you
    want it. You can also comment @sourcery-ai summary on the pull request to
    (re-)generate the summary at any time.
  • Generate reviewer's guide: Comment @sourcery-ai guide on the pull
    request to (re-)generate the reviewer's guide at any time.
  • Resolve all Sourcery comments: Comment @sourcery-ai resolve on the
    pull request to resolve all Sourcery comments. Useful if you've already
    addressed all the comments and don't want to see them anymore.
  • Dismiss all Sourcery reviews: Comment @sourcery-ai dismiss on the pull
    request to dismiss all existing Sourcery reviews. Especially useful if you
    want to start fresh with a new review - don't forget to comment
    @sourcery-ai review to trigger a new review!

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

Copy link

@sourcery-ai sourcery-ai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey - I've found 2 issues

Prompt for AI Agents
Please address the comments from this code review:

## Individual Comments

### Comment 1
<location> `package.json:51` </location>
<code_context>
     "eslint-plugin-react-hooks": "4.3.0",
     "jest": "^29.7.0",
-    "jest-environment-jsdom": "^30.0.5",
+    "jest-environment-jsdom": "^30.2.0",
     "rollup-plugin-copy": "3.4.0",
     "slugify": "^1.6.6",
</code_context>

<issue_to_address>
**issue (bug_risk):** Align jest-environment-jsdom major version with Jest core to avoid runtime/test failures.

jest-environment-jsdom is now on the 30.x line while Jest core remains on 29.x. These majors are intended to track each other, and mixing them can cause test runtime issues. Please either keep jest-environment-jsdom on 29.x or upgrade Jest (and related tooling like ts-jest) to 30.x to keep versions aligned.
</issue_to_address>

### Comment 2
<location> `package.json:56` </location>
<code_context>
-    "styled-components": "^6.1.19",
+    "styled-components": "^6.2.0",
     "ts-jest": "^27.1.5",
-    "typescript": "^5.8.3",
-    "vite": "^6.3.6"
+    "typescript": "^5.9.3",
+    "vite": "^6.4.1"
   }
</code_context>

<issue_to_address>
**issue (bug_risk):** Check ts-jest compatibility with the newer TypeScript and Jest versions.

TypeScript is being bumped to 5.9.x while ts-jest remains at 27.1.5 (originally aligned with Jest 27 and older TS versions) and Jest core is on 29.x. This combination may not be officially supported and could break compilation or test transforms. Please verify compatibility and either upgrade ts-jest to a version that supports Jest 29 + TS 5.9 or align the Jest/TS versions with a configuration that ts-jest 27 officially supports.
</issue_to_address>

Sourcery is free for open source - if you like our reviews please consider sharing them ✨
Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.

@github-actions
Copy link

github-actions bot commented Jan 7, 2026

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates multiple dependencies to their latest minor or patch versions, focusing on improving stability, performance, and security through incremental updates. All changes follow semantic versioning with no breaking major version updates.

Key changes:

  • Updates core runtime dependencies including @deskpro/app-sdk (6.0.6 → 6.0.8), @deskpro/deskpro-ui (8.3.1 → 8.4.0), and Sentry packages
  • Updates build tooling including TypeScript (5.8.3 → 5.9.3), Vite (6.3.6 → 6.4.1), and @swc/core (1.12.14 → 1.15.8)
  • Updates testing infrastructure including jest-environment-jsdom (30.0.5 → 30.2.0)

Reviewed changes

Copilot reviewed 1 out of 2 changed files in this pull request and generated no comments.

File Description
package.json Updates 14 dependency versions (7 runtime, 7 dev) with minor/patch version increments
pnpm-lock.yaml Comprehensive lockfile updates reflecting package.json changes and their transitive dependencies

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

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.

1 participant