{"title":"Django’s release process","version":"5.2","locale":"el","docname":"internals/release-process","url":"/el/5.2/internals/release-process/","canonical":"https://djangodocs.dev/el/5.2/internals/release-process/","summary":"Official releases Link to this heading # Since version 1.0, Django’s release numbering works as follows: Versions are numbered in the form A.B or A.B.C . A.B is the…","html":"<h1>Django’s release process<a class=\"heading-anchor\" href=\"#django-s-release-process\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h1>\n<section id=\"official-releases\">\n<span id=\"id1\"></span><h2>Official releases<a class=\"heading-anchor\" href=\"#official-releases\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h2>\n<p>Since version 1.0, Django’s release numbering works as follows:</p>\n<ul class=\"simple\">\n<li><p>Versions are numbered in the form <code class=\"docutils literal notranslate\"><span class=\"pre\">A.B</span></code> or <code class=\"docutils literal notranslate\"><span class=\"pre\">A.B.C</span></code>.</p></li>\n<li><p><code class=\"docutils literal notranslate\"><span class=\"pre\">A.B</span></code> is the <em>feature release</em> version number. Each version will be mostly\nbackwards compatible with the previous release. Exceptions to this rule will\nbe listed in the release notes.</p></li>\n<li><p><code class=\"docutils literal notranslate\"><span class=\"pre\">C</span></code> is the <em>patch release</em> version number, which is incremented for bugfix\nand security releases. These releases will be 100% backwards-compatible with\nthe previous patch release. The only exception is when a security or data\nloss issue can’t be fixed without breaking backwards-compatibility. If this\nhappens, the release notes will provide detailed upgrade instructions.</p></li>\n<li><p>Before a new feature release, we’ll make alpha, beta, and release candidate\nreleases. These are of the form <code class=\"docutils literal notranslate\"><span class=\"pre\">A.B</span> <span class=\"pre\">alpha/beta/rc</span> <span class=\"pre\">N</span></code>, which means the\n<code class=\"docutils literal notranslate\"><span class=\"pre\">Nth</span></code> alpha/beta/release candidate of version <code class=\"docutils literal notranslate\"><span class=\"pre\">A.B</span></code>.</p></li>\n</ul>\n<p>In git, each Django release will have a tag indicating its version number,\nsigned with the Django release key. Additionally, each release series has its\nown branch, called <code class=\"docutils literal notranslate\"><span class=\"pre\">stable/A.B.x</span></code>, and bugfix/security releases will be\nissued from those branches.</p>\n<p>For more information about how the Django project issues new releases for\nsecurity purposes, please see <a class=\"reference internal\" href=\"/el/5.2/internals/security/\"><span class=\"doc\">our security policies</span></a>.</p>\n<dl class=\"glossary\">\n<dt id=\"term-Feature-release\">Feature release<a class=\"heading-anchor\" href=\"#term-Feature-release\"><span class=\"visually-hidden\">Link to this term</span><span aria-hidden=\"true\">#</span></a></dt><dd><p>Feature releases (A.B, A.B+1, etc.) will happen roughly every eight months\n– see <a class=\"reference internal\" href=\"#id2\">release process</a> for details. These releases will contain new\nfeatures, improvements to existing features, and such.</p>\n</dd>\n<dt id=\"term-Patch-release\">Patch release<a class=\"heading-anchor\" href=\"#term-Patch-release\"><span class=\"visually-hidden\">Link to this term</span><span aria-hidden=\"true\">#</span></a></dt><dd><p>Patch releases (A.B.C, A.B.C+1, etc.) will be issued as needed, to fix\nbugs and/or security issues.</p>\n<p>These releases will be 100% compatible with the associated feature release,\nunless this is impossible for security reasons or to prevent data loss.\nSo the answer to «should I upgrade to the latest patch release?» will always\nbe «yes.»</p>\n</dd>\n<dt id=\"term-Long-term-support-release\">Long-term support release<a class=\"heading-anchor\" href=\"#term-Long-term-support-release\"><span class=\"visually-hidden\">Link to this term</span><span aria-hidden=\"true\">#</span></a></dt><dd><p>Certain feature releases will be designated as long-term support (LTS)\nreleases. These releases will get security and data loss fixes applied for\na guaranteed period of time, typically three years.</p>\n<p>See <a class=\"reference external\" href=\"https://www.djangoproject.com/download/\">the download page</a> for the releases that have been designated for\nlong-term support.</p>\n</dd>\n</dl>\n</section>\n<section id=\"release-cadence\">\n<span id=\"internal-release-cadence\"></span><h2>Release cadence<a class=\"heading-anchor\" href=\"#release-cadence\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h2>\n<p>Starting with Django 2.0, version numbers will use a loose form of <a class=\"reference external\" href=\"https://semver.org/\">semantic\nversioning</a> such that each version following an LTS will\nbump to the next «dot zero» version. For example: 2.0, 2.1, 2.2 (LTS), 3.0,\n3.1, 3.2 (LTS), etc.</p>\n<p>SemVer makes it easier to see at a glance how compatible releases are with each\nother. It also helps to anticipate when compatibility shims will be removed.\nIt’s not a pure form of SemVer as each feature release will continue to have a\nfew documented backwards incompatibilities where a deprecation path isn’t\npossible or not worth the cost. Also, deprecations started in an LTS release\n(X.2) will be dropped in a non-dot-zero release (Y.1) to accommodate our policy\nof keeping deprecation shims for at least two feature releases. Read on to the\nnext section for an example.</p>\n</section>\n<section id=\"deprecation-policy\">\n<span id=\"internal-release-deprecation-policy\"></span><h2>Deprecation policy<a class=\"heading-anchor\" href=\"#deprecation-policy\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h2>\n<p>A feature release may deprecate certain features from previous releases. If a\nfeature is deprecated in feature release A.x, it will continue to work in all\nA.x versions (for all versions of x) but raise warnings. Deprecated features\nwill be removed in the B.0 release, or B.1 for features deprecated in the last\nA.x feature release to ensure deprecations are done over at least 2 feature\nreleases.</p>\n<p>So, for example, if we decided to start the deprecation of a function in\nDjango 4.2:</p>\n<ul class=\"simple\">\n<li><p>Django 4.2 will contain a backwards-compatible replica of the function which\nwill raise a <code class=\"docutils literal notranslate\"><span class=\"pre\">RemovedInDjango51Warning</span></code>.</p></li>\n<li><p>Django 5.0 (the version that follows 4.2) will still contain the\nbackwards-compatible replica.</p></li>\n<li><p>Django 5.1 will remove the feature outright.</p></li>\n</ul>\n<p>The warnings are silent by default. You can turn on display of these warnings\nwith the <code class=\"docutils literal notranslate\"><span class=\"pre\">python</span> <span class=\"pre\">-Wd</span></code> option.</p>\n<p>A more generic example:</p>\n<ul class=\"simple\">\n<li><p>X.0</p></li>\n<li><p>X.1</p></li>\n<li><p>X.2 LTS</p></li>\n<li><p>Y.0: Drop deprecation shims added in X.0 and X.1.</p></li>\n<li><p>Y.1: Drop deprecation shims added in X.2.</p></li>\n<li><p>Y.2 LTS: No deprecation shims dropped (while Y.0 is no longer supported,\nthird-party apps need to maintain compatibility back to X.2 LTS to ease\nLTS to LTS upgrades).</p></li>\n<li><p>Z.0: Drop deprecation shims added in Y.0 and Y.1.</p></li>\n</ul>\n<p>See also the <a class=\"reference internal\" href=\"/el/5.2/internals/contributing/writing-code/submitting-patches/#deprecating-a-feature\"><span class=\"std std-ref\">Deprecating a feature</span></a> guide.</p>\n</section>\n<section id=\"supported-versions\">\n<span id=\"supported-versions-policy\"></span><h2>Supported versions<a class=\"heading-anchor\" href=\"#supported-versions\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h2>\n<p>At any moment in time, Django’s developer team will support a set of releases to\nvarying levels. See <a class=\"reference external\" href=\"https://www.djangoproject.com/download/#supported-versions\">the supported versions section</a> of the download\npage for the current state of support for each version.</p>\n<ul>\n<li><p>The current development branch <code class=\"docutils literal notranslate\"><span class=\"pre\">main</span></code> will get new features and bug fixes\nrequiring non-trivial refactoring.</p></li>\n<li><p>Patches applied to the main branch must also be applied to the last feature\nrelease branch, to be released in the next patch release of that feature\nseries, when they fix critical problems:</p>\n<ul class=\"simple\">\n<li><p>Security issues.</p></li>\n<li><p>Data loss bugs.</p></li>\n<li><p>Crashing bugs.</p></li>\n<li><p>Major functionality bugs in new features of the latest stable release.</p></li>\n<li><p>Regressions from older versions of Django introduced in the current release\nseries.</p></li>\n</ul>\n<p>The rule of thumb is that fixes will be backported to the last feature\nrelease for bugs that would have prevented a release in the first place\n(release blockers).</p>\n</li>\n<li><p>Security fixes and data loss bugs will be applied to the current main branch,\nthe last two feature release branches, and any other supported long-term\nsupport release branches.</p></li>\n<li><p>Documentation fixes generally will be more freely backported to the last\nrelease branch. That’s because it’s highly advantageous to have the docs for\nthe last release be up-to-date and correct, and the risk of introducing\nregressions is much less of a concern.</p></li>\n</ul>\n<p>As a concrete example, consider a moment in time halfway between the release of\nDjango 5.1 and 5.2. At this point in time:</p>\n<ul class=\"simple\">\n<li><p>Features will be added to the development main branch, to be released as\nDjango 5.2.</p></li>\n<li><p>Critical bug fixes will be applied to the <code class=\"docutils literal notranslate\"><span class=\"pre\">stable/5.1.x</span></code> branch, and\nreleased as 5.1.1, 5.1.2, etc.</p></li>\n<li><p>Security fixes and bug fixes for data loss issues will be applied to\n<code class=\"docutils literal notranslate\"><span class=\"pre\">main</span></code> and to the <code class=\"docutils literal notranslate\"><span class=\"pre\">stable/5.1.x</span></code>, <code class=\"docutils literal notranslate\"><span class=\"pre\">stable/5.0.x</span></code>, and\n<code class=\"docutils literal notranslate\"><span class=\"pre\">stable/4.2.x</span></code> (LTS) branches. They will trigger the release of <code class=\"docutils literal notranslate\"><span class=\"pre\">5.1.1</span></code>,\n<code class=\"docutils literal notranslate\"><span class=\"pre\">5.0.5</span></code>, <code class=\"docutils literal notranslate\"><span class=\"pre\">4.2.8</span></code>, etc.</p></li>\n<li><p>Documentation fixes will be applied to main, and, if easily backported, to\nthe latest stable branch, <code class=\"docutils literal notranslate\"><span class=\"pre\">5.1.x</span></code>.</p></li>\n</ul>\n</section>\n<section id=\"release-process\">\n<span id=\"id2\"></span><h2>Release process<a class=\"heading-anchor\" href=\"#release-process\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h2>\n<p>Django uses a time-based release schedule, with feature releases every eight\nmonths or so.</p>\n<p>After each feature release, the release manager will publish a timeline for the\nnext feature release. The timeline for an upcoming feature release can be found\nin the corresponding wiki roadmap page, e.g.\n<a class=\"reference external\" href=\"https://code.djangoproject.com/wiki/Version6.0Roadmap\">https://code.djangoproject.com/wiki/Version6.0Roadmap</a>.</p>\n<section id=\"feature-release-schedule-and-stages\">\n<h3>Feature release schedule and stages<a class=\"heading-anchor\" href=\"#feature-release-schedule-and-stages\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h3>\n<section id=\"active-development-pre-feature-freeze\">\n<h4>Active development / Pre-feature freeze<a class=\"heading-anchor\" href=\"#active-development-pre-feature-freeze\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h4>\n<p>Work begins on the feature release <code class=\"docutils literal notranslate\"><span class=\"pre\">A.B</span></code> after the feature freeze of the\nprevious release, i.e. when the <code class=\"docutils literal notranslate\"><span class=\"pre\">stable/A.B-1.x</span></code> branch is forked.</p>\n<p>You can find the current branch under active development in the\n<a class=\"reference external\" href=\"https://code.djangoproject.com/#Djangoreleaseprocess\">Django release process</a> on Trac.</p>\n</section>\n<section id=\"feature-freeze-alpha-release\">\n<h4>Feature freeze / Alpha release<a class=\"heading-anchor\" href=\"#feature-freeze-alpha-release\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h4>\n<p>All major and minor features, including deprecations and breaking changes, must\nbe merged by the feature freeze. Any features not done by this point will be\ndeferred to the next feature release.</p>\n<p>At this point, the <code class=\"docutils literal notranslate\"><span class=\"pre\">stable/A.B.x</span></code> branch will be forked from <code class=\"docutils literal notranslate\"><span class=\"pre\">main</span></code>.</p>\n</section>\n<section id=\"non-release-blocking-bug-fix-freeze-beta-release\">\n<h4>Non-release blocking bug fix freeze / Beta release<a class=\"heading-anchor\" href=\"#non-release-blocking-bug-fix-freeze-beta-release\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h4>\n<p>After the alpha, all bug fixes merged in <code class=\"docutils literal notranslate\"><span class=\"pre\">main</span></code> are also backported to\n<code class=\"docutils literal notranslate\"><span class=\"pre\">stable/A.B.x</span></code>. Refactors are backported at the discretion of the merger.\nMergers will be more and more conservative with backports, to avoid introducing\nregressions.</p>\n<p>In parallel to this phase, <code class=\"docutils literal notranslate\"><span class=\"pre\">main</span></code> can continue to receive new features, to be\nreleased in the <code class=\"docutils literal notranslate\"><span class=\"pre\">A.B+1</span></code> cycle.</p>\n</section>\n<section id=\"translation-string-freeze-release-candidate-release\">\n<h4>Translation string freeze / Release candidate release<a class=\"heading-anchor\" href=\"#translation-string-freeze-release-candidate-release\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h4>\n<p>If there is still a consistent stream of release blockers coming in at the\nplanned release candidate date, a beta 2 will be released to encourage further\ntesting and the release candidate date will be pushed out ~1 month.</p>\n<p>The release candidate marks the string freeze, and it happens at least two\nweeks before the final release. Translators can then submit updated\ntranslations for inclusion in the final release. After this point, new\ntranslatable strings must not be added.</p>\n<p>After the release candidate, only release blockers and documentation fixes are\nbackported.</p>\n</section>\n<section id=\"final-release\">\n<h4>Final release<a class=\"heading-anchor\" href=\"#final-release\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h4>\n<p>Ideally, the final release will ship two weeks after the last release\ncandidate.</p>\n<p>If there are major bugs still being found 2 weeks after the release candidate,\nthere will be a decision on how to proceed (likely another release candidate\nwould be issued and the final release date will be pushed out).</p>\n</section>\n</section>\n<section id=\"bug-fix-releases\">\n<h3>Bug-fix releases<a class=\"heading-anchor\" href=\"#bug-fix-releases\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h3>\n<p>After a feature release (e.g. A.B), the previous release will go into bugfix\nmode.</p>\n<p>The branch for the previous feature release (e.g. <code class=\"docutils literal notranslate\"><span class=\"pre\">stable/A.B-1.x</span></code>) will\ninclude bugfixes. Critical bugs fixed on main must <em>also</em> be fixed on the\nbugfix branch; this means that commits need to cleanly separate bug fixes from\nfeature additions. The developer who commits a fix to main will be\nresponsible for also applying the fix to the current bugfix branch.</p>\n</section>\n</section>","rootId":"django-s-release-process","toc":[{"title":"Official releases","anchor":"official-releases","children":[]},{"title":"Release cadence","anchor":"release-cadence","children":[]},{"title":"Deprecation policy","anchor":"deprecation-policy","children":[]},{"title":"Supported versions","anchor":"supported-versions","children":[]},{"title":"Release process","anchor":"release-process","children":[{"title":"Feature release schedule and stages","anchor":"feature-release-schedule-and-stages","children":[{"title":"Active development / Pre-feature freeze","anchor":"active-development-pre-feature-freeze","children":[]},{"title":"Feature freeze / Alpha release","anchor":"feature-freeze-alpha-release","children":[]},{"title":"Non-release blocking bug fix freeze / Beta release","anchor":"non-release-blocking-bug-fix-freeze-beta-release","children":[]},{"title":"Translation string freeze / Release candidate release","anchor":"translation-string-freeze-release-candidate-release","children":[]},{"title":"Final release","anchor":"final-release","children":[]}]},{"title":"Bug-fix releases","anchor":"bug-fix-releases","children":[]}]}],"breadcrumbs":[{"docname":"internals/index","title":"Django internals","url":"/el/5.2/internals/"}],"prev":{"docname":"internals/security","title":"Django’s security policies","url":"/el/5.2/internals/security/"},"next":{"docname":"internals/deprecation","title":"Django Deprecation Timeline","url":"/el/5.2/internals/deprecation/"},"formats":{"html":"/el/5.2/internals/release-process/","markdown":"/el/5.2/internals/release-process.md","json":"/el/5.2/internals/release-process.json"},"source":"https://github.com/django/django/blob/stable/5.2.x/docs/internals/release-process.txt","official":"https://docs.djangoproject.com/el/5.2/internals/release-process/","inVersions":["6.1","6.0","5.2","5.1","5.0","4.2","4.1","4.0","3.2","3.1","3.0","2.2","2.1","2.0","1.11","1.10"],"inLocales":["en","sv","zh-hans","ga","fr","ja","id","it","pt-br","ko","es","el","pl"]}