Skip to content

Commit b46ce15

Browse files
Nyholmdbu
authored andcommitted
Added a note about BC (#111)
Added a section about BC
1 parent 3c7d703 commit b46ce15

File tree

2 files changed

+32
-0
lines changed

2 files changed

+32
-0
lines changed

httplug/backwards-compatibility.rst

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
Backwards compatibility
2+
=======================
3+
4+
Backwards compatibility is an important topic for us, as it should be in every open source project. We follow
5+
Semver_ which allows us to only break backwards compatibility between major versions. We use
6+
deprecation notices to inform you about the changes made before they are removed.
7+
8+
Our backwards compatibility promise does not include classes or functions with the ``@internal`` annotation.
9+
10+
Symfony Bundle
11+
--------------
12+
13+
The HttplugBundle is just a Symfony integration for HTTPlug and it does not have any classes which falls under the BC
14+
promise. The backwards compatibility of the bundle is only the configuration and its values (and of course the behavior
15+
of those values).
16+
17+
Discovery
18+
---------
19+
20+
The order of the strategies is not part of our BC promise. The strategies themselves are marked
21+
as ``@internal`` so they are also not part of our BC promise.
22+
However, we do promise that we will not remove a strategy neither will we remove classes from the
23+
``CommonClassesStrategy``. We will also support the following Puli versions:
24+
* 1.0.0-beta9
25+
* 1.0.0-beta10
26+
27+
The consequences of the BC promise for the discovery library is that you can not rely on the *same* client to be
28+
returned in the future. However, if discovery does find a client now, you can be sure that after future updates it will still discover a client.
29+
30+
.. _Semver: http://semver.org/

index.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,8 @@ for discussion around a future HTTP client PSR.
7474

7575
integrations/index
7676

77+
Backwards compatibility <httplug/backwards-compatibility>
78+
7779
.. toctree::
7880
:hidden:
7981
:caption: Components

0 commit comments

Comments
 (0)