Use today as the compat date instead of relying on the actual workerd compat date#13051
Use today as the compat date instead of relying on the actual workerd compat date#13051dario-piotrowicz merged 8 commits intomainfrom
Conversation
🦋 Changeset detectedLatest commit: d3d3efd The changes in this PR will be included in the next version bump. 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 |
|
This comment was marked as outdated.
This comment was marked as outdated.
create-cloudflare
@cloudflare/kv-asset-handler
miniflare
@cloudflare/pages-shared
@cloudflare/unenv-preset
@cloudflare/vite-plugin
@cloudflare/vitest-pool-workers
@cloudflare/workers-editor-shared
wrangler
commit: |
b777740 to
dac44eb
Compare
c671d7e to
14305fe
Compare
|
Codeowners approval required for this PR:
Show detailed file reviewers |
49b266b to
680b091
Compare
petebacondarwin
left a comment
There was a problem hiding this comment.
A few nits but LGTM
07e103f to
8163340
Compare
Co-authored-by: devin-ai-integration[bot] <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Co-authored-by: Pete Bacon Darwin <pete@bacondarwin.com>
Co-authored-by: Pete Bacon Darwin <pete@bacondarwin.com>
4fa9bf7 to
d3d3efd
Compare
workers-devprod
left a comment
There was a problem hiding this comment.
Codeowners reviews satisfied
… compat date (#13051) Co-authored-by: devin-ai-integration[bot] <158243242+devin-ai-integration[bot]@users.noreply.github.com> Co-authored-by: Pete Bacon Darwin <pete@bacondarwin.com>
… compat date (#13051) Co-authored-by: devin-ai-integration[bot] <158243242+devin-ai-integration[bot]@users.noreply.github.com> Co-authored-by: Pete Bacon Darwin <pete@bacondarwin.com>
This PR contains the following updates: | Package | Change | [Age](https://docs.renovatebot.com/merge-confidence/) | [Confidence](https://docs.renovatebot.com/merge-confidence/) | |---|---|---|---| | [astro](https://astro.build) ([source](https://github.com/withastro/astro/tree/HEAD/packages/astro)) | [`6.1.4` → `6.1.5`](https://renovatebot.com/diffs/npm/astro/6.1.4/6.1.5) |  |  | --- ### Release Notes <details> <summary>withastro/astro (astro)</summary> ### [`v6.1.5`](https://github.com/withastro/astro/blob/HEAD/packages/astro/CHANGELOG.md#615) [Compare Source](https://github.com/withastro/astro/compare/astro@6.1.4...astro@6.1.5) ##### Patch Changes - [#​16171](withastro/astro#16171) [`5bcd03c`](withastro/astro@5bcd03c) Thanks [@​Desel72](https://github.com/Desel72)! - Fixes a build error that occurred when a pre-rendered page used the `<Picture>` component and another page called `render()` on content collection entries. - [#​16239](withastro/astro#16239) [`7c65c04`](withastro/astro@7c65c04) Thanks [@​dataCenter430](https://github.com/dataCenter430)! - Fixes sync content inside `<Fragment>` not streaming to the browser until all async sibling expressions have resolved. - [#​16242](withastro/astro#16242) [`686c312`](withastro/astro@686c312) Thanks [@​martrapp](https://github.com/martrapp)! - Revives UnoCSS in dev mode when used with the client router. This change partly reverts [#​16089](withastro/astro#16089), which in hindsight turned out to be too general. Instead of automatically persisting all style sheets, we now do this only for styles from Vue components. - [#​16192](withastro/astro#16192) [`79d86b8`](withastro/astro@79d86b8) Thanks [@​alexanderniebuhr](https://github.com/alexanderniebuhr)! - Uses today’s date for Cloudflare `compatibility_date` in `astro add cloudflare` When creating new projects, `astro add cloudflare` now sets `compatibility_date` to the current date. Previously, this date was resolved from locally installed packages, which could be unreliable in some package manager environments. Using today’s date is simpler and more reliable across environments, and is supported by [`workerd`](cloudflare/workers-sdk#13051). - [#​16259](withastro/astro#16259) [`34df955`](withastro/astro@34df955) Thanks [@​gameroman](https://github.com/gameroman)! - Removed `dlv` dependency </details> --- ### Configuration 📅 **Schedule**: (UTC) - Branch creation - At any time (no schedule defined) - Automerge - At any time (no schedule defined) 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My4xMDQuOCIsInVwZGF0ZWRJblZlciI6IjQzLjEwNC44IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119--> Co-authored-by: Renovate Bot <renovate@zarantonello.dev> Co-committed-by: Renovate Bot <renovate@zarantonello.dev>
Fixes https://jira.cfdata.org/browse/DEVX-2446
This PR simplifies the logic we've been using for determining the local compatibility date to use. From now on we simply use today as the compatibility date, this should always reliably work since now workerd supports dates up to 7 days in the future.
A picture of a cute animal (not mandatory, but encouraged)