Releases: josantonius/php-session
v2.0.8
What's Changed
-
Release/v2.0.8 by @josantonius in #21
-
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 Windows have been added.
-
Tests for PHP 8.2 have been added.
Full Changelog: v2.0.7...v2.0.8
v2.0.7
v2.0.6
What's Changed
-
Feature/remove-error-handler by @josantonius in #18
-
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.
-
Josantonius\Session\Exceptions\SessionException
was deprecated and will be removed in the next version. -
It is recommended to use the new exceptions added to catch exceptions:
Josantonius\Session\Exceptions\HeadersSentException
;Josantonius\Session\Exceptions\SessionNotStartedException
;Josantonius\Session\Exceptions\SessionNotStartedException
;Josantonius\Session\Exceptions\SessionStartedException
;Josantonius\Session\Exceptions\WrongSessionOptionException
;
-
Documents and comments on these changes were updated.
-
There have been no major changes from the previous version.
Full Changelog: v2.0.5...v2.0.6
v2.0.5
What's Changed
-
Fix documentation on available methods in
README.md
. -
Removed the warning about version 1.x in the
README.md
files. -
Fix exception comment.
-
The namespaces in the test classes were sorted.
-
Added return value in the test classes.
-
Changed the PHPUnit version from
9.0
to9.5
. -
Fixed blank line at the beginning of the file in
FUNDING.yml
. -
docs: update README.md by @alirezasalehizadeh in #16
-
pre-release/v2.0.5 by @josantonius in #17
New Contributors
- @alirezasalehizadeh made their first contribution in #16
Full Changelog: v2.0.4...v2.0.5
v2.0.4
v2.0.3
What's Changed
-
release/v2.0.3 in #15
-
Changes in documentation.
-
Deleted
Josantonius\Session\Session->errorHandler()
method.
Full Changelog: v2.0.2...v2.0.3
v2.0.2
What's Changed
Full Changelog: v2.0.1...v2.0.2
v2.0.1
2.0.0
What's Changed
-
pre-release/2.0.0 in #12
-
Full Changelog: 1.1.9...2.0.0
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.
Changes
-
Replaced all static methods in
Josantonius\Session\Session
class.A facade class was added to access the methods statically:
Josantonius\Session\Facades\Session
. -
ADDED:
Josantonius\Session\Facades\Session
class.Josantonius\Session\Exceptions\SessionException
class.Josantonius\Session\Tests\AllMethodTest
class.Josantonius\Session\Tests\ClearMethodTest
class.Josantonius\Session\Tests\DestroyMethodTest
class.Josantonius\Session\Tests\GetIdMethodTest
class.Josantonius\Session\Tests\GetMethodTest
class.Josantonius\Session\Tests\GetNameMethodTest
class.Josantonius\Session\Tests\HasMethodTest
class.Josantonius\Session\Tests\IsStartedMethodTest
class.Josantonius\Session\Tests\PullMethodTest
class.Josantonius\Session\Tests\RegenerateIdMethodTest
class.Josantonius\Session\Tests\RemoveMethodTest
class.Josantonius\Session\Tests\ReplaceMethodTest
class.Josantonius\Session\Tests\SetIdMethodTest
class.Josantonius\Session\Tests\SetMethodTest
class.Josantonius\Session\Tests\SetNameMethodTest
class.Josantonius\Session\Tests\StartMethodTest
class. -
DELETED:
Josantonius\Session\Tests\SessionTest
class.
1.1.9
IMPORTANT
-
Version 1.x is considered as deprecated and unsupported.
-
In the next version (2.x) the library will be completely restructured and will only be compatible with PHP 8 or higher versions.
-
It is recommended to review the documentation for the next version and make the necessary changes before starting to use it, as it will not be compatible with version 1.x.
-
Improved documentation;
README.md
,CODE_OF_CONDUCT.md
,CONTRIBUTING.md
andCHANGELOG.md
. -
Removed
Codacy
. -
Removed
PHP Coding Standards Fixer
. -
The
master
branch was renamed tomain
. -
The
develop
branch was added to use a workflow based onGit Flow
. -
Travis
is discontinued for continuous integration.GitHub Actions
will be used from now on. -
Added
.github/CODE_OF_CONDUCT.md
file. -
Added
.github/CONTRIBUTING.md
file. -
Added
.github/FUNDING.yml
file. -
Added
.github/workflows/ci.yml
file. -
Added
.github/lang/es-ES/CODE_OF_CONDUCT.md
file. -
Added
.github/lang/es-ES/CONTRIBUTING.md
file. -
Added
.github/lang/es-ES/LICENSE
file. -
Added
.github/lang/es-ES/README
file. -
Deleted
.travis.yml
file. -
Deleted
.editorconfig
file. -
Deleted
CONDUCT.MD
file. -
Deleted
README-ES.MD
file. -
Deleted
.php_cs.dist
file.