{"title":"Django のリリースプロセス","version":"1.10","locale":"ja","docname":"internals/release-process","url":"/ja/1.10/internals/release-process/","canonical":"https://djangodocs.dev/ja/1.10/internals/release-process/","summary":"バージョン 1.0 以降から、Django のリリース番号は以下の規則に従って付けられています。","html":"<h1>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>公式リリース<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>バージョン 1.0 以降から、Django のリリース番号は以下の規則に従って付けられています。</p>\n<ul class=\"simple\">\n<li><p>バージョン番号は、<code class=\"docutils literal notranslate\">A.B</code> または <code class=\"docutils literal notranslate\">A.B.C</code> の形式で表される。</p></li>\n<li><p><code class=\"docutils literal notranslate\">A.B</code> は <em>フィーチャーリリース</em> 版の番号です。大抵の場合、それぞれのバージョンで、前回のリリースとの後方互換性が保たれます。</p></li>\n<li><p><code class=\"docutils literal notranslate\">C</code> は、<em>パッチリリース</em> のバージョン番号で、バグフィックスとセキュリティリリースが追加されるたびに数字が1つ増えます。このリリースでは、前回のパッチリリースに対して 100% の後方互換性が保証されています。唯一の例外は、セキュリティやデータの喪失の問題によって、後方互換性を修正するために後方互換性を破らざるをえない場合のみです。このようなことが怒った場合には、パッチリリースが出された場合には、リリースノート内に更新の詳細な手順が書かれます。</p></li>\n<li><p>新しいフィーチャーリリースの前に、アルファ、ベータ、およびリリース候補版が作られます。これらのリリースのバージョン番号は <code class=\"docutils literal notranslate\">A.B alpha/beta/rc N</code> の形式で表され、バージョン <code class=\"docutils literal notranslate\">A.B</code> の <code class=\"docutils literal notranslate\">N番目の</code> アルファ/ベータ/リリース候補版であることを意味します。</p></li>\n</ul>\n<p>git では、それぞれの Django リリースに対して、Django のリリースキーでサインされた、バージョン番号を指すタグが付与されています。さらに、一連のリリースはそれぞれ自分のブランチを持ち、<code class=\"docutils literal notranslate\">stable/A.B.x</code> と呼ばれ、バグフィックスやセキュリティのリリースは、このブランチから作られます。</p>\n<p>Django プロジェクトでセキュリティ対策の新しいリリースを公開する方法について詳しく知りたければ、<a class=\"reference internal\" href=\"/ja/1.10/internals/security/\"><span class=\"doc\">Django のセキュリティポリシー</span></a> を読んでください。</p>\n<dl class=\"glossary\">\n<dt id=\"term-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>フィーチャーリリース (A.B、A.B+1 など) は、だいたい8ヶ月ごとに公開されます。詳しくは <a class=\"reference internal\" href=\"#id2\">release process</a> を読んでください。このリリースには、新機能や既存の機能への改良などが含まれます。</p>\n</dd>\n<dt id=\"term-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>パッチリリース (A.B.C、A.B.C+1 など) は必要に応じて公開されます。このリリースでは、バグフィックスやセキュリティ問題へのパッチが含まれます。</p>\n<p>このリリースでは、セキュリティ問題の解決やデータの損失を避けられない例外的な場合を除いて、対応するフィーチャーリリースとの 100% 後方互換性が保証されています。そのため、「最新のパッチリリースは更新するべきでしょうか？」という質問に対する答えは、常に「はい」です。</p>\n</dd>\n<dt id=\"term-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>特定のフィーチャーリリースは、長期サポート (long-term support; LTS) リリースに指定されます。このリリースは、通常3年間の保証期間内であれば、セキュリティ問題とデータ損失問題へのパッチが適用されることになっています。</p>\n<p>長期保証に指定されたリリースを確認するには、<a class=\"reference external\" href=\"https://www.djangoproject.com/download/\">the download page</a> を見てください。</p>\n</dd>\n</dl>\n</section>\n<section id=\"release-cadence\">\n<h2>リリース周期<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>Django 2.0 から、バージョン番号にゆるい形式の <a class=\"reference external\" href=\"http://semver.org/\">semantic versioning</a> が使われるようになりました。これは、LTS に続くリリースには次の &quot;dot zero&quot; に飛んだバージョンを付けるというものです。例示すれば、2.0、2.1、2.2 (LTS)、3.0、3.1、3.2 (LTS)、といった形式です。</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>非推奨のポリシー<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.x のある機能が新しいフィーチャーリリースで非推奨になった場合、すべての A.x のバージョン (x の全バージョンに対して) では、それまで通りに機能し続けますが、警告が出るようになります。非推奨になった機能は、バージョン B.0 のリリースで削除されます。ただし、機能の非推奨が A.x の最後のフィーチャーリリースで行われた場合に限り、最低でも2つのフィーチャーリリースで非推奨期間が続いた後に、バージョン B.1  のリリースで削除されます。</p>\n<p>したがって、たとえば、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>.</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 では、この機能が完全に除外されます。</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\">python -Wd</code> option.</p>\n<p>より一般的な例では、次のようになります。</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>サポートバージョン<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>Django の開発チームは、常時さまざまなレベルでリリースセットへのサポートを提供しています。詳しくは、ダウンロードページの <a class=\"reference external\" href=\"https://www.djangoproject.com/download/#supported-versions\">サポートバージョンのセクション</a> にある、各バージョンに対する現在のサポート状況のリストを見てください。</p>\n<ul>\n<li><p>現在の開発マスターでは、新機能とある程度のリファクタリングが必要なバグフィックスが含まれたバージョンが取得できます。</p></li>\n<li><p>マスターブランチに対して適用されるパッチは、最後のフィーチャーリリースのブランチにも必ず同時に適用されます。もしその修正が以下に挙げるような致命的な問題を修正していた場合は、その一連のフィーチャーリリースの次のパッチリリースとして必ずリリースされます。</p>\n<ul class=\"simple\">\n<li><p>セキュリティ上の問題。</p></li>\n<li><p>データ損失のバグ。</p></li>\n<li><p>キャッシュのバグ。</p></li>\n<li><p>新しく導入された機能のうち、主要な機能に関するバグ。</p></li>\n<li><p>Regressions from older versions of Django.</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>Features will be added to development master, to be released as 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>リリースプロセス<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 は期間に基づいたスケジュールを採用しています。フィーチャーリリースは約8ヶ月ごとにリリースされます。</p>\n<p>それぞれのフィーチャーリリースの公開後、リリースマネージャは次のフィーチャーリリースのスケジュールを告知します。</p>\n<section id=\"release-cycle\">\n<h3>リリースサイクル<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>それぞれのリリースサイクルは、以下の3つのパートからなります。</p>\n<section id=\"phase-one-feature-proposal\">\n<h4>フェーズ1: 機能の提案<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>フェーズ2: 開発<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>フェーズ3: バグフィックス<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>バグフィックスリリース<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>フィーチャーリリース (たとえば、A.B) の後、最新のリリースはバグフィックスモードに移行します。</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":"公式リリース","anchor":"official-releases","children":[]},{"title":"リリース周期","anchor":"release-cadence","children":[]},{"title":"非推奨のポリシー","anchor":"deprecation-policy","children":[]},{"title":"サポートバージョン","anchor":"supported-versions","children":[]},{"title":"リリースプロセス","anchor":"release-process","children":[{"title":"リリースサイクル","anchor":"release-cycle","children":[{"title":"フェーズ1: 機能の提案","anchor":"phase-one-feature-proposal","children":[]},{"title":"フェーズ2: 開発","anchor":"phase-two-development","children":[]},{"title":"フェーズ3: バグフィックス","anchor":"phase-three-bugfixes","children":[]}]},{"title":"バグフィックスリリース","anchor":"bug-fix-releases","children":[]}]}],"breadcrumbs":[{"docname":"internals/index","title":"Django internals","url":"/ja/1.10/internals/"}],"prev":{"docname":"internals/security","title":"Django のセキュリティポリシー","url":"/ja/1.10/internals/security/"},"next":{"docname":"internals/deprecation","title":"Django Deprecation Timeline","url":"/ja/1.10/internals/deprecation/"},"formats":{"html":"/ja/1.10/internals/release-process/","markdown":"/ja/1.10/internals/release-process.md","json":"/ja/1.10/internals/release-process.json"},"source":"https://github.com/django/django/blob/stable/1.10.x/docs/internals/release-process.txt","official":"https://docs.djangoproject.com/ja/1.10/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","el","pl"]}