nrouter 3.1.1 copy "nrouter: ^3.1.1" to clipboard
nrouter: ^3.1.1 copied to clipboard

nRouter SDK — one API key for models across six provider clouds. Works in Flutter and plain Dart.

Changelog #

3.1.1 #

  • Tracks the coordinated 3.1.1 nRouter SDK release. No Dart-specific API change; the shared gateway contract in spec/nrouter-sdk-spec.json is unchanged for Dart callers.
  • First pub.dev publication since 2.1.1. Versions 2.2.0 through 3.1.0 were built and conformance-tested but not published, so this release skips them.

3.1.0 #

  • Tracks the coordinated 3.1.0 release: repository metadata, SCM links and distribution references moved to nRouterGateway/nrouter-sdk.

3.0.0 #

  • Advances Dart to the coordinated 3.0.0 major release train.
  • Unified conversation memory with sliding window token pruning.
  • Prompt template variable substitution and multi-tenant trace header injection.
  • RFC 9110 Retry-After backoff and stream latency diagnostic tracking.

2.2.1 #

  • Keeps Dart aligned with the coordinated nRouter SDK patch release; Dart wire behavior is unchanged.

2.2.0 #

  • Joins the coordinated 2.2.0 release train shared by all nRouter SDKs.
  • Includes the current full gateway contract, examples, and security gates.

2.1.1 #

  • Add example/nrouter_example.dart for pub.dev documentation and package analysis.

2.1.0 #

  • Cover all 15 nRouter gateway operations with named helpers.
  • Add Anthropic Messages streaming with terminal-event validation.
  • Preserve all 13 x-nr-* response metadata fields and nine typed errors.
  • Add prompt, guardrail, cache, memory, sampling, multipart, and raw-byte support.
  • Reject invalid API keys and malformed successful responses before reporting success.
0
likes
150
points
95
downloads

Documentation

Documentation
API reference

Publisher

verified publishernrouter.ai

Weekly Downloads

nRouter SDK — one API key for models across six provider clouds. Works in Flutter and plain Dart.

Homepage
Repository (GitHub)
View/report issues
Contributing

License

MIT (license)

Dependencies

http

More

Packages that depend on nrouter