Skip to content

v2.3.0

Compare
Choose a tag to compare
@maxtepkeev maxtepkeev released this 21 May 14:01

Improvements:

  • Support custom filename in redmine.upload()
  • Support for get() and update() operations for /my/account endpoint which doesn't require admin privileges by using me as an id, i.e. redmine.user.get('me') or redmine.user.update('me', firstname='John') (requires Redmine >= 4.1.0)
  • News create(), update(), delete() operations support (requires Redmine >= 4.1.0)
  • ResourceSet's export() method now supports columns keyword argument which can be either an iterable of column names, an "all" string which tells Python-Redmine to export all available columns, "all_gui" string for GUI like behaviour or iterable of elements with "all_gui" string and additional columns to export
  • Added support for special characters in WikiPage titles (Issue #222) (thanks to Radek Czajka)
  • Added return_response and ignore_response parameters to engine which allow to skip response processing and speed up the create/update/delete operation in case response body isn't needed (see docs for details)

Changes:

  • Backwards Incompatible: Requests version required >= 2.23.0
  • Backwards Incompatible: Removed Python 3.4 support as it's not supported by Requests anymore

Bugfixes:

  • User's send_information field wasn't sent correctly to Redmine so account information emails were never sent (Issue #227) (thanks to wodny)
  • Project resource default_version attribute was returned as a dict instead of being converted to Resource object
  • Resource object was leaking memory during initialization (Issue #257) (thanks to yihli)

Documentation:

  • Introduced detailed parameter list for redmine.session
  • Mentioned support for admin in User's resource create/update