Releases: westnordost/osmapi
Releases · westnordost/osmapi
v5.2
- Updated documentation that updating map (
MapDataApi.updateMap
) may throwOsmTooManyRequestsException
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
andNotesApi.unsubscribe
(added November 2024) - Update endpoint for GPX upload (old endpoint was deprecated December 2024)
v5.1
v5.0
- 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
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
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
Fix library assumed the maximum allowed length of OSM tags was 255 characters, but it is in fact 256 characters.
v4.0
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 forisNew
v3.11
Don't require login for getting user data and changeset data
v3.10
- 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
fix date parsing