Re: What is our definition of a "Backward Compatibility Break"
| From: | Hannes Magnusson | Date: | Tue, 11 Sep 2012 00:00:58 +0000 |
| Subject: | Re: What is our definition of a "Backward Compatibility Break" | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-62939@lists.php.net to get a copy of this message | ||
On Tue, Sep 11, 2012 at 12:08 AM, Stas Malyshev <smalyshev@sugarcrm.com> wrote:
> Hi!
>
>> Based on our recent discussion on #pecl , I'd like we clarify what we
>> think is a "BCB" (Backward Compatibility Break) as well as what "only
>> minor BC breaks" could mean.
>> Stas' recent topic on internals "On BC and interfaces" may serve as a
>> reflection basis.
>> As our release process told us that we should not add BCB (but only
>> "minor" ones ... hum) in any minor release (nor revision), and as 5.5
>> release process is going to start soon, I'd like we try to all agree
>> on that point.
>
> I think first we have to distinguish several levels of BC:
>
> 1. Binary BC
> 2. Source-level extension BC
> 3. PHP Code (API) BC
>
> Binary BC means that extension compiled with one version would work with
> another without recompilation. We keep this level of compatibility
> through all minor (5.x) releases and breaking it is an absolute no-no.
> However, between minors (5.5 -> 5.5) breaking it is fine.
Typo alert. That should say 5.4 -> 5.5 :)
-Hannes