v2.0.7 (2024-09-11)
-
Support for PHP version 8.3.
-
Fixed facade methods to be static by @escannord in #13
v2.0.6 (2022-09-29)
-
The notation type in the test function names has been changed from camel to snake case for readability.
-
Functions were added to document the methods and avoid confusion.
-
Disabled the ´CamelCaseMethodName´ rule in ´phpmd.xml´ to avoid warnings about function names in tests.
-
The alignment of the asterisks in the comments has been fixed.
-
Tests for PHP 8.2 have been added.
2.0.5 (2022-08-11)
- Improved documentation.
2.0.4 (2022-08-08)
-
The error handler was removed as it could override a previously created error handler or be easily overridden by another error handler.
-
Functions were added to perform what was done from the error handler.
2.0.3 (2022-07-31)
Removed the warning about version 1.x in the README.md files.
The namespaces sorted.
Changed the PHPUnit version from 9.0 to 9.5.
Fixed blank line at the beginning of the file in FUNDING.yml.
2.0.2 (2022-07-13)
-
Fixed required PHP version.
-
Improved documentation.
2.0.1 (2022-07-13)
-
Removed
phpDocumentorfor generate documentation. -
Added documentation for available methods.
-
Renamed the facade from
Josantonius\Cookie\CookieFacadetoJosantonius\Cookie\Facades\Cookie.
2.0.0 (2022-07-12)
IMPORTANT:
Version 1.x is considered as deprecated and unsupported. In this version (2.x) the library was completely restructured. It is recommended to review the documentation for this version and make the necessary changes before starting to use it, as it not be compatible with version 1.x.
-
The library was completely refactored.
-
Support for PHP version 8.1.
-
Support for earlier versions of PHP 8.1 is discontinued.
-
Replaced all static methods in
Josantonius\Cookie\Cookieclass.A facade class was added to access the methods statically:
Josantonius\Cookie\CookieFacade. -
Improved documentation;
README.md,CODE_OF_CONDUCT.md,CONTRIBUTING.mdandCHANGELOG.md. -
Removed
Codacy. -
Removed
PHP Coding Standards Fixer. -
The
masterbranch was renamed tomain. -
The
developbranch was added to use a workflow based onGit Flow. -
Travisis discontinued for continuous integration.GitHub Actionswill be used from now on. -
Added
phpDocumentorfor generate documentation. -
Added
.github/CODE_OF_CONDUCT.mdfile. -
Added
.github/CONTRIBUTING.mdfile. -
Added
.github/FUNDING.ymlfile. -
Added
.github/workflows/ci.ymlfile. -
Added
.github/lang/es-ES/CODE_OF_CONDUCT.mdfile. -
Added
.github/lang/es-ES/CONTRIBUTING.mdfile. -
Added
.github/lang/es-ES/LICENSEfile. -
Added
.github/lang/es-ES/READMEfile. -
Deleted
.travis.ymlfile. -
Deleted
.editorconfigfile. -
Deleted
CONDUCT.MDfile. -
Deleted
README-ES.MDfile. -
Deleted
.php_cs.distfile.
1.1.6 (2018-01-05)
-
The tests were fixed.
-
Changes in documentation.
1.1.5 (2017-11-08)
-
Implemented
PHP Mess Detectorto detect inconsistencies in code styles. -
Implemented
PHP Code Beautifier and Fixerto fixing errors automatically. -
Implemented
PHP Coding Standards Fixerto organize PHP code automatically according to PSR standards. -
Added
Josantonius\Cookie\Cookie::getCookiePrefix()method.
1.1.4 (2017-10-25)
-
Implemented
PSR-4 autoloader standardfrom all library files. -
Implemented
PSR-2 coding standardfrom all library PHP files. -
Implemented
PHPCSto ensure that PHP code complies withPSR2code standards. -
Implemented
Codacyto automates code reviews and monitors code quality over time. -
Implemented
Codecovto coverage reports. -
Added
Cookie/phpcs.ruleset.xmlfile. -
Deleted
Cookie/src/bootstrap.phpfile. -
Deleted
Cookie/tests/bootstrap.phpfile. -
Deleted
Cookie/vendorfolder. -
Changed
Josantonius\Cookie\Test\CookieTestclass toJosantonius\Cookie\CookieTestclass.
1.1.3 (2017-09-11)
-
Unit tests supported by
PHPUnitwere added. -
The repository was synchronized with Travis CI to implement continuous integration.
-
Added
Cookie/src/bootstrap.phpfile -
Added
Cookie/tests/bootstrap.phpfile. -
Added
Cookie/phpunit.xml.distfile. -
Added
Cookie/_config.ymlfile. -
Added
Cookie/.travis.ymlfile. -
Deleted
Josantonius\Cookie\Cookie::display()method. -
Deleted
Josantonius\Cookie\Tests\CookieTestclass. -
Deleted
Josantonius\Cookie\Tests\CookieTest::testSetCookie()method. -
Deleted
Josantonius\Cookie\Tests\CookieTest::testPullCookie()method. -
Deleted
Josantonius\Cookie\Tests\CookieTest::testGetCookie()method. -
Deleted
Josantonius\Cookie\Tests\CookieTest::testDisplayCookies()method. -
Deleted
Josantonius\Cookie\Tests\CookieTest::testDestroyOneCookie()method. -
Deleted
Josantonius\Cookie\Tests\CookieTest::testDestroyAllCookies()method. -
Added
Josantonius\Cookie\Test\CookieTestclass. -
Added
Josantonius\Cookie\Test\CookieTest::testSetCookie()method. -
Added
Josantonius\Cookie\Test\CookieTest::testPullCookie()method. -
Added
Josantonius\Cookie\Test\CookieTest::testPullCookieNonExistent()method. -
Added
Josantonius\Cookie\Test\CookieTest::testGetCookie()method. -
Added
Josantonius\Cookie\Tests\CookieTest::testGetAllCookiesNonExistents()()method. -
Added
Josantonius\Cookie\Tests\CookieTest::testGetAllCookiesNonExistents()method. -
Added
Josantonius\Cookie\Test\CookieTest::testDisplayCookies()method. -
Added
Josantonius\Cookie\Test\CookieTest::testDestroyOneCookie()method. -
Added
Josantonius\Cookie\Test\CookieTest::testDestroyOneCookieNonExistent()method. -
Added
Josantonius\Cookie\Test\CookieTest::testDestroyAllCookies()method. -
Added
Josantonius\Cookie\Test\CookieTest::testDestroyAllCookiesNonExistents()method.
1.1.2 (2017-07-16)
- Deleted
Josantonius\Cookie\Exception\CookieExceptionclass. - Deleted
Josantonius\Cookie\Exception\Exceptionsabstract class. - Deleted
Josantonius\Cookie\Exception\CookieException->__construct()method.
1.1.1 (2017-03-18)
- Some files were excluded from download and comments and readme files were updated.
1.1.0 (2017-01-30)
- Compatible with PHP 5.6 or higher.
1.0.0 (2016-12-15)
-
Compatible only with PHP 7.0 or higher. In the next versions, the library will be modified to make it compatible with PHP 5.6 or higher.
-
Added
Josantonius\Cookie\Cookieclass. -
Added
Josantonius\Cookie\Cookie::set()method. -
Added
Josantonius\Cookie\Cookie::pull()method. -
Added
Josantonius\Cookie\Cookie::get()method. -
Added
Josantonius\Cookie\Cookie::display()method. -
Added
Josantonius\Cookie\Cookie::destroy()method. -
Added
Josantonius\Cookie\Exception\CookieExceptionclass. -
Added
Josantonius\Cookie\Exception\Exceptionsabstract class. -
Added
Josantonius\Cookie\Exception\CookieException->__construct()method. -
Added
Josantonius\Cookie\Tests\CookieTestclass. -
Added
Josantonius\Cookie\Tests\CookieTest::testSetCookie()method. -
Added
Josantonius\Cookie\Tests\CookieTest::testPullCookie()method. -
Added
Josantonius\Cookie\Tests\CookieTest::testGetCookie()method. -
Added
Josantonius\Cookie\Tests\CookieTest::testDisplayCookies()method. -
Added
Josantonius\Cookie\Tests\CookieTest::testDestroyOneCookie()method. -
Added
Josantonius\Cookie\Tests\CookieTest::testDestroyAllCookies()method.