Releases: Superbition/Polyel-Framework
v0.8.3
Fixed
- Fixed a fatal error due to coroutines being used within a task worker, when coroutines were not available. This was
related to how emails are sent within the framework. Email transmission uses a task worker to send emails
synchronously. This fix does not require any change on the application side.
v0.8.2
Bakup.io is now an official sponsor.
Added
- New project logo in the README - Preparation for new project name change in the future.
Fixed
- Email transmission fatal error when sending with SMTP and STARTTLS connections. The mailer was failing to send when
used within a coroutine context and the TCP hook enabled. No application side changes required for the fix.
v0.8.1
Changed
- Some internal code formatting and changed a missing return type for a function inside the dependency container
Fixed
- Fixed an issue where creating a new class from the main DI container would return
nullbecause, the function that
resolved class dependencies won't resolve a new one if the class already exists within the main container array.
This is a problem when you callPolyel::new(...)and want a new class instance which doesn't get stored in the
main container. Usually this is not a problem, but it fails to create a new class if it already exists. The solution
was to allow new classes to be created no matter what if the parameter$returnClassOnlyis set totrue.
v0.8.0
v0.7.2
Changed
-
Changed the CSRF cookie token to use
Laxfor the SameSite attribute instead ofStrict -
Changed the session cookie to use Lax for the SameSite attribute instead of Strict. Before when the session
cookie used Strict, if links were clicked externally for an app, the cookie gets blocked and thus, an invalid
session is created and the user is then logged out
v0.7.1
v0.7.0
Added
-
Support for using a database as a session store. Better for performance and scale over the file session driver.
Requires use of a new table calledsessionand will contain session data within a JSON column. The Polyel
Skeleton has been updated with new changes within thesession.phpconfig. (#35) -
The
SessionManagerwill now save the driver type that is selected in a class property. -
Added a new Polyel Email Service which is a wrapper based around PHPMailer
and makes it easy to send reusable emails in a Polyel application. Email sending uses a Swoole coroutine, so the
request is not affected by this blocking operation. A newemail.phpconfig file has been added to the skeleton. (#36) -
Because of the new addition of the email service, all the auth system TODOs for sending an email verification and
password reset have been implemented.
Changed
-
Inside the
session.phpconfig, the optionprefixis now only used when thefiledriver is selected. This is
because the new database session driver does not need to use a prefix because a primary key is used for the session
ID. -
The auth system trait
VerifiesUserEmailhas been changed to use non-plural DB table names.
v0.6.3
v0.6.2
v0.6.1
Changed
- Some improvements to code formatting and styling
Fixed
- Fixed a bug where some third party Composer packages failed to be preloaded due to the library using a
function which initiates calls to the autoloader, meaning any missing object errors could not be caught inside a
Try Block by Polyel and thus, result in an unhandled fatal error.