Skip to content

Commit bc1ac3a

Browse files
committed
Add changelog note for .file() argument validation
1 parent eef8e57 commit bc1ac3a

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,11 @@
66
- **BREAKING**: Autodiscovery now either succeeds or fails; a WPAPI instance configured with default routes will no longer be returned.
77

88

9+
## v1.2.2 _(future release)_
10+
11+
- Throw an error early when `.file()` is passed a Buffer object without an accompanying name string, props @cungminh2710 & @mvhirsch
12+
13+
914

1015
## v1.2.1 _Colomb_
1116

0 commit comments

Comments
 (0)