Skip to content

chore(deps): update topcoat requirement from =0.8.0 to =0.9.0 - #21

Open
dependabot[bot] wants to merge 1 commit into
devfrom
dependabot/cargo/topcoat-eq-0.9.0
Open

dependabot[bot] wants to merge 1 commit into
devfrom
dependabot/cargo/topcoat-eq-0.9.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Sep 28, 2026

Copy link
Copy Markdown
Contributor

Updates the requirements on topcoat to permit the latest version.

Release notes

Sourced from topcoat's releases.

v0.9.0

Server push with live! and connected

Keep server-rendered content updating after the page finishes loading. live! and emit! render the updates; connected(cx) asks Topcoat to keep them flowing over a WebSocket.

Here's the chat example. Its Chat app state stores messages and notifies subscribers when a message arrives:

use topcoat::{
    Result,
    context::{Cx, app_context},
    runtime::{connected, shard},
    view::{View, emit, live},
};
#[shard]
async fn chat_box(cx: &Cx) -> Result<impl View> {
Ok(live! {
let chat = app_context::<Chat>(cx);
let mut changed = chat.subscribe();
loop {
let token = emit! {
<ul>
for message in chat.messages() {
<li>(message)</li>
}
</ul>
}?;
if !connected(cx) {
break Ok(token);
}
changed.recv().await.ok();
}
})
}

The HTTP render shows the current messages and finishes. The browser then connects and runs the shard again with connected(cx) == true. Send a message in one tab and every connected tab updates.

... (truncated)

Commits
  • 96e8f9e ci: fix release-plz
  • d5e215c chore: release v0.9.0 (#409)
  • bcf3457 feat(runtime): support websocket connection scoped to shards (#445)
  • 0792dc7 feat(runtime): support streaming for shards (#444)
  • 91614c0 feat(runtime): add WebSocket connections for streaming live updates (#443)
  • f55827a feat(runtime): make procedure and shard paths customizable (#441)
  • 2128998 feat(runtime): rewrite pages reruns without changing the URL (#440)
  • d0ada17 docs: rewrite all docs 3 (#439)
  • 0b2c7c1 feat(view): suspense mode (#436)
  • e3a25af docs(skills): add test style
  • Additional commits viewable in compare view

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Updates the requirements on [topcoat](https://github.com/tokio-rs/topcoat) to permit the latest version.
- [Release notes](https://github.com/tokio-rs/topcoat/releases)
- [Changelog](https://github.com/tokio-rs/topcoat/blob/main/release-plz.toml)
- [Commits](tokio-rs/topcoat@v0.8.0...v0.9.0)

---
updated-dependencies:
- dependency-name: topcoat
  dependency-version: 0.9.0
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot @github

dependabot Bot commented on behalf of github Sep 28, 2026

Copy link
Copy Markdown
Contributor Author

Labels

The following labels could not be found: dependencies, rust. Please create them before Dependabot can add them to a pull request.

Please fix the above issues or remove invalid values from dependabot.yml.

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.

0 participants