Releases: netlify/js-client
Releases · netlify/js-client
v4.0.0
Merged
- Upgrade
zip-it-and-ship-it
#90
- Fix failing test
#91
- Fix linting error
#92
- Add
api.cancelSiteDeploy()
#88
- Fix error responses when the response is not JSON
#85
Commits
v3.1.0
Merged
- Add
api.cancelSiteDeploy()
#88
- Fix error responses when the response is not JSON
#85
Commits
v3.0.0
Thanks a lot to:
Breaking changes
- API method names must be retrieved using
NetlifyJSClient.methods
instead of NetlifyJSClient.prototype
.
Features
- Add
accessToken
option (#70)
- Improved error messages and stack traces (#67)
Bug fixes
- Fix
body
functions not working with JSON payloads (#67)
- Fix
body
binary payloads not working when not wrapped in functions (#67)
- Allow methods to be retrieved via destructuring like
const {getCurrentUser} = api
(#67)
- Fix rate limiting-related bug (#69)
Cross-platform
- Make development tasks work on Windows (#62)
- Improve CI tests: we now run tests on Node 8/13, Linux/macOS/Windows (#62, #79)
- Improve browser support (#67)
- Fix the currently supported Node.js version (#78)
Tests
- Add 100% test coverage on everything except the deploy logic (#68, #71, #72)
- Improve tests configuration (#58, #61)
- Add Codecov test coverage (#76, #78)
- Use GitHub actions (#78)
- Add Husky pre-push hook (#78)
Documentation
- Fix variable name consistency in the
README
(#73)
- Improve
README
(#82)
Dependencies
- Upgrade most dependencies (#78)
- Remove unused dependencies (#57, #78)
Refactoring
- Fix linting and prettifying (#59, #60)
- Remove
.vscode
folder (#63)
- Reorder
package.json
(#64, #81)
- Split big files into smaller files (#67)
- General code refactoring (#65, #66)
- Reduce npm package size (#80)
v2.4.8
Merged
- export methods for usage in CLI
#54
v2.4.7
Merged
- remove logs from addon API calls
#53
Commits
v2.4.6
Merged
- Only convert to json for failed response
#52
v2.4.5
Merged
- Handle 422 response from all addons endpoints
#51
Commits
- Simplify the error more as API returns data.error as strings
5f96dba
- Remove the word Error, get the data.error as API always returns that way
e77e314
- Define data with json converted response body
8244255
v2.4.4
Merged
- Update ZISI and semver dependencies
#48
Commits
- Update ZISI and dependencies
ec31e36
v2.4.3
Commits
- bump back version of ZISI to 0.3.0
f6bbaf3