HAPI FHIR major version upgrade: what changes

Upgrading HAPI FHIR to a newer major version starts with confirming the current release, then rehearsing the documented migration guides in staging. End-of-life dates and rollback steps need confirming with the project.

On this page

What a HAPI FHIR major version upgrade involves today

A team running an older HAPI FHIR major version should confirm the current release before planning anything. The GitHub release list shows 9.0.0 as the latest stable release as of December 2026, while the project documentation displays 9.2.0, so the two sources do not agree on the target. Check the HAPI FHIR releases page on the day you plan, then record the target version in the statement of work so the scope, the test plan and the rollback point all refer to the same build. Ask your implementation partner which version they will test against, because a plan built on a superseded target is expensive to rebase.

The upgrade is documented through three guides that a team should read in order. The first is the Jakarta migration guide for the 7.0.0 release, which covers the move to the Jakarta EE namespace in the server and the libraries it depends on, so expect changes to imports and dependency coordinates. The second is the JPA upgrade guide, which you should read against your own database and any custom JPA code. The third is the Java baseline change: the 8.2.0 line requires JDK 17, so confirm the JDK on your build agents, container images and runtime hosts before you change any application code.

The project does not document end-of-life dates for these versions in the places this guide points to, so ask HAPI FHIR and its commercial steward, Smile Digital Health, for support windows in writing before you set a deadline. Both the plain server and the JPA server face this upgrade. A plain server built from resource providers over your own data store still inherits the framework changes, even though it has no database schema of its own to migrate. Treat the test environment, a dated backup of your data and a tested rollback to the previous build as separate deliverables, and decide now who signs off on each one.

Which HAPI FHIR releases are current and what each means for an upgrade

This table lists the HAPI FHIR releases that appear in the project's release and documentation sources, with publish dates and what each means for an upgrade. Read the upgrade column first: v9.0.0 is the latest stable GitHub release as of December 2026, while the other rows cover earlier lines, a server image and a Java requirement. No end-of-life date is documented here, so ask the maintainers about support status before you commit to any target.

ReleasePublishedWhat it means for the upgradeEnd of life
v9.0.02026-11-18Latest stable GitHub release as of December 2026. Read its release notes for breaking changes before you set it as the target.No end-of-life date documented here. Confirm support status with the maintainers.
Documentation version 9.2.0Confirm on the releases pageThe documentation shows 9.2.0. Confirm whether it is published before using it as a target.No end-of-life date documented here. Confirm support status with the maintainers.
v8.8.225 September 2026Later 8.x patch release. A possible interim target if you must stay on 8.x before moving to 9.x.No end-of-life date documented here. Confirm support status with the maintainers.
hapi-fhir-jpaserver-starter v8.12.0-22 October 2026Docker image for the JPA server starter project. Confirm which HAPI core version it bundles before deploying.No end-of-life date documented here. Confirm support status with the maintainers.
v8.6.02025-11-20Earlier 8.x release. Confirm the documented upgrade path from your current version before choosing it as an intermediate step.No end-of-life date documented here. Confirm support status with the maintainers.
v8.0.02025-02-20Start of the 8.x major line in this list. Review its migration notes if you are moving from 7.x.No end-of-life date documented here. Confirm support status with the maintainers.
v7.0.02024-02-13The Jakarta upgrade. Its 7.0.0 Migration Guide is the first read for code and dependencies still on javax packages.No end-of-life date documented here. Confirm support status with the maintainers.
v8.2.0Confirm on the releases pageRequires JDK 17. Check your runtime JDK before you plan a move to this release.No end-of-life date documented here. Confirm support status with the maintainers.

The documented path for a HAPI FHIR major version upgrade

