Skip to content

Conversation

@roerohan
Copy link
Contributor

@roerohan roerohan commented Dec 9, 2025

Summary

persistState accepts a { path: '...' } object and not a string.

type PersistState = boolean | {
  path: string;
};

Screenshots (optional)

image

Documentation checklist

  • Is there a changelog entry (guidelines)? If you don't add one for something awesome and new (however small) — how will our customers find out? Changelogs are automatically posted to RSS feeds, the Discord, and X.
  • The change adheres to the documentation style guide.
  • If a larger change - such as adding a new page- an issue has been opened in relation to any incorrect or out of date information that this PR fixes.
  • Files which have changed name or location have been allocated redirects.

@github-actions
Copy link
Contributor

github-actions bot commented Dec 9, 2025

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

Pattern Owners
/src/content/docs/workers/ @cloudflare/workers-docs, @GregBrimble, @irvinebroque, @mikenomitch, @korinne, @WalshyDev, @cloudflare/deploy-config, @cloudflare/pcx-technical-writing, @cloudflare/wrangler, @cloudflare/workers-runtime-1, @mattietk

@roerohan roerohan enabled auto-merge (squash) December 12, 2025 08:57
@roerohan roerohan merged commit 315b81f into production Dec 12, 2025
12 checks passed
@roerohan roerohan deleted the persist-state-path branch December 12, 2025 09:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

product:workers Related to Workers product size/xs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants