Skip to content

Commit 7197e1a

Browse files
committed
update changelog so far
1 parent 2bbe192 commit 7197e1a

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

CHANGELOG.md

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,32 @@
11
# Changelog
22

3+
## 5.1
4+
5+
- add property `boolean isSuggestion` to `Feature` to be able to tell if a feature is a brand feature or not
6+
- add method to get a feature by its id to `FeatureDictionary`
7+
8+
## 5.0
9+
10+
Added support for aliases of presets. They are treated similarily as alternative names.
11+
12+
## 4.1
13+
14+
Added support for scripts.
15+
16+
E.g. there can be localization of presets in "bg" (Bulgarian) and also "bg-Cyrl" (Bulgarian in Cryllic).
17+
18+
## 4.0
19+
20+
Brand features are becoming too big.
21+
22+
So now, brand features are loaded lazily per-country. I.e. additionally to a `presets.json`, there can be `presets-US.json` (using ISO 3166-1 alpha2 codes) and even `presets-US-NY.json` (ISO 3166-2) in the same directory, which will be loaded on demand. This functionality is used in StreetComplete.
23+
24+
## 3.0
25+
26+
Support for NSI brand names (v6.x). Pass the path to the NSI presets as second parameter to the `create` function.
27+
28+
Note that the NSI presets are actually not on the root level of https://github.com/osmlab/name-suggestion-index/blob/main/dist/presets/nsi-id-presets.json but in the "presets" object. The library expects a presets.json to have all the presets at the root level.
29+
330
## 2.0
431

532
- dictionary now uses indices for both the lookup by tags and the lookup by term, which speeds up individual lookups somewhat.

0 commit comments

Comments
 (0)