NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
pub.dev · #409 most downloaded on pub.dev
Lightweight library for common latitude and longitude calculation
Last release 4 months ago
31 May 2026
Release timing varies
gaps range from 2 weeks to 2.1 years
Nearly every release is documented
notes for 8 of 8 stable releases
Nothing withdrawn
no release was ever pulled
6 years old
12 releases · first in 2021
One column per quarter.
Bump version and add changelog
Bump version and add changelog
LongitudeDirection#lazy -> LongitudeDirection#greenwichlib/src structureImprove a few exceptions
SegmentDirection -> LongitudeDirectioneffectiveDLng -> effectiveLongitudinalDeltalaziest direction (did not really make sense either way...)Bump version and add changelog
Bump version and add changelog
SegmentDirection interface for specifying in which direction distances should be calculatedVincentyBump version and add changelog
Bump version and add changelog
Add screenshots to pub.dev
Add screenshots to pub.dev
LatLng.hashCode properly, reducing collisions (old hash function was worse).fix test, add is_valid(), bump version and changelog
fix test, add is_valid(), bump version and changelog
LatLng.hashCode to use XOR (^) instead of addition, reducing collisions.LatLng.fromJson parsing: coordinates are now cast via num before converting to double.new keyword from all examples, updated return types.LatLng.isValid getter for explicit bounds checking (latitude ∈ [-90, 90], longitude ∈ [-180, 180]).Remove debug assertions on latitude and longitude boundaries.
move to dart3 and const constructors.
move to dart3 and const constructors.
LatLng.setLatitude() and setLongitude().change max dart version to <4.0.
change max dart version to <4.0.
Add GeoJSON compliant toJson() and fromJson().
- Use pedantic. - camelCase constants. - Add example. - Other lint fixes.
Support null safety, forked from the original repo, which is now archived.
For previous releases, see https://pub.dev/packages/latlong/changelog.
Your coding agent can read these notes before it upgrades. Set up the MCP server →