Patch Changes
-
#11860
4a4007dThanks @dependabot! - chore: update dependencies of "create-cloudflare"The following dependency versions have been updated:
Dependency From To @angular/create 21.0.4 21.1.1 -
#12156
abd2b71Thanks @irvinebroque! - Fix compatibility date detection failing when creating new projectsPreviously,
getLocalWorkerdCompatibilityDate()would fail to find the locally installedminiflareandworkerdpackages, causingnpm create cloudflare@latestto fall back to a hardcoded date (2025-09-27) instead of using the current workerd compatibility date.The issue was that
module.createRequire()was called with a directory path. Node.js treats this as a filename at that location and looks fornode_modulesin the parent directory rather than the intended directory. This is now fixed by appendingpackage.jsonto the path, which ensures module resolution starts from the correct location.Fixes #12155