Skip to content

Releases: westnordost/osmfeatures

v6.2: downgrade AGP

16 Oct 18:49
Compare
Choose a tag to compare
  • support proper stream parsing using (kotlinx-io's) Source
  • fix FeatureDictionary.getById didn't always exclude country-specific results when the country parameter was null even though it was documented as such

v6.1

16 Jun 20:26
Compare
Choose a tag to compare
  • Fix crash when single presets were translated only partially for a dialect (#26), by @logan12358
  • Aliases and terms of presets in the parent language are now merged into any dialects (#26)

v6.0

15 May 12:45
b51f189
Compare
Choose a tag to compare

The library is now a Kotlin Multiplatform library. This is a breaking API change. There is also no separate artifact for Android anymore.

v5.2

12 Oct 10:25
Compare
Choose a tag to compare
  • Add support placeholders for preset names (breaking change in v5.0.0 of iD presets schema)
  • When searching by term, include results that match with the tag value at the bottom of the result list. (iD has the same behavior)

v5.1

22 Sep 13:06
Compare
Choose a tag to compare
  • add property boolean isSuggestion to Feature to be able to tell if a feature is a brand feature or not
  • add method to get a feature by its id to FeatureDictionary

v5.0

25 May 16:27
Compare
Choose a tag to compare

Added support for aliases of presets. They are treated similarily as alternative names.

v4.1

21 Mar 19:04
Compare
Choose a tag to compare

Added support for scripts.

E.g. there can be localization of presets in "bg" (Bulgarian) and also "bg-Cyrl" (Bulgarian in Cryllic).

v4.0

14 Feb 22:10
Compare
Choose a tag to compare

Brand features are becoming too big.

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.

v3.0

06 Nov 14:52
Compare
Choose a tag to compare

Support for NSI brand names (v6.x). Pass the path to the NSI presets as second parameter to the create function.

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.