Skip to content
This repository was archived by the owner on Jan 29, 2020. It is now read-only.

Commit 7e42a90

Browse files
committed
Rephrases the CHANGELOG entry for #37
- `s/34/37/` in description. - Better description describing change in behavior, and how to get original behavior back.
1 parent de70e1d commit 7e42a90

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

CHANGELOG.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ All notable changes to this project will be documented in this file, in reverse
44

55
Versions prior to 0.4.0 were released as the package "weierophinney/hal".
66

7-
## 1.0.2 - TBD
7+
## 1.0.2 - 2018-04-04
88

99
### Added
1010

@@ -24,9 +24,11 @@ Versions prior to 0.4.0 were released as the package "weierophinney/hal".
2424

2525
### Fixed
2626

27-
- [#34](https://github.com/zendframework/zend-expressive-hal/pull/37) adds ability
28-
to provide _empty_ values eg. empty array as element data and avoids addition of
29-
of empty data as **embedded** element.
27+
- [#37](https://github.com/zendframework/zend-expressive-hal/pull/37) modifies
28+
`HalResource` to no longer treat empty arrays as embedded collections when
29+
passed via the constructor or `withElement()`. If an empty embedded collection
30+
is required, use `embed()` with a boolean third argument to force
31+
representation as an array of resources.
3032

3133
## 1.0.1 - 2018-03-28
3234

0 commit comments

Comments
 (0)