Skip to content

Releases: CeusMedia/Database

Version 0.6.5

21 Dec 04:09

Choose a tag to compare

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

10 Feb 12:03

Choose a tag to compare

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

17 Jul 00:46

Choose a tag to compare

Features:

  • Fix type migration bug.
  • Support to fasten countFast with optimized indizes.
  • Yoda style and copyright.
  • Update links.

Version 0.6.2

17 Dec 04:16

Choose a tag to compare

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

06 Nov 03:13

Choose a tag to compare

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

06 Nov 02:46

Choose a tag to compare

Features:

  • Support CeusMedia/Common 1.0.x.
  • Short array syntax.
  • Allow array of values for PDO:::Table::*ByIndex.

Version 0.6.0

13 May 02:06

Choose a tag to compare

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

06 Nov 23:16

Choose a tag to compare

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

30 Jan 02:13

Choose a tag to compare

General: Support PHP 8.

Version 0.4.3.

14 Nov 01:51

Choose a tag to compare

PDO: Code Quality.