one_request 2.1.1 copy "one_request: ^2.1.1" to clipboard
one_request: ^2.1.1 copied to clipboard

A Flutter package to make HTTP requests with advanced error handling, including Dio and EasyLoading.

2.1.1 - 2025-07-17 #

Fixed #

  • Added comprehensive troubleshooting guide for "Failed to host lookup" errors in release mode
  • Updated README with network security configuration instructions for Android and iOS
  • Improved documentation for common release mode network issues

2.1.0 - 2025-07-16 #

Added #

  • Type-safe, generic API (send<T>())
  • PascalCase naming (OneRequest)
  • Global configuration: base URL, headers, interceptors
  • Per-request customization: interceptors, cancel tokens
  • Retry logic for transient errors, with exponential backoff
  • Custom error handler and logger support
  • Fully customizable loading and error widgets
  • Error message localization support
  • Offline support (caching) for GET requests (useCache and clearCache)
  • Batch requests: send multiple requests in parallel (OneRequest.batch)
  • Integration/widget test support (see test/one_request_integration_test.dart)
  • Improved documentation and usage examples
  • Summary table and troubleshooting/FAQ in README
  • Unit and integration tests for all features

Changed #

  • All code samples and docs now use PascalCase and the new API
  • API docs fully updated for new features
  • Improved error handling and logging
  • Updated dependencies

Fixed #

  • Added troubleshooting guide for "Failed to host lookup" errors in release mode
  • Updated README with network security configuration instructions for Android and iOS

- Fix Error Message Handeling more specifically #

2.0.5 #

- Fix Error Message Handeling #

2.0.4 #

- Add Patch For request #

2.0.3 #

- Update dependencies #

2.0.2 #

- Show Error Message Specifically send by the server on Right #

2.0.1 #

- Score Updated #

2.0.0 #

- Updated dependencies #

- Added Web support #

1.0.9 #

- Fix Error Handeling #

1.0.8 #

- Updated dependencies #

1.0.7 #

- Updated dependencies #

1.0.6 #

- Updated dependencies #

1.0.5 #

- Fix Some Issue #

1.0.4 #

- Fix ErrorMassage Handeling #

- added Option Loading and Result Status Overlay show or hide feature #

- Updated Dependencies #

1.0.3 #

- Updated Dependencies #

1.0.2 #

- Version updated #

1.0.0 #

- Version update #

0.0.6 #

- mirror bug fix #

0.0.5 #

- mirror bug fixing #

0.0.4 #

- Overlay loading added #

- Optimize code #

0.0.3 #

- Documentation added #

- File input added #

0.0.2 #

- Release adding inner json content check #

0.0.1 #

- initial release #

10
likes
0
points
114
downloads

Publisher

unverified uploader

Weekly Downloads

A Flutter package to make HTTP requests with advanced error handling, including Dio and EasyLoading.

Homepage
Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

dio, either_dart, flutter, flutter_easyloading

More

Packages that depend on one_request