Skip to main content

ncc 2.0.0 copy "ncc: ^2.0.0" to clipboard
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.0 to >=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.0 and resolved all new analyzer diagnostics (strict inference, async_return_with_no_await, comment_references and empty container bodies).
  • Upgraded http to ^1.6.0 and meta to ^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 http and meta using 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

0.0.5 - 2025-07-16 #

Breaking change #

  • Manage of socket exception as NetworkAvailabilityException

0.0.4 - 2025-07-16 #

Changed #

  • CI/CD for open PR

Added #

  • Manage race conditions

0.0.3 - 2025-05-20 #

Changed #

  • Change function for normalize headers

0.0.2 - 2025-05-14 #

Added #

  • Test added
  • Github action for pull_main and publish added

0.0.1 #

  • Initial version.

Added #

  • Ncc implementation
  • SessionClient implementation
3
likes
160
points
406
downloads

Documentation

API reference

Publisher

verified publisheryaminokishi.com

Weekly Downloads

A robust Dart package for efficient network request handling, session management, real-time network state tracking, and seamless error handling for modern applications.

Homepage
Repository (GitHub)
View/report issues
Contributing

Topics

#http #network #protocols #session #rest-api

License

MIT (license)

Dependencies

http, meta

More

Packages that depend on ncc