Hop over the menu
The Red Pantry

A programming site about language and runtime versions

Before a runtime upgrade, check support and GODEBUG settings

Planning an upgrade

Editorial standards for these guides, including how The Red Pantry uses AI

Neat takeaways

  • Check the support end date for your current runtime line and your target line before you change any code, because a line past its end date gets no further planned security fixes.
  • Go's GODEBUG settings are switches that bring back older behavior after an upgrade, and many have a planned removal release, so a switch your app depends on can disappear.
  • .NET and Python publish support lengths for each release, so the target you pick sets how long you can wait before the next move.
  • Python's Windows installer is being replaced by a new install manager, so any setup script that depends on the old installer needs a check.
  • A support date tells you when to move, but only the compatibility notes for the exact target version tell you which behaviors will change.
  • Run the checks in three phases, before, during and after the move, and tie each check to a line in the project's own documentation.

TL;DR: Choose a target that still has a long support window, list every old behavior your code relies on, confirm that the switch for each one exists in the target, and only then book the move.

The decision in front of you

A runtime upgrade is the move of an application from one released version of a language runtime to a newer one. Examples include .NET 8 to .NET 10, or a move to a newer Go or Python release. Your choice has two parts. The first is whether the target gets fixes for long enough to justify the move. The second is whether your code or its dependencies rely on a behavior the new version changed. If so, ask whether the runtime still offers a switch that restores the old behavior.

One product change affects anyone who installs Python on Windows. Python 3.14.9 was released Oct. 21, 2026, according to Python Software Foundation . The same page says, "The installer we offer for Windows is being replaced by our new install manager, which can be installed from the Windows Store or from its download page."

This is who this post is for

A developer on a .NET, Go or Python team who is close to picking a newer runtime for an existing app is the reader this post is written for. Team leads who need a dated plan for the move also fit, because each section ends with a check that can go onto a ticket.

Red flags: the target runtime is already past its end-of-support date, nobody has listed the libraries the app depends on, or the only reason to move is a feature the app does not use.

Support windows come first

Each runtime sets its own support rules, so the first check is the calendar. The support-window table lists the release lines you are most likely leaving or choosing, with their release dates and last support dates.

Runtime line Released Last support date Status
.NET 8 (LTS) See vendor page November 10, 2026 Ended
.NET 9 See vendor page November 10, 2026 Ended
.NET 10 (LTS) November 11, 2025 November 14, 2028 Supported
Go (first line listed) 11 Feb 2025 10 Feb 2026 Ended
Go (second line listed) August 2025 August 2026 Ended
Go (third line listed) 10 Feb 2026 No date printed Supported
Python (older line) See devguide page Five years after release (scheduled) Security fixes only
Python 3.14 2025-10-07 Five years after release (scheduled) Bugfix
Python (newest line) 2026-10-09 Five years after release (scheduled) Bugfix

The .NET rule is the easiest to read because it is a fixed number of years. For Python, the last support date is the end of life, and the phases before it differ, as the Python section explains. Go does not print an end date for each release; the Go dates in the table come from endoflife.date, and a Go line's support ends with a later release rather than on a set date, so read Go's window from the release calendar, not from a length of time.

.NET: move from 8 or 9 to 10

.NET 8 and .NET 9 end support: November 10, 2026 , according to Microsoft , which is the last day both versions receive servicing.

After that date, Microsoft's announcement says it no longer provides servicing updates, security fixes, or technical support for these versions, and it recommends moving to .NET 10. A final update may ship on that day if a known critical issue exists. That means the date is the last day to plan around, not a day to wait for.

The support rule behind the table is set out in Microsoft's support policy. According to Microsoft , "LTS releases get free support and patches for three years" and "STS releases get free support and patches for two years." The same policy says that during the final months of support, a release is updated only to mitigate security vulnerabilities.

Who this path fits: a team whose .NET 8 or .NET 9 services still run in production and whose libraries already build for .NET 10. Teams that run STS releases in production should expect a shorter window and plan the next move earlier.

Its limits: a longer LTS window buys time, not permanent safety. The policy also says a device needs to install the latest update to remain supported, so a team that moves to .NET 10 still needs a routine for applying patches.

Moving a solution takes a few steps. List every project and its target framework, upgrade one project at a time on a branch, run the test suite on the new runtime, and read the compatibility notes for each API your code calls before you merge.

Go: read GODEBUG before the toolchain bump

A GODEBUG setting is a key=value pair that controls how certain parts of a Go program run. It also lets a program opt back into older behavior after an upgrade. The Go project keeps a removal note beside each setting, so a switch that works today may be gone in a later release.

Go 1.22 GODEBUG settings: some listed for removal , according to Go project , which lists three of them for removal in a later release.

The same GODEBUG page notes that some settings will be maintained much longer, even indefinitely, so the removal note is the one to track for each setting your code uses. For more on timing, read go opt-out removal dates .

The Go 1.22 release notes say, according to Go project , that "This change can be reverted with the tls10server=1 GODEBUG setting," and that "With gotypesalias=0, everything behaves as before, and Alias types are never created."

The three settings that the GODEBUG page lists for removal in a later release are summarized in the Go settings table.

Setting Added in What the setting restores Stated removal
tls10server Go 1.22 The earlier default minimum version for crypto/tls servers Listed for removal
tlsrsakex Go 1.22 Cipher suites without ECDHE support in pre-TLS 1.3 handshakes Listed for removal
gotypesalias Go 1.22 Behavior from before Alias types existed, which are never created when set to 0 Listed for removal

Go release status is the second half of the check. According to endoflife.date , the first Go line in the table ended 10 Feb 2026 and the second ended in August 2026.

Where a GODEBUG value comes from matters for the move. A setting that is not listed in the GODEBUG environment variable takes its value from the toolchain defaults, adjusted to the go version in go.mod, and then from //go:debug lines in the program. In newer toolchains, a godebug block in go.mod can set defaults separately from the language version. Only the work module's go.mod is read, so godebug directives in dependency modules are ignored. Older toolchains that predate godebug blocks reject all godebug lines, which matters for build images that still run an older compiler.

Which Go target fits

The earlier Go target fits a team that uses one or more of the three Go 1.22 settings in the table and needs time to remove them. The settings are still in place on that release, so the code keeps its current behavior while the team works through the change.

The newer Go target fits a team whose own settings and the go list DefaultGODEBUG check both show none of the three settings, and whose dependencies build cleanly on the newer release. It is already released, so it is the newer target. Its limit is the removal itself: any setting you still rely on has to be removed or replaced before the move.

Both options share one step. Run the GODEBUG search across your code, your build files and your CI images before you pick a release, because a setting hidden in a build script is the one most often missed.

Python: 3.14 now or the newest line later

According to Python Software Foundation , Python 3.14 was first released 2025-10-07 and is in bugfix status, the newest line was first released 2026-10-09 and is also in bugfix status, an older line is in security status, and the page says security-only fixes start after two years and support ends five years after a release.

Version First release Status on the Python project page End of life (scheduled)
Older line Earlier than 3.14 Security Five years after release
3.14 2025-10-07 Bugfix Five years after release
Newest line 2026-10-09 Bugfix Five years after release

The end-of-life dates are scheduled and can change, so treat them as planning dates and leave room for a delay.

Python 3.14 fits a team moving off the older security-status line that wants bug fixes while its libraries catch up. Its limit is that it is no longer the newest line, so a team that starts a new service on it will need another move sooner.

The newest Python line fits a team whose third-party libraries already support it and that is starting a service now. Its limit is that it is the newest line and has the shortest history of real-world use. So a team should test its critical paths on it before a production release.

For either choice, the Windows installer change applies. Any Windows setup script that downloads the old installer needs an update before the move. For the library side, see the python libraries upgrade checklist .

Side-by-side view of the three targets

The options table puts each target next to its last support date and the team it suits best.

Target Status Last support date Best fit
.NET 10 (LTS) Supported November 14, 2028 Teams leaving .NET 8 or .NET 9
Earlier Go target Supported No date printed Teams that need time to remove the Go 1.22 settings
Newer Go target Supported No date printed Teams whose own settings and go list DefaultGODEBUG check show none of the three settings
Python 3.14 Bugfix Five years after release (scheduled) Teams moving off the older security-status line
Newest Python line Bugfix Five years after release (scheduled) Teams whose libraries already support it

Before, during and after: the checklist

The checklist has three phases. Each item names where to look, so you can tie it to the project's own wording before you act.

Before the move:

  • Write down your current line and your target line, and check each against the support-window table.
  • Search your code, build files and CI images for GODEBUG values, //go:debug lines and godebug blocks in go.mod, because each one can change which behavior runs.
  • For Go, run go list with the -f flag on your main package and read its DefaultGODEBUG field, which reports only the differences from the base toolchain defaults.
  • For .NET, read the compatibility notes for the APIs your code calls most often before you start the branch.
  • For Python, confirm that each third-party library supports the target version.

During the move:

  • Build the target on a branch and keep the old runtime available until the branch passes its tests.
  • When a test fails because of a changed behavior, set the switch named in the release notes, and write the switch's name in a code comment along with the release that removes it.
  • For Python on Windows, update any setup script that depends on the old installer.

After the move:

  • Watch the Go runtime counter named /godebug/non-default-behavior/<name>:events, which counts how often a program's behavior changed because of a non-default GODEBUG value.
  • Put the target's last support date on the team calendar, not only the day the move ships.
  • Remove each temporary switch before the release that drops it.

Common mistakes to avoid

A support end date is not the day your app stops running, but staying on the unsupported line carries a growing risk. That point applies to .NET 8 and .NET 9.

Unpatched security exposure: after November 10, 2026 , because applications built on .NET 8 or .NET 9 keep running but get no security patches.

The mistakes below come up most often in these moves.

  • Moving to a line that is already past its last support date, which gets no planned fixes at all.
  • Setting a GODEBUG value in one place and assuming it applies everywhere, when the environment variable, the //go:debug lines and the go.mod block each feed the result in a fixed order.
  • Keeping a Go 1.22 setting in code that will run on a release that removes it, as the Go settings table shows.
  • Picking a security-only Python release as the target when a newer release is available.
  • Skipping the Windows installer change, which the Python release page says is being replaced by the new install manager.
  • Reading the runtime's own support rule as a reason to skip testing, since a compatibility change can break a service on the same day its support continues.

Worked example: a two-service team

A worked example (not a real case): a team with two services, one on .NET 8 and one on an older Go release, wants both moved before its next release freeze. According to endoflife.date , .NET 8 ended November 10, 2026, and .NET 10 is supported until November 14, 2028, so the .NET service should target .NET 10 rather than .NET 9. Microsoft ends support for .NET 8 on November 10, 2026, and applications built on it continue to run but will not receive patches for security vulnerabilities, so the move is a fix, not an option. The Go service should move to a release that still has the settings it uses. The team should check each setting it sets, then remove them before the release that drops them.

Which upgrade path should you pick?

  • If you run .NET 8 or .NET 9 in production, pick .NET 10 because the vendor recommends it for teams leaving those lines and it is the LTS line in the support-window table.
  • If your Go code sets any Go 1.22 GODEBUG setting, pick the earlier Go target for now because those settings are still in place there and are listed for removal in a later release. That target is the older of the two supported Go lines and will lose support first, when the next Go release ships, so it is a short stop for removing the settings, not a place to stay.
  • If your own settings and the go list DefaultGODEBUG check both show none of the three settings and your dependencies build cleanly, pick the newer Go target because it is already released and nothing in your code needs a switch to keep old behavior.
  • If your third-party Python libraries already support the newest line, pick it because it is the newest line and is in bugfix status.
  • If your third-party libraries do not yet support the newest line, pick Python 3.14 because it still gets bug fixes while those libraries catch up.

FAQs

Which runtime line should I check first?

Check the line you are leaving first, because a line past its last support date is the most urgent fact in the support-window table.

Does a support end date mean my app stops working?

No, the app keeps running after its last support date, but the vendor stops planned security fixes, so the risk grows the longer you stay.

What is a GODEBUG setting in Go?

A GODEBUG setting is a key=value pair that controls how certain parts of a Go program run, and it can restore older behavior after an upgrade.

Where can I set GODEBUG values for a Go program?

You can set them in the GODEBUG environment variable, in //go:debug lines at the top of a main package, or in a godebug block in go.mod in newer toolchains. The environment variable takes precedence when it lists a setting.

Are LTS releases a better target than STS releases?

For a team that wants the longest planned support, an LTS release is the safer target, because the policy gives LTS releases a longer support length than STS releases.

Why do Python's end-of-life dates look uncertain?

The Python project marks its end-of-life dates as scheduled and says they can be adjusted, so plan with a buffer rather than treating the date as fixed.

Should I move before a release removes a switch I need?

Move to a release that still has the switch, then remove the switch in a later change once the code no longer depends on it.

Read next

General information about language versions, not legal or contract advice.

Browse more guides