This is our anniversary issue—we've been around for a year 🍰 And we’re not gonna stop! Thanks for following us ❤️
Highlights
AnyCable v1.4: reliable real-time features for apps of any size
We shared a sneak preview of AnyCable 1.4 in the previous issue. This blog post is an official announcement that provides a detailed overview of new features and explains the motivation behind them. To dive deeper into the most significant features of this release, check out the following Twitter threads: reliable streams, RPC over HTTP, fallback transports.
The first ever Rails World conference is coming to Amsterdam in October! The programme has been just revealed. It’s full of Hotwire-related topics and one talk of a particular interest for this newsletter—”Untangling Cables and Demystifying Twisted Transistors” from Vladimir Dementyev (myself 🙂). Another spot in the schedule I’d like to highlight is “Wildest Dreams of Making Profit on Open Source“ talk by Ira Nazarova, Evil Martians and AnyCable CEO—expect some backstage stories about AnyCable PRO and other commercial opens-source projects by 👽.
News
Turbo makes a step towards building progressive web applications (PWA) the Rails Way. The work-in-progress PR extends the current Turbo caching functionality to support different cache backends (not only in-memory one, like right now). That would make possible to persist cache between browser sessions potentially bringing offline support to Turbo.
Rails 7.1 introduces the #capture_broadcasts test helper
With this helper, you can perform more sophisticated assertions against the broadcasted messages. For example, you can verify Turbo Streams contents:
Video
Revisiting AnyCable’s past, playing with new features, and talking about what’s coming next to AnyCable.
Releases
AnyCable Browser Playground is a very new developer tool we’ve built to experiment with different anycable-client features right in the browser (you can see it in action in the meetup recording linked above). It’s in early alpha stage, a lot of things to be done to make a universal control panel for cables, but it’s already useful today. PRs are welcomed!
We continue shipping minor improvements to AnyCable. The very recent release comes with configurable graceful shutdown timeout in OSS version and the slow drain shutdown mode in PRO.
turbo_boost-commands · 0.0.12
The most important features of this release is a new documentation website. Some articles are still in development though.
Twelve frames of curiosity
This is a year in review version of our regular column. We picked some resources (videos, blogs posts, libraries) worth revisiting (one from each issue + a bonus one):
📖 Multi-tenancy vs. Cables:
Introducing Action Cable command callbacks📖 WebSocket Director: scenario-based integration tests for realtime apps
📡 StimulusReflex Discord—join the community of people passionate about modern ways of building reactive web applications!