Handling Hyperswitch configuration changes between releases before an upgrade starts
Configuration changes must be tracked for every release you cross, and the supported path runs through each intermediate release's notes. On a self-hosted Hyperswitch stack, settings often decide whether the router starts after an upgrade, so a team that reviews only the image tag is reviewing the wrong thing. Hyperswitch ships roughly monthly minor releases, and the GitHub releases page lists v1.126.0 (August 24, 2026), v1.127.0 (September 28, 2026) and v1.128.0 (October 16, 2026) as examples of that cadence. Each release can add, change or remove keys in the TOML configuration or in environment variables, so a jump from one version to a later one should be preceded by a read of every release note in between, not only the target.
The clearest example of a configuration dependency that must exist before the upgrade is the v1.124.0 release. Its release notes state that Superposition became a required configuration dependency, and that deployments must have a Superposition service running before upgrading to that version. A team that upgrades the router first will find a version that expects a service its environment does not provide. Before you schedule any upgrade that crosses v1.124.0, confirm that the Superposition service is deployed, reachable from the router, and configured in the way the release notes describe. Record who owns that service, since it is a new operational component for many teams.
Treat each release's settings review as a standing step in your upgrade runbook. For every version in the path, compare the release notes with your current config TOML file, your environment variables and your Helm values, and list any new required settings, changed defaults and removed keys. Do not assume a key was renamed unless the release notes say so, and do not assume an unset value is safe when a required connection detail is missing. Confirm each item against the release notes and a staging deployment before production, and keep the reviewed list with the change record so the next upgrade starts from a known state.
Which Hyperswitch configuration changes matter at each release
This table lists the configuration changes that the supplied release facts identify, and the action each one needs before an upgrade. Read it as a checklist: confirm each row against the target release notes and your own TOML and environment files, then diff the rest of the configuration against the prior release. The main takeaway is that a missing required service, such as Superposition from v1.124.0, can block an upgrade even when the application images are correct.
| Change | Impact | Action needed |
|---|---|---|
| Superposition becomes a required configuration dependency (v1.124.0) | Upgrading to v1.124.0 or later fails or runs without its configuration service if Superposition is not running first | Deploy and confirm a running Superposition service before changing the router image, then read the v1.124.0 release notes for the migration steps |
| Router settings for PostgreSQL connection and master/replica roles | Wrong or missing database values stop the router from starting, because database connection details have no safe default | Diff the database section of the TOML file and matching environment variables against the prior release, and confirm each key in the release notes |
| Router settings for Redis caching | Redis connection changes affect caching and can change behavior under load if the endpoint or credentials move | Confirm the Redis section and environment variables for the target release, and test connectivity from the new pods before cutover |
| Scheduler Producer and Consumer settings | Producer and Consumer read the same backing services, so a key changed for only one of them can split behavior between the two | Check both Scheduler roles in the configuration diff and confirm that Producer and Consumer deployments use the same database and Redis values |
| Environment variables that override the TOML file | An environment variable left over from an earlier release takes priority over a corrected TOML value, so the change seems to have no effect | List every environment variable set on each deployment, remove stale ones, and confirm the effective value in running pods after the rollout |
| New or changed TOML keys and environment variables in general | Keys added or renamed in a release may fall back to code defaults, which can change behavior without an error | Read the configuration section of each release's notes and diff the TOML file against the prior release for every version you skip |
| Keys not covered by the supplied release facts | Any specific key change not listed here may affect routing, vault or connector behavior | Diff the TOML file against the prior release and confirm each change against the release notes before promoting the configuration |
How environment variables override the TOML file in Hyperswitch
Hyperswitch reads its configuration from a TOML file and from environment variables, and environment variables take priority over the file. For an upgrade, this means a value set in the container environment silently wins over the same key in the TOML file. A team can update the file correctly for a new release, redeploy, and still see the old behavior because an environment variable is holding the previous value. When the behavior seems unchanged or oddly changed after an upgrade, check the environment before you assume the new file is at fault.
Unset values fall back to defaults in code, so most keys do not need to appear anywhere. The exception is required values such as database connection details, which must be supplied either in the file or through the environment. Before you upgrade, list every override in use across the router, scheduler and any other Hyperswitch service: the container environment in your Helm values, any secrets injected as variables, and the keys in the TOML file they shadow. Confirm the exact variable naming convention for your release against the Hyperswitch updates guide, since the mapping from file keys to variable names is the part teams most often get wrong.
Stale overrides are the main risk. An environment variable added during an earlier release to work around a bug, to set a temporary limit, or to point at a test endpoint can outlive its purpose and keep overriding a corrected default. Record each override with its owner, the reason it exists and the release it was added for, then decide whether to keep, update or remove it as part of the upgrade. Test the rendered environment of the running pods against that list after deployment, so you confirm which value the process actually uses rather than which value the chart was meant to set.
How TOML, environment variables and Helm values reach the running router
The diagram starts with the Helm values file, which the chart templates render into environment variables on the router and consumer pods. A TOML configuration file sits alongside them as a second input. Environment variables take priority over TOML values, and code defaults fill any unset key that is not required. Required database connection details must come from one of the two sources, and the router then reads and writes PostgreSQL and Redis. Check which source sets each key before you change it.
Environment variables override TOML values, and code defaults fill the remaining unset keys.
What to inventory before changing Hyperswitch settings
Configuration upgrades fail most often because the team cannot say what the running system was set to before the change. The cards below list what to capture from each component, the external services it depends on, and the data you must be able to restore, so that a change to a TOML key or environment variable can be compared, tested and reversed.
Full TOML and environment variable export
Capture the TOML configuration file and the environment variables for every running component, including the router, scheduler producer and consumer, and any drainer or Control Center deployment. Record which values come from the file and which come from the environment, because environment variables take priority and can silently hide a changed TOML key. Store the export with the release tag it was running under so you can diff it against the next release's defaults.
Updates guideHelm values overrides per environment
List every Helm values override for each environment, such as development, staging and production, and keep them in version control. Chart defaults and per-environment overrides often disagree, so a new chart can change a setting you never wrote down. Check that each Helm value that feeds a TOML key or environment variable maps to the same effective setting in each environment.
Required external services and their versions
Record each service the stack depends on before the upgrade, including Superposition, which became a required configuration dependency in v1.124.0. Note the running version, endpoint, and whether it is reachable from the router before the change. A new mandatory service means a configuration change is not complete until that service exists and is configured.
Prior and target release notes settings sections
Keep a copy of the release notes for every version between your current and target release, and extract the settings sections into a working list. Mark each new, renamed or removed key and each changed default. Release notes are the only reliable pointer to behavior changes, so an untracked key change is a common source of production surprises.
Hyperswitch releasesTest environment that mirrors production configuration
Run the proposed configuration in a test environment built from the same exported TOML, environment variables and Helm overrides as production, with only secrets and hostnames changed. Confirm that the router starts, that Superposition and the database connection resolve, and that a test payment completes. A test environment with simplified settings will pass checks that production will fail.
PostgreSQL and Redis backups before any change
Take and verify backups of PostgreSQL and Redis state before applying any configuration change, and record the time of each backup. Configuration changes that also touch database-backed settings may not be reversible by redeploying the previous configuration alone. Confirm you can restore the database to a point before the change and that the restore has been tested.
How to run a configuration upgrade step by step
This sequence gives a self-hosting team a repeatable order of work for moving Hyperswitch configuration from one release to the next, so that TOML settings, environment variables and Helm values change together and each change is checked before it reaches production.
Capture the current configuration baseline
Record the TOML file the router reads, every environment variable set on the running workloads, and the Helm values file that renders them. Store these in version control or another controlled location, tagged with the release currently in production. Confirm the baseline by rendering the Helm chart from the stored values and comparing the output to the live manifests, so you know the captured state matches what actually runs. Keep this snapshot untouched until the upgrade is complete, because it is your rollback reference.
Read release notes for every intermediate version
List each Hyperswitch release between your current version and the target, and read the release notes for each one, not only the target. Look for new configuration keys, renamed or removed settings, changed defaults, and new required services. Record every configuration change in a single change list with the release it came from. The output is a written list that the diff in the next step must account for, and any item you cannot explain is raised with the vendor or in your own testing before you continue.
Diff TOML and environment variables against the target
Build the target configuration from the release's default TOML file and your overrides, then compare it with your baseline key by key. Remember that environment variables take priority over the TOML file, so an old variable can silently override a new TOML value. Flag keys that are added, removed, renamed or whose defaults changed, and mark any setting that has no default and must be supplied. The check is complete when every difference is either intentionally carried forward or removed, and the change list from the previous step has a matching entry for each item.
Update Helm values in the same change
Apply the reviewed configuration changes to the Helm values file, mapping each TOML key or environment variable to the value path your chart uses, and merge them in the same pull request as the image version change. Keep the prior values file available in version control so it can be restored. Render the chart locally and check the output for the new environment variables and config entries. The step is done when the rendered manifests show exactly the intended changes and nothing else.
Deploy required dependencies before the app server
Check the release notes for services that must run before the application, such as Superposition for v1.124.0 and later. Deploy and health-check each dependency in the target environment, confirm it is reachable from the router's network path, and only then roll out the application workloads. Record which dependency versions and endpoints were verified. The step closes when each dependency reports healthy and the router can connect to it from inside the cluster.
Apply the change to a test environment first
Deploy the same rendered values, image versions and dependency versions to a non-production environment that uses your production-shaped configuration, with test credentials and a copy of the database if you can provide one. Run your payment test suite and confirm that routing, connector calls and webhook handling behave as before. Log every failure and compare it with the change list. Promotion to production is blocked until this environment passes and any unexplained difference is resolved.
Verify startup, health checks and effective configuration
After the production rollout, watch the router and other workloads until pods are ready, then check the logs for configuration parse errors or missing-key warnings. Open a running pod and confirm the effective values, including that the intended environment variables are present and that no stale variable is overriding a new TOML setting. Run the health endpoints and a small set of test transactions. The upgrade is confirmed when the effective configuration matches the target list and health checks pass, and the baseline snapshot from step one is kept until the new state is accepted.
Keeping Helm values in step with the TOML configuration
A Helm values file and the TOML configuration can drift apart, and that drift is the main configuration risk when a self-hosted Hyperswitch deployment moves between releases. The chart renders settings into the running pods, often through environment variables, and those variables take priority over the TOML file. A value that was changed in one place but not the other can leave the router running with a setting nobody intended, and the mismatch may only show up after a release that renames or removes a key. The same risk applies to any environment variable the chart injects that overrides a TOML key, so the team should know every such override, not only the ones it set by hand.
Keep the values file in version control with the same review rules as application code, and review its diff for every release, including the minor releases that look routine. Record in the repository which values override TOML keys, the key each one replaces and the release in which it was last confirmed. This record is what lets an engineer answer, during an upgrade, whether a new default in the release notes will actually reach production. Recording overrides also makes the Helm upgrade process described in the sibling topic on upgrading Hyperswitch Helm charts easier to test, because the diff shows exactly what changes at the chart level.
Read the chart and the release notes together, and do not assume chart keys from one release still apply to the next. Confirm the exact chart keys and TOML paths for each target version in the Hyperswitch repository and the self-hosting documentation, and treat any key you cannot find there as unsupported until the team has verified it in a non-production environment. Dependencies such as a required configuration service can change what a release expects, so a passing diff alone does not prove the values are correct.
What makes configuration upgrades take longer
This table lists the factors that increase or reduce the review and testing load when moving a self-hosted Hyperswitch stack across releases. Read each row as a question to answer about your own deployment before you estimate the work. The main takeaway is that the number of skipped releases and the number of environments usually matter more than the size of any single configuration change.
| Driver | Effect on effort | What to check |
|---|---|---|
| Releases skipped | Each skipped release adds its notes and configuration changes to the review | List every release between your current and target version and read each set of notes |
| Environment overrides | More environment variables and per-environment values files mean more places a change can drift | Count overrides per environment and confirm which ones must match across environments |
| Custom TOML changes | Team-made settings must be compared against each release's defaults and new keys | Identify every local change to the TOML file and decide whether it still applies |
| Required services | A new required dependency, such as Superposition in v1.124.0, must be deployed before the app upgrades | Confirm which services the target release requires and whether they already run |
| Environments to keep aligned | Each extra environment repeats the diff and the validation work | Confirm which environments share one Helm values source and which diverge on purpose |
| Non-production testing | A usable staging copy shortens the feedback loop and reduces surprises after go-live | Confirm whether staging matches production in configuration, secrets and data shape |
What buyers ask about configuration changes between Hyperswitch releases
Can we track Hyperswitch configuration changes between releases without an outside vendor?
Yes, a team with Kubernetes and Rust-aware engineers can do it in-house, but the work is recurring rather than a one-time task. Each monthly minor release can add, rename or change settings, so someone must read the release notes, compare configuration files and update Helm values for every version you run. The main cost is internal engineering time, plus test environment capacity to prove each change. Ask any partner for a written scope that lists which releases, which configuration sources and which environments are covered before you compare it with your own staffing plan.
What does the internal team need to supply for this work?
The team needs someone who owns the deployment repository, someone who can read Rust configuration structures and release notes, and a staging environment that matches production closely enough to test startup. Security or compliance staff should also review any change that touches encryption keys, vault settings or logging of sensitive values. Without a named owner, configuration drift tends to accumulate until an upgrade fails. Document who approves each change and where the approved values are stored.
What drives the cost and effort of tracking configuration changes?
The main drivers are how many releases you skip at once, how many environments and clusters you run, how many settings you have overridden, and how well your configuration is already version-controlled. Each release you take that carries new required settings adds review and testing time. Fewer, larger overrides make diffs harder to read. Ask for the effort split between one-time setup (baseline inventory, templates, diff tooling) and recurring work (per-release review, testing and sign-off) in any quote.
Should environment variables or the TOML file be the primary source of configuration?
Use the TOML file as the complete, version-controlled baseline and reserve environment variables for values that differ by environment or contain secrets. Hyperswitch reads both sources and gives environment variables priority, so an environment variable silently wins over a TOML line. Keeping most settings in TOML makes diffs between releases readable. Keep secrets in a secret store and inject them as environment variables, and avoid placing the same key in both places.
How do we detect a silent override from an environment variable?
Compare the effective runtime values with the TOML baseline, not just the files. Build a check that lists every environment variable set on the router and related pods, flags any key that also appears in the TOML file, and reports the value actually in use after startup. Run this check in CI and after every Helm upgrade. Because unset values fall back to code defaults, also flag settings that are absent from both sources, since a new default in a release can change behavior without any edit on your side.
What should we do when a required service is missing after a release?
Stop the rollout and restore the missing dependency before retrying, because a release that makes a service required will not run correctly without it. The Hyperswitch v1.124.0 release notes state that Superposition became a required configuration dependency and that a Superposition service must be running before you upgrade to that version. Check each release note for newly required services, deploy and health-check them in staging first, and keep the previous image and values available so you can return to a known state.
Can a partner take over ongoing tracking of Hyperswitch releases?
DeployOpen can provide ongoing support, upgrades and continuous testing as a retainer, and most engagements are fixed-scope with scope, deliverables and timelines agreed in writing before work starts. A retainer would typically cover release review, configuration diffs, Helm value updates and staging tests, but the exact coverage depends on the releases and environments you run. Request a written scope that names the release review cadence, the environments covered, who approves changes on your side and how handover works if the arrangement ends.
Testing and rolling back a configuration change
Test every configuration change in a non-production environment whose settings match production in every way that affects behavior: the same TOML keys, the same environment variables set through your values files, the same Superposition and PostgreSQL and Redis topology, and the same connector credentials mode. A mismatch here is the most common reason a change passes testing and then fails in production, so compare the effective values rather than trusting the files. Once the change is deployed, confirm the router and the scheduler services start cleanly, pass their health checks, and can reach PostgreSQL (including the replica) and Redis. Then run a payment through the sandbox or test connector and confirm the expected routing, webhook and status behavior.
- Startup logs: Check for warnings about unknown or deprecated keys and for fallbacks to code defaults that you did not intend.
- Health checks: Confirm the readiness and liveness endpoints return healthy for every app service, not only one replica.
- Connectivity: Verify database and cache connections succeed, including the replica read path.
- Payment test: Run an authorization, capture and refund through a test connector and compare results with a baseline run from before the change.
- Revert signals: Stop promotion if any service fails to start, any connection errors appear, or payment outcomes differ from the baseline without a documented reason.
Record the results alongside the exact values file revision so the test can be repeated.
After a production deployment, do not assume the values you wrote are the values the process uses. Environment variables take priority over the TOML file, so a stale or overriding variable can silently hide your change. Inspect the environment of a running pod for each app service and compare it with the intended set, then confirm the effective configuration matches what the release notes and your values files describe. Repeat the check on every replica, because a partial rollout can leave pods running different revisions during the transition.
- Environment inspection: List the variables set on each pod and flag any that override a TOML key you changed.
- Config consistency: Confirm all replicas of the router, consumer, producer and drainer report the same revision.
- Health and connectivity: Repeat the health and PostgreSQL and Redis checks against live pods, not only the pre-deployment test environment.
- Live traffic signals: Watch error rates, authorization latency and webhook delivery for changes that began at the rollout time.
- Revert signals: Revert if any pod runs an unexpected value, if a key is ignored because an environment variable shadows it, or if error rates rise after the rollout.
Keep a dated record of the effective values so the next upgrade has a clear baseline to diff against.
Rolling back a settings change is simpler than rolling back a schema change. If the change only touched configuration, restore the prior values file and the prior environment variable set, then redeploy, and the application reads the old values again. The sibling topic on rolling back a failed upgrade covers the harder case, where database schema changes have already run and cannot simply be reversed by redeploying images. Confirm before you start that the change did not also include a migration, a new required service or a database write made under the new settings.
- Restore both sources: Revert the Helm values file and the environment variable set together, since restoring only one can leave a mixed configuration.
- Redeploy and verify: Confirm pods restart on the restored revision and pass the same health, connectivity and payment checks.
- Check for side effects: Look for records created or changed while the new setting was active, such as routing decisions or configuration rows that the old values will not undo.
- Confirm no schema change: If a migration ran, stop and follow the rollback process for schema changes instead.
- Revert signals: Roll back when health checks fail after the change, when connectivity breaks, or when payment results diverge from the baseline and the cause is the new setting.
Record the rollback decision and the revision you returned to.
How DeployOpen works on this
DeployOpen plans, implements, documents and supports self-hosted open-source platforms inside your own infrastructure, so configuration changes between Hyperswitch releases are reviewed against your running deployment rather than applied blind. Engagements are fixed-scope, with scope, deliverables and timelines agreed in writing before work starts.
How we scope
- Inventory every TOML setting and environment variable your deployment sets, including overrides applied through Helm values.
- Agree the source and target Hyperswitch versions, and list which releases between them change configuration.
- Confirm in writing whether a required service such as Superposition must be in place before the target version runs.
How we build
- Produce a diff of defaults, TOML keys and environment variables between your current and target releases.
- Update Helm values and configuration templates in version control so each change is reviewable and reversible.
- Test the configuration in a non-production environment that mirrors your routing, vault and database setup before any promotion.
How we hand over
- Document each changed key, its precedence over the TOML file, its default and the reason for the chosen value.
- Provide a runbook for applying future release configuration changes, including the checks that confirm the environment matches intent.
- Walk your platform and security teams through the record so they can review it without DeployOpen present.
How we support
- Offer ongoing support and upgrade work as a retainer, covering review of each new Hyperswitch release's configuration changes.
- Re-run the configuration diff whenever Helm chart or image versions change, and report any drift to your team.
- Ask your team to confirm supported release notes and compatibility matrix entries directly with the Hyperswitch project before each change.

