Skip to content

Releases: metaodi/osmapi

Release 4.1.0

19 Mar 15:13
3b7ad2c
Compare
Choose a tag to compare

Added

  • OAuth 2.0 example in README and in the examples directory

Changed

  • Check if a passed session is authenticated and use this instead of Username/Password, this enables OAuth 2.0 authentication

Removed

Release 4.0.0

15 Jul 21:39
fb50d9f
Compare
Choose a tag to compare

Added

  • Add Python 3.11 to build
  • Add pre-commit configuration for flake8 and black

Changed

  • Upgrade the code with pyupgrade (see PR #146, thanks Miroslav Šedivý)
    Miroslav Šedivý
  • Replace format with f-strings to resolve issue (see PR #147, thanks Miroslav Šedivý)
  • Use the black code style for this code base

Removed

  • BC-Break: Remove support for Python 3.7, new minimum version for osmapi is Python 3.8

Release 3.1.0

18 Jan 12:55
0ba238f
Compare
Choose a tag to compare

Added

  • New ElementNotFoundApiError when a 404 response comes from the API
  • Raise an exception if a user tries to create a test changeset on the PROD server (see issue #66, thanks SomeoneElseOSM)

Changed

  • Add new NoteAlreadyClosedApiError exception when you try to close an already closed note (see issue #135, thanks Mateusz Konieczny)

Fixed

  • NoteGets now allows empty results i.e. it returns an empty list if no notes were found (see issue #137, thanks Mateusz Konieczny)

Release 3.0.0

12 Feb 22:45
aa28e5c
Compare
Choose a tag to compare

Added

  • Add context manager Changeset() to open/close changesets
  • Add session parameter to provide a custom http session object

Changed

  • Refactor code into several modules/files to improve maintainability
  • Use logging module to log debug information

Removed

  • BC-Break: Remove debug parameter of OsmApi, replaced debug messages with logging module

Fixed

  • Added python_requires to setup.py to define Python 3.7 as minimum version

Release 2.0.2

24 Nov 00:40
7ca89db
Compare
Choose a tag to compare

[2.0.2] - 2021-11-24

Changed

  • Set long_description format to markdown

Release 2.0.1

24 Nov 00:27
2426c04
Compare
Choose a tag to compare

[2.0.1] - 2021-11-24

Added

  • Add Makefile for all common tasks

Fixed

  • Long description of osmapi (now using directly the README.md)

Changed

  • Switch from nose to pytest
  • Move docs to its own subdirectory

Removed

  • Remove tox configuration and dependency

Release 2.0.0

22 Nov 20:32
6938b79
Compare
Choose a tag to compare

2.0.0 - 2021-11-22

Added

  • Move from Travis CI to Github Actions
  • Add more API-specific errors to catch specific errors (see issue #115, thanks Mateusz Konieczny):
    • ChangesetClosedApiError
    • NoteClosedApiError
    • VersionMismatchApiError
    • PreconditionFailedApiError

Changed

  • BC-Break: osmapi does not support Python 2.7, 3.3, 3.4, 3.5 and 3.6 anymore

Fixed

  • Return an empty list in NodeRelations, WayRelations, RelationRelations and NodeWays if the returned XML is empty (thanks FisherTsai, see issue #117)

Release 1.3.0

04 Oct 23:01
f50e785
Compare
Choose a tag to compare

Added

  • Add close() method to close the underlying http session (see issue #107)
  • Add context manager to automatically open and close the http session (see issue #107)

Fixed

Release 1.2.2

07 Nov 08:00
ced86e9
Compare
Choose a tag to compare

Fix travis deployment

Release 1.2.1

05 Nov 12:37
00b2736
Compare
Choose a tag to compare

Fixed deployment to PyPI with Travis