{"title":"Django’s release process","version":"6.1","locale":"pl","docname":"internals/release-process","url":"/pl/6.1/internals/release-process/","canonical":"https://djangodocs.dev/pl/6.1/internals/release-process/","summary":"Oficjalne wydania Link to this heading # Od wersji 1.0, numerowanie wydań Django działa w ten sposób: Wersje są numerowane w formie A.B lub A.B.C . A.B jest numerem…","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>Oficjalne wydania<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>Od wersji 1.0, numerowanie wydań Django działa w ten sposób:</p>\n<ul class=\"simple\">\n<li><p>Wersje są numerowane w formie <code class=\"docutils literal notranslate\"><span class=\"pre\">A.B</span></code> lub <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> jest numerem wersji <em>wydania funkcjonalnego</em>. Każda wersja będzie przeważnie kompatybilna wstecz z poprzednim wydaniem. Wyjątki od tej reguły będą wypisane w informacjach o wydaniu.</p></li>\n<li><p><code class=\"docutils literal notranslate\"><span class=\"pre\">C</span></code> jest numerem wersji <em>wydania łaty</em>, który jest zwiększany przy wydaniach z naprawami błędów i bezpieczeństwa. Te wydania będą w stu procentach kompatybilne wstecz z poprzednim wydaniem łaty. Jedynym wyjątkiem jest sytuacja, gdy problem bezpieczeństwa lub utraty danych nie może zostać rozwiązany bez złamania kompatybilności wstecz. Jeśli tak się wydarzy, informacje o wydaniu będą zawierały szczegółowe instrukcje upgrade’u.</p></li>\n<li><p>Przed nowym wydaniem funkcjonalnym, zrobimy alphę, betę i wydania „release candidate”. Są one w formie <code class=\"docutils literal notranslate\"><span class=\"pre\">A.B</span> <span class=\"pre\">alpha/beta/rc</span> <span class=\"pre\">N</span></code>, co oznacza <code class=\"docutils literal notranslate\"><span class=\"pre\">N-tą</span></code> alphę/betę/„release candidate” wersji <code class=\"docutils literal notranslate\"><span class=\"pre\">A.B</span></code>.</p></li>\n</ul>\n<p>W gicie każde wydanie Django będzie miało tag określający jego numer wersji, podpisany kluczem wydań Django. Dodatkowo każda seria wydań ma swoją własną gałąź, nazwaną <code class=\"docutils literal notranslate\"><span class=\"pre\">stable/A.B.x</span></code> i wydania bezpieczeństwa lub bugfiksów będą tworzone z tych gałęzi.</p>\n<p>For more information about how the Django project issues new releases for\nsecurity purposes, please see <a class=\"reference internal\" href=\"/pl/6.1/internals/security/\"><span class=\"doc\">our security policies</span></a>.</p>\n<dl class=\"glossary\">\n<dt id=\"term-Feature-release\">Wydanie funkcjonalne<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>Wydania funkcjonalne (A.B, A.B+1, itd.) będą wypuszczane średnio co osiem miesięcy – szczegóły w <a class=\"reference internal\" href=\"#id2\">procesie wydawniczym</a>. Te wydania będą zawierały nowe funkcjonalności, udoskonalenia istniejących funkcjonalności i tym podobne.</p>\n</dd>\n<dt id=\"term-Patch-release\">Wydanie łaty<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>Wydania łat (A.B.C, A.B.C+1, itp.) będą wypuszczane w miarę potrzeb, by naprawiać błędy i/lub problemy z bezpieczeństwem.</p>\n<p>Te wydania będą w stu procentach kompatybilne z powiązanym wydaniem funkcjonalnym, o ile nie jest to niemożliwe z powodów bezpieczeństwa lub aby zapobiec utracie danych. Więc odpowiedzią na pytanie „czy powinienem upgrade’ować się do ostatniego wydania łaty?” zawsze będzie „tak”.</p>\n</dd>\n<dt id=\"term-Long-term-support-release\">Wydanie „long-term support”<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>Niektóre wydania funkcjonalne będą oznaczone jako wydania „long-term support” (LTS). Te wydania będą otrzymywały poprawki bezpieczeństwa i utraty danych przez gwarantowany czas, zazwyczaj trzy lata.</p>\n<p>Na <a class=\"reference external\" href=\"https://www.djangoproject.com/download/\">stronie pobierania</a> znajdziesz wydania, które zostały wyznaczone do „long-term support”.</p>\n</dd>\n</dl>\n</section>\n<section id=\"release-cadence\">\n<span id=\"internal-release-cadence\"></span><h2>Rytm wydań<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=\"/pl/6.1/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\nto varying 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":"Oficjalne wydania","anchor":"official-releases","children":[]},{"title":"Rytm wydań","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":"Dokumentacja wewnętrzna Django","url":"/pl/6.1/internals/"}],"prev":{"docname":"internals/security","title":"Polityki bezpieczeństwa Django","url":"/pl/6.1/internals/security/"},"next":{"docname":"internals/deprecation","title":"Django Deprecation Timeline","url":"/pl/6.1/internals/deprecation/"},"formats":{"html":"/pl/6.1/internals/release-process/","markdown":"/pl/6.1/internals/release-process.md","json":"/pl/6.1/internals/release-process.json"},"source":"https://github.com/django/django/blob/stable/6.1.x/docs/internals/release-process.txt","official":"https://docs.djangoproject.com/pl/6.1/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"]}