Releases: aternosorg/php-model
Releases · aternosorg/php-model
v5.0.0
Major breaking changes
- Minimum PHP version is now 8.4
- The
wasSuccessful()method fromQueryResultwas 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
MultiQueryResultinstead of aQueryResultCollection
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
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
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
What's Changed
- Accept opensearch responses without a _source field by @KurtThiemann in #17
Full Changelog: v4.1.0...v4.1.1
v4.1.0
v4.0.0
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
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
What's Changed
- Update year in LICENSE by @pavog in #9
- Fix encoding arrays for (NOT) IN queries by @JulianVennen in #10
Full Changelog: v3.2.4...v3.2.5
v3.2.4
What's Changed
- Add IN and NOT IN operators to TestTableEntry by @JulianVennen in #8
New Contributors
- @JulianVennen made their first contribution in #8
Full Changelog: v3.2.3...v3.2.4