Skip to content

Releases: liqueurdetoile/cakephp-orm-json

v2.0.0 release

08 Sep 17:23
b889a60
Compare
Choose a tag to compare

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

23 Oct 18:22
Compare
Choose a tag to compare
  • fix(jsonWhere): Fix failing IN evaluation when using query expression

Twas a darn case issue Xo

v1.5.3

23 Oct 17:51
Compare
Choose a tag to compare
  • fix(jsonWhere): Fix failing query on datfields with IN operator (a3732f1)

v1.5.2

17 Jul 15:00
Compare
Choose a tag to compare
  • fix(jsonWhere): Fix missing boolean case with operator !=

v1.5.1

17 Jul 13:42
Compare
Choose a tag to compare
  • Fix casting to strict equality instead of taking operator in account
    in generated SQL fragment for boolean, float and object/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

17 Jul 02:09
Compare
Choose a tag to compare
  • Feat: Full rework of jsonWhere to replace previous conditions array parsing by a full QueryExpression 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

12 Jul 16:18
Compare
Choose a tag to compare
  • 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

12 Jul 15:27
Compare
Choose a tag to compare
  • 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

21 Nov 15:33
Compare
Choose a tag to compare

v1.4.0

  • Add support to optionally fetch back an associative array instead having flattened keys when selecting statements

v1.3.0

21 Nov 14:01
Compare
Choose a tag to compare

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