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

Motor de requisições HTTP de alta performance com Cache Híbrido (L1/L2), SQLite e Processamento em Isolates.

Changelog #

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

2.0.0 - 2026-03-04 #

Added #

  • Full REST Support: Implementation of PutRequest and DeleteRequest with the same resilience and cache patterns as GET/POST.
  • Enterprise Resilience: Introduced resilientBatch in PostRequest with automatic rollback on failure and idempotency key support.
  • Advanced Offline Sync: SyncQueueManager now persists PUT and DELETE operations.
  • Multipart Media Sync: Added capability to keep files in the sync queue using VoltFile for deferred offline uploads.
  • VoltInterceptor: New interceptor system for global request/response modification and centralized error handling.
  • New Models: Introduced VoltFile for file abstractions and improved ResultModel<T> with isolate-based parsing.
  • Testing Suite: Achieved ~95% code coverage with new integration and edge-case tests.
  • Utilities: Added Debouncer for high-frequency event management.

Changed #

  • BREAKING: Completely removed legacy naming ("EcoloteNetwork") in favor of VoltNet.
  • BREAKING: Refactored CacheManager, SyncQueueManager, and Request classes to support constructor-based Dependency Injection.
  • Error Mapping: ThrowHttpException now maps native exceptions (Socket, Timeout, Client) into typed VoltNetException subclasses.
  • Deterministic Cache: Replaced .hashCode with a collision-resistant string-based key strategy.
  • Standardization: All debug logs and messages are now in English for global compatibility.
  • URL Building: Integrated Uri.resolve() for more reliable absolute path construction.

Fixed #

  • Handling of null and empty bodies in ResultApi.
  • Persistence issues with multipart fields in the offline sync queue.
  • Isolate parsing reliability for complex or deeply nested JSON structures.
  • Compilation errors in CacheManager.clearAll.

1.1.0 - 2026-03-03 #

Added #

  • feat: implement Randal Schwartz refinements

1.0.2 - 2026-03-02 #

Fixed #

  • Automated versioning pipeline fixes and Cider integration.

1.0.1 - 2026-03-02 #

Added #

  • Initial stable release with Hybrid Cache (L1/L2), Isolates, and Offline-First engine.
2
likes
150
points
197
downloads

Publisher

unverified uploader

Weekly Downloads

Motor de requisições HTTP de alta performance com Cache Híbrido (L1/L2), SQLite e Processamento em Isolates.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

connectivity_plus, crypto, flutter, http, json_annotation, meta, mocktail, path, sqflite, uuid

More

Packages that depend on volt_net