Skip to content

3.0.0

Compare
Choose a tag to compare
@csparpa csparpa released this 30 May 16:53
· 116 commits to master since this release

This is a major release.

This means that no retrocompatibility is offered, as many high-level PyOWM interface functions have been modified or removed: this might result in your client code breaking.

But fear not! Patching your code is very likely a breeze: please verify the "migration guide" in the documentation about how to patch.

New and modified features

Platforms Support

  • dropped legacy support for Python2 and support for Python 3.4 - only supports Python 3.7+ now
  • dropped support for Docker (no more Dockerfiles and Docker images)

Enhancements

Bugfixes

Internals

  • gave the weatherapi module exactly the same dignity as other api modules...
  • PollutionAPI and UVIndexAPI: both will feature a Manager object, which will be instantiated by the new OWM entry point
  • made Exceptions hierarchy more consistent

Security

  • Now using SSL as the default option for all API calls
  • HTTP calls timeout is increased to 5 seconds (to allow download of satellite images)
  • finalized deprecations foreseen for v3