Skip to content

Releases: westnordost/osmapi

v5.2

20 Jan 10:58
Compare
Choose a tag to compare
  • Updated documentation that updating map (MapDataApi.updateMap) may throw OsmTooManyRequestsException when request has been blocked due to rate limiting (added June 2024)
  • Support for messages API, see MessagesApi class (added July 2024)
  • Support for note discussion subscription API, see NotesApi.subscribe and NotesApi.unsubscribe (added November 2024)
  • Update endpoint for GPX upload (old endpoint was deprecated December 2024)

v5.1

01 Jan 20:25
Compare
Choose a tag to compare

Add functionality to update gpx traces from files. By @jamescr

v5.0

24 Nov 22:11
Compare
Choose a tag to compare
  • Breaking change: replaced OAuth 1.0a authorization with OAuth 2.0 authorization
  • implemented support for the additions to the OSM API until November 2023:
    • search for notes within bounding box, sorting results
    • limit parameter for changeset searches
    • added default and maximum query limits for changesets and notes in the capabilities api call
    • exception type for rate limit error

v4.3

26 Sep 13:08
Compare
Choose a tag to compare

Drop checking for the key and value length to be 255 unicode character points or below altogether because this can not be desugared (to API level 21) on Android.

v4.2

15 Sep 12:08
Compare
Choose a tag to compare

Fix regression of last update: Actually, the allowed length of an OSM tag is 255. But not (Java) string length, but 255 unicode character points.

v4.1

17 Aug 16:10
Compare
Choose a tag to compare

Fix library assumed the maximum allowed length of OSM tags was 255 characters, but it is in fact 256 characters.

v4.0

20 Apr 16:37
Compare
Choose a tag to compare

Major breaking update

  • Use date-time API from Java 8 (Instant etc.) instead of the old date-time API (Date, GregorianCalendar, etc.).
    Amongst other things, this improves performance of (map data) parsing by up to 50%.
  • rename the classes to access the API from *Dao to *Api
  • Fix: time on GPS trackpoints is now mandatory
  • OsmElement add setter for isNew

v3.11

20 Apr 16:09
Compare
Choose a tag to compare

Don't require login for getting user data and changeset data

v3.10

20 Apr 16:11
Compare
Choose a tag to compare
  • Allow note creation and getting notes as anonymous user
  • Document that OsmPreconditionFailedException is thrown when attempting to upload the deletion of an element but that element is still referred to by other element(s)

v3.9

20 Apr 16:13
Compare
Choose a tag to compare

fix date parsing