Releases: vimeo/php-mysql-engine
Releases · vimeo/php-mysql-engine
0.7.1
0.7.0
What's Changed
- Add missing #[\ReturnTypeWillChange] for PHP 8.1 support by @zonuexe in #37
- Convenience Method for Instantiating the Right FakePDO by @sergiosalvatore in #41
Full Changelog: 0.6.1...0.7.0
0.6.1
0.6.0
What's Changed
mysql features/fixes
- Add functions CURDATE and WEEKDAY by @dmitr1y in #20
- Fix: MySQL function ROUND() can take 1 or 2 arguments. by @dmitr1y in #21
- feat(FakePdoStatement): implement
$pdoStatement->bindParam()
method by @rtm-ctrlz in #23 - Stub errorInfo() to prevent upstream issues by @Rarst in #22
- Adds INET_ATON and INET_NTOA mysql methods by @aaronm67 in #30
- feat(UNIX_TIMESTAMP): add basic support for UNIX_TIMESTAMP function by @rtm-ctrlz in #32
- Fix field support for CHARACTER SET & COLLATE by @cfebs in #39
- Add CEIL()/CEILING() and FLOOR() SQL Function Support by @sergiosalvatore in #38
other
- Remove unreachable code by @villfa in #25
- Fix remaining psalm errors by @villfa in #26
- Fix a warning when DateTime column has empty value by @xinhus in #24
- Typo fix by @BenMorel in #28
- Add #[\ReturnTypeWillChange] for PHP 8.1 support by @usuyuki in #33
Full Changelog: 0.5.6...0.6.0
Support BINARY columns distinct from CHAR
0.5.6 Support BINARY columns
Integer fields are nullable by default
0.5.5 Integer fields default to nullable
Remove unused code
Also fixes an additional lastInsertId bug
Fix lastInsertId to use auto-incremented values
Fix lastInsertId implementation last_insert_id returns autoincrement column values
0.5.2: Merge pull request #15 from Javakky-pxv/feature/default-fetch-mode
Set default fetch style
Fix code gen for nullable decimal columns
0.5.1 Fix support for decimal columns with null defaults