@@ -9,19 +9,15 @@ the following steps:
9
9
* Update the frontend: ` pip install -U nominatim-api `
10
10
* (optionally) Restart updates
11
11
12
- If you are still using CMake for the installation of Nominatim, then you
13
- need to update the software in one step before migrating the database.
14
- It is not recommended to do this while the machine is serving requests.
15
-
16
12
Below you find additional migrations and hints about other structural and
17
13
breaking changes. ** Please read them before running the migration.**
18
14
19
15
!!! note
20
16
If you are migrating from a version <4.3, you need to install 4.3
21
- first and migrate to 4.3 first. Then you can migrate to the current
17
+ and migrate to 4.3 first. Then you can migrate to the current
22
18
version. It is strongly recommended to do a reimport instead.
23
19
24
- ## 4.5.0 -> master
20
+ ## 4.5.0 -> 5.0.0
25
21
26
22
### PHP frontend removed
27
23
@@ -33,6 +29,42 @@ needed. It currently omits a warning and does otherwise nothing. It will be
33
29
removed in later versions of Nominatim. So make sure you remove it from your
34
30
scripts.
35
31
32
+ ### CMake building removed
33
+
34
+ Nominatim can now only be installed via pip. Please follow the installation
35
+ instructions for the current version to change to pip.
36
+
37
+ ### osm2pgsql no longer vendored in
38
+
39
+ Nominatim no longer ships its own version of osm2pgsql. Please install a
40
+ stock version of osm2pgsql from your distribution. See the
41
+ [ installation instruction for osm2pgsql] ( https://osm2pgsql.org/doc/install.html )
42
+ for details. A minimum version of 1.8 is required. The current stable versions
43
+ of Ubuntu and Debian already ship with an appropriate versions. For older
44
+ installation, you may have to compile a newer osm2pgsql yourself.
45
+
46
+ ### Legacy tokenizer removed
47
+
48
+ The ` legacy ` tokenizer is no longer enabled. This tokenizer has been superseded
49
+ by the ` ICU ` tokenizer a long time ago. In the unlikely case that your database
50
+ still uses the ` legacy ` tokenizer, you must reimport your database.
51
+
52
+ ### osm2pgsql style overhauled
53
+
54
+ There are some fundamental changes to how customized osm2pgsql styles should
55
+ be written. The changes are mostly backwards compatible, i.e. custom styles
56
+ should still work with the new implementation. The only exception is a
57
+ customization of the ` process_tags() ` function. This function is no longer
58
+ considered public and neither are the helper functions used in it.
59
+ They currently still work but will be removed at some point. If you have
60
+ been making changes to ` process_tags ` , please review your style and try
61
+ to switch to the new convenience functions.
62
+
63
+ For more information on the changes, see the
64
+ [ pull request] ( https://github.com/osm-search/Nominatim/pull/3615 )
65
+ and read the new
66
+ [ customization documentation] ( https://nominatim.org/release-docs/latest/customize/Import-Styles/ ) .
67
+
36
68
## 4.4.0 -> 4.5.0
37
69
38
70
### New structure for Python packages
0 commit comments