effect@4.0.0-beta.14
Pre-release
Pre-release
·
660 commits
to main
since this release
Patch Changes
-
#1471
c414700Thanks @IMax153! - Make CLI global settings directly yieldable and simplify built-in names.GlobalFlag.settingnow takes{ flag, defaultValue }and returns a setting that is aServiceMap.Reference, so handlers andCommand.provide*effects canyield*global setting values directly.Built-in settings keep internal behavior in
runWith(for example,--log-levelstill configuresReferences.MinimumLogLevel) while also being readable as values.Also renamed built-in globals:
GlobalFlag.CompletionsFlag->GlobalFlag.CompletionsGlobalFlag.LogLevelFlag->GlobalFlag.LogLevel
-
#1490
a30c969Thanks @gcanti! - FixOpenApi.fromApipreserving multiple response content types for one status code, closes #1485.