Changelog
4.0.1
getData
method so no memory is copied.Changelog
4.0.0
Changelog
3.7.1
SSE_MATH
flag during buildingChangelog
3.6.1
Updated for a fix associated with mapnik-vector-tile where images could be requested that would have a width or height of zero resulting in exceptions.
Several fixes associated with different mapnik by updating to use 3.0.14. Please see mapnik change log for specifics. In general note worthy changes from mapnik include stricter geojson parsing, fixes for raster plugin, fixes to image scaling, changing the meaning of filter-factor, and improvements to the the TIFF decoder.
Due to changes in the mapnik core version during this update you should see some changes in the image rescaling of raster and gdal plugin source data. This will definitely change the expected output. This is due to fixes in long standing bugs in the mapnik library.
font_engine
instance()
method explicitely, reflecting on changes brought by 3688Changelog
3.6.0
This release has major performance and stability improvements.
The biggest change is the move to https://github.com/mapbox/wagyu for clipping polygons, which is faster and results in more robust results than the previous implementation based off the "clipper" http://www.angusj.com/delphi/clipper.php. The "clipper" was known to hang on very large polygons and could output self-intersecting polygons.
The second largest change is the update of all major C/C++ dependencies. The changelogs for each are listed below. The highlights are 1) the performance improvements in webp 1.6.0, 2) the many crashes fixed in harfbuzz (https://github.com/behdad/harfbuzz/issues/139), and critical security bugs fixed in libpng, libjpeg, and libtiff.
The third most important set of changes were to node-mapnik directly: for performance many functions now can premultiply as part of another async operation (to avoid needing an additional threadpool access for async premultiply - this matters under load when the threadpool may be full since access can block). And many functions that allocate images now protect from extreme allocation that could hang a machine and result in OOM. Additionally the address sanitizer caught several cases of undefined behavior.
image.fromSVGBytes
and image.fromSVG
, #709
Default max_size
is 2046x2046. Pass max_size
option to customize.max_size
limitation + premultiply
option to Image.fromBytes
, #720VectorTile.query
to use fewer allocationsImage.fromSVG
, refs #740v3.0.13
, see changelog.install_mason.sh
):
Changelog
3.5.14
mapnik.Image.fromBufferSync
to prevent undefined behavior if buffer were to go out of scope (#677)typeName()
to mapnik.Geometry
. This returns the GeoJSON type name of a geometry (@davidtheclark).mapnik.blend
v3.0.12
, see changelog.