Skip to content

v2.3.0 #15

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 13 commits into from
Jul 9, 2018
Merged

v2.3.0 #15

merged 13 commits into from
Jul 9, 2018

Conversation

Exilz
Copy link
Owner

@Exilz Exilz commented Mar 21, 2018

Features

  • Add responseMiddleware option, letting you alter your API responses. Just like your regular middlewares option, you can configure this at the API / services / fetch level.
  • Add a dedicated method for each HTTP method available, so you can write more concise code (api.get, api.post...). api.fetch is still available.

Miscellaneous

  • Now using expo to supply the demo, added some features to it.

Exilz added 7 commits March 21, 2018 16:32
api.get, api.post, api.head… are now available. This makes your code a
bit cleaner and doesn’t force you to use the fetchOptions argument if
you just need to change the HTTP method.

api.fetch is still available and working as it used to.
You can now add a middleware that alter the data you’ve fetched and
configure it at the API, service or fetch level.
@Exilz Exilz merged commit 4603f41 into master Jul 9, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant