Releases: docentYT/osm_easy_api
Releases · docentYT/osm_easy_api
v3.1.1
v3.1.0
Added
- Additional tests for
api._request() - Support for python 3.14
Changed
- Exceptions for
notes.get_bbox()(400 ValueError),changeset.get_query()(400 ValueError) andchangeset.upload()(409 ChangesetAlreadyClosedOrUserIsNotAnAuthor) now will contain additional text returned by osm api #35 - Use genbadge instead of coverage-badge
Fixed
- Dependencies update
v3.0.2
v3.0.1
v3.0.0
Added
- Support for
oAuth2:access_tokenparameter inApiclass constructor. Unauthorizedexception. (No access token.)Forbiddenexception. (The access token does not support the needed scope or you must be a moderator.)gpx.create()endpoint.GpxFiledata class.Visibilityenum.gpx.update()endpoint.gpx.delete()endpoint.gpx.get_details()endpoint.gpx.get_file()endpoint.gpx.list_details()endpoint.orderparameter inchangeset.get_query().
Fixed
- Types in
elementsendpoint. - Missing documentation.
misc.get_map_in_bbox()endpoint should not yieldstring.
Changed
- The way http errors are handled.
- In
elements.get()endpoint theelementparameter has been renamed toelement_type. - In
elements.history()endpoint theelementparameter has been renamed toelement_type. - In
elements.version()endpoint theelementparameter has been renamed toelement_type. - In
elements.getQuery()endpoint theelementparameter has been renamed toelement_type. - In
elements.relations()endpoint theelementparameter has been renamed toelement_type. - In
elements.full()endpoint theelementparameter has been renamed toelement_type. - Type of
user_idparameter inchangeset.get_query()was changed fromstrtoint. OsmChange_parser_generator()andOsmChange_parser()fromdiffmodule are now 'private' functions. UseDiff.get()instead.notes.search()endpoint throwsLimitsExceededexception instead ofValueError.page_numberparemeter ingpx.get()has now default value 0.- Now classes are imported from individual modules - not from the main library. See examples in the
README.md. gpx.get()renamed togpx.get_gps_points()
Removed
- Support for
HTTP Basic authentication:usernameandpasswordparameters inApiclass constructor. - Most
# type: ignore. NotAModeratorexception. It is now replaced byForbiddenexception.
v2.2.0
v2.1.1
v2.1.0
v2.0.0
Added
- Missing status code handling in
notes.get(). - Support for hide note endpoint.
Fixed
- Problems with parsing data chunks received by api.
- Small grammar corrections in the documentation.
Changed
- Working method of parser used in
notesendpoint. - Working method of parsers in
miscendpoint. - Working method of parsers in
userendpoint. - Working method of parsers in
changesetendpoint. - Working method of parsers in
elementsendpoint.
Removed
EmptyResultapi exception, which was used in endpointsnotes,userandchangeset. From now on when the results are empty an empty list will be returned.- Unused imports.