flush docs
[mdref/mdref-http] / http / Url / : Changelog.md
1 # http\Url Changelog
2
3 0. v2.2.0
4 * Added parser constants:
5 * http\Url::PARSE_MBUTF8
6 * http\Url::PARSE_MBLOC (on systems with wide character support)
7 * http\Url::PARSE_TOIDN (with libidn support)
8 * http\Url::PARSE_TOPCT
9
10 ## Backwards compatibility notes
11
12 ### New parser in v2.2.0
13
14 PHP's [parse_url()](http://php.net/parse_url) is avoided since v2.2.0.
15
16 Creating an empty url by `new http\Url(NULL, NULL, 0)` will not result in `http://localhost/` anymore but in an empty URL instead.
17
18 ### No more default parts from the environment in v3.0.0
19
20 The default value of the $flags parameter of http\Url::__construct() was changed from http\Url::FROM_ENV to 0 and http\Env\Url was introduced instead.