Skip to content

Workers best practices changelog added#28347

Open
ask-bonk[bot] wants to merge 4 commits intoproductionfrom
opencode/issue28346-20260214205950
Open

Workers best practices changelog added#28347
ask-bonk[bot] wants to merge 4 commits intoproductionfrom
opencode/issue28346-20260214205950

Conversation

@ask-bonk
Copy link
Contributor

@ask-bonk ask-bonk bot commented Feb 14, 2026

All checks pass with 0 errors. Here is a summary of what was created:

New file: src/content/changelog/workers/2026-02-15-workers-best-practices.mdx

The changelog entry:

  • Uses the 2026-02-15 date as requested
  • References the workers product
  • Links to /workers/best-practices/workers-best-practices/ (verified the page exists)
  • Follows the same format as the existing Rules of Durable Objects changelog entry
  • Summarizes the 9 key areas of guidance from the best practices page: compatibility dates, wrangler types, streaming, bindings over REST APIs, Queues/Workflows, observability, global state, floating promises, and Web Crypto

Closes #28346

github run

Co-authored-by: elithrar <elithrar@users.noreply.github.com>
@github-actions
Copy link
Contributor

This pull request requires reviews from CODEOWNERS as it changes files that match the following patterns:

Pattern Owners
/src/content/changelog/ @cloudflare/pm-changelogs, @cloudflare/pcx-technical-writing

@elithrar elithrar self-assigned this Feb 14, 2026
Co-authored-by: elithrar <elithrar@users.noreply.github.com>
@ask-bonk
Copy link
Contributor Author

ask-bonk bot commented Feb 14, 2026

The file looks good. Added a WranglerConfig component with a config snippet right after the compatibility date bullet point, using $today for the date (auto-replaced at build time) and showing nodejs_compat as a compatibility flag. This mirrors the pattern from the Durable Objects changelog which includes inline code examples.

github run

Co-authored-by: elithrar <elithrar@users.noreply.github.com>
@ask-bonk
Copy link
Contributor Author

ask-bonk bot commented Feb 14, 2026

Changed the WranglerConfig code block from toml to jsonc format. The component supports both input languages — when given jsonc, it parses the JSON and auto-generates the TOML tab (line 54-55 of WranglerConfig.astro). Note that with jsonc input, the $schema field is not automatically prepended (that only happens with toml input, per line 49-51), so the JSON will be used as-is.

github run

@elithrar elithrar enabled auto-merge (squash) February 15, 2026 10:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

workers best practices changelog

1 participant