Releases: oroinc/doctrine-extensions
Fixed DATE_FORMAT for PHP 8
Fixed Issue #78 Error when using DATE_FORMAT when used with PHP 8
2.0.0
Version 2.0.0 requires:
- PHP 7.3 or newer
- Doctrine ORM 2.6 or newer
If you just registered the functions and types provided by this library with Doctrine then most likely you do not need to make any changes in your code.
If you have created your own custom functions or types by extending any classes from this library, or if you work with these functions and types directly from your PHP code, then you may need to update your code. Check the upgrade instructions in UPGRADE.md for details.
Removed usages of Doctrine Inflector
Merge pull request #72 from mbessolov/master Remove usages of Doctrine Inflector
Added CEIL function
Merge pull request #65 from GitHubHubus/ceil_function added CEIL function
Fixed ROUND precision optional argument handling
fix NOTICE generated by ROUND (#62) * * fix NOTICE generated by ROUND * handle No precision in ROUND correctly * added tests * updated documentation to show precision is optional
Added BINARY type support for cast function
Usage in DQL CAST(value as binary)
. Will produce next SQL:
- MySQL
CAST(value as binary)
- PostgreSQL
CAST(value as bytea)
Minimum PHP version update to 5.4
Added BINARY type support for cast function
Usage in DQL CAST(value as binary)
. Will produce next SQL:
- MySQL
CAST(value as binary)
- PostgreSQL
CAST(value as bytea)
Minimum PHP version update to 5.4
Added DATE_FORMAT function
The DATE_FORMAT() function formats a date as specified by a format mask.
Fixed TIMESTAMDIFF for PostgreSQL
- fixed PostgreSQL implementation of TIMESTAMPDIFF function to match results returned by MySQL implementation
Fixed TIMESTAMDIFF for PostgreSQL
- fixed PostgreSQL implementation of TIMESTAMPDIFF function to match results returned by MySQL implementation