diff --git a/CITATION.cff b/CITATION.cff index cd99a2ee60ea..c9badc1d44b7 100644 --- a/CITATION.cff +++ b/CITATION.cff @@ -2,8 +2,8 @@ cff-version: 1.2.0 message: Please cite this software using these metadata or in the CITATION file. type: software title: GDAL -version: 3.8.1 -date-released: 2023-11-23 +version: 3.8.2 +date-released: 2023-12-16 doi: 10.5281/zenodo.5884351 abstract: GDAL is a translator library for raster and vector geospatial data formats that is released under an MIT style Open Source License by the Open diff --git a/NEWS.md b/NEWS.md index 179c09cccd27..6f9c6ba54394 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,3 +1,87 @@ +# GDAL/OGR 3.8.2 Release Notes + +GDAL 3.8.2 is a bugfix release. + +## GDAL 3.8.2 + +### Port + +* /vsis3/: takes into account AWS_CONTAINER_CREDENTIALS_FULL_URI environment + variable (#8858) +* cpl_safemaths.hpp: fix compilation with clang targeting Windows (#8898) +* CPLGetPhysicalRAM(): fix getting right value when running inside Docker on a + cgroups v1 system (like Amazon Linux 2) (#8968) + +### Algorithms + +* Rasterization: avoid burning pixel that we only touch (with an empty + intersection) (#8918) + +### Utilities + +* gdal_footprint: return an error if the requested output layer doesn't exist +* gdal_translate: avoid useless extra GDALOpen() call on a target GeoRaster +* pct2rgb.py: emit explicit exception when source file has no color table (#8793) + +### Raster drivers + +HDF5 driver: + * classic 2D API: handle char,ushort,uint,int64,uint64 attributes when + reading them as double + * multidim: better warning when nodata value is out of range + +JPEGXL driver: + * add compatibility with latest libjxl git HEAD + +NGSGEOID driver: + * make dataset identification robust to NaN values (#8879) + +OGCAPI driver: + * make it robust to missing 'type' on 'self' link (#8912) + +STACTA driver: + * use GDAL_DISABLE_READDIR_ON_OPEN=EMPTY_DIR instead of + CPL_VSIL_CURL_ALLOWED_EXTENSIONS + * use STAC Raster extension to get number of bands, their data type, nodata + value, scale/offset, units, and avoid fetching a metatile + * add support for upcoming STAC 1.1 which merges eo:bands and raster:bands + into bands + +netCDF, HDF4, HDF5: + * SubdatasetInfo API: fix various issues (#8869, #8881) + +VRT driver: + * VRTComplexSource: fix excessive RAM usage with many sources (#8967, 3.8.0 regression) + +### OGR 3.8.2 + +### Core + +* OGRGeometryFactory::transformWithOptions(): fix WRAPDATELINE=YES on + multipoint geometries (#8889) +* OGRSpatialReference::importFromUrl(): changes to no longer use a + 'Accept: application/x-ogcwkt' header +* OSRPJContextHolder: call pthread_atfork() once for the process, and + re-enable it for MacOS +* OGRWKBIntersectsPessimisticFixture: handle all geometry types + +### Utilities + +* ogrinfo: really honours -if (refs #8590) +* ogr2ogr: implement -if + +### Vector drivers + +* PMTiles: Correct extension for temporary mbtiles file + +## Python bindings + +* gdal.Footprint(): add a minRingArea option +* fix build/install when there's a gdal-config from a pre-installed version in + the PATH (#8882) +* add missing reference increment on Py_None in error case of + Geometry.GetPoints() (#8945) + # GDAL/OGR 3.8.1 Release Notes GDAL 3.8.1 is a bugfix release. diff --git a/VERSION b/VERSION index f2807196747f..a08ffae0caee 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -3.8.1 +3.8.2 diff --git a/gcore/gdal_version.h.in b/gcore/gdal_version.h.in index 55d30b073520..f13fa9d44c68 100644 --- a/gcore/gdal_version.h.in +++ b/gcore/gdal_version.h.in @@ -7,7 +7,7 @@ #ifndef GDAL_VERSION_MAJOR # define GDAL_VERSION_MAJOR 3 # define GDAL_VERSION_MINOR 8 -# define GDAL_VERSION_REV 1 +# define GDAL_VERSION_REV 2 # define GDAL_VERSION_BUILD 0 #endif @@ -24,9 +24,9 @@ #if !defined(DO_NOT_DEFINE_GDAL_DATE_NAME) #ifndef GDAL_RELEASE_DATE -# define GDAL_RELEASE_DATE 20231128 +# define GDAL_RELEASE_DATE 20231612 #endif #ifndef GDAL_RELEASE_NAME -# define GDAL_RELEASE_NAME "3.8.1" +# define GDAL_RELEASE_NAME "3.8.2" #endif #endif diff --git a/scripts/gdal-bash-completion.sh b/scripts/gdal-bash-completion.sh index e48af70e6bb9..07426dd8b8e1 100644 --- a/scripts/gdal-bash-completion.sh +++ b/scripts/gdal-bash-completion.sh @@ -782,7 +782,7 @@ _ogr2ogr() _get_comp_words_by_ref cur prev case "$cur" in -*) - key_list="--help --help-general -skipfailures -append -upsert -update -select -where -progress -sql -dialect -preserve_fid -fid -limit -spat -spat_srs -geomfield -a_srs -t_srs -s_srs -ct -f -overwrite -dsco -lco -nln -nlt -dim --version --build --license --formats --format --optfile --config --debug --pause --locale " + key_list="--help --help-general -skipfailures -append -upsert -update -select -where -progress -sql -dialect -preserve_fid -fid -limit -spat -spat_srs -geomfield -a_srs -t_srs -s_srs -ct -if -f -overwrite -dsco -lco -nln -nlt -dim --version --build --license --formats --format --optfile --config --debug --pause --locale " mapfile -t COMPREPLY < <(compgen -W "$key_list" -- "$cur") return 0 ;; @@ -808,7 +808,7 @@ _ogrinfo() _get_comp_words_by_ref cur prev case "$cur" in -*) - key_list="--help --help-general -json -ro -q -where -spat -geomfield -fid -sql -dialect -al -rl -so -features -fields={YES -geom={YES -oo -nomd -listmdd -mdd -nocount -noextent -nogeomtype -wkt_format -fielddomain --version --build --license --formats --format --optfile --config --debug --pause --locale " + key_list="--help --help-general -if -json -ro -q -where -spat -geomfield -fid -sql -dialect -al -rl -so -features -fields={YES -geom={YES -oo -nomd -listmdd -mdd -nocount -noextent -nogeomtype -wkt_format -fielddomain --version --build --license --formats --format --optfile --config --debug --pause --locale " mapfile -t COMPREPLY < <(compgen -W "$key_list" -- "$cur") return 0 ;; diff --git a/swig/python/README.rst b/swig/python/README.rst index ad152238a963..65487eb8cd9c 100644 --- a/swig/python/README.rst +++ b/swig/python/README.rst @@ -13,7 +13,7 @@ reference documentation, but the https://gdal.org/api/python_bindings.html#tutor Dependencies ------------ - * libgdal (3.8.1 or greater) and header files (gdal-devel) + * libgdal (3.8.2 or greater) and header files (gdal-devel) * numpy (1.0.0 or greater) and header files (numpy-devel) (not explicitly required, but many examples and utilities will not work without it) diff --git a/swig/python/gdal-utils/osgeo_utils/__init__.py b/swig/python/gdal-utils/osgeo_utils/__init__.py index 27966172a8fa..8e33e056a844 100644 --- a/swig/python/gdal-utils/osgeo_utils/__init__.py +++ b/swig/python/gdal-utils/osgeo_utils/__init__.py @@ -1,5 +1,5 @@ __package_name__ = "gdal-utils" -gdal_utils_version = (3, 8, 1, 0) +gdal_utils_version = (3, 8, 2, 0) __version__ = ".".join(str(i) for i in gdal_utils_version) __author__ = "Frank Warmerdam" __author_email__ = "warmerdam@pobox.com"