<commit_before># Changelog

## v2.0.0 [**alpha**] _Second Toughest in the Infants_

- **BREAKING**: The module exported as `wpapi` no longer includes HTTP methods. Install `superagent` as a peer dependency and `require( 'wpapi/superagent' )` in order to make HTTP requests.
- **BREAKING**: Autodiscovery now either succeeds or fails; a WPAPI instance configured with default routes will no longer be returned.



## v1.2.1 _Colomb_

- Fix issue where `li` was improperly declared as a dev-only dependency, props @el-lsan & @jerolan.



## v1.2.0 _Space Is Only Noise_

- **BREAKING**: The minimum supported node version is now v8.
- **BREAKING**: `._paging.total` and `._paging.totalPages` response properties are now returned as integers, not strings.
- Bundled route handlers are now available for new first-party endpoints in WordPress 5.0.
- The project now uses Jest and ESLint in place of Mocha, Chai, JSCS and JSHint. Thank you for your years of service, ["nyan" reporter](https://mochajs.org/#nyan)!
- Browser bundle size has been reduced.


## v1.1.2 _If I Survive_<commit_msg>Add changelog note for .file() argument validation<commit_after># Changelog

## v2.0.0 [**alpha**] _Second Toughest in the Infants_

- **BREAKING**: The module exported as `wpapi` no longer includes HTTP methods. Install `superagent` as a peer dependency and `require( 'wpapi/superagent' )` in order to make HTTP requests.
- **BREAKING**: Autodiscovery now either succeeds or fails; a WPAPI instance configured with default routes will no longer be returned.


## v1.2.2 _(future release)_

- Throw an error early when `.file()` is passed a Buffer object without an accompanying name string, props @cungminh2710 & @mvhirsch



## v1.2.1 _Colomb_

- Fix issue where `li` was improperly declared as a dev-only dependency, props @el-lsan & @jerolan.



## v1.2.0 _Space Is Only Noise_

- **BREAKING**: The minimum supported node version is now v8.
- **BREAKING**: `._paging.total` and `._paging.totalPages` response properties are now returned as integers, not strings.
- Bundled route handlers are now available for new first-party endpoints in WordPress 5.0.
- The project now uses Jest and ESLint in place of Mocha, Chai, JSCS and JSHint. Thank you for your years of service, ["nyan" reporter](https://mochajs.org/#nyan)!
- Browser bundle size has been reduced.


## v1.1.2 _If I Survive_
{'fraction_non_alphanumeric': 0.10067396798652065, 'fraction_numerical': 0.015585509688289806, 'mean_word_length': 4.2312775330396475, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2698631', 'n_tokens_mistral': 766, 'n_tokens_neox': 715, 'n_words': 315}