{"title":"Pengolahan terbitan Django","version":"1.9","locale":"id","docname":"internals/release-process","url":"/id/1.9/internals/release-process/","canonical":"https://djangodocs.dev/id/1.9/internals/release-process/","summary":"Sejak versi 1.0, penomoran terbitan Django bekerja seperti berikut: Versi di nomori dalam bentuk A.B or A.B.C; A.B is the feature release version number.…","html":"<h1>Pengolahan terbitan Django<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>Terbitan resmi<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>Sejak versi 1.0, penomoran terbitan Django bekerja seperti berikut:</p>\n<ul class=\"simple\">\n<li><p>Versi di nomori dalam bentuk <code class=\"docutils literal notranslate\">A.B</code> or <code class=\"docutils literal notranslate\">A.B.C</code>.</p></li>\n<li><p><code class=\"docutils literal notranslate\">A.B</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\">C</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\">A.B alpha/beta/rc N</code>, which means the\n<code class=\"docutils literal notranslate\">Nth</code> alpha/beta/release candidate of version <code class=\"docutils literal notranslate\">A.B</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\">stable/A.B.x</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=\"/id/1.9/internals/security/\"><span class=\"doc\">our security policies</span></a>.</p>\n<dl class=\"glossary\">\n<dt id=\"term-Feature-release\">Terbitan akan datang<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\">Terbitan tambalan<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 &quot;should I upgrade to the latest patch release?&quot; will always\nbe &quot;yes.&quot;</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<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=\"http://semver.org/\">semantic\nversioning</a> such that each version following an LTS will\nbump to the next &quot;dot zero&quot; 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>Kebijakan bantahan<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>Jadi, sebagai contoh, jika kami memutuskan untuk mulai mengusangkan dari sebuah fungsi di Django 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\">RemovedInDjango51Warning</code>. This warning is silent by\ndefault; you can turn on display of these warnings with the <code class=\"docutils literal notranslate\">-Wd</code> option\nof Python.</p></li>\n<li><p>Django 5.0 (the version that follows 4.2) will still contain the\nbackwards-compatible replica. This warning becomes <em>loud</em> by default and\nwill likely be quite annoying.</p></li>\n<li><p>Django 5.1 aka memindahkan fitur sekaligus.</p></li>\n</ul>\n<p>Contoh umum lain:</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</section>\n<section id=\"supported-versions\">\n<span id=\"backwards-compatibility-policy\"></span><h2>Versi didukung<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 master will get new features and bug fixes\nrequiring non-trivial refactoring.</p></li>\n<li><p>Patches applied to the master 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>Masalah keamanan</p></li>\n<li><p>Data loss bugs.</p></li>\n<li><p>Crashing bugs.</p></li>\n<li><p>Major functionality bugs in newly-introduced features.</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 master, the\nlast 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>Fitur akan ditambahkan pada induk pengembangan, akan diterbitkan sebagai Django 5.2.</p></li>\n<li><p>Critical bug fixes will be applied to the <code class=\"docutils literal notranslate\">stable/5.1.x</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\">master</code> and to the <code class=\"docutils literal notranslate\">stable/5.1.x</code>, <code class=\"docutils literal notranslate\">stable/5.0.x</code>, and\n<code class=\"docutils literal notranslate\">stable/4.2.x</code> (LTS) branches. They will trigger the release of <code class=\"docutils literal notranslate\">5.1.1</code>,\n<code class=\"docutils literal notranslate\">5.0.5</code>, <code class=\"docutils literal notranslate\">4.2.8</code>, etc.</p></li>\n<li><p>Documentation fixes will be applied to master, and, if easily backported, to\nthe latest stable branch, <code class=\"docutils literal notranslate\">5.1.x</code>.</p></li>\n</ul>\n</section>\n<section id=\"release-process\">\n<span id=\"id2\"></span><h2>Mengolah terbitan<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 announce a timeline for\nthe next feature release.</p>\n<section id=\"release-cycle\">\n<h3>Daur terbitan<a class=\"heading-anchor\" href=\"#release-cycle\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h3>\n<p>Setiap daur terbitan terdiri dari tiga bagian:</p>\n<section id=\"phase-one-feature-proposal\">\n<h4>Tahap satu: usulan fitur<a class=\"heading-anchor\" href=\"#phase-one-feature-proposal\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h4>\n<p>The first phase of the release process will include figuring out what major\nfeatures to include in the next version. This should include a good deal of\npreliminary work on those features -- working code trumps grand design.</p>\n<p>Major features for an upcoming release will be added to the wiki roadmap page,\ne.g. <a class=\"reference external\" href=\"https://code.djangoproject.com/wiki/Version1.9Roadmap\">https://code.djangoproject.com/wiki/Version1.9Roadmap</a>.</p>\n</section>\n<section id=\"phase-two-development\">\n<h4>Tahap dua: pengembangan<a class=\"heading-anchor\" href=\"#phase-two-development\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h4>\n<p>The second part of the release schedule is the &quot;heads-down&quot; working period.\nUsing the roadmap produced at the end of phase one, we'll all work very hard to\nget everything on it done.</p>\n<p>At the end of phase two, any unfinished features will be postponed until the\nnext release.</p>\n<p>Phase two will culminate with an alpha release. At this point, the\n<code class=\"docutils literal notranslate\">stable/A.B.x</code> branch will be forked from <code class=\"docutils literal notranslate\">master</code>.</p>\n</section>\n<section id=\"phase-three-bugfixes\">\n<h4>Tahap tiga: memperbaiki kesalahan<a class=\"heading-anchor\" href=\"#phase-three-bugfixes\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h4>\n<p>The last part of a release cycle is spent fixing bugs -- no new features will\nbe accepted during this time. We'll try to release a beta release one month\nafter the alpha and a release candidate one month after the beta.</p>\n<p>The release candidate marks the string freeze, and it happens at least two\nweeks before the final release. After this point, new translatable strings\nmust not be added.</p>\n<p>During this phase, committers will be more and more conservative with\nbackports, to avoid introducing regressions. After the release candidate, only\nrelease blockers and documentation fixes should be backported.</p>\n<p>In parallel to this phase, <code class=\"docutils literal notranslate\">master</code> can receive new features, to be released\nin the <code class=\"docutils literal notranslate\">A.B+1</code> cycle.</p>\n</section>\n</section>\n<section id=\"bug-fix-releases\">\n<h3>Terbitak perbaikan-kesalahan<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\">stable/A.B-1.x</code>) will\ninclude bugfixes. Critical bugs fixed on master 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 master 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":"Terbitan resmi","anchor":"official-releases","children":[]},{"title":"Release cadence","anchor":"release-cadence","children":[]},{"title":"Kebijakan bantahan","anchor":"deprecation-policy","children":[]},{"title":"Versi didukung","anchor":"supported-versions","children":[]},{"title":"Mengolah terbitan","anchor":"release-process","children":[{"title":"Daur terbitan","anchor":"release-cycle","children":[{"title":"Tahap satu: usulan fitur","anchor":"phase-one-feature-proposal","children":[]},{"title":"Tahap dua: pengembangan","anchor":"phase-two-development","children":[]},{"title":"Tahap tiga: memperbaiki kesalahan","anchor":"phase-three-bugfixes","children":[]}]},{"title":"Terbitak perbaikan-kesalahan","anchor":"bug-fix-releases","children":[]}]}],"breadcrumbs":[{"docname":"internals/index","title":"Dalam Django","url":"/id/1.9/internals/"}],"prev":{"docname":"internals/security","title":"Kebijakan keamanan Django","url":"/id/1.9/internals/security/"},"next":{"docname":"internals/deprecation","title":"Django Deprecation Timeline","url":"/id/1.9/internals/deprecation/"},"formats":{"html":"/id/1.9/internals/release-process/","markdown":"/id/1.9/internals/release-process.md","json":"/id/1.9/internals/release-process.json"},"source":"https://github.com/django/django/blob/stable/1.9.x/docs/internals/release-process.txt","official":"https://docs.djangoproject.com/id/1.9/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","1.9"],"inLocales":["en","fr","ja","id","pt-br","es"]}