Skip to content

Commit

Permalink
chore(release): 2.0.0 [skip ci]
Browse files Browse the repository at this point in the history
# [2.0.0](1.9.0...2.0.0) (2021-06-04)

### Code Refactoring

* **Defaults:** Export `defaults` object ([6b9b698](6b9b698))

### Features

* **Version 2:** Reduce package size ([cfcae8a](cfcae8a))

### BREAKING CHANGES

* **Version 2:** - Package now exports a `defaults` object
- Client.defaults has been removed
- All client config is now stored in `client.config`
- All resources have been removed from the client. Instead retrieve
these from the library and inject the client. E.g.
`client.postcodes.retrieve` becomes `postcodes.retrieve(client, ...)`
- Helper methods (like lookupPostcode, ping) have been removed from the client.
Instead retrieve these from teh library and inject the client. E.g.
`client.lookupPostcode` becomes `lookupPostcode(client, ...)`
* **Defaults:** Uppercased default variables no longer exported.
Instead `defaults` object is supplied
  • Loading branch information
semantic-release-bot committed Jun 4, 2021
1 parent 8ce0e40 commit 73e24a6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ideal-postcodes/core-interface",
"version": "1.9.0",
"version": "2.0.0",
"description": "Interface specification for javascript based API Clients to api.ideal-postcodes.co.uk",
"author": {
"name": "Ideal Postcodes",
Expand Down

0 comments on commit 73e24a6

Please sign in to comment.