Repository navigation
feat: offer UI bridge 1.3.0 for remotely rendered apps - #636
Merged
Merged
Conversation
Raise the SDK crates to 1.7.0 and offer protocol 1.3.0 in the core and the release requirements, now that the platform draws every UI kit v1 element. Apps negotiate the lower bound of each requires range, so apps that require an older platform API, app protocol or UI bridge keep exactly that version and never receive remote rendering or toasts. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Contributor
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 56 minutes. View limit details
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. |
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
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.
Summary
The platform now offers UI bridge 1.3.0, with platform API and app protocol 1.3.0, so apps from SDK 1.7.0 that render remotely can be installed. This completes the platform side of #626 (slices 2 to 4: #633, #634, #635).
Merge after #635. Before that, a release would accept 1.3.0 apps whose tables, charts and status strips it cannot draw yet.
Changes
core/Cargo.toml:rentnerproxy-app-catalog,-app-contracts,-app-pipelineand-artifactsgo from 1.5.0 to 1.7.0;Cargo.lockchanges only these four crates.core/src/app_install.rs:PROTOCOL_VERSIONis 1.3.0. A test keeps it equal to the protocol of the contracts crate.web/src/config/app-requirements.config.ts:platformApi,appProtocolanduiBridgeare 1.3.0. The release requirements test keeps it equal to the core constant.core/tests/private/app_install.rsandapp_ipc.rsfollow the pattern of feat(apps): offer protocol 1.2.0 and send the user's permission keys to app UIs #620:Compatibility
Apps negotiate the lower bound of each
requiresrange. An app that requires>=1.0.0,>=1.1.0or>=1.2.0keeps exactly that version. The host only honoursrendering: "remote"andtoastfor a negotiated UI bridge of 1.3.0 or newer, so existing apps behave as before.Checks
rust:1.99.1-bookworm):cargo test1,152 + 7 pass, 27 ignored, 0 failed;cargo clippy --all-targets --all-features -D warningsclean🤖 Generated with Claude Code