PackageTrack

npm · #3804

@mapbox/vector-tile

3.0.0mapbox/vector-tile-js

Parses vector tiles

Release timeline

13 releases since 2016
20182020202220242026

Releases

  1. 3.0.027 May 2026
    Release notes

    ⚠️ Updated to be compatible with and require pbf v5.0.0 or later (faster decoding, smaller tree-shaken bundle).

    Open source →
  2. 2.0.526 May 2026
    Release notes
    • Improve tile decoding performance through more efficient field reading. #92
    • Fix a potential vulnerability where a malicious vector tile could augment Object prototype via __proto__ layer name #91
    • Throw a clear feature has no geometry error instead of a cryptic unknown command 0 when decoding a feature with no geometry (#39).
    • Correctly handle geometry commands with a zero count instead of aborting decoding (#64).
    • Fix a potential infinite loop when a feature value contains an unknown field.
    Open source →
  3. 2.0.418 Jun 2025
    Release notes

    Improve TypeScript types:

    • Refine feature property values type from unknown to string | number | boolean.
    • Mark all properties starting with _ as private since they're not meant to be used externally.
    Open source →
  4. 2.0.316 Jul 2024
    Release notes

    Upgrade @mapbox/point-geometry dependency to v1.1.0 to fix a potential performance regression.

    Open source →
  5. 2.0.212 Jul 2024
    Release notes

    Improve TS types for VectorTileFeature type and VectorTile layers. #86 by @HarelM

    Open source →
  6. 2.0.111 Jul 2024
    Release notes

    Fix type of VectorTileFeature id property in type definitions.

    Open source →
  7. 2.0.011 Jul 2024
    Release notes
    • ⚠️ Publish the package as a ES module. Drop support for CommonJS.
    • ⚠️ Use modern ES syntax. You can still transpile on your end for IE11 support.
    • Add first-class TypeScript types to the package.

    Changelog for previous versions

    Open source →
  8. 1.3.13 Mar 2018
    Release notes
    • Fix bug causing infinite loop when parsing ClosePath command (#61) h/t @sanjin-saric
    • Pin node-mapnik dependency to ~3.6.0 (#62, see also https://github.com/mapnik/node-mapnik/issues/848)
    Open source →
  9. 1.3.021 Apr 2017
    Release notes
    • Added "id" property to VectorTileFeature (#43)
    Open source →
  10. 1.0.0-rc322 Aug 2016pre-release

    Nothing published for this version

  11. 1.0.0-rc212 Aug 2016pre-release

    Nothing published for this version

  12. 1.0.0-rc111 Aug 2016pre-release

    Nothing published for this version

  13. 1.0.0-alpha.126 Aug 2016pre-release

    Nothing published for this version