3.0.1
ℹ️ The plugin has been renamed and is now APipeline. This version works almost exactly like the previous one, except for minor breaking changes. This plugin can now be used on the browser, in node.js and on react-native !
Breaking changes
- You now must supply the
fetchMethod
option in your API options. This is required since the plugin can now be used in any javascript project. - You now must set your caching driver either through the 3rd parameter of your api instantiation, or with the
setCacheDriver
method.
📖 Take a look at the documentation for some pointers about how to set these values depending on where you intend to use the plugin.
Features
- Your favorite API wrapper is now available everywhere from react-native to your webapps running javascript on the client and/or the server !
- New option :
encodeParameters
: this automatically encodes your utf8 characters in yourqueryParameters
andpathParameters
Bugfixes & improvements
- Prevent a silent error when the network request failed
multiRemove
method is not required anymore when creating your own cache driver- Some unnecessary logic has been circumvented when caching is disabled, improving overall performance
- Some typings errors and imprecisions have been changed
Warning
- Your users will lose their current cache when switching to this version, unless you were using the
cachePrefix
option.