Skip to content

Commit abfe834

Browse files
committed
Adds CHANGELOG for #4
1 parent 0cb8ea8 commit abfe834

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed

CHANGELOG.md

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,39 @@
22

33
All notable changes to this project will be documented in this file, in reverse chronological order by release.
44

5+
## 0.3.0 - TBD
6+
7+
### Added
8+
9+
- [#4](https://github.com/weierophinney/hal/pull/4) adds the ability to force
10+
both links and embedded resources to be rendered as collections, even if the
11+
given relation only contains one item.
12+
13+
To force a link to be rendered as a collection, pass the attribute
14+
`__FORCE__COLLECTION__` with a boolean value of `true` (or use the constant
15+
`Link::AS_COLLECTION` to refer to the attribute name).
16+
17+
To force an embedded resource to be rendered as a collection, pass a boolean
18+
`true` as the third argument to `embed()`. Alternately, pass an array
19+
containing the single resource to any of the constructor, `withElement()`, or
20+
`embed()`.
21+
22+
### Changed
23+
24+
- Nothing.
25+
26+
### Deprecated
27+
28+
- Nothing.
29+
30+
### Removed
31+
32+
- Nothing.
33+
34+
### Fixed
35+
36+
- Nothing.
37+
538
## 0.2.0 - 2017-07-13
639

740
### Added

0 commit comments

Comments
 (0)