Skip to content

Commit

Permalink
prepare 3.7.0 release
Browse files Browse the repository at this point in the history
  • Loading branch information
lonvia committed Apr 6, 2021
1 parent 07fda48 commit 4921867
Show file tree
Hide file tree
Showing 4 changed files with 35 additions and 6 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ list(APPEND CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake")
project(nominatim)

set(NOMINATIM_VERSION_MAJOR 3)
set(NOMINATIM_VERSION_MINOR 6)
set(NOMINATIM_VERSION_MINOR 7)
set(NOMINATIM_VERSION_PATCH 0)

set(NOMINATIM_VERSION "${NOMINATIM_VERSION_MAJOR}.${NOMINATIM_VERSION_MINOR}.${NOMINATIM_VERSION_PATCH}")
Expand Down
23 changes: 23 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,26 @@
3.7.0

* switch to dotenv for configuration file
* introduce 'make install' (reorganising most of the code)
* introduce nominatim tool as replacement for various php scripts
* introduce project directories and allow multiple installations from same build
* clean up BDD tests: drop nose, reorganise step code
* simplify test database for API BDD tests and autoinstall database
* port most of the code for command-line tools to Python
(thanks to @darkshredder and @AntoJvlt)
* add tests for all tooling
* replace pyosmium-get-changes with custom internal implementation using
pyosmium
* improve search for queries with housenumber and partial terms
* add database versioning
* use jinja2 for preprocessing SQL files
* introduce automatic migrations
* reverse fix preference of interpolations over housenumbers
* parallelize indexing of postcodes
* 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
Expand Down
14 changes: 10 additions & 4 deletions docs/admin/Migration.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,18 @@ Since version 3.7.0 Nominatim offers automatic migrations. Please follow
the following steps:

* stop any updates that are potentially running
* update Nominatim to the nwer version
* goto your project directory and run `nominatim admin --migrate`
* update Nominatim to the newer version
* go to your project directory and run `nominatim admin --migrate`
* (optionally) restart updates

Below you find additional migrations and hints about other structural and
breaking changes.
breaking changes. **Please read them before running the migration.**

!!! note
If you are migrating from a version <3.6, then you still have to follow
the manual migration steps up to 3.6.

## 3.6.0 -> master
## 3.6.0 -> 3.7.0

### New location for data files

Expand Down Expand Up @@ -45,6 +45,12 @@ Try `nominatim <command> --help` for more information about each subcommand.
`./utils/query.php` no longer exists in its old form. `nominatim search`
provides a replacement but returns different output.

### Switch to normalized house numbers

The housenumber column in the placex table uses now normalized version.
The automatic migration step will convert the column but this may take a
very long time. It is advisable to take the machine offline while doing that.

## 3.5.0 -> 3.6.0

### Change of layout of search_name_* tables
Expand Down
2 changes: 1 addition & 1 deletion nominatim/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
# 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, 6, 0, 1)
NOMINATIM_VERSION = (3, 7, 0, 0)

POSTGRESQL_REQUIRED_VERSION = (9, 3)
POSTGIS_REQUIRED_VERSION = (2, 2)

0 comments on commit 4921867

Please sign in to comment.