Skip to content

Latest commit

 

History

History
172 lines (107 loc) · 6.44 KB

CHANGELOG.md

File metadata and controls

172 lines (107 loc) · 6.44 KB

2.1.0

  • Add language code "local" #133
  • Fixes a bug where worldview value in a non-localized tile can be truncated #133

2.0.2

  • Fixes a bug in localize where the class and worldview key prefixes were true for soft matches, which unintentionally filters out features where class = class*. Now the logic uses an exact match so class != classes. #134

2.0.1

  • Fixes a bug in localize function that throws an error when languages or worldviews is an empty array #131

2.0.0

  • Updates the localize function to return features with either all properties localized or features with no properties localized; nothing in between #129.

1.1.0

  • Updates the localize function to translate _mbx_class to class when _mbx_worldview is provided along with matching worldview filtering

1.0.0

BREAKING Module now returns an object with two functions #127

const { composite, localize } = require('@mapbox/vtcomposite');
  • Adds a new function localize which finds and removes unused translations and worldviews from features.
  • Update [email protected]
  • Update [email protected]
  • Move tutorial from README.md into TUTORIAL.md
  • Move benchmarking from README.md into CONTRIBUTING.md

0.6.1

  • Build binaries with node v16 -> works at runtime with node v8 -> v16 (and likely others)
  • Remove -D_GLIBCXX_USE_CXX11_ABI=0 build flag
  • Upgrade dependencies #119
    • node-addon-api ^4.3.0
    • @mapbox/node-pre-gyp ^1.0.8
    • @mapbox/cloudfriend ^5.1.0
    • @mapbox/mvt-fixtures ^3.7.0
    • @mapbox/sphericalmercator ^1.2.0
    • @mapbox/tilebelt ^1.0.2
    • aws-sdk ^2.1074.0
    • bytes ^3.1.2
    • d3-queue ^3.0.
    • mapnik ^4.5.9
    • pbf ^3.2.1
    • tape ^4.5.2

0.6.0

  • Return empty Buffer if a composite operation results in a empty tile, even if compress: true is set. This can happen if a tile is overzoomed and results in no layers, but the resulting buffer was gzipped, which leads to a non-empty gzipped buffer with no data, specifically: <Buffer 1f 8b 08 00 00 00 00 00 00 13 03 00 00 00 00 00 00 00 00 00>. The result of this change is that users should check the response buffer.length > 0 if they need to handle empty tiles separately from non-empty tiles.

0.5.1

  • Bugfix for v0.5.0 to fix an issue where compositing multiple tiles with specific layers included would drop same-named layers #114

0.5.0

  • Add buffers[n].layers array to allow keeping of specific layers during compositing #113
  • Remove copied documentation from node-cpp-skel #113

0.4.0

  • Upgrade to use @mapbox/node-pre-gyp >= v1.0.0 #108
  • Upgrade to use node-addon-api >= v3.1.0 #108
  • Upgrade to use node-mapnik >= 4.5.6 #108
  • Check tile_buffer is not empty before accessing internal data info

0.3.0

  • Now supporting node v12/v14 by switching to "universal" binaries that work across all major node major versions that support N-API. Binaries were built using node v12, but work at runtime with node v8 -> v14 (and likely others)
  • Upgraded dependencies including node-addon-api, node-pre-gyp, boost, geometry.hpp, protozero, variant and vtzero
  • Binaries are now compiled with clang 10.x

0.2.1

  • Revert polygon decoding PR that snuck into 0.2.0 release #91
  • Remove valid=false, which fixes a linestring clipping bug #98
  • Polygon clipping fix #101

0.2.0

  • Upgrade to use N-API and remove nan/node-pre-gyp deps
  • Fix issue with comparison operators in feature builder 942a560

0.1.3

  • Upgrade nan and node-pre-gyp

0.1.2

  • Reduced the package size
  • Upgraded to latest @mapbox/mvt-fixtures and @mapbox/mason-js

1/9/2018

  • Add memory stats option to bench tests

1/4/2018

  • Add doc note about remote vs local coverage using LCOV

11/17/2017

10/31/2017

10/20/2017

10/12/2017

09/10/2017

08/24/2017

08/15/2017

08/09/2017

  • Add comments about "new" allocation

08/08/2017

08/04/2017

08/3/2017

07/21/2017

07/11/2017