Skip to content

v2.0.6

Compare
Choose a tag to compare
@josantonius josantonius released this 07 Aug 22:10
· 14 commits to main since this release

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