Releases: mmomtchev/node-gdal-async
Releases · mmomtchev/node-gdal-async
v3.3.6
v3.4.0-alpha.3
[3.4.0] WIP
Added
- PROJ 8.1.1
- GEOS 3.9.1
- GDAL 3.4.0-git (2021-10-13)
- Add
gdal.Dataset.getMetadataAsync
andgdal.RasterBand.getMetadataAsync
- Add
gdal.Dataset.setMetadata{Async}
andgdal.RasterBand.setMetadata{Async}
- Add
gdal.info{Async}
,gdal.translate{Async}
andgdal.vectorTranslate{Async}
- library versions ofgdalinfo
,gdal_translate
andogr2ogr
Changed
- (BREAKING) Move the progress callback of
gdal.Driver.createCopy{Async}
beforestrict
to allow using it with a Promise gdal.Driver.create{Async}
now throw if they fail to parse the options instead of returningundefined
gdal.DatasetBands.create{Async}
andgdal.SpatialReference.fromESRI
now have correct TypeScript signatures, all options lists are supported either in{object}
or instring[]
formgdal.checksumImage{Async}
now throw/reject on error instead of returning 0 if the GDAL method returned an error, but the GDAL method still returns 0 on some errors and does take into account fractional numbers < 1.0- Fix a memory leak in
gdal.Dataset.srsAsync
- Fix a memory leak in the exception-handling path of the progress callbacks
- Fix #13, now two different warnings are emitted whether a dataset is closed by
gdal.Dataset.close
or it is destroyed by the GC - the former is indicative of a bug in the user application, while the latter is indicative of a bug ingdal-async
itself
v3.3.5
v3.4.0-alpha.2
[3.4.0] WIP
Added
- PROJ 8.1.1
- GEOS 3.9.1
- GDAL 3.4.0-git (2021-10-07)
- Add
gdal.Dataset.getMetadataAsync
andgdal.RasterBand.getMetadataAsync
- Add
gdal.Dataset.setMetadata{Async}
andgdal.RasterBand.setMetadata{Async}
v3.4.0-alpha.1
[3.4.0] WIP
Added
- PROJ 8.1.1
- GEOS 3.9.1
- GDAL 3.4.0-git (2021-10-02)
- Add
gdal.Dataset.getMetadataAsync
andgdal.RasterBand.getMetadataAsync
- Add
gdal.Dataset.setMetadata{Async}
andgdal.RasterBand.setMetadata{Async}
v3.4.0-alpha.0
[3.4.0] WIP
Added
- PROJ 8.1.1
- GEOS 3.9.1
- GDAL 3.4.0-git
v3.3.4
[3.3.4] 2021-09-28
Added
- Add support for Amazon Linux and restore Ubuntu 16.04 support (glibc 2.23)
- On Linux, build GDAL with
ENABLE_UFFD
for virtual I/O support on drivers that allow it (currently only NetCDF) to allow accessing NetCDF subdatasets with remote virtual filesystems - Add a new npm script -
npm run prune
- not to be confused withnpm prune
- which allows to keep only the module runtime, significantly reducing the size of the installed package
Changed
- Fix
gdal.RasterBand.flushAsync()
- Implement the previously non-existing
strict
argument ofgdal.Driver.createCopy{Async}()
and move it afteroptions
- Implement progress callbacks in
gdal.Driver.createCopy{Async}()
gdal.Driver.createCopy{Async}()
now always throws anError
/ rejects the Promise if the operation failed instead of returning a null object in some cases- Fix #14, correctly handle exceptions in progress callbacks and return them to the calling user code
- Add a previously missing TypeScript signature for
gdal.CoordinateTransformation.transformPoint(point: xyz)
- Fix the documentation / TypeScript signature for
gdal.Geometry.segmentize
- it returnsundefined
- Removed all source tarballs of the bundled dependencies from the published package to reduce its size
v3.3.3
v3.3.2
[3.3.2] 2021-07-08
Added
- GDAL 3.3.1
- Support async getters
- Add
gdal.Dataset.rasterSizeAsync
- Add
gdal.Dataset.srsAsync
- Add
gdal.Dataset.geoTransformAsync
- Add
- Add
gdal.DatasetBands.getEnvelope()
- Add
gdal.vsimem.set
andgdal.vsimem.release
allowing to load and unload files between aBuffer
and GDAL's in-memoryvsimem
file system - Add
gdal.Geometry.makeValid{Async}()
Changed
- Correctly measure the wall time for the event loop warnings
- Fix a number of memory leaks in
gdal.SpatialReference.clone()
,gdal.SpatialReference.cloneGeogCS()
and when constructing agdal.SpatialReference
with awkt
argument - Remove a wasteful reallocation in
gdal.Dataset.root
v3.3.1
[3.3.1] 2021-06-17
Changed
gdal.DatasetLayers.get{Async}()
now throws anError
if an invalid layer is requested instead of returning a null objectgdal.FeatureDefnFields.get{Async}()
now throws anError
if an invalid field definition is requested instead of returning a null objectgdal.FeatureFields.get{Async}()
now throws anError
if an invalid field is requested instead of returning a null object- it can still return
null
if the field exists in the definition but it is not set in the feature
- it can still return
gdal.GDALDrivers.get()
now throws anError
if an invalid driver is requested instead of returning a null objectgdal.GeometryCollectionChildren.get()
now throws anError
if an invalid sub-geometry is requested instead of returning a null objectgdal.LayerFeatures.get{Async}()
now throws anError
if an invalid feature is requested instead of returning a null objectgdal.LayerFields.get{Async}()
now throws anError
if an invalid field is requested instead of returning a null objectgdal.LineStringPoints.get()
now throws anError
if an invalid point is requested instead of returning a null objectgdal.PolygonRings.get()
now throws anError
if an invalid ring is requested instead of returning a null object- All
gdal.Geometry
methods that return agdal.Geometry
throw anError
on error instead of returning a null object - Fix #6, a case of sleeping in the GC while destroying the sibling of an object with an active asynchronous operation
- Fix a potential race condition in the object store
- Fix several potential race conditions in
gdal.RasterBand
- Correctly throw an
Error
with an empty message if a GDAL method fails without setting the error message instead of the last previously encountered error