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 called alias.
    • ๐Ÿ”„ Change: The api option for the Basic API is now also called alias.
    • ๐Ÿ”„ 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.