Skip to content

Releases: coldbox-modules/quick

v4.0.1

04 Aug 21:27
Compare
Choose a tag to compare

fix

  • Relationships: Remove DISTINCT in favor of WHERE EXISTS (a051c98)

v4.0.0

24 Jul 15:14
Compare
Choose a tag to compare

BREAKING

  • Scopes: Scopes with an OR combinator are automatically grouped (3183f6d)

chore

  • docs: Fix broken link from README to official docs (6881634)

feat

  • Relationships: Add a withCount method to easily add relationship counts to entities (8524ef8)
  • QuickBuilder: Automatically scope whereHas and whereDoesntHave callbacks
    (38b8a46)

fix

  • ErrorMessages: Improve error message when attempting to set relationships on unloaded entities
    (fe4ad26)
  • Relationships: Fix addSubselect and *manyThrough overflows and bugs
    (ab8e121)
  • BelongsTo: If all the foreign keys are null, skip the database and return the default entity or null (287e990)
  • BelongsTo: Reference provided localKeys instead of pulling them from the related entity (43f47aa)
  • HasManyThrough: Swap final compare constraints in nested query
    (22d1728)

v3.1.7

10 Jul 16:04
Compare
Choose a tag to compare

fix

  • tests: Correct jQuery link in test runner (#95) (7bb1b3d)

v3.1.6

29 Jun 19:19
Compare
Choose a tag to compare

fix

  • QuickBuilder: Allow expressions in basic where clauses
    (f267c2f)
  • BaseEntity: Fix delete naming collision
    (c7dca98)

v3.1.5

24 Jun 00:25
Compare
Choose a tag to compare

fix

  • QuickBuilder: Add an alias to with (5491ba7)

v3.1.4

19 Jun 05:58
Compare
Choose a tag to compare

fix

  • QuickBuilder: Fix stack overflow on nested relationship checks (16bae19)

v3.1.3

19 Jun 05:44
Compare
Choose a tag to compare

fix

  • QuickBuilder: Configured tables are now used for qualifying columns (76bb1f7)

v3.1.2

29 May 18:03
Compare
Choose a tag to compare

fix

  • BelongsToMany: Remove unnecessary nesting in compare queries
    (97e3a88)

v3.1.1

28 May 22:06
Compare
Choose a tag to compare

fix

  • Relationships: Fix orWhereHas methods when querying nested relationships
    (8262bb3)

v3.1.0

28 May 21:25
Compare
Choose a tag to compare

feat

  • JSONCast: Add support for JSON casting (137701a)