History
0.4.0 (unreleased)
breaking changes
Resourceclass: replacelast_request_at()withlast_request_age_s()(e.g seetickets.Ticket.last_request_age_s())property
tickets.State.state_typenow returns a string
added features
none yet
fixes
none yet
0.3.0 (2024-07-25)
breaking changes
none
added features
added
raise_if_existsparameter toarticles.Attachment.download()methodadded support for the
/time_accountingsendpoint (for details see TimeAccountings)added
tickets.Ticket.time_accountings()andtickets.Ticket.create_time_accounting()added support for the
/online_notificationsendpoint (for details see Notifications)force requests with
'expand=true'if'*'inEXPANDED_ATTRIBUTES
fixes
fix edge case when unexpanded attributes were cached but a new instance accessed an expanded attribute
update
EXPANDED_ATTRIBUTESon classes
0.2.0 (2024-03-10)
breaking changes
client.Clientnow useshttp_auth=(username, password)as authentication parameterfor all ResourcesT like
tickets.Tickets.urlis now a propertyexchange
tickets.Ticket.merge_with()withtickets.Ticket.merge_into()mimicking the logic provided by the Web UItags.Tags.delete()andtags.Tags.rename()now only accept the tag namechanged signature of
tickets.Tickets.create()to assure an article body or the article itself is providedremove
articles.Article.encodingproperty
added features
extend supported Python version including Python 3.8
added
tickets.Ticket.history()methodadded
weburlproperty forclient.Client,tickets.Ticket,users.Userandorganizations.Organizationadded property
tickets.Ticket.create_article_senderadded property
groups.Group.parent_groupsave timestamp when cache is updated, added method
tickets.Ticket.last_request_at()dir(Resource)now also returns the dynamic attributes
fixes
resource items are now cached when using iteration
fromisoformat conversion in Python <3.10 supporting Zulu offset format
roles.Rolesandgroups.Groupswrongly supported searchuse
requests.Response.apparent_encodingwhen returning attachment content as text
0.1.0 (2023-10-08)
initial release