Skip to content

Conversation

@phatblat
Copy link
Member

@phatblat phatblat commented Dec 19, 2025

This includes the changes to handle the renamed DittoException API.

phatblat and others added 17 commits December 16, 2025 12:03
…service/DittoTaskService.java

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
# Conflicts:
#	java-server/src/main/java/com/ditto/example/spring/quickstart/service/DittoService.java
#	java-server/src/main/java/com/ditto/example/spring/quickstart/service/DittoTaskService.java
…service/DittoTaskService.java

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
# Conflicts:
#	java-server/src/main/java/com/ditto/example/spring/quickstart/service/DittoService.java
#	java-server/src/main/java/com/ditto/example/spring/quickstart/service/DittoTaskService.java
@phatblat phatblat self-assigned this Dec 19, 2025
Copilot AI review requested due to automatic review settings December 19, 2025 22:05
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the Ditto SDK from version 5.0.0-preview.3 to the GA version 5.0.0-java and handles the API breaking change where DittoError has been renamed to DittoException.

Key Changes:

  • Updated dependency versions in build.gradle.kts from preview to GA release
  • Replaced all DittoError exception references with DittoException
  • Added exception handling for newly-checked exceptions in data access methods

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 3 comments.

File Description
build.gradle.kts Updated ditto-java and ditto-binaries dependencies from 5.0.0-preview.3 to 5.0.0-java
DittoService.java Replaced DittoError with DittoException, added exception handling in setupAndObserveSyncState and itemToTask methods, minor code formatting changes
DittoTaskService.java Replaced DittoError with DittoException in catch blocks, added exception handling to itemToTask method, fixed whitespace formatting

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@phatblat phatblat force-pushed the ben/sdks-2474/java-5.0.0-java-rc.3 branch from 4afaa10 to 3c728f9 Compare December 22, 2025 16:18
@phatblat phatblat requested a review from a team as a code owner December 22, 2025 16:18
@phatblat phatblat force-pushed the ben/sdks-2474/java-5.0.0-java-rc.3 branch from 376a6e4 to bda88db Compare December 22, 2025 16:31
@phatblat phatblat enabled auto-merge (squash) December 22, 2025 16:32
@phatblat phatblat merged commit b63e4a4 into main Dec 22, 2025
4 checks passed
@phatblat phatblat deleted the ben/sdks-2474/java-5.0.0-java-rc.3 branch December 22, 2025 17:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants