NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
pub.dev · #1680 most downloaded on pub.dev
A simple Dart package to encode & decode Mapbox Vector Tile, A implementation of Mapbox Vector Tile specification.
Last release 6 months ago
28 Mar 2026
Release timing varies
gaps range from 3 weeks to 1.4 years
Nearly every release is documented
notes for 21 of 21 stable releases
Nothing withdrawn
no release was ever pulled
6 years old
21 releases · first in 2021
One column per quarter.
Migrate to protobuf v6 and regenerate proto files with protoc_plugin 25.0.0 (#21). Thanks to @Numerok .
Relax protobuf constraint to ^5.1.0 (#22). Thanks to @connor-goTenna .
Migrate dependencies and increase the minimum version required of Dart SDK (#20). Thanks to @DanielBerrioB .
Fix zigZagDecode for JS targets (#18). Thanks to @mutagene .
- Updated dependencies
Add web platform support (#10).
Breaking changes:
VectorTile.fromPath, encodeVectorTile, decodeVectorTile methods. (Read the migrate guide below to update your code).Migrate guide:
VectorTile.fromPath:// Old
final tile = await VectorTile.fromPath(path: '../data/sample-12-3262-1923.pbf');
// New
final tileData = await File('../data/sample-12-3262-1923.pbf').readAsBytes();
final tile = await VectorTile.fromBytes(bytes: tileData);
encodeVectorTile:// Old
await encodeVectorTile(path: './gen/tile.pbf', tile: tile);
// New
await File('./gen/tile.pbf').writeAsBytes(tile.writeToBuffer());
decodeVectorTile:// Old
final tile = decodeVectorTile(path: '../data/sample-12-3262-1923.pbf')
// New
final tileData = await File('../data/sample-12-3262-1923.pbf').readAsBytes();
final tile = await VectorTile.fromBuffer(tileData)
(Improvement memory usage) Use fixed size lists instead of growable lists. (#8).
(Improvement memory usage) Change data structure for VectorTileValue. (#7).
(Breaking change - Improvement memory usage) Change data type for feature's properties from List to Map (#6).
Avoid decoding geometry more than once (#5).
Add support reading tiles from buffer (#4).
Add support for null-safety (#3).
Add check data type for layer values when converting data from raw layer.
layer values when converting data from raw layer.- Update linter rules.
Add generic type to GeoJson class.
GeoJson class.Add toGeoJson method on VectorTile class to allow decode raw VectorTile format to GeoJson FeatureCollection.
toGeoJson method on VectorTile class to allow decode raw VectorTile format to GeoJson FeatureCollection.map method on List that returned a Iterator instead of a new List.Change namespace import from PascalCase to snake_case.
PascalCase to snake_case.Add properties decode for feature GeoJson.
Split all to two type of classes: raw vector tile and vector tile.
raw vector tile and vector tile.@required annotion to createVectorTileFeature and createVectorTileLayer based on specification
createVectorTileFeature and createVectorTileLayer based on specificationGenerate VectorTile classes from protobuf spec.
Your coding agent can read these notes before it upgrades. Set up the MCP server →