Skip to content
This repository has been archived by the owner on Oct 10, 2022. It is now read-only.

Releases: netlify/js-client

v4.0.1

30 Mar 10:38
Compare
Choose a tag to compare

Merged

  • Remove omit.js #93

Commits

v4.0.0

26 Mar 19:47
Compare
Choose a tag to compare

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

26 Feb 19:53
Compare
Choose a tag to compare

Merged

  • Add api.cancelSiteDeploy() #88
  • Fix error responses when the response is not JSON #85

Commits

v3.0.0

26 Nov 11:53
Compare
Choose a tag to compare

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

24 Jul 22:41
Compare
Choose a tag to compare

Merged

  • export methods for usage in CLI #54

v2.4.7

22 Jul 22:46
Compare
Choose a tag to compare

Merged

  • remove logs from addon API calls #53

Commits

v2.4.6

06 Jun 16:16
Compare
Choose a tag to compare

Merged

  • Only convert to json for failed response #52

v2.4.5

06 Jun 02:13
Compare
Choose a tag to compare

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

22 Apr 21:41
Compare
Choose a tag to compare

Merged

  • Update ZISI and semver dependencies #48

Commits

  • Update ZISI and dependencies ec31e36

v2.4.3

17 Apr 00:15
Compare
Choose a tag to compare

Commits

  • bump back version of ZISI to 0.3.0 f6bbaf3