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

v3.0.0

Choose a tag to compare

@ehmicky ehmicky released this 26 Nov 11:53

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)