Skip to content

Releases: Superbition/Polyel-Framework

v0.8.3

10 Dec 15:16
Compare
Choose a tag to compare

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

08 Dec 13:17
Compare
Choose a tag to compare

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

28 Jul 15:40
Compare
Choose a tag to compare

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 null because, 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 call Polyel::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 $returnClassOnly is set to true.

v0.8.0

23 May 20:57
Compare
Choose a tag to compare

Changed

  • Polyel will now only use the UTC timezone to generate datetime stamps, for now this is forced, but a configuration may
    be introduced in the future but UTC is a good standard to follow for storing dates in web applications

v0.7.2

04 May 23:40
Compare
Choose a tag to compare

Changed

  • Changed the CSRF cookie token to use Lax for the SameSite attribute instead of Strict

  • 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

08 Apr 11:43
Compare
Choose a tag to compare

Changed

  • Session prefix now defaults to an empty string instead of null internally

Fixed

  • Fixed an infinite loop, causing the request to hang when the database session driver is selected

v0.7.0

06 Apr 22:38
Compare
Choose a tag to compare

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 called session and will contain session data within a JSON column. The Polyel
    Skeleton has been updated with new changes within the session.php config. (#35)

  • The SessionManager will 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 new email.php config 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.php config, the option prefix is now only used when the file driver 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 VerifiesUserEmail has been changed to use non-plural DB table names.

v0.6.3

27 Mar 14:18
Compare
Choose a tag to compare

Fixed

  • Fix view includes using a broken file path, causing them to not render and not being able to use sub-views

v0.6.2

23 Feb 11:23
Compare
Choose a tag to compare

Fixed

  • Fixed an issue with Composer packages being preloaded, before only the classmap was used to preload packages but
    some use standalone files. Now, Polyel will preload all package files as well.

v0.6.1

28 Jan 15:43
Compare
Choose a tag to compare

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.