21 KiB
21 KiB
main
5.3.1
- [Note] This is a OpenGL-2 release. It does not include metal support.
- Add WebP decoding support to Linux and Windows. @mwilsnd @acalcutt https://github.com/maplibre/maplibre-native/pull/2044
- Add support for slice and index-of expression @SiarheiFedartsou @acalcutt https://github.com/maplibre/maplibre-native/pull/2023
5.3.0
- [Note] This is a OpenGL-2 release. It does not include metal support.
- [Breaking] Removes node 14 binary build and adds node 20 binary build. We are now building binaries for node 16,18,20 @acalcutt https://github.com/maplibre/maplibre-native/pull/1941
- [Breaking] Linux binary is now built on Ubuntu 22.04 instead of Ubuntu 20.04. it could require a OS update to use this update on linux. @acalcutt https://github.com/maplibre/maplibre-native/pull/1941
- Make Node Map object options "request" property optional by @tdcosta100 in https://github.com/maplibre/maplibre-native/pull/904
- Compile Node targets without -std=c++11 option by @tdcosta100 in https://github.com/maplibre/maplibre-native/pull/926
5.2.0
- Adjust Typings for Node Platform by @etnav in https://github.com/maplibre/maplibre-native/pull/871
- Node platform improvements (added setSize and a new render call without render options object) by @tdcosta100 in https://github.com/maplibre/maplibre-native/pull/891
- Move node ci+release to self hosted Ubuntu arm64 by @acalcutt in https://github.com/maplibre/maplibre-native/pull/873
- Add windows support by @tdcosta100 in https://github.com/maplibre/maplibre-native/pull/707
- Add Typings for Node Platform by @KiwiKilian in https://github.com/maplibre/maplibre-native/pull/766
- Upgrade nan for node 19.x support by @mnutt in https://github.com/maplibre/maplibre-native/pull/853
- Improve node docs with available platforms by @KiwiKilian in https://github.com/maplibre/maplibre-native/pull/786
- Avoid implicit casts by @tdcosta100 in https://github.com/maplibre/maplibre-native/pull/787
- Update node (ubuntu-20.04, arm64) docker build workflow by @acalcutt in https://github.com/maplibre/maplibre-native/pull/804
- Move module.cmake out of mapbox/cmake-node-module by @acalcutt in https://github.com/maplibre/maplibre-native/pull/821
- Add mbgl-compiler-options to Node targets by @tdcosta100 in https://github.com/maplibre/maplibre-native/pull/826
- Avoid implicit casts and make code more portable by @tdcosta100 in https://github.com/maplibre/maplibre-native/pull/716
- Use
*_tand*_vtrait helpers from C++17 STL by @louwers in https://github.com/maplibre/maplibre-native/pull/731 - Avoid implicit casts and portable printf with size_t by @tdcosta100 in https://github.com/maplibre/maplibre-native/pull/722
5.1.1
- Fix memory access violation exception in vector_tile_data.cpp by @tdcosta100 in https://github.com/maplibre/maplibre-native/pull/632
5.1.0
- First Maplibre Native Node Stable Release
- Node workflow - build linux arm64 in a container #520 https://github.com/maplibre/maplibre-native/pull/590
5.0.1
- Exclude Node 19 (ABI 111) because it breaks the node build by @acalcutt in https://github.com/maplibre/maplibre-native/pull/542
- Fix mode switch not working in node version by @acalcutt in https://github.com/maplibre/maplibre-native/pull/415
- Node release workflow by @acalcutt in https://github.com/maplibre/maplibre-native/pull/378 https://github.com/maplibre/maplibre-native/pull/459 https://github.com/maplibre/maplibre-native/pull/505 https://github.com/maplibre/maplibre-native/pull/512 https://github.com/maplibre/maplibre-native/pull/514
- Add support for image expression. (#15877)
- [Breaking] Remove node 10 support. v5.0.1-pre.0 of the node package can be used a compatibility version.
- Bring back node support by @jutaz in https://github.com/maplibre/maplibre-native/pull/217
5.0.0
4.3.0
- Introduce
text-writing-modelayout property for symbol layer (#14932). Thetext-writing-modelayout property allows control over symbol's preferred writing mode. The new property value is an array, whose values are enumeration values from a (horizontal|vertical) set. - Fixed rendering and collision detection issues with using
text-variable-anchorandicon-text-fitproperties on the same layer (#15367). - Fixed a rendering issue that non-SDF icon would be treated as SDF icon if they are in the same layer. (#15456)
- Fixed a rendering issue of
collisionBoxwhentext-translateoricon-translateis enabled. (#15467) - Fixed an issue of integer overflow when converting
tileCoordinatestoLatLon, which caused issues such asqueryRenderedFeaturesandquerySourceFeaturesreturning incorrect coordinates at zoom levels 20 and higher. (#15560) - Add typechecking while constructing legacy filter to prevent converting an unexpected filter type #15389.
- Fixed an issue that
maxzoomin styleSourcesoption was ignored when URL resource is provided. It may cause problems such as extra tiles downloading at higher zoom level thanmaxzoom, or problems that wrong setting ofoverscaledZinOverscaledTileIDthat will be passed toSymbolLayout, leading wrong rendering appearance. (#15581)
4.2.0
- Add an option to set whether or not an image should be treated as a SDF (#15054)
- Fix problems associated with node 10 and NAN (#14847)
4.1.0
- Add
symbol-z-ordersymbol layout property to style spec (#12783) - Add
crossSourceCollisionsmap option, with default oftrue. When set tofalse, cross-source collision detection is disabled. (#12820) - Fixed bugs in coercion expression operators ("to-array" applied to empty arrays, "to-color" applied to colors, and "to-number" applied to null) (#12864)
- Fixed an issue where fill and line layers would occasionally flicker on zoom (#12982)
4.0.0
- Many new features and enhancements, including:
- Expressions
- Hillshade layer type
- Heatmap layer type
- Line gradients
- Improve label collision
- Support for data-driven values for more style properties
- Support for rendering with SwiftShader rather than hardware GPU
- Improved performance and stability
- Don't default-show text/icons that depend on the placement of a paired icon/text #12483
- Fix symbol querying for annotations near tile boundaries at high zoom. (#12472)
- The
Mapconstructor now accepts amodeoption which can be either"static"(default) or"tile". It must be set to"tile"when rendering individual tiles in order for the symbols to match across tiles. - Remove unnecessary memory use when collision debug mode is not enabled (#12294)
- Added support for rendering
symbol-placement: line-center(#12337) - Fix rendering of fill outlines that have a different color than the fill itself (#9699)
- Add support for feature expressions in
line-pattern,fill-pattern, andfill-extrusion-patternproperties. #12284
3.5.8 - October 19, 2017
- Fixes an issue that causes memory leaks when not deleting the frontend object in NodeMap::release()
- Fixes a crash in Earcut: #10245
3.5.7 - October 9, 2017
- Fixed an issue causing synchronous resource requests to stall #10153
3.5.6 - September 29, 2017
- Protects against requests which throw #9554
- Fixed an issue around reusing a map object #9554
- Fixed an issue in test #9553
- Increased the default maximum zoom level from 20 to 22 (#9835)
3.5.5 - July 14, 2017
- Provide debuggable release builds for node packages #9497
3.5.4 - June 6, 2017
- Add support for ImageSource #8968
- Fixed an issue with
map.addImage()which would cause added images to randomly be replaced with images found the style's sprite sheet (#9119)
3.5.3 - May 30, 2017
- Fixed a regression around
line-dasharraryandfill-patternthat caused these properties to sometimes not render correctly (#9130)
3.5.2 - May 18, 2017
- Fixed a memory leak (#8884)
3.5.1 - May 8, 2017
- Adds Node v6 binaries. Note, Node v4 binaries will be removed on August 1st. (#8884)
- Adds linux debug binaries (#8865)
3.5.0 - April 20, 2017
- Fixed an issue where raster tiles that were not found caused
map.render()to hang (#8769) - Adds method
map.cancel()which cancels an ongoingrendercall. (#8249)
3.4.7 - March 15, 2017
- Fixed MacOS Release builds (8409)
3.4.6 - March 14, 2017
3.4.5 - March 14, 2017
- Fixed a memory hang issue after GlyphAtlas was refactored (#8394)
3.4.4 - January 10, 2017
- Updates the node binary publish location on s3 to reflect new package name (#7653)
3.4.3 - January 9, 2017
- Adds
map.addImage()andmap.removeImage()APIs (#7610)
3.4.2 - November 15, 2016
- Switches back to publishing Linux binaries with GLX, to eliminate a runtime dependency on
libOSMesa.so.8and enable dynamically linking againstlibGL.soprovided by an alternate implementation, such as the NVIDIA proproetary drivers (#7503)
3.4.1 - November 10, 2016
- Skips assigning clip IDs to tiles that won't be rendered, mitigating a
stencil mask overflowerror (#6871) - Fixes camera logic to avoid unnecessary or redundant setting of camera options (#6990)
3.4.0 - November 2, 2016
- Fixes Bitrise configuration to automatically publish macOS binaries (#6789)
- Switches from using individual thread pools for each
mbgl::Mapobject to sharing the built-in Node.js thread pool for NodeMap implementations (#6687)
3.3.3 - September 6, 2016
- Switches to using a NodeRequest member function (with a JavaScript shim in front to preserve the API) instead of a new
v8::Contextto avoid a memory leak (#5704) map.loadcan now throw when failing to parse an invalid style (#6151)- Explicitly links the OpenGL framework for compatibility with macOS Sierra (#6015)
3.3.2 - August 1, 2016
- Fixes Node.js binary publishing to build with
BUILDTYPE=Release(#5838)
3.3.1 - July 29, 2016
- Fixes
minzoomandmaxzoomproperties (#5828) - Fixes
RunLoop::runOnce()to useUV_RUN_NOWAITinstead ofUV_RUN_ONCE(which can block the libuv threadpool) (#5758) - Map debug options 'overdraw' and 'stencil clip' are now disabled (no-ops) in release mode (#5555)
3.3.0 - July 14, 2016
- Adds runtime styling API (#5318, #5380, #5428, #5429, #5462, #5614, #5670)
- Adds
BUILDTYPE=Debugsupport tomake node(#5474) - Fixes a memory leak in
NodeRequest(#5529)
3.2.1 - June 7, 2016
- Fixes a memory leak in raster image data (#5269)
3.2.0 - June 3, 2016
- Switches to earcut.hpp for tessellation (#2444)
3.1.3 - May 27, 2016
- Fixes a leak in TexturePoolHolder (#5141)
- Fixes a bug where a callback would be fired after an AsyncRequest had been cancelled (#5162)
3.1.2 - April 26, 2016
- Fixes a race condition with animated transitions (#4836)
3.1.1 - April 11, 2016
- Moves node-pre-gyp from
bundledDependenciestopreinstall(#4680)
3.1.0 - April 8, 2016
- Adds debug render options (#3840)
- Fixes circle bucket rendering on tile boundaries (#3764)
- Fixes a segfault caused by improperly disposing the entire module in the
NodeLogdestructor (#4639) - Fixes an issue with vanishing GeoJSON layers at high zoom levels (#4632)
- Fixes inheritance from EventEmitter (#4567)
- Fixes intermittent
stencil mask overflowerror (#962) - Drops support for Node.js v5.x prebuilt binaries due to ongoing npm3 instability (#4370)
3.0.2 - February 4, 2016
- Fixes a memory leak in
NodeMap::request(#3829) - Increases default max zoom level from 18 to 20 (#3712)
- Support tiles with non-4096 extents (#3766)
3.0.1 - January 26, 2016
3.0.0 - January 21, 2016
- Drops support for Node.js v0.10.x (#3635)
- Fixes label clipping issues with
symbol-avoid-edges(#3623) - Avoids label placement around sharp zig-zags (#3640)
2.2.2 - January 19, 2016
- Fixes a bug with non-deterministic label placement #3543
2.2.1 - January 7, 2016
- Fixes a bug which clipped labels at tile boundaries #2829
2.2.0 - December 16, 2015
- Adds support for GeoJSON sources #2161
2.1.0 - December 8, 2015
- Adds
line-offsetstyle property support
2.0.1 - November 25, 2015
- Test and publish binaries for Node.js v5.x. (#3129)
2.0.0 - November 24, 2015
- Integrates Node.js bindings into core mapbox-gl-native project. (#2179)
- Adds Node.js v4.x and io.js v3.x support. (#2261)
- Requires an options object argument to
new mbgl.Map()(with requiredrequestand optionalcancelmethods), dropsmbgl.FileSource. (mapbox/node-mapbox-gl-native#143) - Changes
requestsemantics to pass a second, callback argument instead of needing to callreq.respond. (#2299) - Accepts optional
ratio(defaults to1.0) inmbgl.Mapoptions argument. Map pixel ratio is now immutable and can no longer be set with render options. (a8d9b92, #1799, #2937) - Swaps array order in render options
centerargument to[lng, lat]for consistency with GeoJSON and mapbox-gl-js. (#2935) - Adds render option
pitch. (#2702) map.rendernow returns a raw image buffer instead of an object withwidth,heightandpixelsproperties. (#2262)- Adds support for rendering mapbox-gl-style-spec v8 styles.
- No longer loads resources before a render request is made. (
55d25a8) - Fixes a bug which prevented raster tiles that
404'ed from rendering. (#2458) - Fade transitions are now ignored to prevent half faded labels. (#942)
- Labels can now line wrap on hyphens and other punctuation. (#2598)
1.1.3 - June 25, 2015
- Removes deprecated mbgl::Environment from NodeLogObserver.
1.1.2 - June 22, 2015
- Check libuv version semver-ishly, fixes segfaults in Node.js 0.12.x and io.js.
- Fixes segfault, throws JavaScript error instead when attempting to render without first loading a style.
- Bumps mbgl submodule to v0.4.0
1.1.1 - June 16, 2015
- Bumps mbgl submodule to v0.3.5
1.1.0 - June 15, 2015
- Adds Node.js v0.12.x and io.js support.
- Adds
map.release()method for manual cleanup of map resources. - Fixes garbage collection of NodeMap objects.
- Returns an error callback for failed NodeFileSource requests.
- Fixes handling of corrupt NodeFileSource request data.
- Implements request coalescing to fix NodeRequest cancellation.
- Removes
setAccessTokenmethod from NodeMap,mapbox://URLs should be handled throughNodeFileSourcenow. - Updates build scripts and Travis CI configuration.
- Logs Environment ID and thread name when in an Environment scope.
- Refactors NodeLog to implement mbgl::Log::Observer.
- Fixes uncaught exception from missing sprites.
- Fixes Unicode glyph range end.
1.0.3 - April 3, 2015
- Fixes crash during garbage collection by assigning FileSource handle to a v8::Persistent in NodeMap constructor.
1.0.2 - April 2, 2015
- Initialize shared display connection at module load time to avoid race condition when display connection is initialized on-demand.
1.0.1 - March 19, 2015
- Adapts NodeFileSource around mbgl::Environment additions.
- Adapts to minor changes in mapbox-gl-test-suite.
- Adds tests for gzipped vector tile handling.
- Cleans up documentation.
1.0.0 - February 25, 2015
- Initial release.