Minor Changes
-
#15326
9fcb1c9Thanks @jamesopstad! - Rename the settings config schema exports to the input/output conventionSettingsSchemais nowInputSettingsSchemaandParsedSettingsConfigis nowParsedInputSettingsConfig. -
#15326
9fcb1c9Thanks @jamesopstad! - Record the selected mode in the Build Output Specification top-levelconfig.jsonThe mode a build was produced in is now written to
.cloudflare/output/v0/config.jsonas amodefield, alongside the account and compliance settings. -
#15318
82d11fcThanks @jamesopstad! - Consolidate development-only binding configuration underdevThis experimental configuration now uses
dev.remotefor remote bindings anddev.connectionStringfor Hyperdrive. Miniflare's v5 binding configuration follows the same shape, and R2's local S3 credentials now share thedevobject. -
#15325
7f66836Thanks @jamesopstad! - Reject conflicting destination restrictions in send-email bindingsSend-email bindings now match Wrangler validation by allowing either
destinationAddressorallowedDestinationAddresses, but not both.allowedSenderAddressesremains an independent restriction that can accompany either destination mode.
Patch Changes
-
#15324
ead8f69Thanks @jamesopstad! - Fix the inferred type ofConfigExportsSchemato reserve thesettingskey for settings configurationParsed config exports now expose
settingsas a settings configuration while treating all other exports as Worker configurations. Validation continues to report specific errors when a settings configuration uses the wrong export name or the reserved name contains a Worker configuration, and now explains how to handle unsupported exports. -
#15297
acb14d0Thanks @jamesopstad! - Fix declaration emit for values returned bydefineSettingsProjects can now export a
defineSettings()result while generating TypeScript declarations without encountering TS4023.