Releases: rkrx/php-mysql-query-builder
Releases · rkrx/php-mysql-query-builder
Fixed DBExprFilter when having empty string values
0.3.3.3 Fixed DBExprFilter when having empty string values
Documentation extended, added some exceptions
- Documentation extended
- Added some exceptions
- DBOrderSpec: If a statement contains an alias that was not defined before, then an exception is thrown now
Fixed DBExprFilter and Limit and Offset can now be optional
- Fixed DBExprFilter: validator and validationResultHandler are only taken into account if key exists
- Limit and Offset can now take a parameter of Type OptionalValue, which can make both optional
Documentation extended, added some exceptions
- Documentation extended
- Added some exceptions
- DBOrderSpec: If a statement contains an alias that was not defined before, then an exception is thrown now
Release for wrong commit
- Wront commit. Ignore this one.
Fixed type-hints
- Fixed type hint of
Kir\MySQL\Builder\Update::set(..., $value) - Fixed type hint of
Kir\MySQL\Builder\Traits\WhereBuilder::whereand clarify that $expression could be an object
Project now requires min PHP7.1 and is PHP 8.0 compatible
- Updated php-version constraint from 7.0 to 7.1
- Fixed compatibility issues with php 8.0
- Upgraded phpunit base version to 6.0
- Fixed Declaration of Kir\MySQL\Common\DBTestCase::setUp() must be compatible with PHPUnit\Framework\TestCase::setUp(): void
Various bug-fixes
- Select-Statements:
WHEREandHAVINGclauses can now be called alternatively to arrays with an object as expression parameter. - Select-Statements:
WHEREandHAVINGclauses can now be called with an empty array or an empty object. As a result, noHAVINGorWHEREis generated. Previously, an emptyWHEREorHAVINGwas output. - Various minor changes
Min PHP-version raised to 7.0
- Raised PHP min version to 7.0
- Various minor changes
- Added
composer run-script phpstanandcomposer run-script phpunit
Disabled phpstan for travis temporarly
0.1.54.1 - Disabled phpstan for travis temporarly