The documented sequence moves a HAPI FHIR server from its current major version to a target major version, and it surfaces breaking changes before production is touched. Each step ends with a written check, so the team knows what it has confirmed and what still needs an answer from the documentation or the vendor. Treat the sequence as a starting checklist and add checks for your own environment.

  1. Confirm the target release and JPA upgrade guide

    The platform team picks the target major version from the versions documentation and the GitHub release list, then opens the JPA Upgrade Guide for that path. The documentation and the release list can show different newest versions on the same day, so the team should choose the target deliberately and record the current version, the target and every major version between them in the change ticket. Done when the team can name the target release and the JPA Upgrade Guide sections that apply to the jump, with the reading noted in the plan.

  2. Read the 7.0.0 Migration Guide

    If the jump crosses 7.0.0, the Jakarta change applies. It renames the Java EE packages the server depends on, which affects custom code, dependencies and any container configuration you run. The owner of each custom module reads the 7.0.0 Migration Guide and lists every affected class, dependency and deployment setting. Done when each custom module has a named owner and a change log entry, or the team records in writing that the upgrade path does not cross this change.

  3. Confirm the Java runtime for the target

    The HAPI FHIR documentation states that version 8.2.0 requires JDK 17. That figure does not settle the requirement for your target, so the team confirms the runtime the target release documents in the versions documentation. Platform engineering then checks the JDK version on build agents, the container base image and the production hosts against that requirement. Done when all three locations run a JDK version the target release documents, and the plan records the version and the source.

  4. Check for required intermediate major versions

    The team needs to decide whether the documentation requires a stepwise path through intermediate major versions before the target. The sources behind this section do not settle that question, so the reader must confirm it with the HAPI FHIR documentation and release notes. If you hold a commercial support agreement with Smile CDR, ask the support team as well. Done when the team has written down the answer and its source, and the plan lists each intermediate version if one is required.

  5. Review schema changes and migration tooling

    The JPA Upgrade Guide describes the database schema changes between the versions on your path. The database owner identifies the migration tool the guide names and confirms whether schema changes run automatically or need a separate manual step that someone schedules. Run the review against a copy of the production schema so the team sees the real change set. Done when the team holds a written list of schema changes per version step, the tool name as stated in the guide and the trigger for each change.

  6. Check the starter image tag and configuration

    If you run the hapi-fhir-jpaserver-starter image, confirm that the image tag matches the target release chosen in the first step. The tag format includes a build suffix, as in the v8.12.0-2 image published on 2 October 2026, so compare the full tag rather than the version number alone. Compare your configuration file and environment variables against the settings the target release documents. Done when the deployment manifest shows the intended tag and the owner has reviewed and signed off the configuration differences.

  7. Rehearse the full sequence in staging

    Run the whole sequence in a staging environment that matches production in version, database engine and configuration. Upgrade the server, apply the schema changes, run your FHIR regression tests and confirm that a restored backup loads on the upgraded server. Record how long each step took, every error and each fix, because that log becomes the production runbook. Done when staging passes the test suite and the team has confirmed a rollback path, such as a restore from backup or a redeploy of the prior image, before the production change window is booked.

Which breaking changes a HAPI FHIR major version upgrade brings

Four areas account for most of the code, build and configuration changes teams meet when they move to a new HAPI FHIR major version. Each card names one area, who is affected and what to confirm. The project's guides hold the complete list of breaking changes, so read them against your own code before you plan the upgrade.

Jakarta namespace migration

HAPI FHIR 7.0.0 moved the project to the Jakarta namespace, replacing the older Java EE package names. Custom interceptors, search filters and libraries that import the old namespace usually need changes before they compile or load. Teams with custom server code, or with dependencies still tied to the older Java EE APIs, are affected. Open the 7.0.0 Migration Guide and confirm the exact package changes against every import in your own code and dependency tree before you schedule the upgrade.

HAPI FHIR versions

Java runtime baseline

HAPI FHIR 8.2.0 requires JDK 17, so a move to that line raises the Java floor for everything that builds or runs the server. Build pipelines that compile with an older JDK, container base images that ship one, and runtime hosts with a fixed JVM will fail to build or start the server. Check the compiler target in your build files, the JDK in each base image and the runtime on every VM or application host. Confirm the requirement for your exact target version in the versions documentation before changing any of them.

FHIR version model APIs

HAPI FHIR's Model APIs cover DSTU2, DSTU3, R4 and R5, and the project documents separate support for R4B. Custom resource providers and generated model classes depend on these versioned APIs. Check whether any class, package or method signature your code uses has changed in the target release. Teams that expose a custom FHIR endpoint or generate their own models should list every FHIR version they serve, then test each resource type they handle against the target model package before cutover.

Model API versions
DSTU2 to R5

Starter image tags and configuration

Teams that run the JPA server starter as a container pin a tag such as v8.12.0-2. Pinned tags stay at their version until someone changes them, so an upgrade means editing the tag, then reviewing configuration keys and environment variables against the new release. Check Compose files, Helm values and CI manifests for every tag reference, and confirm the configuration keys in the starter's repository before you roll out a new image.

