Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@dario-piotrowicz
Copy link
Member

Backport for #11651

@dario-piotrowicz dario-piotrowicz requested a review from a team as a code owner December 15, 2025 17:47
@dario-piotrowicz dario-piotrowicz added the skip-pr-description-validation Skip validation of the required PR description format label Dec 15, 2025
@changeset-bot
Copy link

changeset-bot bot commented Dec 15, 2025

🦋 Changeset detected

Latest commit: 62cc34e

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
wrangler Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@github-project-automation github-project-automation bot moved this to Untriaged in workers-sdk Dec 15, 2025
@dario-piotrowicz dario-piotrowicz changed the title fix: improve error message for Date values in wrangler.toml vars V3 Backport: fix: improve error message for Date values in wrangler.toml vars Dec 15, 2025
TOML parses unquoted date values like DATE = 2024-01-01 as Date objects.
Previously this caused a confusing error from Miniflare. Now wrangler
automatically converts Date values to ISO date strings (YYYY-MM-DD format)
and shows a warning suggesting to wrap the value in quotes.

Co-authored-by: Dario Piotrowicz <[email protected]>
@dario-piotrowicz dario-piotrowicz changed the title V3 Backport: fix: improve error message for Date values in wrangler.toml vars V3 Backport: fix: Automatically convert TOML Date values in vars to strings Dec 15, 2025
@dario-piotrowicz
Copy link
Member Author

The original PR hasn't been merged and I don't think it's unlikely to be merged + released in 2025, so probably this v3 backport PR is not necessary

@github-project-automation github-project-automation bot moved this from Untriaged to Done in workers-sdk Dec 17, 2025
@dario-piotrowicz dario-piotrowicz deleted the v3-backport-11651 branch December 17, 2025 14:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

skip-pr-description-validation Skip validation of the required PR description format

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant