Restez organisé à l'aide des collections
Enregistrez et classez les contenus selon vos préférences.
Vous devez mettre à jour vos applications vers la dernière version d'exécution compatible pour continuer à recevoir les mises à jour de sécurité et bénéficier de l'assistance technique.
Le processus de mise à niveau d'une application existante dépend de la version d'exécution actuellement utilisée par votre application :
Environnements d'exécution Go de deuxième génération (après fin de compatibilité) : pour passer à une version compatible de Go, mettez à jour le fichier app.yaml en spécifiant une version de Go que vous souhaitez que votre application exécute. Exemple :
runtime:goVERSION
Où VERSION correspond aux numéros de version Go MAJOR et MINOR.
Par exemple, pour utiliser la dernière version de Go, Go 1.25, spécifiez 125.
Pour en savoir plus, consultez la section Présentation de l'environnement d'exécution Go.
Sauf indication contraire, le contenu de cette page est régi par une licence Creative Commons Attribution 4.0, et les échantillons de code sont régis par une licence Apache 2.0. Pour en savoir plus, consultez les Règles du site Google Developers. Java est une marque déposée d'Oracle et/ou de ses sociétés affiliées.
Dernière mise à jour le 2025/09/04 (UTC).
[[["Facile à comprendre","easyToUnderstand","thumb-up"],["J'ai pu résoudre mon problème","solvedMyProblem","thumb-up"],["Autre","otherUp","thumb-up"]],[["Difficile à comprendre","hardToUnderstand","thumb-down"],["Informations ou exemple de code incorrects","incorrectInformationOrSampleCode","thumb-down"],["Il n'y a pas l'information/les exemples dont j'ai besoin","missingTheInformationSamplesINeed","thumb-down"],["Problème de traduction","translationIssue","thumb-down"],["Autre","otherDown","thumb-down"]],["Dernière mise à jour le 2025/09/04 (UTC)."],[[["\u003cp\u003eApplications must be upgraded to the latest supported runtime version to receive security updates and technical support.\u003c/p\u003e\n"],["\u003cp\u003eUpgrading an app depends on whether it uses the Go 1.11 (first-generation) or a second-generation runtime.\u003c/p\u003e\n"],["\u003cp\u003eGo 1.11 reached end of support on January 30, 2024, and while existing apps will continue to run, redeployment might be blocked.\u003c/p\u003e\n"],["\u003cp\u003eApps using second-generation runtimes can be upgraded by updating the \u003ccode\u003eapp.yaml\u003c/code\u003e file to specify a supported Go version.\u003c/p\u003e\n"]]],[],null,["# Upgrade an existing application\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\nYou must upgrade your applications to the [latest supported runtime version](/appengine/docs/standard/lifecycle/support-schedule#go) to continue receiving security updates and be eligible for\ntechnical support.\n\nThe process of upgrading an existing app depends on the runtime version that\nyour app currently uses:\n\n- **Go 1.11 (first-generation runtime)** : You must migrate your app to the [latest supported Go version](/appengine/docs/standard/lifecycle/support-schedule#go). Go 1.11 has reached [end of support](/appengine/docs/standard/lifecycle/runtime-lifecycle#end_of_support) on January 30, 2024. Your\n existing Go 1.11 applications will continue to run and receive traffic. However,\n App Engine might block re-deployment of applications that use runtimes\n [after their end of support date](/appengine/docs/standard/lifecycle/support-schedule#go).\n To migrate to the latest supported version of Go, see\n [Migrate from Go 1.11 to the latest Go runtime](/appengine/migration-center/standard/migrate-to-second-gen/go-differences).\n\n- **Go second-generation runtimes (after end of support)** : To upgrade to a\n [supported version of Go](/appengine/docs/standard/lifecycle/support-schedule#go),\n update the `app.yaml` file by specifying a version of Go that you\n want your app to run. For example:\n\n runtime: go\u003cvar translate=\"no\"\u003eVERSION\u003c/var\u003e\n\n Where \u003cvar translate=\"no\"\u003eVERSION\u003c/var\u003e is the Go `MAJOR` and `MINOR` version numbers.\n For example, to use the latest Go version, Go 1.25,\n specify `125`.\n For more information, see the\n [Go runtime overview](/appengine/docs/standard/go/runtime)."]]