Skip to content

Commit 824af06

Browse files
committed
Upgrade markdown release
1 parent 15fc681 commit 824af06

5 files changed

Lines changed: 13 additions & 499 deletions

File tree

docs/cloudflare-workers-migration.md

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ TanStack.com is configured as a Cloudflare Workers deployment for this branch. N
1313
- `src/routes/api/builder/*`, `src/components/builder/*`: builder deploy/download path uses browser-generated files; direct server-generation endpoints return explicit 501 on Workers.
1414
- `src/routes/*`, `src/utils/*`, `src/server/*`: CDN cache headers moved from Netlify-specific headers to portable `CDN-Cache-Control` / `Cache-Tag`.
1515
- `src/utils/markdown/processor.ts`: site-side compatibility guard for escaped angle brackets in generated TypeDoc markdown until `@tanstack/markdown` handles `\<...\>` as escaped text.
16-
- `patches/@tanstack__markdown@0.0.4.patch`, `pnpm-workspace.yaml`, `pnpm-lock.yaml`: temporary `@tanstack/markdown` patch for compact table delimiters, footnotes, and legacy single-tilde strike headings until an upstream package release is available.
16+
- `package.json`, `pnpm-lock.yaml`: `@tanstack/markdown@0.0.5` for compact table delimiters, footnotes, and legacy single-tilde strike headings without the temporary pnpm patch.
1717
- Removed hosting-only Netlify files: `netlify.toml`, `netlify/functions/*`, `scripts/run-built-server.mjs`.
1818

1919
## Commands Used
@@ -25,21 +25,19 @@ pnpm run build:cloudflare
2525
pnpm test
2626
pnpm run deploy:cloudflare
2727
pnpm run preview:cloudflare -- --host 127.0.0.1 --port 3001
28-
pnpm patch @tanstack/markdown@0.0.4
29-
pnpm patch-commit node_modules/.pnpm_patches/@tanstack/markdown@0.0.4
30-
pnpm install --force
28+
pnpm install
3129
```
3230

33-
Additional checks used `curl`, Node fetch scripts, Wrangler tail, and Playwright with system Chrome against the Workers preview URL. The local `/Users/tannerlinsley/GitHub/markdown` package source was also checked with `pnpm run typecheck`, `pnpm test`, and `pnpm run build` before refreshing the site patch.
31+
Additional checks used `curl`, Node fetch scripts, Wrangler tail, and Playwright with system Chrome against the Workers preview URL.
3432

3533
## Worker
3634

3735
- Account: `8da95258a9c70b54c3e2b374a0079106`
3836
- Worker: `tanstack-com`
3937
- URL: `https://tanstack-com.thetanstack.workers.dev`
40-
- Current version: `3e098f31-77b6-44bf-ba39-d5c4617977ae`
38+
- Current version: `586b99ec-4a2c-46d2-b3b3-eb775de13141`
4139
- Upload size: `14609.48 KiB` raw, `4736.36 KiB` gzip
42-
- Startup time: `33 ms`
40+
- Startup time: `29 ms`
4341
- Note: the secret-bearing `tanstack-com-staging` Worker was renamed to `tanstack-com`, and the older empty `tanstack-com` Worker was removed.
4442

4543
## Passed
@@ -69,7 +67,7 @@ Additional checks used `curl`, Node fetch scripts, Wrangler tail, and Playwright
6967
- `/db/latest/docs/collections/powersync-collection` parses 24 content tables.
7068
- `/start/latest/docs/framework/react/migrate-from-next-js` headings render as `Server Actions Functions` and `Server Routes Handlers`.
7169
- `/blog/tanstack-router-signal-graph` renders footnotes with `data-footnotes` and production-compatible footnote anchors.
72-
- Live Worker rechecks against production passed for the same table, heading, and footnote signals after deploying version `3e098f31-77b6-44bf-ba39-d5c4617977ae`.
70+
- Live Worker rechecks against production passed for the same table, heading, and footnote signals after deploying version `586b99ec-4a2c-46d2-b3b3-eb775de13141`.
7371
- Three full-body rechecks of 43 URLs that intermittently returned Worker 500/timeout during the high-concurrency audit cleared; the only stable non-200s were `/hotkeys/latest/docs/reference` and `/pacer/latest/docs/reference`, both 404 on production and Worker.
7472

7573
## Failed Or Not Proven
@@ -110,7 +108,7 @@ Resolved markdown differences from the broad audit:
110108
Remaining markdown differences observed during audit:
111109

112110
- Production duplicates light/dark code blocks; the Worker branch renders one theme-aware code block. This explains large HTML-size and `<pre>` count differences.
113-
- The `@tanstack/markdown` fixes are currently carried as a pnpm patch in this branch. Replace it with the next published package version once upstream includes the same behavior.
111+
- The temporary `@tanstack/markdown@0.0.4` pnpm patch has been removed after upgrading to `@tanstack/markdown@0.0.5`.
114112

115113
## Readiness
116114

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@
6161
"@tanstack/ai-openai": "^0.9.5",
6262
"@tanstack/create": "^0.68.3",
6363
"@tanstack/highlight": "^0.0.2",
64-
"@tanstack/markdown": "0.0.4",
64+
"@tanstack/markdown": "^0.0.5",
6565
"@tanstack/pacer": "^0.21.1",
6666
"@tanstack/react-hotkeys": "^0.10.0",
6767
"@tanstack/react-pacer": "^0.22.1",

0 commit comments

Comments
 (0)