# Changelog

Note: I'm not mentioning the plethora of functions that I'm adding with every minor version bump. [Take a look at the full function list](https://github.com/grrr-amsterdam/garp-functional/tree/master/library/Garp/Functional). This changelog will only list breaking changes.

## 3.0.0

- Bumped PHP dependency to 7.1. The library now declares strict types and uses the iterable type to validate arguments.

## 2.0.0

- I've changed `flatten` in a backward-incompatible way: it won't unpack associative arrays any further
- Also, I'm starting to introduce PHP 7 features into the library. It is time. I will be revisiting the entire library to see if I can add stricter type checking and other PHP 7 features that're long overdue.


## 1.0.0

- A minor breaking change: `sort_by` no longer accepts a string as its first parameter, but instead wants a function argument.
  You can achieve the same result by using `sort_by(prop('my_prop'), $my_collection)`.


## 0.0.0

- Some awesome things transpired.

# Changelog

Note: I'm not mentioning the plethora of functions that I'm adding with every minor version bump. [Take a look at the full function list](https://github.com/grrr-amsterdam/garp-functional/tree/master/library/Garp/Functional). This changelog will only list breaking changes.

## 3.0.0

- Bumped PHP dependency to 7.1. The library now declares strict types and uses the iterable type to validate arguments.
- Moved all functions to the root folder `functions` and renamed their files to reflect the actual function: from camelCase to snake_case. This shouldn't affect you if you use Composer to load files, but on the off-chance you're manually including these files, note that it will break.

## 2.0.0

- I've changed `flatten` in a backward-incompatible way: it won't unpack associative arrays any further
- Also, I'm starting to introduce PHP 7 features into the library. It is time. I will be revisiting the entire library to see if I can add stricter type checking and other PHP 7 features that're long overdue.


## 1.0.0

- A minor breaking change: `sort_by` no longer accepts a string as its first parameter, but instead wants a function argument.
  You can achieve the same result by using `sort_by(prop('my_prop'), $my_collection)`.


## 0.0.0

- Some awesome things transpired.

Add file structure changes to changelog
Add file structure changes to changelog
