Why keep a Strapi 5 project on current minor and patch releases
A self-hosted Strapi 5 project that has fallen several releases behind is the situation this section addresses, and the safe way to catch up is to move in small, tested steps with the upgrade tool rather than jumping straight to the newest build. Strapi 5 minor releases have shipped roughly weekly, for example v5.56.0 on September 30, v5.57.0 on October 7 and v5.58.0 on October 14, 2026, so a project that skips a few weeks can already be several minors behind. Each minor may carry dependency changes, codemods or fixes that matter to your code, so the gap grows harder to review the longer it stays open. Patch releases fix issues inside the same minor line, while a specific-version target lets you stop at a release you have tested, such as a version your plugins are known to support.
Decide which target you want before you run anything. A minor target moves you to the newest release within your current major, a patch target keeps the minor line fixed and applies only fixes, and a specific-version target pins an exact release. Confirm the current release notes on the Strapi GitHub releases page for every version between your current build and the target, and record which ones contain codemod changes or dependency updates. Check the Node.js version and database versions you run against the supported list in the installation requirements before you start, because a minor upgrade can fail on an unsupported runtime just as a major one can.
Projects still on Strapi 4 follow a different path. Strapi v4 reached end of life on April 30, 2026, and its final release, 4.26.2 of June 9, 2026, will receive no further updates, so a v4 project should move to Strapi 5 through the major migration rather than by continuing minor upgrades within v4. Confirm with your team which major version each environment runs, because staging and production often drift apart. Whatever target you choose, take a database backup and test the upgrade on a copy before production, since Strapi's migration guidance notes that downgrading is not supported.
What changes across Strapi 5 releases and what each change asks of your team
This table lists the changes that matter for routine Strapi 5 minor and patch upgrades, what each one affects, and what your team should do. Rows marked as v4 to v5 only apply when you are still moving from v4. Read the release notes for each version you pass through, because new changes ship often and this list will not cover all of them.
| Change | Impact | Action needed |
|---|---|---|
| Upgrade tool and codemods | Codemods are built for the v4 to v5 move and can rewrite code, so they are not the main tool for minor or patch steps | Run the upgrade tool only when the release notes call for it, and review every file it changes in version control |
| Data migration scripts on first start | Scripts run when Strapi 5 starts and can change database structure, so a restart can alter data | Test the upgrade on a copy of production data and confirm the scripts finish before you release to production |
| Breaking changes list | Each release can change behavior that is not covered by the codemods | Read the breaking changes list and the notes for each release between your current and target version |
| Document Service API and response format | Core changes from v4 apply to any project that still uses the Entity Service or v4 response shapes (v4 to v5 only) | Check custom code and front ends for Entity Service calls and v4 response assumptions before the switch |
| Strapi-Response-Format: v4 header | Temporary compatibility header for v4 response shapes during the switch (v4 to v5 only) | Remove the header once each client reads the Strapi 5 response format |
| Supported database versions | PostgreSQL 14 or later, MySQL 8.0 or later, MariaDB 10.3 or later, SQLite 3; MongoDB and other NoSQL databases are not supported | Confirm your database version before upgrading and schedule any database upgrade as a separate, tested step |
| Supported Node.js LTS releases | Strapi 5 runs only on Active or Maintenance LTS Node.js versions | Check the Node.js version in each target release and update your build and runtime images together |
| No downgrade path | The docs say downgrading is not supported, so a failed upgrade cannot be reversed by reinstalling the old version | Back up the database and code before every upgrade and rehearse the restore on a copy |
How the upgrade tool and codemods handle each target version
The Strapi upgrade tool is the first thing to understand before you choose a target. Its codemods rewrite source code that follows documented patterns, such as renamed imports, changed function signatures and configuration keys that moved between releases. They run against your project files and leave a change set behind, which is why the tool is a starting point for the work rather than the whole of it. Codemods cannot reliably rewrite custom plugin code, custom admin panel code, bespoke database queries, raw SQL, or logic that calls internal APIs Strapi has since changed. Those areas need a developer to read the release notes for each version you pass through and test the affected behavior by hand. Before you run anything, confirm the exact tool command, its flags and how it accepts a target version against the official migration docs and the release notes for your destination, because these details change between releases and this page does not state them.
Targeting works at three levels. A minor target moves you across the latest release in a Strapi 5 minor line, a patch target applies only the fix releases within that line, and a specific-version target pins the project to one release you have chosen to test against. Pick the level that matches your risk tolerance and your test capacity. Minor releases have shipped roughly weekly in recent months, for example v5.56.0 on September 30 and v5.57.0 on October 7, 2026, so a project that lags by several releases will cross several sets of notes at once. Choosing a specific version lets you stop at a known-good point and test before moving on, which is useful when a release touches an area your project relies on. Record the chosen target and the reason in your change log so the next engineer knows why the project sits where it does.
Review every codemod diff in version control rather than accepting it blindly. Commit the upgrade on its own branch, run the tool, and read the diff file by file, paying attention to changes in package.json, lockfiles, configuration files and anything under your src directory that you wrote yourself. A tool change that looks harmless can alter behavior in a plugin or a custom controller that the tool cannot see. Keep the diff reviewable by avoiding unrelated edits in the same commit, and have a second engineer review the changes to custom code. Version control also gives you a clean path back to the pre-upgrade state if a test fails, which matters because downgrading a Strapi database is not supported, so code rollback alone does not restore data. Pair each reviewed commit with the test steps you ran against that release.
What to prepare before the first routine upgrade
Routine Strapi 5 upgrades are small, but they are only safe when the project can be restored and tested. The items below set that up before the first minor or patch target is applied, and they should be repeated whenever the team changes the target version.
Verified database backup
Take a full database backup before any upgrade step, and confirm that it restores to a separate instance. Strapi's migration documentation says to back up the database first because downgrading is not supported, so this backup is the only route back. Record where it is stored, who can restore it, and how long a restore takes in your environment. Keep the backup for the whole upgrade window, not just until the command finishes.
Migration FAQInventory of custom code
List every custom plugin, admin panel customization, lifecycle hook, upload provider and API consumer. Each one can break on a Strapi release in a different way, so the inventory tells the team which tests to write and which owners to notify. Include the front ends, scripts and integrations that call the REST or GraphQL APIs, because their response expectations matter as much as the server code.
Production-like test environment
Build a staging environment with the same Strapi version, database engine, plugins and environment variables as production, loaded with a recent copy of the production database. Run every upgrade there first and time the steps. A test run on empty seed data will not reveal problems in existing content, media references or locales, so the copy should be representative.
Pinned Node.js and database versions
Check the Node.js version against the Active or Maintenance LTS list and the database version against Strapi's supported list before each target. Strapi 5 supports PostgreSQL 14 or later, MySQL 8.0 or later, MariaDB 10.3 or later and SQLite 3, and it does not support MongoDB or other NoSQL databases. Pin these versions in your build and container images so a host update does not change the runtime during an upgrade.
Installation requirementsWritten version and target record
Record the current Strapi version, the lockfile state, and each planned target version with its release date and intended test steps. Releases of Strapi 5 minor versions have shipped roughly weekly, so a project can fall several releases behind quickly. A short written plan lets the team see which releases were skipped, review each release's notes in order, and show auditors or reviewers what changed and when.
- Minor release cadence
- Roughly weekly
Choosing between a minor, a patch and a specific-version target
Track the latest minor within the current major when the project should keep the newest Strapi 5 features and your team can absorb frequent change. Strapi 5 minor releases have shipped roughly weekly, for example v5.56.0 on September 30 and v5.57.0 on October 7, 2026, so a project on this target moves often. Each minor can change APIs, admin behavior or dependencies, and the release notes describe those changes.
- Good fit: teams with a staging environment, automated tests and an owner who reads each release before it reaches production.
- Main risk: frequent change means more chances for a regression to slip through between reviews.
- Testing: run the upgrade tool on a copy of the production database, then the full test suite, admin login, content editing and every custom route.
- Plugin check: confirm that each community and custom plugin supports the target minor before updating.
- Reproducibility: pin the exact version in the lockfile so builds stay repeatable.
Check the release notes for every minor between your current version and the target before you merge the change.
Patch-only updates keep the minor version fixed and apply bug and security fixes. This fits production systems where change control approves a narrow set of modifications and a new minor needs its own review. The trade-off is that the project falls behind on features and must eventually take a larger step, so the backlog of skipped minors needs an owner.
- Good fit: change-controlled production systems where each new minor requires a separate approval.
- Main risk: a patch can still change behavior that a team depends on, and a long gap before a later minor makes that step larger.
- Testing: run the regression suite and smoke tests on staging, with extra attention to authentication, permissions and uploads.
- Cadence: agree a window for applying patches so security fixes reach production within a period your policy sets.
- Backlog: list the minors you have skipped and the release notes each one carries, so the eventual move to a newer minor is scheduled and reviewed.
Confirm with your change board which release categories need approval so that patch handling does not stall while waiting for sign-off.
A specific-version target pins Strapi to the release that a plugin, provider or runtime has been verified against. It fits when a critical integration has not yet been tested on the newest release. The pin is a deliberate decision, but it becomes technical debt that needs a named owner and a review date.
- Good fit: a required plugin or provider documents support only for a particular Strapi version.
- Main risk: a pinned version may miss security fixes in later releases, and the gap grows with every week the pin stays in place given the release pace.
- Testing: test the pinned target with every plugin installed together, including the lockfile and the built admin bundle.
- Runtime check: confirm that the Node.js version sits on an Active or Maintenance LTS line, which Strapi 5 requires.
- Exit condition: record what releases the pin, such as a plugin release, and schedule the review date in your backlog.
Ask the plugin maintainer in writing which Strapi versions they test against before you choose this target.
The upgrade sequence for each release, with checks and rollback points
This sequence moves a Strapi 5 project to a newer minor, patch or specific version in a controlled order, so each release reaches production only after a backup, a dry run and tests have passed. Every step ends with a check and a rollback point, so the team always knows what to restore if something fails.
Back up the database and record the current version
Before anything changes, the team takes a full database backup and a copy of the project code, lockfile and environment configuration, then records the current Strapi version and Node.js version in the change ticket. The team confirms the backup can be restored onto a separate instance and that uploads storage is captured too. Done means a restore test on a scratch environment has succeeded. Rollback point: this backup and the recorded code commit. Strapi does not support downgrading, so this backup is the only way back.
Run the upgrade tool as a dry run on a copy
An engineer runs the Strapi upgrade tool against a copy of the project in a separate branch or directory, without touching the live database. The dry run shows which package versions will change and which codemods would apply. Done means the run finishes without errors and the engineer has a list of proposed file changes. Rollback point: the original branch, which has not been modified.
Review codemod changes and breaking-change notes
The engineer reads every codemod change in the dry-run output and compares it against the release notes and breaking-change list for each version between the current and target release. Custom code that the codemods cannot reach, such as custom controllers, services and admin extensions, is listed for manual review. Done means each change is either accepted, edited or assigned to a named owner. Rollback point: the unmodified branch, plus the change list kept with the ticket.
Check plugin and Node.js compatibility
The team confirms that every installed plugin, including community and custom plugins, declares support for the target Strapi version, and that the Node.js version on build and runtime hosts is an Active or Maintenance LTS release supported by the target. Plugins without confirmed support are upgraded, replaced or pinned before the main change proceeds. Done means a compatibility table exists for every dependency. Rollback point: the lockfile from the backup, which pins the previous versions.
Upgrade staging and let the data migration run
The upgrade is applied on a staging environment restored from the production backup, and the first start of the new version runs Strapi's data migration scripts. The team watches the startup logs for migration errors and confirms the admin panel loads. Done means the migration completes on staging and the content types, entries and media counts match the pre-upgrade figures. Rollback point: a fresh restore of the production backup onto staging, since downgrading is not supported.
Run tests and smoke checks on REST, GraphQL and the admin panel
The team runs the automated test suite, then smoke tests against the REST and GraphQL APIs covering public reads, authenticated writes, draft and publish states, and media uploads. An editor performs a set of standard admin tasks, such as creating, publishing and reverting an entry. Any failure is fixed and the staging run is repeated from the restored backup. Done means all tests pass and the checklist is signed off. Rollback point: the staging restore, with the failing test case recorded.
Schedule the production upgrade with a go and no-go decision
The team picks a maintenance window with the content owners, confirms the production backup taken in step one is still recent and restorable, and agrees who makes the go or no-go decision and what triggers a rollback. The production upgrade then runs the same steps that passed on staging, using the same code commit. Done means the change record names the owner, the window and the restore procedure. Rollback point: the pre-upgrade production backup and the restore runbook.
Verify after deployment and keep the backup until checks pass
After production starts, the team repeats the smoke checks against live endpoints, reviews logs for errors, and confirms that scheduled jobs, webhooks and media delivery work. The pre-upgrade backup is retained until these checks pass and the stakeholders accept the release, after which the retention period follows the organization's backup policy. Done means the checks are recorded as passed and the backup is labeled with the version it protects. Rollback point: restoring the pre-upgrade database and code, which is a restore and not a Strapi downgrade.
How a release moves from backup through staging to production
The path starts with a database backup taken before anything changes, then a dry run of the upgrade tool against a copy of that database. The codemod diff is reviewed by hand, and the same upgrade runs on staging, where the data migration and the test suite must both pass before anyone signs off. Only a go decision moves the release to production. If any check fails, the restore path returns the database and code to the pre-upgrade backup, because Strapi does not support downgrading.
The per-release path from backup to production, with the restore branch for failed checks.
What makes each Strapi 5 upgrade take longer
This table lists the project factors that lengthen a Strapi 5 minor or patch upgrade and what to measure for each one. Read it before estimating, and use the check column to collect the numbers a quote should be based on. The main takeaway is that custom code and unmaintained plugins usually cost more time than the upgrade command itself.
| Driver | Effect on effort | What to check |
|---|---|---|
| Custom plugins and maintenance status | Each plugin must load and pass tests on every target release, and unmaintained plugins can block an upgrade entirely | List every plugin, its last release date, its declared Strapi 5 support and whether a fork is needed |
| Custom lifecycle hooks and Document Service calls | More hooks and direct Document Service calls mean more code to retest after each release, especially for email or sync side effects | Count lifecycle hooks, Document Service middlewares and direct API calls, and note which ones send messages or write to other systems |
| Admin panel customizations | Injected components, custom themes and bundler configuration can break when admin internals change between releases | Inventory admin extensions, webpack or Vite configuration and any imports from internal admin packages |
| S3 or other upload providers | Provider versions and options can change, so media upload and delivery need a separate test pass | Note the provider package and version, how credentials are set and whether uploads and CDN delivery are tested in staging |
| Database size and migration time on a copy | Larger databases and schema changes lengthen migration runs and make a dry run on a restored copy slower | Measure database size, restore time for a copy and how long a dry run takes on that copy |
| Front-end and API consumers | Every client that reads response shapes, documentId or the v4 compatibility header must be checked when the response format changes | Count consuming applications, mobile apps and integrations, and confirm which of them have automated tests |
| Number of environments | Each environment needs the same upgrade steps, data checks and sign-off, so effort grows with every extra environment | List development, staging, production and any preview or regional environments, and confirm which ones hold current data |
| Release gap and review of codemod output | Several releases skipped at once mean more changelogs to read and more codemod changes to review by hand | Record the current version, the target version and the release notes that apply between them |
Questions teams ask before upgrading Strapi 5 themselves or hiring help
How much does a Strapi 5 minor or patch upgrade cost?
The cost depends on the written scope, not on the version number alone. A quote from DeployOpen follows from that scope, which covers the environments involved, the number of custom plugins and admin customizations, the test suite that exists today, and how many release steps are included. Costs fall into two groups: one-time work such as the first dry run, codemod review and fixing plugin conflicts, and recurring work if you retain DeployOpen for ongoing upgrades. Ask any provider for the line items, the assumptions behind them and what is excluded. Self-hosting itself has a licensing angle: the Growth plan is listed at 45 US dollars per month including 3 users, plus 15 dollars per extra user, according to Strapi's self-hosted pricing page, and the Community Edition is free.
How long does a routine Strapi 5 upgrade take?
Duration is set by the size of the change set and the state of your tests, more than by the number of releases. A patch that touches no custom code can be checked quickly. A minor that changes a dependency your plugins rely on, or that needs a database backup and restore rehearsal, takes longer. The main drivers are the number of custom plugins and admin customizations, whether staging mirrors production data, how long a full test pass takes, and how quickly the sign-off owner can review results. Strapi releases roughly weekly, so the schedule question is really how often you rehearse. Ask for a timeline that separates dry run, fixes, testing and production cutover.
What does the client team need to provide for an upgrade?
The work needs three things from your side. First, staging access that matches production closely enough to test real content types, roles, media storage and integrations. Second, a copy of the production database that can be restored for dry runs, since Strapi's documentation says to back up the database first and that downgrading is not supported. Third, a named owner who can sign off on each release, with authority to accept known risks. Also provide access to the repository, CI pipeline, secrets handling and a list of plugins with their owners. Confirm these in writing before the scope is agreed.
Can an in-house team run Strapi 5 minor and patch upgrades without a partner?
Yes, if the team has someone comfortable with Node.js, the project's TypeScript and tests, and the database. Many teams handle patch releases internally and bring in help for minors that change plugin or admin code. The decision depends on whether you have a rehearsal environment, a repeatable checklist, reviewed codemod output and a rollback plan. Ask yourself how many people can cover an upgrade when the usual owner is away. If the answer is one person, a partner or a scheduled retainer can reduce single-person risk. DeployOpen plans, tests and documents upgrades inside your infrastructure, so your team keeps ownership of the result.
How often should a Strapi 5 project upgrade, and can releases be skipped?
Upgrade on a regular cadence that your team can test, rather than waiting for a large release. Strapi 5 minor releases have shipped roughly weekly, for example v5.56.0 on September 30 and v5.57.0 on October 7, 2026, according to Strapi's GitHub releases, so you do not need to take every one. Skipping is usually possible within a major version, but read the release notes for each skipped minor because changes can accumulate. Check the Node.js version against Strapi's supported runtime list and the database version against the supported list in the installation docs before you move.
Does Strapi Enterprise or Strapi Cloud change the upgrade work?
It can. Self-hosted Enterprise code under ee directories is governed by a separate Strapi license, so check license terms before modifying or redistributing those files. Enterprise features such as audit logs and review workflows also need testing after each upgrade. On Strapi Cloud, upgrades follow the Cloud path, which includes a backup, a local code upgrade and deployment with the Cloud CLI so the data migration runs. Cloud hosting is listed at 35 US dollars per month per project for Starter, 90 for Pro and 450 for Business, according to Strapi's Cloud pricing page. Confirm with Strapi which plan features and deployment steps apply to your contract.
What should we do if an upgrade breaks production?
Stop the rollout first, then restore from the pre-upgrade backup, because Strapi does not support an automated downgrade. Restoring means putting back both the database and the matching code version, so keep both together with a tested restore path. Use the staging environment to reproduce the failure before changing anything else. Record which release caused the problem and what the logs show. Prevention matters more than recovery: rehearse each upgrade on a recent copy of production data and keep a backup taken immediately before cutover. DeployOpen can plan the rollback path and test the restore as part of the scope.
When to stop an upgrade and restore instead of fixing forward
Stop the upgrade and restore when a failure touches data or access in a way you cannot confirm is correct within your change window. The clearest triggers are a failed data migration on first start, an administrator unable to sign in to the admin panel, API contract tests that fail on response shape or content, a plugin that is incompatible with the target version and has no fix or supported replacement, and data that differs from the pre-upgrade copy in ways nobody can explain. Fixing forward suits a failing build, a lint error or a cosmetic regression. It does not suit a database that the migration has partly rewritten, because the fix then has to be applied against data whose state you no longer fully know.
The restore path depends entirely on the backup you took before the upgrade. Strapi's migration documentation says to back up the database first because downgrading is not supported, so a Strapi 5 database that has started its migration cannot be returned to v4 or to an earlier 5.x release by reinstalling old code. Before you start each minor or patch step, confirm that the database dump is complete, restorable on a scratch host, and paired with the exact code commit and lockfile that produced the running version. Record the Strapi version, Node.js version and database version alongside it. If any of these are missing, you are no longer in a position to restore cleanly, and the decision should be to stop before the upgrade runs rather than after.
Set the stop criteria in writing before the window opens, with a named owner who can call the decision and a time limit for diagnosis. The sibling topic on rolling back a failed Strapi upgrade covers the restore sequence, including why there is no automated downgrade and how a staging environment that mirrors production reduces the chance of reaching this point. Use it as the next read when a stop decision has been made, and confirm with your database team how long a full restore takes on your hosting, since that figure should come from your own environment rather than from this page.
Deciding between an in-house routine and a fixed-scope partner
The core question is who owns the recurring work of tracking Strapi 5 releases, running the upgrade tool, reviewing codemod changes and signing off on each target version. Strapi 5 minor releases have shipped roughly weekly, with v5.57.0 on October 7, 2026 and v5.58.0 on October 14, 2026, so a project that upgrades only when something breaks will fall behind quickly. An in-house routine needs a named owner for release tracking, a person who reads each release note and plugin compatibility status, and a second person who approves the diff before it reaches production. Ask who will own each of these roles, how many hours a month that owner can spare, and what happens during holidays or staff changes.
A retainer fits the recurring part of this work. Under a retainer, a partner keeps the project on a planned cadence: tracking releases, running dry runs against a copy of the database, reviewing codemod output, checking plugins and re-running your test steps for each target. The retainer terms should state which releases are covered, whether patch and minor versions are both included, how urgent security patches are handled, and who signs off before deployment. Your own team still decides whether a release is accepted, because only your business can judge whether an editorial workflow or a content model behaves correctly.
A fixed-scope engagement fits a one-time catch-up, such as bringing a project that has drifted several minor versions back to a current 5.x release and documenting the routine afterward. DeployOpen agrees scope, deliverables and timelines in writing before work starts, so the agreement should name the starting and target versions, the plugins in use, the test steps, the handover documents and the acceptance criteria. Many teams use both: a fixed-scope catch-up first, then either an in-house routine or a retainer. Ask any partner to put the sign-off owner and the post-engagement support terms in the written scope, and confirm the quote against your own plugin list and environments.
How DeployOpen works on this
DeployOpen approaches Strapi 5 minor and patch upgrades as a planned change to a self-hosted system inside your infrastructure. We agree the scope in writing, rehearse each upgrade on a copy of your project and database, and hand over the record of what changed and what was tested.
How we scope
- Inventory your Strapi version, Node.js version, database engine and every installed plugin before quoting.
- Agree in writing which target versions, environments and release notes the engagement covers.
- Confirm which custom admin code, providers and middlewares need review at each release.
How we build
- Run the upgrade tool in dry-run mode on a copy of production and save the codemod diff.
- Review each codemod change against your custom controllers, services and content queries.
- Test plugin compatibility and the admin build, then repeat the steps for each release in the path.
How we hand over
- Deliver a per-release record listing changed files, codemod output, test results and open items.
- Document the backup, restore and rollback steps your team needs before the next upgrade.
- Walk your engineers through the test checklist so they can repeat it without us.
How we support
- Engagements are fixed-scope, with deliverables and timelines agreed in writing before work starts.
- Ongoing upgrades and continuous testing for later Strapi 5 releases are available as a retainer.
- Ask us to confirm support coverage, response expectations and retainer terms in the written quote.

