From 9a13b62fb9f6905e707d2c3ec9d6959e7249bb76 Mon Sep 17 00:00:00 2001 From: Sarah Hoffmann Date: Wed, 29 Oct 2025 10:01:30 +0100 Subject: [PATCH] prepare release 5.2.0 --- ChangeLog | 36 ++++++++++++++++++++++++++++++++++++ SECURITY.md | 5 ++--- src/nominatim_api/version.py | 4 ++-- src/nominatim_db/version.py | 4 ++-- 4 files changed, 42 insertions(+), 7 deletions(-) diff --git a/ChangeLog b/ChangeLog index dff198eb..a918cc42 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,39 @@ +5.2.0 + * increase minimum required Python to 3.9 + * index and output entrances of buildings and areas (thanks @emlove) + * name tags used for creating display names are now configurable + (thanks @astridx) + * new pattern-replacement query preprocessor (thanks @TuringVerified) + * special phrases can now be filtered by presence of tags (thanks @anqixxx) + * lua import style now always includes tags required by Nominatim + * improved query time reporting and logging + * improve word matching for languages with no word boundaries + * POIs with addresses inherited from surrounding building are no + longer returned in the address layer + * avoid creating a directory for the tokenizer when not needed + * replace behave with pytest-bdd for BDD testing + * refactoring and performance improvements to query parsing + * various smaller updates to styles + * remove English as default language for South Korea + * remove Japanese word variants + * updated country names for Norwegians (thanks @Johannes-Andersen) + * remove support for deprecated osm2pgsql gazetteer style + * fix updating of importances (also needs to update search_name table) + * fix query for deletable endpoint to use index again + * fix reindexing of contained places when a boundary is deleted and reinstated + * fix difference computation error when updating postcodes + * bracket handling sanitizer no longer strips bracket terms in the middle of + name + * reduce precision of stored coordinates to 7-digits everywhere + * avoid ST_Relate as it seems buggy on some systems + * remove setting for logging queries in DB, no longer functional + * postcode updates no longer require a project directory (needed for tests) + * refactor locale handling code (thanks @anqixxx) + * code updates for newer Python (thanks @emmanuel-ferdman) + * better test coverage (thanks @asharmalik19) + * various fixes and improvements to documentation + (thanks @anqixxx, @dave-meyer, @hasandiwan) + 5.1.0 * replace datrie with simple internal trie implementation * add pattern-based postcode parser for queries, diff --git a/SECURITY.md b/SECURITY.md index 98295e1f..7e85a7f1 100644 --- a/SECURITY.md +++ b/SECURITY.md @@ -9,11 +9,11 @@ versions. | Version | End of support for security updates | | ------- | ----------------------------------- | +| 5.2.x | 2027-10-29 | | 5.1.x | 2027-04-01 | | 5.0.x | 2027-02-06 | | 4.5.x | 2026-09-12 | | 4.4.x | 2026-03-07 | -| 4.3.x | 2025-09-07 | ## Reporting a Vulnerability @@ -32,8 +32,7 @@ description of the nature and severity of the issue. ** Patches for identified security issues are applied to all affected versions and new minor versions are released. At the same time we release a statement at the [Nominatim blog](https://nominatim.org/blog/) describing the nature of the -incident. Announcements will also be published at the -[geocoding mailinglist](https://lists.openstreetmap.org/listinfo/geocoding). +incident. ## List of Previous Incidents diff --git a/src/nominatim_api/version.py b/src/nominatim_api/version.py index 3c98435d..a82c4786 100644 --- a/src/nominatim_api/version.py +++ b/src/nominatim_api/version.py @@ -2,10 +2,10 @@ # # This file is part of Nominatim. (https://nominatim.org) # -# Copyright (C) 2024 by the Nominatim developer community. +# Copyright (C) 2025 by the Nominatim developer community. # For a full list of authors see the git log. """ Version information for the Nominatim API. """ -NOMINATIM_API_VERSION = '5.1.0' +NOMINATIM_API_VERSION = '5.2.0' diff --git a/src/nominatim_db/version.py b/src/nominatim_db/version.py index 0c5027cf..e035ec57 100644 --- a/src/nominatim_db/version.py +++ b/src/nominatim_db/version.py @@ -2,7 +2,7 @@ # # This file is part of Nominatim. (https://nominatim.org) # -# Copyright (C) 2024 by the Nominatim developer community. +# Copyright (C) 2025 by the Nominatim developer community. # For a full list of authors see the git log. """ Version information for Nominatim. @@ -55,7 +55,7 @@ def parse_version(version: str) -> NominatimVersion: return NominatimVersion(*[int(x) for x in parts[:2] + parts[2].split('-')]) -NOMINATIM_VERSION = parse_version('5.1.99-1') +NOMINATIM_VERSION = parse_version('5.2.0-0') POSTGRESQL_REQUIRED_VERSION = (12, 0) POSTGIS_REQUIRED_VERSION = (3, 0) -- 2.39.5