[php-maint] Bug#752086: Bug#752086: [php5] Please do not request users to read UPGRADING in NEWS.Debian

Filipus Klutiero chealer at gmail.com
Thu Jun 19 15:24:10 UTC 2014


reopen 752086
reopen 752085
thanks

On 2014-06-19 10:44, Ondřej Surý wrote:
> Version: 5.6.0~beta4+dfsg-5
>
> # or some other future version...
>
> For god sake, could you send a patch with proposed changes next time instead of filling bug reports for such minor stuff?

When you'll be asked to read a document more than 5 pages long uselessly, you won't qualify your waste of time as "minor".

For God's sake, why did this message close #752085? Do *not* close reports using versions which do not exist.

> O.
> On Thu, Jun 19, 2014, at 16:10, Filipus Klutiero wrote:
>> Package: php5
>> Version: 5.6.0~beta4+dfsg-4
>> Severity: wishlist
>> The 5.6.0~beta4+dfsg-2 changelog entry reads:
>>>   * Please read full upgrade notes available from
>>>     /usr/share/doc/php5-common/UPGRADING
>>>   * Here are the backwards incompatible changes as listed by upstream:
>>>     - Core:
>>>       By fixing bug #66015 it is no longer possible to overwrite keys in static scalar
>>>       arrays. Quick example to illustrate:
>>>       class Test {
>>>            const FIRST = 1;
>>>            public $array = array(
>>>                self::FIRST => 'first',
>>>                'second',
>>>                'third'
>>>            );
>>>       }
>>>       Test::$array will have as expected three array keys (1, 2, 3) and no longer
>>>       two (0, 1). self::FIRST will no longer overwrite 'third' having key 1 then,
>>>       but will mark the beginning of indexing.
>>>     - JSON:
>>>       json_decode() no longer accepts non-lowercase variants of lone JSON true,
>>>       false or null values. For example, True or FALSE will now cause json_decode to
>>>       return NULL and set an error value you can fetch with json_last_error().
>>>       This affects JSON texts consisting solely of true, false or null. Text
>>>       containing non-lowercase values inside JSON arrays or objects has never been
>>>       accepted.
>>>     - OpenSSL:
>>>       To prevent man-in-the-middle attacks against encrypted transfers client
>>>       streams now verify peer certificates by default. Previous versions
>>>       required users to manually enable peer verification. As a result of this
>>>       change, existing code using ssl:// or tls:// stream wrappers (e.g.
>>>       file_get_contents(), fsockopen(), stream_socket_client()) may no longer
>>>       connect successfully without manually disabling peer verification via the
>>>       stream context's "verify_peer" setting. Encrypted transfers delegate to
>>>       operating system certificate stores by default if not overridden via the
>>>       new openssl.cafile and openssl.cafile ini directives or via call-time SSL
>>>       context options, so most users should be unaffected by this transparent
>>>       security enhancement. (https://wiki.php.net/rfc/tls-peer-verification)
>>>     - Mcrypt:
>>>       The mcrypt_encrypt(), mcrypt_decrypt() and mcrypt_{MODE}() functions no
>>>       longer accept keys or IVs with incorrect sizes. Furthermore an IV is now
>>>       required if the used block cipher mode requires it.
>> We shouldn't request users to read the full upgrade notes for 2 reasons:
>>
>>  1. We have nothing to gain from users reading that. We should simply inform them for their own good.
>>  2. Even users usually don't need to read the full upgrade notes. Only a minority of developers want to read the full upgrade notes. Even the backwards-incompatible changes don't need to be read on many systems which only use packaged PHP scripts.
>>
>> Note that there is no /usr/share/doc/php5-common/UPGRADING
>> UPGRADING is gzipped.
>> -- 
>> Filipus Klutiero
>> http://www.philippecloutier.com
>> _________________________________________________
>> pkg-php-maint mailing list
>> pkg-php-maint at lists.alioth.debian.org <mailto:pkg-php-maint at lists.alioth.debian.org>
>> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-php-maint
> --
> Ondřej Surý <ondrej at sury.org <mailto:ondrej at sury.org>>
> Knot DNS (https://www.knot-dns.cz/) – a high-performance DNS server


-- 
Filipus Klutiero
http://www.philippecloutier.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-php-maint/attachments/20140619/6e8c0f27/attachment-0001.html>


More information about the pkg-php-maint mailing list