diff options
author | Andrey Petrov <andrey.petrov@shazow.net> | 2015-05-31 11:10:28 +0100 |
---|---|---|
committer | Andrey Petrov <andrey.petrov@shazow.net> | 2015-05-31 11:16:48 +0100 |
commit | 64adec9f422de21c7ca3e4c8e26beecd75fdfdaf (patch) | |
tree | 1f1e59e3a712df1597e761501a9dc168dc311fd2 | |
parent | e06205b4e63f3283fd2d566f45f7608492e552e9 (diff) | |
download | urllib3-sanever.tar.gz |
Initial draft of versioning strategy.sanever
-rw-r--r-- | docs/index.rst | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/docs/index.rst b/docs/index.rst index f60e46ea..dfacf427 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -98,6 +98,27 @@ like buffering: >>> secondpart = b.read() +Upgrading & Versioning +---------------------- + +urllib3 uses a compatibility-based versioning scheme (let's call it +*compatver*). For the user, they indicate the required decision for upgrading. + +Given a version ``A.B.C``: + +``C.`` Strictly backwards-compatible, usually a bug-fix. **Always upgrade.** + +``B.`` Possibly partially incompatible, usually a new feature or a minor API +improvement. **Read the changelog and upgrade when ready.** + +``A.`` Major rewrite and possibly breaks everything. Not really an upgrade, +basically a new library under the same namespace, decide if you want to switch. + +For example, when going from urllib3 v1.2.3 to v1.2.4, you should always +upgrade without hesitation. When going from v1.2 to v1.3, you should read the +changes to make sure they're not going to affect you. + + Components ========== |