Skip to content

Releases: aternosorg/php-model

v5.0.0

11 Feb 14:50
e97b2e9

Choose a tag to compare

Major breaking changes

  • Minimum PHP version is now 8.4
  • The wasSuccessful() method from QueryResult was removed. Errors are now always thrown
  • Cassandra support was removed
  • The MySQLi driver was refactored with integrated retry logic
  • Order directions, conjunctions, and aggregate functions are now separate enums
  • Update/delete queries now return a MultiQueryResult instead of a QueryResultCollection

Changelog

  • Update composer.lock by @pavog in #20
  • Normalize composer.json by @pavog in #21
  • Update phpunit to 12.3 by @pavog in #22
  • Update year in LICENSE by @pavog in #25
  • Throw specific exceptions with common parent class by @JulianVennen in #27
  • Add more detailed error messages to OpenSearch exceptions by @KurtThiemann in #28
  • Apply where, order, and limit in the right order in TestDriver by @KurtThiemann in #29
  • Check redis for query exceptions instead of returning false on failure by @JulianVennen in #34
  • Minor code quality fixes by @pavog in #24
  • Add more attributes to phpunit.xml by @pavog in #26
  • Add php 8.5 to php-version matrix in tests.yaml by @pavog in #30
  • add types to constants by @pavog in #31
  • remove unused imports by @pavog in #32
  • Add missing parentheses for http response check in OpenSearch client by @JulianVennen in #35
  • Return true when deleting an object that does not exist in opensearch driver by @JulianVennen in #36
  • Remove wasSuccessful method from query results by @JulianVennen in #37
  • Fix invalid SQL generation with empty where groups by @JulianVennen in #38
  • Throw errors if a query is created with an invalid WHERE .. IN condition by @JulianVennen in #39
  • Bump phpunit/phpunit from 12.3.0 to 12.5.8 by @dependabot[bot] in #41
  • remove cassandra support by @matthi4s in #42
  • drop php 8.3 support by @matthi4s in #43
  • Add ability to count opensearch models that match a search query by @JulianVennen in #40
  • fix minor code quality issues and imports by @matthi4s in #44
  • refactor mysqli, use object, reconnect on connection error by @matthi4s in #45
  • use enums for order direction, conjunctions and aggregate functions by @matthi4s in #46
  • flexible mysql retry handling by @matthi4s in #47
  • Add basic aggregation support to OpenSearch by @KurtThiemann in #49
  • replace query result collection with multi query result by @matthi4s in #50
  • small optimizations/fixes by @matthi4s in #51

Full Changelog: v4.3.0...v5.0.0

v4.3.0

24 Jul 10:00
8ad2ae0

Choose a tag to compare

What's Changed

  • Add option to prevent saving results of select query in model registry by @JulianVennen in #19

Full Changelog: v4.2.0...v4.3.0

v4.2.0

09 Jul 16:21
3407033

Choose a tag to compare

What's Changed

  • Add some metadata from OpenSearch responses to SearchResult by @KurtThiemann in #18

Full Changelog: v4.1.1...v4.2.0

v4.1.1

09 Jul 12:55
59f7fc1

Choose a tag to compare

What's Changed

Full Changelog: v4.1.0...v4.1.1

v4.1.0

07 Jul 10:18
33a0679

Choose a tag to compare

What's Changed

Full Changelog: v4.0.0...v4.1.0

v4.0.0

23 May 14:57
b42441b

Choose a tag to compare

What's Changed

  • Raise minimum PHP version to 8.3
  • Replace ElasticSearch driver with OpenSearch by @KurtThiemann in #15

Full Changelog: v3.2.6...v4.0.0

v3.2.6

27 Jan 13:00
b4fba6e

Choose a tag to compare

What's Changed

  • Add tests for SQL codegen by @JulianVennen in #11
  • PHP 8.4 compatability: Make parameter types explicitly nullable by @pavog in #13

Full Changelog: v3.2.5...v3.2.6

v3.2.5

15 Jul 13:08
882e03c

Choose a tag to compare

What's Changed

Full Changelog: v3.2.4...v3.2.5

v3.2.4

15 Jan 13:24
283f572

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v3.2.3...v3.2.4

v3.2.3

30 Jun 15:46
97adb4e

Choose a tag to compare

fix warning