chore: publish Quickstarts for SDK version 5.0.2#302
Open
Ditto SDK Releases (ditto-sdk-releases) wants to merge 2 commits into
Open
chore: publish Quickstarts for SDK version 5.0.2#302Ditto SDK Releases (ditto-sdk-releases) wants to merge 2 commits into
Ditto SDK Releases (ditto-sdk-releases) wants to merge 2 commits into
Conversation
Copilot started reviewing on behalf of
Ditto SDK Releases (ditto-sdk-releases)
July 8, 2026 18:23
View session
Contributor
There was a problem hiding this comment.
Pull request overview
This PR publishes/updates the quickstart apps to use Ditto SDK v5.0.2 across the multi-language sample suite, along with assorted build, CI, and formatting adjustments needed for the updated tooling and workflows.
Changes:
- Bump Ditto SDK/package versions to 5.0.2 across Swift, Rust, JS/Node, React Native, Kotlin/Java, Flutter, C++ and .NET quickstarts.
- Update CI/support tooling (e.g., seed-doc composite action, Rust cargo/clippy overrides, .NET
global.json) to better support the quickstart repo layout. - Apply broad formatting / lint / config cleanups (Prettier, SwiftLint exclusions, Maestro YAML quoting, etc.).
Reviewed changes
Copilot reviewed 84 out of 125 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| swift/Tasks.xcodeproj/project.pbxproj | Bumps Swift language version to 6.0 and DittoSwiftPackage minimum to 5.0.2 |
| swift/buildEnv.sh | Fixes shell portability by switching to bash and tightening formatting |
| swift/.swiftlint.yml | Formatting-only adjustment of excluded generated file |
| scripts/README.md | Removes maintainer-scripts README |
| scripts/bump-versions.js | Removes version-bump helper script |
| rust-tui/src/tui/todolist.rs | Import formatting / organization |
| rust-tui/src/tui/mod.rs | Import ordering / formatting |
| rust-tui/src/term.rs | Import ordering / formatting |
| rust-tui/src/lib.rs | Doc example formatting cleanup |
| rust-tui/src/bin/main.rs | Improves dotenv loading approach; import formatting |
| rust-tui/src/bin/integration_test.rs | Improves dotenv loading for monorepo/standalone layout |
| rust-tui/clippy.toml | Adds clippy config shadowing root policy for sample crate |
| rust-tui/Cargo.toml | Bumps dittolive-ditto to 5.0.2 |
| rust-tui/Cargo.lock | Dependency lock updates (incl. patch metadata) |
| rust-tui/.cargo/config.toml | Overrides env to ensure published binaries are downloaded (not local build) |
| README.md | Updates quickstart index links (adds KMP, Go, winforms-net48; fixes Flutter path) |
| react-native/package.json | Bumps @dittolive/ditto to 5.0.2 |
| react-native/jest.setup.js | Formatting-only updates in mocks |
| react-native/ios/Podfile | Adds fmt C++17 build workaround scoped to fmt pod target |
| react-native/components/TaskDone.tsx | Formatting-only |
| react-native/components/NewTaskModal.tsx | Formatting-only |
| react-native/components/EditTaskModal.tsx | Formatting-only |
| react-native/components/DittoSync.tsx | Formatting-only |
| react-native/components/DittoInfo.tsx | Formatting-only |
| react-native/App.tsx | Formatting-only; no behavioral changes observed in diff |
| react-native/android/gradle.properties | Drops x86/x86_64 ABIs to reduce CI disk usage |
| react-native/android/app/src/main/AndroidManifest.xml | Adds WiFi/network permissions for P2P networking support |
| react-native/.maestro/flows/01-app-launch-and-seeded-tasks-ios.yaml | Normalizes YAML quoting |
| react-native/.maestro/flows/01-app-launch-and-seeded-tasks-android.yaml | Normalizes YAML quoting |
| react-native-expo/scripts/reset-project.js | Formatting-only (quote style, trailing commas) |
| react-native-expo/package.json | Bumps @dittolive/ditto to 5.0.2 |
| react-native-expo/metro.config.js | Formatting-only (quote style) |
| react-native-expo/main.tsx | Formatting-only (quote style) |
| react-native-expo/eslint.config.js | Formatting-only (quote style, trailing commas) |
| react-native-expo/components/TaskDone.tsx | TypeScript punctuation/style fixes |
| react-native-expo/components/NewTaskModal.tsx | Import formatting and prop type punctuation |
| react-native-expo/components/Fab.tsx | Import formatting |
| react-native-expo/components/EditTaskModal.tsx | Import formatting and prop type punctuation |
| react-native-expo/components/DittoInfo.tsx | Prop type punctuation |
| react-native-expo/babel.config.js | Formatting-only (quote style) |
| react-native-expo/App.tsx | Formatting-only; no behavioral changes observed in diff |
| react-native-expo/android/gradle.properties | Adds CI disk mitigation note; retains full ABIs here (per diff) |
| react-native-expo/.maestro/flows/01-app-launch-and-seeded-tasks-ios.yaml | Normalizes YAML quoting |
| react-native-expo/.maestro/flows/01-app-launch-and-seeded-tasks-android.yaml | Normalizes YAML quoting |
| LICENSE | Updates copyright year to 2026 |
| kotlin-multiplatform/detekt.yml | YAML reformatting of exclude lists |
| kotlin-multiplatform/.../SetSyncStatusUseCase.kt | Updates exception type to DittoException |
| kotlin-multiplatform/.../DittoManager.kt | Updates to newer Ditto Kotlin APIs (sync/auth/store/observe) |
| kotlin-multiplatform/.../DittoTaskRepository.kt | Adjusts observer pipeline to new transform-capable observe API |
| kotlin-multiplatform/.../DittoManager.android.kt | Updates Android factory usage (no explicit context wiring) |
| kotlin-multiplatform/composeApp/build.gradle.kts | Bumps Ditto Kotlin + binaries to 5.0.2 |
| javascript-web/package.json | Bumps @dittolive/ditto to 5.0.2 |
| javascript-tui/tests/integration_test.js | Formatting-only |
| javascript-tui/source/cli.js | Formatting-only |
| javascript-tui/README.md | JSON formatting in docs |
| javascript-tui/prettier.config.js | Replaces ESM prettier config with CJS variant |
| javascript-tui/prettier.config.cjs | New CJS prettier config |
| javascript-tui/package.json | Bumps @dittolive/ditto to 5.0.2; removes unused dev dep; formatting |
| javascript-tui/.prettierignore | Ignores package-lock.json in formatting checks |
| java-server/settings.gradle.kts | Updates foojay toolchain resolver plugin version |
| java-server/java-spring-maven/pom.xml | Bumps Ditto Java + binaries to 5.0.2 |
| java-server/build.gradle.kts | Bumps Ditto Java + binaries to 5.0.2 |
| global.json | Adds quickstart-local SDK pin for .NET 10 toolchain |
| flutter_app/test/widget_test.dart | Formatting-only in tests |
| flutter_app/test/dql_safety_test.dart | Adds static regression test ensuring parameterized DQL (no interpolation) |
| flutter_app/pubspec.yaml | Bumps ditto_live to 5.0.2; YAML quote/indent cleanup |
| flutter_app/lib/main.dart | Formatting-only; minor layout/line wrap changes |
| flutter_app/lib/dql_builder.dart | Formatting-only |
| flutter_app/lib/dialog.dart | Formatting-only |
| flutter_app/integration_test/app_test.dart | Formatting-only |
| flutter_app/android/gradlew.bat | Line ending/format normalization |
| flutter_app/android/build.gradle | Skips afterEvaluate for already-evaluated :app to avoid Gradle 8.10 error |
| electron/tsconfig.web.json | Formatting-only (include on one line) |
| electron/tailwind.config.js | Formatting-only (content array on one line) |
| electron/package.json | Bumps @dittolive/ditto to 5.0.2 |
| dotnet-winforms/TasksApp/Program.cs | Formatting-only |
| dotnet-winforms/TasksApp/DittoTasksApp.csproj | Bumps Ditto NuGet to 5.0.2 |
| dotnet-winforms/IntegrationTest/Program.cs | Formatting-only |
| dotnet-winforms-net48/ToDoTask.cs | Formatting-only |
| dotnet-winforms-net48/Taskapp.WinForms.Net48.sln | Formatting-only |
| dotnet-winforms-net48/Properties/Settings.settings | Formatting-only |
| dotnet-winforms-net48/Properties/Settings.Designer.cs | Formatting-only |
| dotnet-winforms-net48/Properties/Resources.resx | Formatting-only |
| dotnet-winforms-net48/Properties/Resources.Designer.cs | Formatting-only |
| dotnet-winforms-net48/Properties/AssemblyInfo.cs | Formatting-only |
| dotnet-winforms-net48/Program.cs | Formatting-only |
| dotnet-winforms-net48/packages.config | Bumps Ditto packages to 5.0.2 |
| dotnet-winforms-net48/MainForm.resx | Formatting-only |
| dotnet-winforms-net48/MainForm.Designer.cs | Formatting-only |
| dotnet-winforms-net48/App.config | Formatting-only |
| dotnet-winforms-net48/.env.sample | Formatting-only |
| dotnet-tui/DittoDotNetTasksConsole/TasksPeer.cs | Formatting-only |
| dotnet-tui/DittoDotNetTasksConsole/DittoDotNetTasksConsole.csproj | Bumps Ditto NuGet to 5.0.2 |
| dotnet-tui/DittoDotNetTasksConsole.Tests/IntegrationTests.cs | Formatting-only |
| dotnet-tui/DittoDotNetTasksConsole.Tests/DittoDotNetTasksConsole.Tests.csproj | Bumps Ditto NuGet to 5.0.2 |
| dotnet-maui/UITests.Shared/TaskSearchTests.cs | Formatting-only |
| dotnet-maui/UITests.Shared/BaseTest.cs | Formatting-only |
| dotnet-maui/UITests.iOS/Program.cs | Formatting-only |
| dotnet-maui/UITests.iOS/iOSTaskSearchTests.cs | Formatting-only |
| dotnet-maui/UITests.Android/Program.cs | Formatting-only |
| dotnet-maui/UITests.Android/AndroidTaskSearchTests.cs | Formatting-only |
| dotnet-maui/DittoMauiTasksApp/Views/TasksPage.xaml.cs | Formatting-only |
| dotnet-maui/DittoMauiTasksApp/Views/TasksPage.xaml | Formatting-only |
| dotnet-maui/DittoMauiTasksApp/Utils/PopupService.cs | Formatting-only |
| dotnet-maui/DittoMauiTasksApp/Platforms/MacCatalyst/Program.cs | Formatting-only |
| dotnet-maui/DittoMauiTasksApp/Platforms/MacCatalyst/AppDelegate.cs | Formatting-only |
| dotnet-maui/DittoMauiTasksApp/MauiProgram.cs | Formatting-only |
| dotnet-maui/DittoMauiTasksApp/DittoMauiTasksApp.csproj | Bumps Ditto NuGet to 5.0.2 |
| cpp-tui/taskscpp/tests/run_tests.sh | Formatting-only |
| cpp-tui/taskscpp/tests/integration_test.cpp | Updates TasksPeer usage/API + formatting |
| cpp-tui/taskscpp/src/tasks_peer.h | Updates constructor signature (removes websocket/cloud-sync params) |
| cpp-tui/taskscpp/src/tasks_peer.cpp | Updates to newer Ditto C++ config/auth/sync APIs |
| cpp-tui/taskscpp/src/tasks_log.h | Removes log-file APIs from wrapper surface |
| cpp-tui/taskscpp/src/tasks_log.cpp | Switches wrappers from ditto::Log to ditto::Logger; removes log-file support |
| cpp-tui/taskscpp/src/main.cpp | Removes websocket/logfile options; aligns with new TasksPeer ctor |
| cpp-tui/taskscpp/Makefile | Bumps Ditto C++ SDK version to 5.0.2 |
| android-kotlin/QuickStartTasks/gradle/libs.versions.toml | Bumps Ditto Android Kotlin version to 5.0.2 |
| android-java/gradle/libs.versions.toml | Bumps Ditto Android Java version to 5.0.2 |
| .github/browserstack-devices.yml | Normalizes YAML quoting/style |
| .github/actions/seed-ditto-document/action.yml | Changes seed action inputs/behavior; adds host override + stricter bash flags |
Comments suppressed due to low confidence (1)
scripts/bump-versions.js:1
- This script is deleted, but it is still invoked by
.github/workflows/update-sdk-versions.yml(node scripts/bump-versions.js ...). That workflow will fail unless either the script is restored or the workflow is updated to use the new publishing mechanism.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Comment on lines
5
to
+9
| inputs: | ||
| ditto-api-key: | ||
| description: 'Ditto API key for authentication' | ||
| ditto-app-id: | ||
| description: 'Ditto App ID' | ||
| required: true | ||
| ditto-api-url: | ||
| description: 'Ditto API URL (e.g., cloud.ditto.live)' | ||
| ditto-playground-token: |
Comment on lines
52
to
56
| # Insert document using Ditto API v4 | ||
| RESPONSE=$(curl -s -w "\n%{http_code}" -X POST \ | ||
| DITTO_HOST="${{ inputs.ditto-api-url }}" | ||
| DITTO_HOST="${DITTO_HOST:-${{ inputs.ditto-app-id }}.cloud.ditto.live}" | ||
| RESPONSE=$(curl -sS -w "\n%{http_code}" -X POST \ | ||
| -H 'Content-type: application/json' \ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Publishes the Quickstart apps for SDK version 5.0.2. Opened automatically by the Quickstart Publish workflow.