Releases: CeusMedia/Database
Releases · CeusMedia/Database
Version 0.6.5
Features
- PDO:
- Fix performance bug at Reader::get.
- Fix bug in table condition query part for BETWEEN operation.
- Table: Allow pure PDO connection.
- Table Reader: Add second fetch strategy.
- Table Writer insert: Clear given primary key value if new flag autoIncrementPrimaryKey
- Table: On checkIndices calls, use primary key as index, too.
- Table: Catch cache related exceptions.
- Add tests for reader with fetched entities.
- Move auto increment handling to table writer.
- Move fetch handling to table reader.
- Fig migration bug.
- General:
- Fix bug in composer file.
- Reach PHPStan (v2) level 9+strict.
- Test code coverage: 41%
- Update readme file.
Version 0.6.4
Features:
- Add PDO entity class.
- Allow int on primary PDO table focus.
- Divide PDO table reader and writer, move common methods and members to abstract PDO table class.
- Support CeusMedia::Cache 0.6.x.
- Remove support for PHPUnit 8 and 9.
Version 0.6.3
Features:
- Fix type migration bug.
- Support to fasten countFast with optimized indizes.
- Yoda style and copyright.
- Update links.
Version 0.6.2
Features
- General:
- Import SQLSTATE from CeusMedia::Common.
- PDO:
- Support data and entity objects.
- Add connection factory.
- Use entity class in cli demo.
- OSQL:
- Update to reach PHPStan level max + strict.
Version 0.6.1
Features:
- Add new LIKE support in condition query.
- Add entity support on fetching.
- Split PDO connection into several class files.
- Unfinalize PDO connection constructor and disable static constructor.
- Code Style: Short Array Syntax.
- Provide unit test config file as dist.
- Reach max PHPStan level.
- Update OSQL.
- Update copyright year.
- Add composer lock file.
- Add badges.
Version 0.5.1
Features:
- Support CeusMedia/Common 1.0.x.
- Short array syntax.
- Allow array of values for PDO:::Table::*ByIndex.
Version 0.6.0
First release of the 0.6.x branch.
Now coming with:
- PHP 8.1
- PHPUnit 10.1
- CeusMedia/Common 1.0.x
Version 0.5.0
Features:
- Fully typed (class members and method arguments).
- Reach PHPStan level 9 (max!) PLUS extra strict rules (for PDO).
- Add composer scripts.
- Short array syntax.
- Constants visibility.
- Refactored, updated unit tests.
Version 0.4.4
General: Support PHP 8.
Version 0.4.3.
PDO: Code Quality.