Skip to content

Commit

Permalink
chore: update changelog
Browse files Browse the repository at this point in the history
Signed-off-by: azjezz <azjezz@protonmail.com>
  • Loading branch information
azjezz committed Oct 30, 2021
1 parent 57b253e commit 9319563
Showing 1 changed file with 5 additions and 12 deletions.
17 changes: 5 additions & 12 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,9 @@

## 2.0.0

### Arr

* **BC** - removed `Psl\Arr` component.

### Type

* **BC** - removed `Type\is_array`, `Type\is_arraykey`, `Type\is_bool`, `Type\is_callable`, `Type\is_float`, `Type\is_instanceof`, `Type\is_int`, `Type\is_iterable`, `Type\is_null`, `Type\is_numeric`, `Type\is_object`, `Type\is_resource`, `Type\is_scalar`, and `Type\is_string` functions ( use `TypeInterface::matches($value)` instead ).

### Iter

* **BC** - removed `Iter\chain`, `Iter\chunk`, `Iter\chunk_with_keys`, `Iter\diff_by_key`, `Iter\drop`, `Iter\drop_while`, `Iter\enumerate`, `Iter\filter`, `Iter\filter_keys`, `Iter\filter_nulls`, `Iter\filter_with_key`, `Iter\flat_map`, `Iter\flatten`, `Iter\flip`, `Iter\from_entries`, `Iter\from_keys`, `Iter\keys`, `Iter\map`, `Iter\map_keys`, `Iter\map_with_key`, `Iter\merge`, `Iter\product`, `Iter\pull`, `Iter\pull_with_key`, `Iter\range`, `Iter\reductions`, `Iter\reindex`, `Iter\repeat`, `Iter\reproduce`, `Iter\reverse`, `Iter\slice`, `Iter\take`, `Iter\take_while`, `Iter\to_array`, `Iter\to_array_with_keys`, `Iter\values`, and `Iter\zip` functions.
* **BC** - signature of `Iter\reduce_keys` function changed from `reduce_keys<Tk, Tv, Ts>(iterable<Tk, Tv> $iterable, (callable(?Ts, Tk): Ts) $function, Ts|null $initial = null): Ts|null` to `reduce_keys<Tk, Tv, Ts>(iterable<Tk, Tv> $iterable, (callable(Ts, Tk): Ts) $function, Ts $initial): Ts`.
* **BC** - signature of `Iter\reduce_with_keys` function changed from `reduce_with_keys<Tk, Tv, Ts>(iterable<Tk, Tv> $iterable, (callable(?Ts, Tk, Tv): Ts) $function, Ts|null $initial = null): Ts|null` to `reduce_with_keys<Tk, Tv, Ts>(iterable<Tk, Tv> $iterable, (callable(Ts, Tk, Tv): Ts) $function, Ts $initial): Ts`.
* **BC** - removed `Psl\Type\is_array`, `Psl\Type\is_arraykey`, `Psl\Type\is_bool`, `Psl\Type\is_callable`, `Psl\Type\is_float`, `Psl\Type\is_instanceof`, `Psl\Type\is_int`, `Psl\Type\is_iterable`, `Psl\Type\is_null`, `Psl\Type\is_numeric`, `Psl\Type\is_object`, `Psl\Type\is_resource`, `Psl\Type\is_scalar`, and `Psl\Type\is_string` functions ( use `TypeInterface::matches($value)` instead ).
* **BC** - removed `Psl\Iter\chain`, `Psl\Iter\chunk`, `Psl\Iter\chunk_with_keys`, `Psl\Iter\diff_by_key`, `Psl\Iter\drop`, `Psl\Iter\drop_while`, `Psl\Iter\enumerate`, `Psl\Iter\filter`, `Psl\Iter\filter_keys`, `Psl\Iter\filter_nulls`, `Psl\Iter\filter_with_key`, `Psl\Iter\flat_map`, `Psl\Iter\flatten`, `Psl\Iter\flip`, `Psl\Iter\from_entries`, `Psl\Iter\from_keys`, `Psl\Iter\keys`, `Psl\Iter\map`, `Psl\Iter\map_keys`, `Psl\Iter\map_with_key`, `Psl\Iter\merge`, `Psl\Iter\product`, `Psl\Iter\pull`, `Psl\Iter\pull_with_key`, `Psl\Iter\range`, `Psl\Iter\reductions`, `Psl\Iter\reindex`, `Psl\Iter\repeat`, `Psl\Iter\reproduce`, `Psl\Iter\reverse`, `Psl\Iter\slice`, `Psl\Iter\take`, `Psl\Iter\take_while`, `Psl\Iter\to_array`, `Psl\Iter\to_array_with_keys`, `Psl\Iter\values`, and `Psl\Iter\zip` functions.
* **BC** - signature of `Psl\Iter\reduce_keys` function changed from `reduce_keys<Tk, Tv, Ts>(iterable<Tk, Tv> $iterable, (callable(?Ts, Tk): Ts) $function, Ts|null $initial = null): Ts|null` to `reduce_keys<Tk, Tv, Ts>(iterable<Tk, Tv> $iterable, (callable(Ts, Tk): Ts) $function, Ts $initial): Ts`.
* **BC** - signature of `Psl\Iter\reduce_with_keys` function changed from `reduce_with_keys<Tk, Tv, Ts>(iterable<Tk, Tv> $iterable, (callable(?Ts, Tk, Tv): Ts) $function, Ts|null $initial = null): Ts|null` to `reduce_with_keys<Tk, Tv, Ts>(iterable<Tk, Tv> $iterable, (callable(Ts, Tk, Tv): Ts) $function, Ts $initial): Ts`.
* **BC** - removed bundled psalm plugin `Psl\Integration\Psalm\Plugin`, use `php-standard-library/psalm-plugin` package instead.

0 comments on commit 9319563

Please sign in to comment.