Skip to content

Releases: docentYT/osm_easy_api

v0.4.2

11 Jun 19:54
a6eb16c
Compare
Choose a tag to compare

Changed

  • Order of elements in xml generated by Way._to_xml(). First tags, then nodes.

Fixed

  • Relation._to_xml() was returning an xml without osm tags.
  • Deleted disused variable in Node._to_xml().
  • Fixed incorrect relation parsing of data recived by full endpoint.

v0.4.1

23 May 19:18
Compare
Choose a tag to compare

Changed

  • Updated requests from 2.28.1 to 2.31.0.

v0.4.0

03 May 18:33
1e3162b
Compare
Choose a tag to compare

Added

  • to_dict() method and from_dict() class method to Note.
  • to_dict() method and from_dict() class method to Comment.
  • to_dict() method and from_dict() class method to User.
  • Documentation about Meta and Action class.
  • Assert error (with information to report it on github) when api returns an error code not described on the wiki.
  • to_dict() method and from_dict() class method to (relation) Member.

Fixed

  • Note can now be imported from package.
  • Comment can now be imported from package.
  • User can now be imported from package.
  • Member can now be imported from package.
  • Pdoc command in README.md.
  • Relation.to_dict() method now recursively serialises members. #10
  • Way.to_dict() method now recursively serialises nodes.

Changed

  • Changed imports in Relation.py to use importing through a module rather than directly from a file.
  • Added sample_dataclasses.py file in tests fixtures to reduce code duplication.
  • Changed function name and deleted unnecessary argument in append_elements_to_master_element() nested inside private method _to_xml() in OsmChange.

v0.3.0

14 Mar 14:41
91c5298
Compare
Choose a tag to compare

Added

  • to_dict() method and from_dict() class method to Changeset. #7
  • Ability to set user_agent in Diff and Api class. #5
  • osm_object_primitive from_dict() class method now raises ValueError if the type key is not found.

Changed

  • Changeset is now exported from data_classes module.
  • More tests.

v0.2.0

07 Mar 21:44
Compare
Choose a tag to compare

Added

  • to_dict() method and from_dict() class method to osm_object_primitive. (An object that is inherited by a Node, Way, Relation). #3
  • Support for historical anonymous edits and edits made by deleted accounts. #4

v0.1.4

04 Mar 23:10
Compare
Choose a tag to compare

Fixed

  • Improvement of utils.join_url() function.
  • Spelling errors corrected @matkoniecz

v0.1.3

03 Mar 20:48
Compare
Choose a tag to compare

Fixed

  • Fixed the non-setting of the "visible" attribute.

v0.1.2

03 Mar 19:59
Compare
Choose a tag to compare

Fixed

  • Fixed return type of generator in Diff.get() method.

Release v0.1.1

03 Mar 17:23
Compare
Choose a tag to compare
Update tests.yaml