Skip to content

Releases: PagerDuty/pdpyras

v5.3.0

04 Oct 18:31
f414884
Compare
Choose a tag to compare

What's Changed

Add support for finding based on numeric fields by @Deconstrained in #138. Addresses #137.

v5.2.X: Type hints and Tags API support

05 Jan 19:16
f0cdd6a
Compare
Choose a tag to compare
  • Expanded use of type hints
    • Return type hints used in place of :rtype: Sphinx directives
    • More type hints added to function arguments
  • Remove unused dependency deprecation
  • Fixed #130: path /tags/{id}/{entity_type} breaks entity wrapping logic

v5.1.X: Exception inheritance and custom change event timestamps

26 Jun 16:46
bacfe4a
Compare
Choose a tag to compare
  • The method ChangeEventsAPIClient.submit now accepts an optional timestamp parameter that allows the user to set the payload.timestamp value in the event
  • When raising an exception due to a non-transient network issue, the upstream exception is explicitly cited as the source exception
  • Features that were deprecated in v5.0 are now removed
  • Bug fix in 5.1.1: Fix invocation of iter_cursor in iter_all when using on endpoints that support cursor-based pagination
  • Fixed #115 in 5.1.2: Events API clients will retry statuses 500, 502 and 503, keeping in line with PagerDuty's publicly-documented recommendations for scenarios where the Events API responds with these statuses.
  • Fixed #125 in 5.1.3: Deprecated escape sequences for splat operator in docstrings replaced with bare ** to avoid downstream linter / unit test errors

v5.0.*: Extended Entity Wrapper Support and Logging Improvements

17 May 22:20
f3976df
Compare
Choose a tag to compare
  • New "debug mode" which sends all logging statements to stderr
  • Keeping with the recommended construction of using one logger per module and naming accordingly, the name parameter to session constructors is deprecated and has no effect as of this version. All loggers are now the same (i.e. logging.getLogger(__name__))
  • Support for non-conformal endpoints in automatic entity wrapper handling; this fixes #96 and all similar issues one could easily run into
  • Numerous deprecations (see CHANGELOG for details)
  • End support for Python 3.5 / add support for Python 3.10
  • Documentation overhaul