Skip to content

Releases: chsxf/mfx

2.1.0

20 Jun 06:56

Choose a tag to compare

This release includes numerous important bug fixes and improvements.

Added

  • Added support for deferred scripts
  • Support in the DataValidator Twig extension for field names using a variable

Changed

  • The RequestResult::buildRedirectRequestResult method now accepts a second parameter to easily add query parameters to the URL
  • Renamed the DoNotExistInDB class to DoesNotExistInDB

Improved

  • The mfx_users.user_created SQL table field has now a CURRENT_TIMESTAMP default value to simplify user creation
  • Modernized the DataValidator Twig extension

Fixed

  • Incorrect behavior with long-lasting sessions
  • Incompatible type errors in the PaginationManager::getCurrentPageIndex() and PaginationManager::getPageCount() methods
  • Database connections are not properly released by the close() function
  • Avoid returning sensitive information in the User instance
  • Fixed a legacy bug in the DataValidator Twig extension
  • Fixed an issue with extra parameters and some DataValidator field types
  • Fixed a compilation error within the ExistsInDB and DoesNotExistInDB filter classes
  • Fixed an issue preventing DataValidator's optional WithOptions fields from validating their value properly
  • Script and stylesheets URLs were incorrectly escaped
  • Fixed PHP 8.4 deprecation warnings
  • Fixed an issue with the DataValidator integer field types

2.0.0 - Big Refactor to Services

02 Oct 06:26

Choose a tag to compare

This version includes a huge refactor of many old-fashioned singleton managers to services, as well as many other improvements.

Here is the full changelog:

Added

  • Add tests for some of the services
  • Support for additional configuration options for scripts and stylesheets

Changed

  • Refactored most static classes as services
  • Modernized session management
  • Renamed the built-in Status route to AppStatus for clarity

Improved

  • Enabled strict types
  • The unhandled exception handler now outputs full exception stack in accordance with the response.full_errors configuration directive

Fixed

  • Fixed some bugs within the database updater

Version 1.0.2 - Small bugfix release

13 Jul 22:36

Choose a tag to compare

Fixed

  • Incorrect Twig cache folder

1.0.1

10 Jul 13:40

Choose a tag to compare

Added

  • friendsofphp/php-cs-fixer and wikimedia/minify as dev dependencies

Improved

  • Reorganized files for a cleaner structure
  • Syntax consistency

Changed

  • Inlined minified static files (CSS / JS) to avoid having to serve them through the web server
  • Updated jQuery to version 3.7.1 slim

0.9

05 Feb 07:26

Choose a tag to compare

0.9 Pre-release
Pre-release

Pre-release in order to test composer support before version 1.0