Skip to content

Releases

v0.4.0

Choose a tag to compare

@himanshu-gtm himanshu-gtm released this 30 Nov 06:07

What's Changed

New Contributors

Full Changelog: v0.3.0...v0.4.0

v0.3.0

Choose a tag to compare

@arjunjain arjunjain released this 25 Nov 11:38

Full Changelog: v0.2.1...v0.3.0

v0.2.1

Choose a tag to compare

@arjunjain arjunjain released this 25 Nov 11:38

What's Changed

  • fix: do not retry a 429 when API credits are exhausted by @arjunjain in #3

Full Changelog: v0.2.0...v0.2.1

v0.2.0

Choose a tag to compare

@arjunjain arjunjain released this 25 Nov 11:38

What's Changed

Full Changelog: v0.1.0...v0.2.0

v0.1.0

Choose a tag to compare

@arjunjain arjunjain released this 25 Nov 11:38

What's Changed

  • Rename market symbol filter to market_id by @arjunjain in #1

Full Changelog: v0.0.2...v0.1.0

v0.0.2

Choose a tag to compare

@arjunjain arjunjain released this 01 Jun 13:30

First release via automated tokenless OIDC publishing from GitHub Actions. No source changes — validates the trusted-publisher pipeline end-to-end.

v0.0.1

Choose a tag to compare

@arjunjain arjunjain released this 01 Jun 13:27

Initial release of the Newsdata.io Dart/Flutter client — published on pub.dev as newsdataapi.

Pure Dart package, works on Flutter (iOS, Android, Web, Desktop) and standalone Dart (CLI, server). Typed named-parameter methods for all 8 endpoints (latest, archive, crypto, sources, market, count, cryptoCount, marketCount) with the same proven core as the Python / PHP / Node / React / Go SDKs:

  • Client-side parameter validation (mutex groups, sentiment_score rule, size 1–50, count date requirement, rawQuery parsing)
  • Typed exception hierarchy (NewsdataValidationException, NewsdataApiException, NewsdataAuthException, NewsdataRateLimitException, NewsdataServerException, NewsdataNetworkException)
  • Retries with exponential backoff + Retry-After parsing (integer seconds + HTTP-date)
  • scrollAll (merged Future) and paginate (idiomatic Stream)
  • Compile-time required fromDate / toDate on count endpoints
  • Custom http.Client injection, optional logger callback, API-key redaction in logs
  • Typed Article model including AI enrichments (aiTag, aiRegion, aiOrg, sentiment, sentimentStats)
  • Zero Flutter deps — pure Dart, no platform channels
  • 34 unit tests via package:http/testing MockClient (no network needed)

Note: this release was published to pub.dev manually (first publish needs an authenticated session to claim the package). The GitHub Actions workflow run triggered by this release will fail with "version already exists" — that's expected and harmless. From v0.0.2 onward, configure the Trusted Publisher on pub.dev and releases will publish automatically via OIDC.