purest v3.0.0 Release Notes
Release Date: 2016-07-17 // almost 8 years ago-
- ๐ New: Breaking Changes
- ๐ Change: The
request
module is no longer an internal dependency of Purest, it should be installed separately and passed to Purest. - ๐ Change: The provider's configuration is no longer part of the module, it should be installed separately and passed through the
config
option. - ๐ Change: The
new
keyword is no longer used when creating a new provider instance. - ๐ Change: The
api
constructor option is now calledalias
. - ๐ Change: The
api
option for the Basic API is now also calledalias
. - ๐ Change: By default the constructor now returns an instance of the Chain API.
- ๐ Change: The Basic API can be enabled explicitly through the
api: 'basic'
options of the constructor. - ๐ Change: The
query()
method of the Chain API is no longer required to initiate the Chain API, use it only if you need to specify the path alias to use. - ๐ Change: The Promise implementation have to be passed as dependency when initializing Purest.
- ๐ Change: The
debug
option is no longer available for the constructor. - ๐ Change: The
defaults
options passed in the constructor are being extended in Purest instead of in request. - ๐ Change: The default Chain API method aliases were removed, for example: post-update and so on.
- ๐ Change: The before hook methods and the
hooks
options in the constructor are no longer available. - ๐ Change: Versions of Node below version 4.0 LTS are no longer supported.
- ๐ Change: - Change: Version 3.0 of Purest is licensed under the Apache 2.0 license.