Skip to content

v4.0.0

Latest

Choose a tag to compare

@mourner mourner released this 27 May 21:13

⚠️ Breaking

  • Now an ES module — use import * as mvtf from '@mapbox/mvt-fixtures' instead of require().
  • Source fixtures in src/ are now JSON files instead of JS modules. If you import them directly, update paths and use JSON imports.
  • Dropped the legacy scripts/dump protoc helper. Use vtvalidate or any standard protoc install for tile decoding instead.

Changes

  • Regenerated .mvt fixtures are 2 bytes smaller per feature. The previous pbf version emitted an empty packed tags field for features without tags; the new version correctly omits it. Decoded tile content is unchanged.
  • Dependencies upgraded; requires Node.js 22+.