Skip to content

Releases: oroinc/doctrine-extensions

Fixed DATE_FORMAT for PHP 8

02 Sep 13:35
49b938e
Compare
Choose a tag to compare

Fixed Issue #78 Error when using DATE_FORMAT when used with PHP 8

2.0.0

13 Jan 00:53
b3a3154
Compare
Choose a tag to compare

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

17 Dec 16:25
3dd5135
Compare
Choose a tag to compare
Merge pull request #72 from mbessolov/master

Remove usages of Doctrine Inflector

Added CEIL function

27 Sep 10:31
2dbedcc
Compare
Choose a tag to compare
Merge pull request #65 from GitHubHubus/ceil_function

added CEIL function

Fixed ROUND precision optional argument handling

12 Nov 10:03
Compare
Choose a tag to compare
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

15 Aug 09:22
cfe8d4d
Compare
Choose a tag to compare

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

15 Aug 09:22
4ff68a6
Compare
Choose a tag to compare

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

17 Jul 11:08
Compare
Choose a tag to compare

The DATE_FORMAT() function formats a date as specified by a format mask.

Fixed TIMESTAMDIFF for PostgreSQL

17 Jul 10:53
Compare
Choose a tag to compare
  • fixed PostgreSQL implementation of TIMESTAMPDIFF function to match results returned by MySQL implementation

Fixed TIMESTAMDIFF for PostgreSQL

17 Jul 10:47
Compare
Choose a tag to compare
  • fixed PostgreSQL implementation of TIMESTAMPDIFF function to match results returned by MySQL implementation