via 1.2.1 copy "via: ^1.2.1" to clipboard
via: ^1.2.1 copied to clipboard

A modern, type-safe HTTP client library for Dart/Flutter applications.

Changelog #

All notable changes to this project will be documented in this file.

1.2.1 - 2025-12-20 #

Fixed #

  • Fixed toJson and toCurl implementations in ViaRequest.
  • Improved cURL command generation with better character escaping for terminal compatibility.
  • Fixed ViaException JSON serialization by correcting null-aware syntax.
  • Adopted modern Dart null-aware map entries syntax (?variable) for cleaner metadata.

1.2.0 - 2025-12-20 #

Changed #

  • Refactored ViaPipeline to be non-generic for better flexibility and simplicity.
  • Removed generic requirements from all built-in pipelines (ViaLoggerPipeline, ViaCachePipeline, etc.).
  • Simplified custom result transformation by removing covariant complexity in favor of standard inheritance.

1.1.0 - 2025-12-20 #

1.0.0 - 2025-12-20 #

Added #

  • Initial release of the Via HTTP engine.
  • Via class for high-level HTTP operations.
  • ViaExecutor with support for ViaPipeline architecture.
  • Built-in resilience with ViaRetry (automatic retries).
  • Request cancellation support via CancelToken.
  • Type-safe JSON parsing helpers (asMap, asList).
  • Memory-managed ViaCachePipeline (FIFO with maxEntries).
  • Advanced pipelines: ViaLoggerPipeline (with cURL support), ViaDebouncePipeline, ViaThrottlePipeline, and ViaResponseValidatorPipeline.
  • Connection pooling support with shared http.Client.
  • Isolate-based execution support for background processing.
  • errorIf validation in ViaExecutor to treat HTTP responses as errors (defaults to non-2xx).
1
likes
0
points
606
downloads

Publisher

verified publishergece.dev

Weekly Downloads

A modern, type-safe HTTP client library for Dart/Flutter applications.

Repository (GitHub)
View/report issues

Topics

#http #rest #client #json #networking

License

unknown (license)

Dependencies

flutter, http

More

Packages that depend on via