Release notes are curated from repository history. Dates reflect integration into the main branch; grouped entries are not semantic-version tags. Each entry links to its implementation and current developer guide.
Changelog
New features, architectural changes and improvements to the template.
First-party analytics in the admin, counted without cookies
Page, screen and event counts kept by our own server without cookies or identifiers, rolled up by the cron, and shown on /admin/analytics with a Bklit chart, annotations and optional Cloudflare numbers.
- Counting without cookies.
POST /api/events, the analytics relay, counts page views from the site and the web app and screen views from the mobile app: the path without its query (exceptutm_*), or the route pattern on signed-in screens and in the app, the referrer's host, the country from the edge and device and browser codes. No cookie, storage, IP address, user agent or id is kept; bots and automated browsers count nothing. The web client is about 0.8 KB gzip and starts after hydration. A database rate limit keyed by an HMAC of the address works on Node as on Workers. Mixpanel or PostHog can be added later as providers that only receive batches sent with consent; none ships (18a7aff6, 4555bb3d, 149735df). Confirm the cookieless counting with your data protection owner before launch. Analytics explains what is kept and why. - Totals in Postgres, folded by the cron. Raw events live for 30 days; the one-minute tick folds them into daily tables exactly once under a lease and a watermark, writes one release annotation per new Worker version, and, with
CLOUDFLARE_ANALYTICS_TOKENandCLOUDFLARE_ANALYTICS_ZONE_ID, syncs Cloudflare's zone totals every 30 minutes. Every analytics table denies the tenant role, proved in the RLS matrix (d404855c). - Days in your time zone.
ANALYTICS_TIME_ZONE(an IANA name such asAmerica/Sao_Paulo,UTCwhen unset) cuts the days of the rollup, the raw retention, the admin page and the Cloudflare sync's window, daylight saving time included. Changing it is safe at any time: the new zone starts at its next midnight, days already counted keep their hours, nothing is counted twice, and the admin page notes the switch. Cloudflare's own numbers stay on Cloudflare's UTC dates, and the CF card says so (3ec1df1a, bb4e786e, 08816323). Days and the time zone. /admin/analytics. Platform admins see the period's views, events, countries, active sources, the share with consent and Cloudflare's unique visitors (both dimmed, the latter marked "CF"), views per day stacked by source with imported days hatched, release markers and campaign bands, annotations they can add or delete, and the top pages, countries, referrers and events (4555bb3d, 97c35587).- Bklit charts in
packages/ui. The first Bklit components in the template: the composed chart, markers, reference area and sparkline, withmotion14.14.0 andd3-array,d3-scaleandd3-shape; the chart roles are theme tokens (47163f57). Bundle cost:docs/measurements/2026-11-27-admin-analytics.md.
Brazilian Portuguese as the fourth language
pt-BR joins English, German and French in every catalog: web, mobile, error messages and account emails, with public pages under /br, share cards, push texts and the language pickers. A phone set to Brazilian Portuguese now opens the app in Portuguese instead of English.
- Every catalog.
apps/web/src/locales/pt-BR.ts,apps/mobile/src/locales/pt-BR.ts,packages/errors/src/locales/pt-BR.tsandpackages/email/src/locales/pt-BR.tshold the same keys and placeholders as English, written with "você" and Brazilian vocabulary. The parity, placeholder and bundle-marker tests cover the fourth catalog. The text was machine-assisted and still needs a native review before a client ships it. See Internationalization. - Public pages under
/br.locale.config.tsadds"pt-BR"with the slugbr:/br/privacyis the Portuguese page,?lang=pt-BR,?lang=pt_brand?lang=ptanswer a 301 to it,/pt-BR/privacyredirects to/br/privacy, andAccept-Language: pt-BRsends a first visit from/to/br. Hreflang, the sitemap,og:locale(pt_BR), the share cards,/br/index.mdand the language switcher include it. URL segments stay untranslated and English stays the default. See SEO and discovery. - The phone's language. The app read only the device's language code, so a phone in
pt-BRreportedpt, matched no language and opened in English.languageForDevicenow matches the device's preferred locales by full tag first, throughmatchLanguagefrom@template-cloudflare/intl. Push reminders register in the app's full language (pt-BR) instead of its first two letters, and the settings picker lists Português (Brasil). - Emails and notifications. Account emails write dates as
11 de julho de 2026, 12:34 UTC;PUSH_LOCALESand the reminder text includept-BR(the column is plain text, so no migration). - Landing. The language list and the i18n illustration name Portuguese. The four product captures have no Portuguese version yet, so
/brshows the English ones with Portuguese alternative text.
Error reports reach a locked-down tracker only through the Worker
The Worker alone holds the tracker's ingest key; the browser and the Expo app send through /api/errors/tunnel, which forwards an allowlist of DSNs.
- An ingest key only the Worker holds. A tracker can now refuse every envelope that lacks a secret header. Set
ERROR_REPORTING_INGEST_KEYas a Worker secret, at least 32 characters (header nameERROR_REPORTING_INGEST_HEADER, defaultX-Rustrak-Ingest-Key). It goes only to the host ofERROR_REPORTING_DSN, over HTTPS: the Worker's own SDK sends it and no longer follows redirects, and no client bundle or response carries it. Without a key nothing changes against an open tracker. See error reporting. (bb2996b, 126c597) - One tunnel for the browser and the app.
POST /api/errors/tunnelforwards envelopes whose DSN names the host and project of one inERROR_REPORTING_TUNNEL_DSNS(comma-separated) orVITE_ERROR_REPORTING_DSN, and answers 403 to any other before counting it. It adds the ingest header for the Worker's own tracker, uses the allowed DSN's own key, caps bodies at 256 KB, never follows a redirect and keeps the database limit of 30 a minute per User or address. (bb2996b) - The Expo app posts to the Worker. Errors go to
${EXPO_PUBLIC_SERVER_URL}/api/errors/tunnel, never to the tracker. The native SDKs cannot use a tunnel, so they stay off: JS errors are reported, native crashes no longer are. Add the app's DSN toERROR_REPORTING_TUNNEL_DSNS. (42100e8) - A locked-down ingest host.
deploy/error-trackergains thelockedprofile: Caddy in front of Rustrak passes onlyPOST /api/<id>/envelope/with the ingest key and sentry-cli uploads with their token, answers 403 to an envelope without the key and 404 to the rest. The README also describes a dashboard reachable only on a Tailscale tailnet. A local run proved the Worker's event, a browser error and an app envelope through the tunnel, a foreign DSN refused, and no key in any stored event. (1ce77d2)
Earlier releases
- Error reporting to a self-hosted tracker, off until a DSN is set
- Pix, card and boleto with Pagar.me; Stripe and Polar review
- Production guide and restore drill
- RevenueCat ready to use: webhooks RevenueCat counts as delivered, session-long store identity, Paywall and Customer Center
- Roles, permissions and consent for sensitive data
- Upstream shadcn and ReUI fixes, ui-sdk beta.17, and OpenUI in a lab page
- Email, push and outbound webhooks leave the deployed Worker again
- Worst-case data, frame budgets and a slop audit in the UI recipe
- oRPC 2.0.0-beta.53 and ui-sdk 0.1.0-beta.16
- Previews skip email verification
- A recipe for polished web views, and fifteen more design sources
- Repo notes that survive a skills update, and every vendored skill on its latest upstream
- e2e 0.24, RevenueCat 11 and every dependency at its newest release
- Job deadlines work through transaction poolers
- End-to-end tests on one local stack that a killed run never leaves behind
- Dependencies at their latest releases, and docs Markdown on the new Fumadocs
- An agent on the live page asks the person first
- Agents can see the textarea, fields, OTP, command, calendar, carousel, resizable, tree and rating
- ui-sdk under the UI kit, and a dependency round
- Web screens follow ui-sdk's own skill
- Security and backend quick wins
- Authentication rate limits
- Server session cache
- Bklit is the only chart library, Stageshow the only way to draw product UI
- Signed-in navigation no longer waits on the session read
- Skullet is the only way to draw a loading skeleton
- Agent skills from upstream, Expo's renamed skills, and three updates held back
- Code is written in English
- The consent banner paints from the HTML, repeat visits skip revalidation, and real Web Vitals
- Dates in your time zone, without a hydration error
- Public pages paint before any JavaScript arrives
- Better Auth 1.7.16 security fix and dependency round
- Animated assistant approval on the landing, and a design patterns page
- Loading skeletons drawn from the real components
- Invitations are not a mail relay
- MCP Apps widget, approval status and plugin marketplaces
- One URL per language
- Account emails in React Email, in English, German and French
- Share cards, Markdown negotiation and one site identity
- TanStack AI 1.0, password forms and iPhone Duo
- Agent skills from upstream and the /pr template
- Ponytail from the official plugin
- One folder per backend feature, tagged errors and written rules
- One folder per mobile feature, and the API aliases are gone
- The web app is organized by feature, like the backend
- Auth and tenant security fixes
- Database, Worker and web performance
- Row-level security per Organization
- AI assistant and one tool catalog
- Dependency round, i18next fix and ReUI controls
- Developer documentation and changelog
- Documents and large uploads
- Landing page redesign
- Landing sections and project skills
- Trace and code block primitives
- TanStack Start 1.0, OG images and durable imports
- Payments, native screens and a new landing page
- Runtime and recovery hardening
- Authentication foundations and performance
- Platform dependency alignment
- oRPC and Drizzle upgrades
- Typed domain operations and a real dashboard
- Agent connections and native account security
- Cloudflare email and shared UI
- An enforced client/server boundary
- Native interface foundations
- Administration and data workflows
- Setup, storage and localization
Edit on GitHubDocumentation is in English.