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

A production-ready Dart SDK for the Mapbox Search Box, Geocoding, and Places APIs.

2.0.0 #

This release is a complete, intentionally breaking redesign. No 1.x compatibility layer is included.

  • Replace the global initializer and MapboxSearchClient hierarchy with one reusable, instance-based MapboxSearch client and explicit close() lifecycle.
  • Replace MapboxSearchResult callbacks and legacy errors with MapboxResponse<T> and typed API, network, timeout, and decode exceptions.
  • Add dependency-injected HTTP transport with configurable timeout, headers, base URI, client ownership, token redaction, request IDs, and parsed rate-limit metadata.
  • Add immutable typed request and response models with local validation, complete raw JSON retention, and forward-compatible response strings.
  • Add Search Box v1 suggestions, retrieval, managed sessions, forward search, category search and category catalogs, reverse search, current POI filters, response attribute sets, search along route, long-route POST delivery, and Matrix-backed distance and ETA enrichment.
  • Add Geocoding v6 text and structured forward requests, reverse requests, mixed batches of up to 1,000 queries, permanent-result mode, worldview selection, match metadata, secondary addresses, and public-preview building entrances.
  • Add the public-preview Places Details v1 API with single and batch retrieval, partial-result reporting, typed Place data, and retained category-specific attributes.
  • Remove legacy Geocoding v5 formats, retired endpoint models, duplicate clients, assertion-only validation, and package-internal imports from the supported public API.
  • Add complete feature-focused examples and a migration guide.
  • Add a test workflow and enforce 100% code coverage.
  • Raise the minimum Dart SDK version to 3.8.0.

1.0.1 #

  • Update documentation.

1.0.0 #

  • Initial release.
1
likes
160
points
30
downloads

Documentation

API reference

Publisher

verified publishercoderave.dev

Weekly Downloads

A production-ready Dart SDK for the Mapbox Search Box, Geocoding, and Places APIs.

Repository (GitHub)
View/report issues
Contributing

Topics

#mapbox #search #geocoding #places #sdk

License

GPL-3.0 (license)

Dependencies

http, uuid

More

Packages that depend on dart_mapbox_search