Releases: chsxf/mfx
Releases · chsxf/mfx
2.1.0
This release includes numerous important bug fixes and improvements.
Added
- Added support for deferred scripts
- Support in the
DataValidatorTwig extension for field names using a variable
Changed
- The
RequestResult::buildRedirectRequestResultmethod now accepts a second parameter to easily add query parameters to the URL - Renamed the
DoNotExistInDBclass toDoesNotExistInDB
Improved
- The
mfx_users.user_createdSQL table field has now aCURRENT_TIMESTAMPdefault value to simplify user creation - Modernized the
DataValidatorTwig extension
Fixed
- Incorrect behavior with long-lasting sessions
- Incompatible type errors in the
PaginationManager::getCurrentPageIndex()andPaginationManager::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
DataValidatorTwig extension - Fixed an issue with extra parameters and some
DataValidatorfield types - Fixed a compilation error within the
ExistsInDBandDoesNotExistInDBfilter classes - Fixed an issue preventing
DataValidator's optionalWithOptionsfields from validating their value properly - Script and stylesheets URLs were incorrectly escaped
- Fixed PHP 8.4 deprecation warnings
- Fixed an issue with the
DataValidatorinteger field types
2.0.0 - Big Refactor to Services
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
Statusroute toAppStatusfor clarity
Improved
- Enabled strict types
- The unhandled exception handler now outputs full exception stack in accordance with the
response.full_errorsconfiguration directive
Fixed
- Fixed some bugs within the database updater
Version 1.0.2 - Small bugfix release
Fixed
- Incorrect Twig cache folder
1.0.1
Added
friendsofphp/php-cs-fixerandwikimedia/minifyas 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