Releases: mako-framework/framework
Releases · mako-framework/framework
11.4.4
11.4.3
11.4.2
11.4.1
11.3.1
11.4.0
New
- The container can now resolve parameters with the help of custom injector attributes. The following attributes are included by default:
InjectConnectionwhich allows you to inject a specific database connection.InjectConnectionwhich allows you to inject a specific Redis connection.InjectConfigwhich allows you to inject a config value.InjectEnvwhich allows you to inject a environment variable value.
- Added
disableAfterSunsetoption to theDeprecatedmiddleware.
Changes
- Increased the default PBKDF2 key derivation iteration count in the OpenSSL encrypter to improve security. The default can be overridden using the
key_derivation_iterationsconfiguration parameter.
Compatibility
- PHP 8.5 compatibility.
Deprecations
- Deprecated the
CryptoManager::getEncrypter()method. Use theCryptoManager::getInstance()orCryptoManager::getCrypto()methods instead.
All deprecated features will be removed in Mako 12.0.
11.3.0
New
- Added "insert and return" functionality to the query builder. The feature is currently supported by the
Firebird,MariaDB,PostgreSQL,SQLiteandSQL Servercompilers.Query::insertAndReturn()Query::insertMultipleAndReturn()
- Added
SensitiveStringtype to the database library. It can be used to encapsulate sensitive strings to prevent them from being logged in query logs.
Changes
MariaDBnow has its own connection and query compiler classes that extend theMySQLclasses. Use themariadb:prefix in your connection dsn instead ofmysql:to take full advantage of theMariaDBfeatures.- The
ResultSet::getPagination()return type is now nullable.
11.2.1
11.2.0
New
- The class finder can now find enums.
- Added a CLI output component that makes it easy to print a set of aligned labels and values.
- Reactor CLI commands can now prompt for missing arguments if they use the
PromptForMissingArgumentsattribute. - Added new methods to the CLI
Inputclass:Input::makeNonInteractive()Input::makeInteractive()Input::isInteractive()
- Added global
--non-interactivereactor argument. - Added
Environment::noColor()method. - CLI output now respects the
NO_COLORenvironment variable.
Changes
- The
selectandconfirmCLI inputs are now interactive and more user friendly.
Deprecations
- Deprecated the
Command::question()method. Use theCommand::input()method instead. - Deprecated the
Cursor::beginningOfLine()method. Use theCursor::moveToBeginningOfLine()method instead.
All deprecated features will be removed in Mako 12.0.