Skip to content

Releases: datomatic/laravel-enum-collections

v3.3.1

15 Apr 14:00
730e15e

Choose a tag to compare

v3.3.0

24 Feb 16:08
405e334

Choose a tag to compare

  • Laravel 12 compatibility

v3.2.1

10 Dec 15:32

Choose a tag to compare

  • added Laravel IDE helper model hook

v3.2.0

10 Dec 15:25

Choose a tag to compare

  • added Laravel IDE helper model hook

v3.1.1

03 Nov 09:38

Choose a tag to compare

  • laravel-enum-helper v2

v3.1.0

02 Nov 13:02

Choose a tag to compare

  • whereContainsAny, orWhereContainsAny, whereDoesntContainAny and orWhereDoesntContainAny scopes on HasEnumCollections trait

v3.0.0

02 Nov 12:20

Choose a tag to compare

  • EnumCollection now it's a one-dimensional collection that contains only enums.
  • New Unique options on model casting that prevent to have duplciates on EnumCollection
  • EnumCollection new methods: containsAny, doesntContainAny, toValues, toCollectionValues, mapStrict, mapWithKeysStrict
  • EnumCollection methods not supported range, median, mode, crossJoin, flip, collapse, collapseWithKeys, pluck, mergeRecursive, select, flatten, replaceRecursive, sliding, dot, undot, zip
  • EnumCollection methods that return a normal laravel collection: map, keys, mapWithKeys, combine, mapToDictionary, groupBy, split, splitIn, chunk, chunkWhile, countBy, toBase

v2.0.3

03 Oct 18:16

Choose a tag to compare

  • fix phpDoc
  • type refactor

v2.0.2

10 Apr 15:46
f2cbfe6

Choose a tag to compare

  • fix: adding forwarding unhandled __call/__callStatic to EnumCollection parent

v2.0.1

14 Mar 16:36

Choose a tag to compare

  • rename whereEnumCollectionContains to whereContains
  • rename whereEnumCollectionDoesntContain to whereDoesntContain
  • rename orWhereEnumCollectionContains to orWhereContains
  • rename orWhereEnumCollectionDoesntContain to orWhereDoesntContain
  • add field array cast compatibility with above methods