From d479a0585d6f1a661d70bfd7d8b6e374702a0f52 Mon Sep 17 00:00:00 2001 From: Sarah Hoffmann Date: Mon, 1 Nov 2021 12:14:53 +0100 Subject: [PATCH] prepare release 4.0.0 --- CMakeLists.txt | 4 ++-- ChangeLog | 46 ++++++++++++++++++++++++++++++++++++++++- docs/admin/Migration.md | 9 +++++++- nominatim/version.py | 2 +- 4 files changed, 56 insertions(+), 5 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 7ab4fb7c..b7591ec3 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -18,8 +18,8 @@ list(APPEND CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake") project(nominatim) -set(NOMINATIM_VERSION_MAJOR 3) -set(NOMINATIM_VERSION_MINOR 7) +set(NOMINATIM_VERSION_MAJOR 4) +set(NOMINATIM_VERSION_MINOR 0) set(NOMINATIM_VERSION_PATCH 0) set(NOMINATIM_VERSION "${NOMINATIM_VERSION_MAJOR}.${NOMINATIM_VERSION_MINOR}.${NOMINATIM_VERSION_PATCH}") diff --git a/ChangeLog b/ChangeLog index 4d66ee06..b42ce7ee 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,48 @@ +4.0.0 + + * refactor name token computation and introduce ICU tokenizer + * name processing now happens in the indexer outside the DB + * reorganizes abbreviation handling and moves it to the indexing phases + * adds preprocessing of names + * add country-specific ranking for Spain, Slovakia + * partially switch to using SP-GIST indexes + * better updating of dependent addresses for name changes in streets + * remove unused/broken tables for external housenumbers + * move external postcodes to CSV format and no longer save them in tables + (adds support for postcodes for arbitrary countries) + * remove postcode helper entries from placex (thanks @AntoJvlt) + * change required format for TIGER data to CSV + * move configuration of default languages from wiki into config file + * expect customized configuration files in project directory by default + * disable search API for reverse-only import (thanks @darkshredder) + * port most of maintenance/import code to Python and remove PHP utils + * add catch-up mode for replication + * add updating of special phrases (thanks @AntoJvlt) + * add support for special phrases in CSV files (thanks @AntoJvlt) + * switch to case-independent matching between place and boundary names + * remove disabling of reverse query parsing + * minor tweaks to search algorithm to avoid more false positives + * major overhaul of the administrator and developer documentation + * add security disclosure policy + * add testing of installation scripts via CI + * drop support for Python < 3.6 and Postgresql < 9.5 + +3.7.2 + + * fix database check for reverse-only imports + * do not error out in status API result when import date is missing + * add array_key_last function for PHP < 7.3 (thanks to @woodpeck) + * fix more url when server name is unknown (thanks to @mogita) + * commit changes to replication log table + +3.7.1 + + * fix smaller issues with special phrases import (thanks @AntoJvlt) + * add index to speed up continued indexing during import + * fix index on location_property_tiger(parent_place_id) (thanks @changpingc) + * make sure Python code is backward-compatible with Python 3.5 + * various documentation fixes + 3.7.0 * switch to dotenv for configuration file @@ -20,7 +65,6 @@ * add non-key indexes to speed up housenumber + street searches * switch housenumber field in placex to save transliterated names - 3.6.0 * add full support for searching by and displaying of addr:* tags diff --git a/docs/admin/Migration.md b/docs/admin/Migration.md index 8458e3d9..bc649918 100644 --- a/docs/admin/Migration.md +++ b/docs/admin/Migration.md @@ -15,7 +15,7 @@ breaking changes. **Please read them before running the migration.** If you are migrating from a version <3.6, then you still have to follow the manual migration steps up to 3.6. -## 3.7.0 -> master +## 3.7.0 -> 4.0.0 ### NOMINATIM_PHRASE_CONFIG removed @@ -29,6 +29,13 @@ the configuration in older versions. If you are updating from Nominatim < 3.7 and still work with a custom `phrase-settings.php`, you need to manually convert it into a json format. +### PHP utils removed + +The old PHP utils have now been removed completely. You need to switch to +the appropriate functions of the nominatim command line tool. See +[Introducing `nominatim` command line tool](#introducing-nominatim-command-line-tool) +below. + ## 3.6.0 -> 3.7.0 ### New format and name of configuration file diff --git a/nominatim/version.py b/nominatim/version.py index 025600f7..dcfc161e 100644 --- a/nominatim/version.py +++ b/nominatim/version.py @@ -10,7 +10,7 @@ Version information for Nominatim. # and must always be increased when there is a change to the database or code # that requires a migration. # Released versions always have a database patch level of 0. -NOMINATIM_VERSION = (3, 7, 0, 2) +NOMINATIM_VERSION = (4, 0, 0, 0) POSTGRESQL_REQUIRED_VERSION = (9, 5) POSTGIS_REQUIRED_VERSION = (2, 2) -- 2.39.5