Releases: liqueurdetoile/cakephp-orm-json
Releases · liqueurdetoile/cakephp-orm-json
v2.0.0 release
This a major update that have breaking changes and a heavy refactoring under the hood, therefore it have took a lot of time. Please refer to readme.md
for detailed informations.
- BREAKING CHANGE : Replace JsonQuery logic by a dedicated database driver that handles seamlessly the parsing of dat fields
- BREAKING CHANGE : Replace JsonXXX entity methods and use regular accessors and mutators
- Add v2 datfield notation support '[Model.]field->path'
- Completely rework and optimize query translations of datfield syntax
- Fully rework DatFieldBehavior and DatFieldTrait for entities
- Migrate CI to Github Actions
- Upgrade test environment
- Add a bunch of tests for a wide variety of situations
v1.5.4
- fix(jsonWhere): Fix failing IN evaluation when using query expression
Twas a darn case issue Xo
v1.5.3
v1.5.2
- fix(jsonWhere): Fix missing
boolean
case with operator!=
v1.5.1
-
Fix casting to strict equality instead of taking operator in account
in generated SQL fragment forboolean
,float
andobject/array
data types -
Fix infinite loop when using
UnaryExpression
with SQL fragment by
using an exception. Still dirty but functional -
Update tests and split them for a better readability
v1.5.0
- Feat: Full rework of
jsonWhere
to replace previous conditions array parsing by a fullQueryExpression
build that allows the use of query expressions callbacks - Tests: Add tests
- Docs: Update docs
Edge case : The use of the not unary operator with an SQL fragment is freezing the process.
v1.4.2
- fix(jsonSelect): Fix regular field processing
When using non hydrated query, jsonSelect was failing if a mix of
regular and datfields were used within the same call
v1.4.1
- fix(JsonSelect): Fix data collapsing when using associative array and multiple fields
- fix(JsonSelect): Fix keeping own query table alias in field name
- tests: Update jsonSelect tests
- docs: Udpate docs
v1.4.0
v1.4.0
- Add support to optionally fetch back an associative array instead having flattened keys when selecting statements
v1.3.0
v1.3.0
- Add support for dot seperator and dotted aliases in select operations
- Add support for sorting on datfield value
- Add support to accept regular database fields into json specific select, where and order statements