Skip to content

Releases: maxtepkeev/python-redmine

v0.7.0

12 Mar 15:27
Compare
Choose a tag to compare
  • Added: WikiPage resource now automatically requests all of it's available attributes from Redmine in case if some of them are not available in an existent resource object
  • Added: Support for setting date/datetime resource attributes using date/datetime Python objects
  • Added: Support for using date/datetime Python objects in all ResourceManager methods, i.e. new(), create(), update(), delete(), get(), all(), filter()
  • Fixed: Issue #14 (Python Redmine was incorrectly raising ResourceAttrError when trying to call repr(), str() and int() on resources, created via new() method

v0.6.2

09 Mar 10:26
Compare
Choose a tag to compare
  • Fixed: Project resource status attribute was converted to IssueStatus resource by mistake

v0.6.1

27 Feb 05:45
Compare
Choose a tag to compare
  • Fixed: Issue #10 (Python Redmine was incorrectly raising ResourceAttrError while creating some resources via new() method)

v0.6.0

19 Feb 14:31
Compare
Choose a tag to compare
  • Added: Redmine.auth() shortcut for the case if we just want to check if user provided
    valid auth credentials, can be used for user authentication on external resource based on
    Redmine user database (see docs for details)
  • Fixed: JSONDecodeError was raised in some Redmine versions during some create/update
    operations (thanks to 0x55aa)
  • Fixed: User resource status attribute was converted to IssueStatus resource by mistake

v0.5.0

09 Feb 16:29
Compare
Choose a tag to compare
  • Added: An ability to create custom resources which allow to easily redefine the behaviour
    of existing resources (see docs for details)
  • Added: An ability to add/remove watcher to/from issue (see docs for details)
  • Added: An ability to add/remove users to/from group (see docs for details)

v0.4.0

09 Feb 07:02
Compare
Choose a tag to compare
  • Added: New exceptions:
    • ConflictError
    • ReadonlyAttrError
    • ResultSetTotalCountError
    • CustomFieldValueError
  • Added: Update functionality via update() and save() methods for resources (see docs for details):
    • User
    • Group
    • IssueCategory
    • Version
    • TimeEntry
    • ProjectMembership
    • WikiPage
    • Project
    • Issue
  • Added: Limit/offset support via all() and filter() methods for resources that
    doesn't support that feature via Redmine:
    • IssueRelation
    • Version
    • WikiPage
    • IssueStatus
    • Tracker
    • Enumeration
    • IssueCategory
    • Role
    • Group
    • CustomField
  • Added: On demand includes, e.g. in addition to redmine.group.get(1, include='users') users for a group can also be retrieved on demand via group.users if include wasn't set (see each resource docs for details)
  • Added: total_count attribute to ResourceSet object which holds the total number of resources for the current resource type available in Redmine (thanks to Andrei Avram)
  • Added: An ability to return None instead of raising a ResourceAttrError for all or selected resource objects via raise_attr_exception kwarg on Redmine object (see docs for details or Issue #6)
  • Added: pre_create(), post_create(), pre_update(), post_update() resource object methods which can be used to execute tasks that should be done before/after creating/updating the resource through save() method
  • Added: Allow to create resources in alternative way via new() method (see docs for details)
  • Added: Allow daterange TimeEntry resource filtering via from_date and to_date keyword arguments (thanks to Antoni Aloy)
  • Added: An ability to retrieve Issue version via version attribute in addition to
    fixed_version to be more obvious
  • Changed: Documentation for resources rewritten from scratch to be more understandable
  • Fixed: Saving custom fields to Redmine didn't work in some situations
  • Fixed: Issue's fixed_version attribute was retrieved as dict instead of Version resource object
  • Fixed: Resource relations were requested from Redmine every time instead of caching the result after first request
  • Fixed: Issue #2 (limit/offset as keyword arguments were broken)
  • Fixed: Issue #5 (Version resource status attribute was converted to IssueStatus resource by mistake) (thanks to Andrei Avram)
  • Fixed: A lot of small fixes, enhancements and refactoring here and there

v0.3.1

23 Jan 12:52
Compare
Choose a tag to compare
  • Added: An ability to pass Requests parameters as a dictionary via requests keyword
    argument on Redmine initialization, i.e. Redmine('http://redmine.url', requests={}).
  • Fixed: Issue #1 (unable to connect to Redmine server with invalid ssl certificate).

v0.3.0

18 Jan 08:22
Compare
Choose a tag to compare
  • Added: Delete functionality for resources via delete method (see docs for details):
    • User
    • Group
    • IssueCategory
    • Version
    • TimeEntry
    • IssueRelation
    • ProjectMembership
    • WikiPage
    • Project
    • Issue
  • Changed: ResourceManager get() method now raises a ValidationError exception if
    required keyword arguments aren't passed

v0.2.0

18 Jan 06:40
Compare
Choose a tag to compare
  • Added: New exceptions:
    • ServerError
    • NoFileError
    • ValidationError
    • VersionMismatchError
    • ResourceNoFieldsProvidedError
    • ResourceNotFoundError
  • Added: Create functionality for resources (see docs for details):
    • User
    • Group
    • IssueCategory
    • Version
    • TimeEntry
    • IssueRelation
    • ProjectMembership
    • WikiPage
    • Project
    • Issue
  • Added: File upload support, see upload() method in Redmine class
  • Added: Integer representation to all resources, i.e. int()
  • Added: Informal string representation to all resources, i.e. str()
  • Fixed: Conversion of issue priorities to enumeration resource object didn't work
  • Changed: Renamed version attribute to redmine_version in all resources to avoid name intersections
  • Changed: ResourceManager get() method now throws a ResourceNotFoundError exception if
    resource wasn't found instead of returning None in previous versions
  • Changed: reimplemented fix for repr() from 0.1.1

v0.1.1

10 Jan 14:57
Compare
Choose a tag to compare
  • Added: Python 2.6 support
  • Fixed: Resource representation, i.e. repr(), was broken in Python 2.7
  • Fixed: dir() call on a resource object didn’t work in Python 3.2
  • Changed: WikiPage resource refresh() method now automatically determines it’s project_id