Starter repository

Planning a HAPI FHIR major version upgrade by environment

Staging is where the team learns how the upgrade behaves on data that resembles production. Build a staging system from a recent copy of production data so that database migrations and server startup run against the same kind of records you will cut over. Keep a written log of the rehearsal so the cutover plan uses measured timings.

  • Recent production copy: Refresh the copy close to the planned window so the migration sees current volumes. Confirm with your privacy and security leads how personal health data is masked or restricted in staging.
  • Full test suite on the target release: Run your regression suite and any FHIR conformance checks for the resource types you expose against the target version. Record failures by test name so each one can be traced to a fix.
  • Step timing record: Time each step in the order of the cutover plan, including database migration, index work and server startup. These timings set the length of the maintenance window.
  • Repeated runs: Run the full procedure more than once from a fresh restore, so the runbook holds up when someone other than its author follows it.

Check that staging matches production in JDK version, database engine and configuration before you rely on any timing it produces.

How to test a HAPI FHIR upgrade and what rollback depends on

Test the upgrade against the requests and responses your clients depend on, which is more than confirming that the server starts and answers a metadata request. Build a regression set from the FHIR versions your clients use, since the JPA server covers DSTU2, DSTU3, R4, R4B and R5, and send the same resources and operations to the old and new builds. Validation needs its own pass: rerun your profiles and implementation guides and compare the outcomes, because a validator change can reject resources that were accepted before. Cover terminology next, including ValueSet expansion, CodeSystem lookups and any external terminology service you call. Compare search results and paging for your most-used parameters, and confirm that authorization, interceptors and scope checks behave as designed. If you rely on MDM matching or partitioning, test those explicitly, since a general smoke test rarely reaches them.

Do not plan around a documented rollback. The project does not document a rollback procedure in the places this guide covers, so rollback is only as reliable as your own backups and image restoration. The deciding question is the database. Whether a schema change can be reversed depends on the migration described in the JPA Upgrade Guide for your source and target versions. If that migration is one-way, an older image cannot read the upgraded schema, and the only clean path back is restoring a database snapshot taken before the cutover. Confirm this against the upgrade guide and with a test restore before the cutover, while a clean exit is still available.

Write the go or no-go criteria and the restore steps down before the window opens. Criteria should be measurable: which regression checks must pass, which validation and search differences are accepted and who signs them off, and what error rate or latency level triggers a stop. Restore steps should name the snapshot to use, the image tag to redeploy, the order of database and service restores, the person who makes the call, and how the team confirms that the restored service passes the same test set. Rehearse the restore on a copy of production data. A restore that has never been run is an assumption, and a team that discovers this during the window has no time left to fix it.

The upgrade sequence and the points where rollback is still possible

The sequence starts by confirming the current HAPI FHIR release, then reading the JPA and Jakarta upgrade guides and checking the Java runtime. A staging rehearsal and staging test come before a verified backup and a go or no-go decision. Until production cutover, the first rollback point lets you restore the previous image and configuration. After cutover, the second point requires restoring the verified backup. The point after any schema migration is to be confirmed against the JPA upgrade guide before you fix the rollback plan.

Upgrade sequence with two rollback points, one before and one after production cutover.

What buyers ask before bringing in outside help on an upgrade

What drives the cost of a HAPI FHIR major version upgrade?

The biggest driver is the amount of custom code on your server, followed by the number of integrations and databases it touches. Custom resource providers, interceptors, operations and validation rules each have to be checked against the target version and retested, so a server with little local code costs far less to move than one with years of extensions. The other drivers are:

  • Test coverage: thin automated tests push more verification into manual work, which is paid time.
  • Staging availability: without a staging copy that matches production configuration, the work tends to slide into the cutover window.
  • Single hop or several: moving across more than one major version means confirming each intermediate step in the upgrade documentation.

Who gets paid depends on the model. Your staff time is an internal cost, and an implementation partner bills against the written scope. The upgrade is one-time. Ongoing support, if you buy it, recurs. Ask for a quote built from a written scope so the assumptions are visible.

How long does a HAPI FHIR major version upgrade usually take?

Elapsed time follows the same drivers as cost: custom code scope, integrations, databases, test coverage, staging availability and the number of version hops. Two more drivers mostly affect the calendar. The first is how many environments you must upgrade in sequence, such as development, test, staging and production. The second is how much regression testing your change process requires. A smoke test of core read and write paths is quick, while a regression suite that covers every integration takes longer to build, run and review. No single duration fits every deployment, so ask for a timeline tied to your environment count and test evidence. Confirm both numbers with your team before any vendor commits to a date.

