tio 2.0.0 copy "tio: ^2.0.0" to clipboard
tio: ^2.0.0 copied to clipboard

A simple wrapper for dio with response typing and full backward compatibility. Inspired by chopper.

2.0.0 #

  • Added TioResponse.map and when methods similar to freezed map/when
  • BREAKING: TioResponse now is not exhausted. Use map/when methods
  • TioResponse splitted for base TioResponse and TioHttpResponse with dio.Response response property
  • Empty factory removed, factories now is typedefs

1.1.0 #

  • added Future

1.0.0+2 #

  • update README.md

1.0.0+1 #

  • fix code style
  • update dependencies

1.0.0 #

  • release
  • 'package:tio/tio.dart' not does not export dio
  • 'package:tio/tio.dart' now exports JsonMap typedef
  • rewrite tests
  • auth interceptor sync refresh feature

0.8.0 #

  • pre-release
  • Some refactoring
  • TioFactoryConfig now receiving factories in first positional argument, instead of named
  • TioService renamed to TioApi and hot additional functionality
  • TioApi now mirrors common request methods with applying TioApi.path property as prefix of path
  • Reworded error system. Now Tio using DioException as base error.

0.7.1 #

  • fix static analysis

0.7.0 #

  • update README.md
  • added RefreshableAuthInterceptor.onFailureRefresh
  • added TioResponse.map map
  • fix TioExceptions thrown from interceptors
  • refactor TioResponse.withSuccess method

0.6.1 #

  • fix web compability

0.6.0 #

  • remove Response.contentType extension getter for web compability

0.5.0 #

  • update README.md
  • changes in error factories

0.4.0 #

  • update README.md
  • update analysis_options.yaml
  • more informative TioError error
  • Tio.withInterceptors now factory constructor
  • added head method
  • added some tests

0.3.0 #

  • update README.md
  • update pubspec.yaml topics
  • added ResponseOptions.toOptions extension method
  • added Dio.restart extension method
  • added github workflows
  • fix code styles

0.2.0 #

  • update README.md
  • update pubspec.yaml topics
  • fix tests
  • added List.check
  • added Response.contentType extension getter

0.1.1 #

  • Update README.md
  • Add LICENSE
  • Remove unused private TioException constructor
  • Wildcard unused variable

0.1.0 #

  • Initial version.
0
likes
120
pub points
16%
popularity

Publisher

unverified uploader

A simple wrapper for dio with response typing and full backward compatibility. Inspired by chopper.

Repository (GitHub)
View/report issues

Topics

#dio #api #client #rest

Documentation

API reference

License

MIT (license)

Dependencies

dio, equatable, logging

More

Packages that depend on tio