Releases: PorterK/GuardianJSClient
Releases · PorterK/GuardianJSClient
v5.0.0
- Removed
request
dependency sincefetch
was released in Node, meaning this project has no dependencies 🎊 - Updated test runner to jest to remove another dev dependency
- Added an engine declaration to the package.json
MAJOR BREAKING CHANGES
- The API functions no longer return
{ response, body }
- they just return the response body directly from the Guardian API, meaning:
const resp = await api.content.search('test');
const { body } = resp;
doSomethingWith(resp.results);
is now
const resp = await api.content.search('test');
doSomethingWith(resp.results);
v4.0.1
TypeScript Support!
- Added typescript support
- Defaulted secure to false on the main Client class
3.0.0
v.3.0.0
This version comes with a lot of cleanup!
- Removed a lot of code duplication
- Removed lodash as a dependency
- Updated tests so that they work correctly
- Updated dependencies to remove vulnerabilities
Breaking Changes
- Removed
custom
- Moved
item
to only havegetById
method
Updates for the modern world!
Removed some dependencies (bluebird, expect, mocha) in order to make the package smaller. With this we now rely on native Promises instead of bluebird.
Breaking Changes: N/A
Hooray!