What does a HAPI FHIR upgrade need from our own team?

Your team supplies the skills, access and sign-off, and an outside partner cannot supply those on your behalf. The work needs:

  • Java engineers who can read and change custom server code and build the project against the target JDK.
  • Database staff who understand the JPA schema, backups and migration scripts for your database engine.
  • FHIR and operations people who know which resources, profiles and search parameters your clients use, and who run the servers day to day.
  • Staging access that mirrors production configuration, plus test data with representative resource shapes and volumes.
  • One named owner who approves test results and the cutover decision.

Ask any partner to list these roles in the written scope so gaps show up before work starts.

Can our own team upgrade HAPI FHIR without outside help?

Yes, if your team already has the Java, database and FHIR skills the upgrade needs. HAPI FHIR is licensed under the Apache Software License 2.0, and its migration guides, release notes and source are public, so no vendor permission is required to follow the documented path. Start with the HAPI FHIR version documentation, which lists the model APIs and migration guides to read first. Commercial support is a separate option. The HAPI FHIR project points to Smile CDR for commercial support, which is a vendor contract you can evaluate on its own terms. Whether you buy it or not, the upgrade work itself still needs an owner, staging access and a tested rollback.

What should a HAPI FHIR upgrade quote include before signing?

A usable quote lists what will change, where, in what order, and how you get back if it fails. Look for these parts:

  • A written scope naming the HAPI FHIR versions in play, the server model (plain or JPA) and the custom code in scope.
  • Deliverables such as upgraded code, configuration changes, migration scripts and updated runbooks.
  • The environments to be upgraded and the order of work.
  • A test plan covering integrations, regression, performance and data checks, with a named approver for each.
  • A rollback plan that includes backup and restore steps, tested before cutover.
  • Handover covering documentation, knowledge transfer and post go-live support terms.

Quotes that leave out rollback or handover usually move those risks onto your team, so request both explicitly.

When should we hire outside help for a HAPI FHIR upgrade?

Bring in outside help when your team lacks in-house Java or FHIR skills, when regulated patient data is in scope, or when the cutover window is tight. Each condition raises the cost of getting it wrong. Without the skills, the work stalls or gets done without review. With regulated data, you need evidence that controls held during the upgrade. A tight window leaves little room for a failed attempt. DeployOpen plans, implements, tests, hardens, backs up, upgrades and documents self-hosted platforms inside your own cloud accounts, data centers or air-gapped networks. Most engagements are fixed-scope, with scope, deliverables and timelines agreed in writing before work starts. DeployOpen prepares systems and evidence for compliance assessments, but independent auditors issue the reports.

How DeployOpen plans and runs a HAPI FHIR upgrade

DeployOpen treats a HAPI FHIR major version upgrade as a planned change to your own deployment, inside your own infrastructure. We start from the upgrade path documented for the version you run and the version you are moving to, including the JPA Upgrade Guide and the 7.0.0 Migration Guide for the Jakarta change. The work is agreed in writing before it starts, and the result is a documented system with a rollback plan that your team can operate.

How we scope

  • We confirm the current and target HAPI FHIR versions, FHIR resource versions and JDK requirement before any work begins.
  • The written scope lists the databases, custom resource providers, interceptors and integrations included in the upgrade.
  • Engagements are fixed-scope, with deliverables and timelines agreed in writing before work starts; ongoing support is available as a retainer.

How we build

  • We build the upgrade in a staging copy of your environment, with your data volume and configuration, before touching production.
  • Custom code is tested against the target version's API changes, including validation rules and search behavior.
  • Test cases cover FHIR REST interactions, terminology and validation paths, and any SMART or identity flows you rely on.

How we hand over

  • Each step gets a written runbook covering configuration changes, database migration order, and the rollback procedure.
  • Upgrade notes record every breaking change found, how it was resolved and which tests prove the fix.
  • Your team receives the documented deployment, configuration and test suite to run and extend in-house.

How we support

  • Ongoing support covers upgrades, backups and continuous testing under a retainer, scoped in writing.
  • If you want commercial HAPI support, confirm with Smile CDR which terms cover your deployment.
  • Ask for the support scope in writing before committing to an upgrade window.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.