# Upgrade Dependencies: Bump, Fix and Open a PR

Source: https://maito.app/workflows/upgrade-a-dependency

Maito bumps the library on a branch, fixes what breaks, runs your tests and opens a pull request that lists every change and what to check before merging.

Bump a library, fix what breaks and open a pull request.

[Engineering](https://maito.app/workflows/team/engineering) · [Software](https://maito.app/workflows/industry/software) · When you ask · Updated October 19, 2026

Works with

-   Slack
-   Email

## How do you upgrade a dependency?

To upgrade a dependency, ask Maito in Slack which library and version. It reads the release notes, bumps it on a branch, fixes the code that breaks, runs your tests and build, then opens a pull request listing each change. It also flags requirements like a newer Node version in your CI setup.

## How it's done today

Upgrades get put off until they're painful.

## What Maito does

1.  Read the release notes
2.  Upgrade and fix breaking changes
3.  Run tests
4.  Open a PR

## Example

**Alex** (4:10 PM):

upgrade React Router to the latest version.

**Maito** (4:38 PM):

PR #918 is open: React Router 6.22 to 7.9. 187 tests pass, build is green.

What broke and how I fixed it:  
• Imports moved from react-router-dom to react-router: 4 files  
• 2 loaders used the removed json() helper and now return plain objects

6 files changed in total, plus the lockfile.

**Catch:** this version needs Node 20, and our CI workflow still runs Node 18. I changed .github/workflows/ci.yml to 20. If your deploy image is on 18, it needs the same bump before you merge.

From the release notes and the migration guide. Nothing is merged. Want me to check the deploy config for the Node version?

## How to set it up

When you ask Upgrade a dependency

Set up

Nothing to set up. Ask in Slack or by email whenever you need it.

## What it won't do

It tests what your tests cover. Behavior with no test, or problems in production only, can still appear after the upgrade.

## Questions

### Does it merge the pull request?

No. It opens the pull request and a person reviews and merges.

### What if tests fail after the upgrade?

It fixes what it can, and tells you which failures remain and why. It does not hide failing tests.

### Can it handle major version upgrades?

Yes. It reads the migration guide and changes the affected files, but a large major upgrade deserves a careful human review.

## More engineering workflows

-   [Turn a ticket into a tested pull request Hand over a well-scoped ticket and get back a pull request with tests. Engineering · When you ask Works with Linear, Jira.](https://maito.app/workflows/turn-a-ticket-into-a-tested-pull-request)
-   [Review a teammate's pull request Get a first review that catches bugs and missed cases before a person looks. Engineering · When something happens Works with Slack, Email.](https://maito.app/workflows/review-a-teammates-pull-request)
-   [Check a change for security problems Look at a change for injection, leaked secrets and missing permission checks. Engineering · When you ask Works with Slack, Email.](https://maito.app/workflows/check-a-change-for-security-problems)
-   [Write the changelog Twice a week, turn merged pull requests into a changelog people can read. Engineering · On a schedule Works with Slack, Email.](https://maito.app/workflows/write-the-changelog)
-   [Nudge stale pull requests Pull requests waiting too long get a polite reminder to the right reviewer. Engineering · On a schedule Works with Slack, Email.](https://maito.app/workflows/nudge-stale-pull-requests)
-   [File a bug from a Slack thread When a bug comes up in chat, mention Maito and it gets filed once, with details and no duplicates. Engineering · When you ask Works with Linear, Jira.](https://maito.app/workflows/file-a-bug-from-a-slack-thread)

[See all workflows](https://maito.app/workflows)

## Put your AI teammate to work.

Set it up in minutes. Start with this one, and let it earn the next one.

[Put Maito to work](https://maito.app/login?returnTo=%2Fworkflows%2Fupgrade-a-dependency)[Book a demo](mailto:support@maito.app?subject=Maito%20demo)
