fetch_tray 0.3.3 copy "fetch_tray: ^0.3.3" to clipboard
fetch_tray: ^0.3.3 copied to clipboard

An opinionated, easy to use, and flexible HTTP client for Dart, which can be used with hooks.

Changelog #

0.0.1 #

  • First release
  • Support for hooks
  • Simple development output logging

0.0.2 #

  • Added better debugging options

0.0.3 #

  • Added no debug logging as default for test runs

0.0.4 #

  • Added getUrl method to TrayRequest to be able to customize more complex URL patterns

0.0.5 #

  • Added getParams method to TrayRequest to be able to customize more complex param combinations

0.0.6 #

  • Added requestParams param to getParams method in TrayRequest

0.0.7 #

  • Fixed Response json encoding to utf-8 for testing tray responses, to fix error issue with non latin json contents.

0.0.8 #

  • Added fetchMore method

0.0.9 #

  • Improved refetch functionality

0.1.0 #

  • Added custom metadata type functionality

0.1.1 #

  • Fixed tests for metadata type functionality

0.2.0 #

  • Made all getParams, getUrl, ... async

0.2.1 #

  • Fixed handling of empty response bodies

0.2.2 #

  • Small bugfixes

0.2.3 #

0.3.0-rc.1 #

  • Removed flutter dependency
  • Moved hooks to separate package
  • Add TrayPlugin interface to allow for custom plugins
  • Switch to dio for http requests
  • Added FetchTray singleton to store dio instance
  • FetchTray.init() has to be called before making any requests

0.3.3 #

  • Bump version for helper packages
2
likes
130
pub points
15%
popularity

Publisher

verified publishermarqably.com

An opinionated, easy to use, and flexible HTTP client for Dart, which can be used with hooks.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

dio, logger, mockito

More

Packages that depend on fetch_tray