Releases: cloudbees-oss/zendesk-java-client
0.11.0
Backward incompatible changes
- The class
org.zendesk.client.v2.SortOrder
is moved toorg.zendesk.client.v2.model.SortOrder
org.zendesk.client.v2.model.Action#value
is an array ofObject
instead ofString
Improvements and new features
- Allow to configure custom headers ( Issue #252 - PR #258 - Thanks @duemir )
- Fix Action model value type ( Issue #262 - PR #263 - Thanks @Dohbedoh ) /!\ BACKWARD INCOMPATIBLE
- New fields
solved
,priority
,customFields
,type
fororg.zendesk.client.v2.model.Request
( PR #276 - Thanks @marydcouto ) - Add articles search by labels:
Zendesk#getArticlesFromAnyLabels(List<String> labels)
,Zendesk#getArticlesFromAllLabels(List<String> labels)
( PR #284 - Thanks @dastultz ) - New search with order
Zendesk#getSearchResults(Class<T> type, String query, String sortBy, SortOrder sortOrder)
and deprecatesZendesk#getSearchResults(Class<T> type, String query, String params)
( PR #284 - Thanks @dastultz ) /!\ BACKWARD INCOMPATIBLE - Minor code cleanup (+remove some deprecated code used from external libs...)
- Test Dependencies updates
- Bump
wiremock
from2.14.0
to2.25.1
( PR #313 - Thanks @dependabot) - Bump
assertj-core
from3.9.0
to3.14.0
( PR #312 - Thanks @dependabot)
- Bump
- Build updates
- Bump
maven-enforcer-plugin
from3.0.0-M2
to3.0.0-M3
( PR #311 - Thanks @dependabot)
- Bump
0.10.0
Improvements and new features
- Support for Dynamic Content ( PR #293 - Thanks @hscabral )
- Add a sorting order for the comment retrieval ( Issue #307 - PR #308 - Thanks @PierreBtz )
- Configure @dependabot ( PR #296 )
- Dependencies updates
** Bumpslf4j-simple
from1.7.25
to1.7.29
( PR #300 - Thanks @dependabot )
** Bumpslf4j-api
from1.7.25
to1.7.29
( PR #301 - Thanks @dependabot )
** Bumpasync-http-client
from2.3.0
to2.10.4
( PR #304 - Thanks @dependabot )
** Bumpjackson-bom
from2.9.3
to2.10.1
( PR #305 - Thanks @dependabot )
** Bumphandy-uri-templates
from2.1.6
to2.1.8
( PR #299 - Thanks @dependabot ) - Build updates
** Bumpcloudbees-oss-parent
from8
to9
( PR #298 - Thanks @dependabot )
** Bumpmaven-enforcer-plugin
from3.0.0-M1
to3.0.0-M2
( PR #297 - Thanks @dependabot )
** Bumpextra-enforcer-rules
from1.0-beta-6
to1.2
( PR #302 - Thanks @dependabot )
** Bumpanimal-sniffer-enforcer-rule
from1.14
to1.18
( PR #303 - Thanks @dependabot ) - Fix tests failures
**org.zendesk.client.v2.RealSmokeTest.getArticleTranslations
( PR #309 )
**org.zendesk.client.v2.RealSmokeTest.showUserComplianceDeletionStatusExpectValidCompletionStatus
( PR #310 )
0.9.0
Bug fixes
- Fix
Zendesk#updateUserIdentity
call to pass theidentity
JSON object (Thanks @duemir - PR #278) - Fix
CommentEvent#getTrusted()
to return aBoolean
instead of aboolean
to avoid NPEs (Thanks @rodrigopalhares - PR #282) - Fix API endpoints for creating (POST) Sections and Categories - endpoint had
/translation.json
and according to Zendesk documentation, it should be/translations.json
(Thanks @hscabral - PR #275)
Improvements and new features
- New
User
class attributes:chatOnly
,sharedPhoneNumber
,defaultGroupId
,roleType
,twoFactorAuthEnabled
,reportCsv
(Thanks @matthewtckr - PR #270) - New
Section
class attribute:description
(Thanks @hscabral - PR #275) - New
Zendesk#getHelpCenterLocales()
method to list all enabled locales and default locale (Thanks @hscabral - PR #275) - New
Article
class attributes:outdatedLocales
,userSegmentId
,permissionGroupId
,editedAt
(Thanks @Dohbedoh - PR #290 - Issue #289) - These fields are now mandatory and are preventing to create articles with old versions of zendesk-java-client
0.8.0
- New method
ListenableFuture<JobStatus<Ticket>> updateTicketsAsync(List<Ticket> tickets)
to update many ticket at once (thx @wakingrufus - PR #260) - New method
UserRelatedInfo getUserRelatedInfo(long userId)
to get User Related Information (thx @CaioNovaes - PR #268)
0.7.0
The Help Center Section creation was fixed,
Macro DTO was updated (Id is long),
Permanent deletion of a handful of Items was added ( GDPR compliancy )
0.6.2
- Fixes: Zendesk client keeps the thread occupied even after performing Zendesk.close().
- Fixes: Inline parameter on Article Attachments doesn't work
- Fixes: Write single element arrays unwrapped for Action.
0.6.1
Fixes: Update of non-multi-select custom fields
0.6.0
Requires Java 8, Upgrade async-http-client to 2.2.0, Jackson to 2.9.3 (+ others updates), Add createTicketAsync method, Add method to inline an article attachment, Add created article,section,category translation, Add suspend user, Add ticket form creation functionality, From now custom field value is an array with multiple value due to Multi-select fields, Changed type of article attachment ID and article ID from int to Long, Include response body in stacktrace message, Added permanently GDPR delete of Tickets and User
0.4.0
Few API breakage (in particular changed userId to Long in Identity), updated async-http-client dependency to latest.
0.3.0
Fixed infinite loop with PagedIterable, updated async-http-client dependency to 1.9.x.