Major Changes
-
#16917
d36b39dThanks @jamesopstad! - Release the first1.0.0release candidate, which reads and writes Build Output v1Build Output now lives in
.cloudflare/output/v1/. Only the.cloudflare/output/v<N>/naming convention is permanent: a future breaking change to the format would use a new version directory.readBuildOutput()lists the version directories first and throws aBuildOutputErrorunless it finds exactly onev1directory. This means output written by an older or newer tool, or a stalev0tree left next to a fresh one, fails with a clear error instead of being misread or deployed.BuildOutputErrornow has acode(not-found,newer-version,older-version,multiple-versions,unknown-fieldsorinvalid) plusfoundVersions,supportedVersions,producerandunknownFields. Consumers can use these to show their own advice instead of parsing the message. When a config contains fields the reader doesn't support, the error lists each field and names the tool that wrote the output.The root
config.jsonnow nests account settings undersettings, which is left out when none are set, and can record the tool that wrote the output in an optionalproducerfield.writeRootConfig()takes an options object, matching the otherwrite*functions:// Before await writeRootConfig(root, settings, buildContext); // After await writeRootConfig({ root, settings, buildContext, producer: { name: "my-framework-adapter", version: "1.2.3" }, });
Patch Changes
-
#16946
e97c9f8Thanks @dependabot! - UpdateDEFAULT_COMPAT_DATEto 2026-11-16Use the bundled workerd release's compatibility date by default when scaffolding new projects or when no compatibility date is configured.
-
Updated dependencies [
d36b39d,0bf81ac,e97c9f8,349fc4e]:- @cloudflare/config@1.0.0-rc.0