Skip to content

Releases: cloudbees-oss/zendesk-java-client

0.18.0

01 Jul 15:17
8eef788

Choose a tag to compare

🚀 New features and improvements

  • Add basic View support - List the Views; List the tickets in a View (#491) @rcprcp

📦 Dependency updates

0.17.0

08 Jun 16:57

Choose a tag to compare

Here is a new release with few new end-points and a batch of dependencies updates.

Thanks a lot to all contributors: @codeconsole , @lacinoire

🚀 New features and improvements

📦 Dependency updates

👻 Maintenance

0.16.0

07 Jan 14:33
490bb34

Choose a tag to compare

UPGRADE NOTE

A hack that was transforming all the %2B (+ URL encoded) back into + prior to sending the http requests was removed.
This hack was preventing to write some search queries using +, eg using an email alias like user+alias@gmail.com and was done because of a wrong encoding of space (URL encoded as +) in some places in the code.
If you work around this problem somehow, you want to remove this workaround, now the client will behave as one would expect, ie whatever you pass in search is properly URL encoded: + -> %2B and -> +.

🚀 New features and improvements

🐛 Bug Fixes

  • [bug] fix an issue preventing searching tickets with email aliases (+) (#429) @PierreBtz
  • Configure the DefaultAsyncHttpClient to follow redirects (#418) @aheritier

📦 Dependency updates

📝 Documentation updates

👻 Maintenance

0.15.0

21 Oct 11:30

Choose a tag to compare

🚀 New features and improvements

🐛 Bug Fixes

📦 Dependency updates

📝 Documentation updates

👻 Maintenance

0.14.1

18 Mar 12:33

Choose a tag to compare

🐛 Bug Fixes

📦 Dependency updates

👻 Maintenance

  • The build is failing because SonarQube requires Java 11 (#381) @aheritier

0.14.0

27 Aug 20:06

Choose a tag to compare

We moved the repository from cloudbees github organization to cloudbees-oss

This version is breaking the compatibility of various various "Many" create/update/delete to fix them (the current implementation was broken).
A lot of integration tests were added to validate them and now these "Many" create/update/delete methods should work correctly and we extending them to various objects where they were missing.

💥 Breaking changes

  • Fix the existing "Many" create/update/delete methods (#346) @aheritier

JobStatus is not anymore a generic class. Are impacted by this change:

  • public JobStatus createOrganizations(Organization... organizations)
  • public JobStatus createTickets(List<Ticket> tickets)
  • public JobStatus createTickets(Ticket... tickets)
  • public JobStatus createUsers(List<User> users)
  • public JobStatus createUsers(User... users)
  • public JobStatus getJobStatus(JobStatus status)
  • public JobStatus importTickets(List<TicketImport> ticketImports)
  • public JobStatus importTickets(TicketImport... ticketImports)
  • public JobStatus onCompleted(Response response)
  • public JobStatus permanentlyDeleteTicket(Ticket ticket)
  • public List<JobStatus> getJobStatuses(List<JobStatus> statuses)
  • public ListenableFuture<JobStatus> createOrganizationsAsync(List<Organization> organizations)
  • public ListenableFuture<JobStatus> createTicketsAsync(List<Ticket> tickets)
  • public ListenableFuture<JobStatus> getJobStatusAsync(JobStatus status)
  • public ListenableFuture<JobStatus> importTicketsAsync(List<TicketImport> ticketImports)
  • public ListenableFuture<JobStatus> queueCreateTicketAsync(Ticket ticket)
  • public ListenableFuture<JobStatus> updateTicketsAsync(List<Ticket> tickets)
  • public ListenableFuture<JobStatus> createUsersAsync(List<User> users)
  • public ListenableFuture<List<JobStatus>> getJobStatusesAsync(List<JobStatus> statuses)

You now have to iterate/loop/wait until getJobStatus(aJobStatus).getStatus() == JobStatus.JobStatusEnum.completed to confirm that the mass update was processed.

Various integration tests were added in RealSmokeTest.java to show how to use these APIs.

🚀 New features and improvements

  • Add support for merging users (#350) @Helmsdown
    • public User mergeUsers(long userIdThatWillRemain, long userIdThatWillBeMerged)
  • Validate dates management (#348) @aheritier
  • Add various "Many" create/update/delete methods (#346) @aheritier
    • public Iterable<DeletedTicket> getDeletedTickets()
    • public Iterable<DeletedTicket> getDeletedTickets(String sortBy, SortOrder sortOrder)
    • public JobStatus createOrUpdateUsers(List<User> users)
    • public JobStatus createOrUpdateUsers(User... users)
    • public JobStatus createOrganizationMemberships(List<OrganizationMembership> organizationMemberships)
    • public JobStatus createOrganizationMemberships(OrganizationMembership... organizationMemberships)
    • public JobStatus updateOrganizations(List<Organization> organizations)
    • public JobStatus updateOrganizations(Organization... organizations)
    • public JobStatus updateTickets(List<Ticket> tickets)
    • public JobStatus updateTickets(Ticket... tickets)
    • public JobStatus updateUsers(List<User> users)
    • public JobStatus updateUsers(User... users)
    • public ListenableFuture<JobStatus> createOrUpdateUsersAsync(List<User> users)
    • public ListenableFuture<JobStatus> createOrganizationMembershipsAsync(List<OrganizationMembership> organizationMemberships)
    • public ListenableFuture<JobStatus> updateOrganizationsAsync(List<Organization> organizations)
    • public ListenableFuture<JobStatus> updateUsersAsync(List<User> users)
    • public void deleteOrganizationMemberships(long id, long... ids)

🐛 Bug Fixes

  • Deprecates getTicketsIncrementally(Date startTime, Date endTime) (#347) @aheritier

📦 Dependency updates

0.13.0

20 May 16:01

Choose a tag to compare

Improvements and new features

  • Help Center: new method Iterable<Article> getArticles(String locale) allows to find articles for a given locale. ( PR #343 - Thanks @randysecrist)
  • Help Center: new method Iterable<Article> getArticles(Section section) allows to find articles for a given section. ( Fixes ##254 - PR #323 - Thanks @mvkvl)
  • Help Center: new methods void deleteTranslation(Translation translation) and void deleteTranslation(Long translationId) to delete translations ( PR #322 - Thanks @maxixcom)
  • Runtime Dependencies updates
  • Build/Test Dependencies updates

0.12.0

07 Jan 12:34

Choose a tag to compare

Improvements and new features

0.11.0

28 Nov 17:41

Choose a tag to compare

Backward incompatible changes

  • The class org.zendesk.client.v2.SortOrder is moved to org.zendesk.client.v2.model.SortOrder
  • org.zendesk.client.v2.model.Action#value is an array of Object instead of String

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 for org.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 deprecates Zendesk#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
  • Build updates
    • Bump maven-enforcer-plugin from 3.0.0-M2 to 3.0.0-M3 ( PR #311 - Thanks @dependabot)

0.10.0

24 Nov 17:27

Choose a tag to compare

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
    ** Bump slf4j-simple from 1.7.25 to 1.7.29 ( PR #300 - Thanks @dependabot )
    ** Bump slf4j-api from 1.7.25 to 1.7.29 ( PR #301 - Thanks @dependabot )
    ** Bump async-http-client from 2.3.0 to 2.10.4 ( PR #304 - Thanks @dependabot )
    ** Bump jackson-bom from 2.9.3 to 2.10.1 ( PR #305 - Thanks @dependabot )
    ** Bump handy-uri-templates from 2.1.6 to 2.1.8 ( PR #299 - Thanks @dependabot )
  • Build updates
    ** Bump cloudbees-oss-parent from 8 to 9 ( PR #298 - Thanks @dependabot )
    ** Bump maven-enforcer-plugin from 3.0.0-M1 to 3.0.0-M2 ( PR #297 - Thanks @dependabot )
    ** Bump extra-enforcer-rules from 1.0-beta-6 to 1.2 ( PR #302 - Thanks @dependabot )
    ** Bump animal-sniffer-enforcer-rule from 1.14 to 1.18 ( PR #303 - Thanks @dependabot )
  • Fix tests failures
    ** org.zendesk.client.v2.RealSmokeTest.getArticleTranslations ( PR #309 )
    ** org.zendesk.client.v2.RealSmokeTest.showUserComplianceDeletionStatusExpectValidCompletionStatus
    ( PR #310 )