Releases: dstengele/python-insight
v0.6.0: DELETE API method, cleanup auth code
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
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
Fix a bug where the IQL search would return nothing if the result are less than 500 objects.
v0.5.3: Fix double escape
Fix double string escape
v0.5.2: Include empty atributes in attributes property
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
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
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
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
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
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.