Skip to content

Commit

Permalink
Document 0.4 BC breaks (#34)
Browse files Browse the repository at this point in the history
  • Loading branch information
bronek89 authored Dec 14, 2020
1 parent 12b0cc7 commit 0533ceb
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 3 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
### [0.4.0] 2020-05-??
### [0.4.0] 2020-12-15

* BC BREAK: return type of AssocValue::keys changed from `StringsArray` to `ArrayValue<TKey>`
* BC BREAK: return type of StringsArray::toArray changed from `string[]` to `array<int, StringValue>` (method `StringsArray::toNativeStrings(): string[]` was added as replacement)
* BC BREAK: return type of StringsArray::map callback changed from `StringValue|string` to `StringValue`
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,15 @@
It works on PHP >=7.4. This library is available on Composer/Packagist as `gowork/values`. To install it execute:

```shell
composer require gowork/values ^0.3
composer require gowork/values ^0.4
```

or manually update your `composer.json` with:
```json
{
(...)
"require": {
"gowork/values": "^0.3"
"gowork/values": "^0.4"
}
(...)
}
Expand Down

0 comments on commit 0533ceb

Please sign in to comment.