1.6 KiB
Executable File
1.6 KiB
Executable File
Migration
General
Update your version of this library using Composer and its composer update or composer require commands [?].
From v2.x.x to v3.x.x
- The default domain scope for new
Cookieinstances is still the current host, but it does not include subdomains anymore, unless explicitly specified otherwise via theCookie#setDomainmethod. - For the domain scope,
wwwsubdomains are not automatically widened to the bare domain anymore. If you want to include the bare domain and all subdomains in addition to thewwwsubdomain, you must now explicitly specifiy the bare domain instead of thewwwsubdomain as the scope. - When managing sessions via the methods
Session#startorSession#regenerate, the session configuration is now correctly respected with regard to whether subdomains should be included in the domain scope or not. The scope is not automatically widened to include subdomains anymore. - The second parameter of the
Cookie#setDomainmethod, which was named$keepWww, has been removed. - When creating
Cookieinstances from a string using theCookie#parsemethod, the source’s decision of whether to include subdomains in the domain scope or not is now correctly respected. The scope is not automatically widened to include subdomains anymore.
From v1.x.x to v2.x.x
- The license has been changed from the Apache License 2.0 to the MIT License.