Skip to content

Releases: kununu/collections

Version 5.1

18 Nov 15:32
f41e949
Compare
Choose a tag to compare

What's Changed

Breaking Changes

  • None

New Features

  • Add a chunk method to get chunks of a collection by @tdashton in #35
  • Add a eachChunk method to execute an anonymous function on collection chunks by @tdashton in #35

Other Changes

Full Changelog: v5.0.0...v5.1.0

Version 5.0 - Introduce collections interfaces and new methods to collections

15 Jul 15:51
4360b71
Compare
Choose a tag to compare

What's Changed

Breaking Changes

New Features

Full Changelog: v4.1.0...v5.0.0

Version 4.1

19 Jun 11:57
064ce6e
Compare
Choose a tag to compare

What's Changed

Breaking Changes

  • None

New Features

  • Add AbstractBasicItem to have a basic abstract item without the "builders" functionality

Other Changes

  • Make AbstractItem extends AbstractBasicItem and keep the same functionality
  • Refactor magic __call method to set/get attributes from the item

Full Changelog: v4.0.0...v4.1.0

Version 4.0

13 Mar 11:04
131f069
Compare
Choose a tag to compare

What's Changed

Breaking Changes

  • Drop support for PHP 8.0 and make 8.1 the minimum version
  • Remove getters from MapperCallers and use public read-only properties instead
  • AbstractItem::getBuilders is now an abstract method that should always be implemented in subclasses

New Features

  • Add FilterOperatorXor

Other Changes

  • Change CI/CD pipelines to test with PHP 8.1, 8.2 and 8.3
  • Refactor code to make all properties read-only where possible
  • Remove useless catch blocks in CollectionTrait
  • Refactor some code to use more PHP 8.1 features
  • Bump PHPUnit to 10.5
  • Update tests to PHPUnit 10.5
  • Update documentation

Full Changelog: v3.1.1...v4.0.0

Update continuous integration components

05 Jan 15:46
c601ee3
Compare
Choose a tag to compare

What's Changed

No code changes

Improve AbstractItem default builders

11 Oct 14:24
abfc990
Compare
Choose a tag to compare

What's Changed

  • Add buildGetterOptionalField
  • Add buildFromArrayGetter
  • Add $useSnakeCase parameter to all default builders to allow to convert name of properties to snake_case when getting data in the source array

Extend Convertible `FromXXXX` interfaces to return static as well

20 Jun 10:31
0f43193
Compare
Choose a tag to compare

What's Changed

  • Make FromArray::fromArray return self|static
  • Make FromInt::fromInt return self|static
  • Make FromString::fromString return self|static

Small refactor to address Sonar issues

14 Mar 18:40
7be4ab9
Compare
Choose a tag to compare
Address Sonar issues: (#24)

- Extract provided builders of AbstractItem to a trait
- Rename local variable in DefaultMapper

Open Source

14 Mar 18:10
cac62c8
Compare
Choose a tag to compare

What's Changed

  • Open source the library

Drop support for PHP 7.x

14 Mar 12:35
a394acf
Compare
Choose a tag to compare

Breaking changes:

  • Drop support for PHP 7.x
  • Small refactors to use PHP 8.0 features