Patch Changes
-
#3465
528cc0fc
Thanks @jculvey! - Improvements to the project name selection prompt. -
#3500
c43fc4e8
Thanks @jculvey! - Fix the output of the --version flag -
#3343
cc9ced83
Thanks @petebacondarwin! - fix: use a valid compatibility date for worker templatesPreviously, we changed wrangler.toml to use the current date for the
compatibility_date setting in wrangler.toml when generating workers.
But this is almost always going to be too recent and results in a warning.Now we look up the most recent compatibility date via npm on the workerd
package and use that instead.Fixes #2385
-
#3516
941764d0
Thanks @petebacondarwin! - fix: ensure the Angular fetch handler returns a "real" promise to CloudflareAngular employs the Zone.js library to patch potentially async operations so that
it can trigger change detection reliably. But in order to do this, it swaps out
the nativePromise
with aZoneAwarePromise
class.The Cloudflare runtime (i.e. workerd) does runtime checks on the value returned
from thefetch()
handler, expecting it to be a nativePromise
and fails if not.This fix ensures that the actual object returned from the
fetch()
is actually a
nativePromise
. We don't need to stop Angular usingZoneAwarePromises
elsewhere. -
#3486
436f752d
Thanks @Cherry! - fix: use wrangler deploy command for deploying applications instead of the deprecated wrangler publish