This repository was archived by the owner on Oct 10, 2022. It is now read-only.
v3.0.0
Thanks a lot to:
Breaking changes
- API method names must be retrieved using
NetlifyJSClient.methodsinstead ofNetlifyJSClient.prototype.
Features
Bug fixes
- Fix
bodyfunctions not working with JSON payloads (#67) - Fix
bodybinary 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)