Skip to content

Releases: maxtepkeev/python-redmine

v1.0.1

23 Sep 07:55
Compare
Choose a tag to compare
  • Fixed: Issue #50 (IssueJournal's notes attribute was converted to Note resource by mistake, bug was introduced in v1.0.0)

v1.0.0

22 Sep 18:24
Compare
Choose a tag to compare
  • Added: Support for the CRM plugin resources:
  • Added: Introduced new relations for the following resource objects:
    • Project - time_entries, deals, contacts and deal_categories relations
    • User - issues, time_entries, deals and contacts relations
    • Tracker - issues relation
    • IssueStatus - issues relation
  • Added: Introduced a values() method in a ResourceSet which returns ValuesResourceSet — a ResourceSet subclass that returns dictionaries when used as an iterable, rather than resource-instance objects (see docs for details)
  • Added: Introduced update() and delete() methods in a ResourceSet object which allow to bulk update or bulk delete all resources in a ResourceSet object (see docs for details)
  • Fixed: It was impossible to use ResourceSet's get() and filter() methods with WikiPage resource
  • Fixed: Several small fixes and enhancements here and there

v0.9.0

11 Sep 17:28
Compare
Choose a tag to compare
  • Added: Introduced support for file downloads (see docs for details)
  • Added: Introduced new _Resource.requirements class attribute where all Redmine plugins required by resource should be listed (preparations to support non-native resources)
  • Added: New exceptions:
    • ResourceRequirementsError
  • Fixed: It was impossible to set a custom field of date/datetime type using date/datetime Python objects
  • Fixed: Issue #46 (A UnicodeEncodeError was raised in Python 2.x while trying to access a url property of a WikiPage resource if it contained non-ascii characters)

v0.8.4

08 Aug 12:37
Compare
Choose a tag to compare
  • Added: Support for anonymous Attachment resource (i.e. attachment with id attr only)
  • Fixed: Issue #42 (It was impossible to create a Project resource via new() method)

v0.8.3

01 Aug 10:28
Compare
Choose a tag to compare
  • Fixed: Issue #39 (It was impossible to save custom_fields in User resource via new() method)

v0.8.2

27 May 12:48
Compare
Choose a tag to compare
  • Added: ResourceSet's get method now supports a default keyword argument which is returned when a requested Resource can't be found in a ResourceSet and defaults to None, previously this was hardcoded to None
  • Added: It is now possible to use getattr() with default value without raising a ResourceAttrError when calling non-existent resource attribute, see Issue #30 for details (thanks to hsum)
  • Fixed: Issue #31 (Unlimited recursion was possible in some situations when on demand includes were used)

v0.8.1

02 Apr 12:08
Compare
Choose a tag to compare
  • Added: New exceptions:
    • RequestEntityTooLargeError
    • UnknownError
  • Fixed: Issue #27 (Project and Issue resources parent attribute was returned as a dict instead of being converted to Resource object)

v0.8.0

27 Mar 15:27
Compare
Choose a tag to compare
  • Added: Introduced the detection of conflicting packages, i.e. if a conflicting package is found (PyRedmineWS at this time is the only one), the installation procedure will be aborted and a warning message will be shown with the detailed description of the problem
  • Added: Introduced new _Resource._members class attribute where all instance attributes which are not started with underscore should be listed. This will resolve recursion issues in custom resources because of how __setattr__ works in Python
  • Changed: _Resource.attributes renamed to _Resource._attributes
  • Fixed: Python Redmine was unable to upload any binary files
  • Fixed: Issue #20 (Lowered Requests version requirements. Python Redmine now requires Requests starting from 0.12.1 instead of 2.1.0 in previous versions)
  • Fixed: Issue #23 (File uploads via update() method didn't work)

v0.7.2

17 Mar 14:19
Compare
Choose a tag to compare
  • Fixed: Issue #19 (Resources obtained via filter() and all() methods have incomplete url attribute)
  • Fixed: Redmine server url with forward slash could cause errors in rare cases
  • Fixed: Python Redmine was incorrectly raising ResourceAttrError when trying to call
    repr() on a News resource

v0.7.1

14 Mar 17:00
Compare
Choose a tag to compare
  • Fixed: Issue #16 (When a resource was created via a new() method, the next resource created after that inherited all the attribute values of the previous resource)