Skip to content

Pulsar Pug

Latest

Choose a tag to compare

@hsimah hsimah released this 11 Oct 19:45
4bef085

Clog 1.2 serves initial route data to every signed-in viewer by default.

  • Always-on initial route data: each route's page query runs on the server as the signed-in viewer and is inlined into the HTML, so Relay renders without a duplicate GraphQL POST. The CLOG_SSR setting is removed and no configuration is needed. Anonymous requests still get the plain HTML shell.
  • Consistent error handling: inlined and fetched GraphQL responses go through the same check. A resolver error on a direct page load now shows the retryable alert instead of an empty list.
  • tsquid 0.3.0: route UI loads through tsquid's lazyResource, and the local RouteResource/RouteState helpers and stale generated Relay artifacts are removed.
  • Tests: new coverage for errors on a direct load and for real server-side resolver failures. The SSR browser tests now run in the default suite.

Upgrading from 1.1: if your deployment sets CLOG_SSR, it is now ignored and can be removed. SQLite stays at schema version 4, with no migration.

Download clog-standalone.tar.gz from this release. The release workflow builds and verifies the archive before attaching it. Deploy through loft-ctl deploy clog after updating the release pin; that deploy backs up the database and runs the installer.

Full changelog: 1.1...1.2