Debian Codegraph @

docs/community/release-process.rst

raw
1 Release Process and Rules
2 =========================
3
4 .. versionadded:: v2.6.2
5
6 Starting with the version to be released after ``v2.6.2``, the following rules
7 will govern and describe how the Requests core team produces a new release.
8
9 Major Releases
10 --------------
11
12 A major release will include breaking changes. When it is versioned, it will
13 be versioned as ``vX.0.0``. For example, if the previous release was
14 ``v10.2.7`` the next version will be ``v11.0.0``.
15
16 Breaking changes are changes that break backwards compatibility with prior
17 versions. If the project were to change the ``text`` attribute on a
18 ``Response`` object to a method, that would only happen in a Major release.
19
20 Major releases may also include miscellaneous bug fixes. The core developers of
21 Requests are committed to providing a good user experience. This means we're
22 also committed to preserving backwards compatibility as much as possible. Major
23 releases will be infrequent and will need strong justifications before they are
24 considered.
25
26 Minor Releases
27 --------------
28
29 A minor release will not include breaking changes but may include miscellaneous
30 bug fixes. If the previous version of Requests released was ``v10.2.7`` a minor
31 release would be versioned as ``v10.3.0``.
32
33 Minor releases will be backwards compatible with releases that have the same
34 major version number. In other words, all versions that would start with
35 ``v10.`` should be compatible with each other.
36
37 Hotfix Releases
38 ---------------
39
40 A hotfix release will only include bug fixes that were missed when the project
41 released the previous version. If the previous version of Requests released
42 ``v10.2.7`` the hotfix release would be versioned as ``v10.2.8``.
43
44 Hotfixes will **not** include upgrades to vendored dependencies after
45 ``v2.6.2``
46
47 Reasoning
48 ---------
49
50 In the 2.5 and 2.6 release series, the Requests core team upgraded vendored
51 dependencies and caused a great deal of headaches for both users and the core
52 team. To reduce this pain, we're forming a concrete set of procedures so
53 expectations will be properly set.