github logaretm/villus villus@1.0.0-beta.1

latest releases: v3.4.0, v3.3.0, v3.2.0...
pre-release3 years ago

Breaking Changes 💀

  • deprecate the context and fetch options in favor of custom plugins API
  • deprecate the exported batch fetcher in favor of @villus/batch plugin
  • changed the signature of provider and useClient (b4fa6d9) due to conflicts with TypeScript typings

Bug Fixes 🐛

  • handle non-200 error responses closes #49 (0950fa8)

New Features

Plugins API 🔌

A large chunk of villus code has been re-written from scratch to use pipeline-like operation transformers (plugins) similar to what apollo client and urql are doing with much less jargon and complexity, they are just a simple middleware performing operations on GraphQL queries as they go out or after execution.

Check the documentation here

multipart plugin ⬆️

The multipart plugin will enable support for graphql file upload, check the documentation and examples here

Don't miss a new villus release

NewReleases is sending notifications on new releases.