Skip to content

Releases: dstengele/python-insight

v0.6.0: DELETE API method, cleanup auth code

27 May 12:22
Compare
Choose a tag to compare

This Release adds support for DELETE against the API and cleans up the auth code.

⚠ The plain auth parameter is now deprecated, please use one of the specific *_auth parameters.

v0.5.6

19 Aug 16:16
Compare
Choose a tag to compare
Check if pageSize is zero, this happens when a IQL Result is empty.

Also, Python 3.7 changed the behaviour of generators where one is supposed to just return instead of raising StopIteration. This commit does that.

v0.5.5

19 Aug 16:00
Compare
Choose a tag to compare

Fix a bug where the IQL search would return nothing if the result are less than 500 objects.

v0.5.3: Fix double escape

16 Jul 13:29
Compare
Choose a tag to compare
Fix double string escape

v0.5.2: Include empty atributes in attributes property

16 Jul 09:44
Compare
Choose a tag to compare

Since a few versions, the Insight API does not return empty attributes anymore. Before, empty attributes were returned as null in the JSON. As this was seemingly changed without any notice, this version re-adds empty attributes with None as their value to emulate the old behavior.

v0.5.1: Edit attributes with multiple values

27 May 17:43
Compare
Choose a tag to compare

This adds the ability to update attributes that can contain multiple values. This works by simply giving a list of strings instead of a single string.

v0.5.0: Remove special case for Time and DateTime attribute types

05 May 09:12
ec8eb32
Compare
Choose a tag to compare

To fix #6, this release removes the special handling of Date and DateTime attribute types. Until now, these were supposed to be parsed into Date or DateTime objects respectively, but this was problematic as Insight uses Jira's Date format for the API instead of a standard format. Until this can be worked around, the library will simply return the date as a string, so the user can parse that as needed.

v0.4.0: Performance Improvements

18 Mar 15:57
a64c166
Compare
Choose a tag to compare

This release brings faster instantiation of Insight and InsightObjectSchema objects and changes the search_iql() method to a generator for less memory usage.

v0.3.1: Fix for updating objects

12 Mar 19:47
a92d0c4
Compare
Choose a tag to compare

There was a small error in InsightObject.update_object() which caused wrong JSON to be generated and the request to fail. This has now been fixed.

v0.3.0: Object Editing

12 Mar 18:53
c11fc53
Compare
Choose a tag to compare

Thanks to the work of @maximbetin Insight objects can now be edited by providing a new attributes dict with the values that should be set.