ncc 2.0.0
ncc: ^2.0.0 copied to clipboard
A robust Dart package for efficient network request handling, session management, real-time network state tracking, and seamless error handling for modern applications.
2.0.0 - 2026-10-13 #
Breaking change #
- Raised the minimum Dart SDK from
>=3.5.0to>=3.13.0, dropping support for Dart 3.5 through 3.12.
Changed #
- Migrated all constructors to the concise constructor syntax (
new(...)/new name()) introduced in Dart 3.13. - Adopted
coolint^3.0.0and resolved all new analyzer diagnostics (strict inference,async_return_with_no_await,comment_referencesand empty container bodies). - Upgraded
httpto^1.6.0andmetato^1.19.0. - Reformatted the whole project with the Dart 3.13 formatter.
Docs #
- Corrected the package name and installation snippet in the README (
ncc,^2.0.0).
Tooling #
- Widened the CI format check to the whole repository (
dart format .). - Added analyze and format validation steps to the publish workflow.
- Fixed the example entrypoint to exit successfully (
0).
1.0.0 - 2026-02-23 #
Fixed #
- Fixed broken badge links in README.md to ensure correct visualization on pub.dev.
Changed #
- Standardized dependency versions for
httpandmetausing caret syntax (^) for better compatibility and compliance with pub.dev standards. - Improved SEO by adding relevant topics and refining the package description in pubspec.yaml.
Added #
- Added "Maintainers" section to README.md, including GitHub profile integration.
- Official stable release.
0.0.6 - 2025-10-27 #
Breaking change #
- NetworkObservable is now solely responsible for managing local observers and notifying them of network events.
- GlobalNetworkObservable is responsible for tracking and notifying global observers across all clients, as well as maintaining shared network state by client.id.
- Renamed HttpClient to NccClient to better reflect the package name.
Added #
- GlobalNetworkObservable class is responsible for tracking and notifying global observers across all clients
Changed #
- Upgrade http: ">=1.5.0 <2.0.0"
- Upgrade meta: ">=1.16.0 <2.0.0"
- Upgrade coolint: ^2.1.2