Skip to content

Releases: jeromegamez/typed-collection

7.1.0

17 Mar 23:45
7.1.0
bddc6de
Compare
Choose a tag to compare

Added support for simple types recognized by the get_debug_type() function.

Note

Laravel 11 added the ensure() collection method that verifies that all elements of a collection are of a given type or list of types. However, this verification does not prevent items of different types to be added at a later time.

7.0.0

17 Mar 09:30
7.0.0
23d8229
Compare
Choose a tag to compare
  • Added support for Laravel 11 (#21)
  • Dropped support for Laravel 9
  • Added a new typedCollect() helper method, based off the collect() helper method that comes with the Laravel framework. (#20)

6.1.0

17 Feb 13:21
01e9b2b
Compare
Choose a tag to compare

Added support for Laravel 10

6.0.0

02 Jan 10:35
d85c0e6
Compare
Choose a tag to compare

The TypedCollection and LazyTypedCollection classes are now abstract to make clear that they shouldn't be instantiated directly (#13)

5.2.0

20 May 11:39
1ca70da
Compare
Choose a tag to compare

Collections now include the same template typings as the upstream Illuminate collections

5.1.0

25 Apr 10:25
551eaaa
Compare
Choose a tag to compare

Collections are now untyped when using the map() method.

5.0.0

09 Feb 18:32
25256d8
Compare
Choose a tag to compare
  • Add support for Laravel ^9.0
  • Drop support for Laravel <9.0

4.0

10 Dec 12:51
0744d6b
Compare
Choose a tag to compare
4.0

This library is now based on illuminate/collections and tested with PHP 7.4 and 8.0.

3.0.1

02 Jul 20:13
4ceadf2
Compare
Choose a tag to compare

Fixed TypedCollection::push() (#7)

3.0.0

28 Apr 07:16
5bebb12
Compare
Choose a tag to compare
  • Add support for Laravel ^7.0
  • Drop support for Laravel <7.0