Python Redmine is a library for communicating with a Redmine project management application
Repo maxtepkeev/python-redmine, read from GitHub 2 d ago. maxtepkeev has not joined Take My Repo.
Deprecations:
New Features:
Improvements:
dir(resource) and list(resource) now also show properties of an objectissues_assigned and issues_authored relations in User object (Issue #317)create(), update(), delete() operations (see docs for details)invoices and expenses relation attributesPerformanceWarning will be issued when Python-Redmine does some unnecessary redirects before the actualChanges:
all operation now really returns all users, i.e. not only active, but locked, registered and anonymous as well instead of only returning just active users in previous versions due to the respect to Redmine's standard behaviour (Issue #327)Bugfixes:
redmine.search()order attribute was returned as a dict instead of being converted to Resource objectdeals and contacts relation attributes didn't workdeals relation attribute didn't workDocumentation:
author_id in Issue's resource filter operationDeprecations:
python setup.py test as it became deprecated by setuptoolsNew Features:
Improvements:
allowed_statuses to include param and on demand includes for Issue resource (requires Redmine >= 5.0.0)issue_custom_fields to include param and on demand includes for Project resource (requires Redmine >= 4.2.0)comments and attachments to include param and on demand includes for News resource (requires Redmine >= 4.1.0)projects to include param and on demand includes for all() and filter() operationscreate(), update(), delete() operations (see docs for details)close(), reopen(), archive(), unarchive() operations (see docs for details, requires Redmine >= 5.0.0)Changes:
Bugfixes:
ResourceAttrError for attributes that actually exist, but their value is None (Issue #261)related_contacts attribute was returned as a list instead of being converted to ResourceSet objectdefault_assignee attribute was returned as a dict instead of being converted to Resource objecttime_entry_activities attribute was returned as a list instead of being converted to ResourceSet objectDocumentation:
Improvements:
redmine.upload()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)create(), update(), delete() operations support (requires Redmine >= 4.1.0)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 exportreturn_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:
Bugfixes:
send_information field wasn't sent correctly to Redmine so account information emails were never sent (Issue #227) (thanks to wodny)default_version attribute was returned as a dict instead of being converted to Resource objectDocumentation:
redmine.sessionadmin in User's resource create/updateBugfixes:
group attribute was returned as a dict instead of being converted to Resource object (Issue #220) (thanks to Samuel Harmer)Improvements:
PerformanceWarning will be issued when Python-Redmine does some unnecessary work under the hood to fix the clients code problemsChanges:
Bugfixes:
Redmine.upload() fails under certain circumstances when used with a file-like object and it contains unicode instead of bytes (Issue #216)Redmine.session() doesn't restore previous engine if fails (Issue #211) (thanks to Dmitry Logvinenko)