Skip to content

Releases: josantonius/php-session

v2.0.8

29 Sep 21:17
Compare
Choose a tag to compare

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

11 Aug 16:23
Compare
Choose a tag to compare

What's Changed

  • Improved documentation.

Full Changelog: v2.0.6...v2.0.7

v2.0.6

07 Aug 22:10
Compare
Choose a tag to compare

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

31 Jul 14:33
Compare
Choose a tag to compare

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 to 9.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

Full Changelog: v2.0.4...v2.0.5

v2.0.4

13 Jul 15:07
Compare
Choose a tag to compare

What's Changed

  • Changes in documentation.

Full Changelog: v2.0.3...v2.0.4

v2.0.3

13 Jul 15:08
Compare
Choose a tag to compare

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

29 Jun 22:08
Compare
Choose a tag to compare

What's Changed

  • hotfix/fix-readme-namespace in #14.
  • Fixes #13.
  • Replace symbol in start method comment.

Full Changelog: v2.0.1...v2.0.2

v2.0.1

28 Jun 00:14
Compare
Choose a tag to compare

What's Changed

  • Changes in documentation.

2.0.0

27 Jun 20:25
Compare
Choose a tag to compare

What's Changed

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

21 Jun 11:36
Compare
Choose a tag to compare

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 and CHANGELOG.md.

  • Removed Codacy.

  • Removed PHP Coding Standards Fixer.

  • The master branch was renamed to main.

  • The develop branch was added to use a workflow based on Git 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.