Patch Changes
-
#7087
0418564Thanks @tim-smart! - Recognize tagged Config and RPC errors across duplicatedeffectpackage copies. -
#6827
d334a85Thanks @jaipaljadeja! - Add bounded 429 retries and custom response header names toHttpClient.withRateLimiter. -
#7084
f0be855Thanks @tim-smart! - Stop capturing definition-location stack frames inContext.Service. -
#7090
b206fa5Thanks @tim-smart! - ExposestdinIsTerminalandstdoutIsTerminaleffects through theStdioservice. -
#7093
b938c8aThanks @gcanti! - Add the opt-inreportInputparse option for retaining rejected inputs in enumerable fields on value-bearing schema issues and including them in default formatted messages. Value-bearing issue constructors accept the rejected input and parse options directly, andSchema.Annotations.Issuenow supportsexpectedfor default messages.Schema issues no longer format implicitly through
Issue#toString. UseSchemaIssue.makeFormatterDefault()when a human-readable message is needed. The throwing and Promise-based adapters inSchemaParsernow use the generic message"Schema validation failed"and expose the structuredSchemaIssue.Issueas the errorcause; consumers that previously read the formatted error message should inspect and explicitly format that cause instead.Schema.makeEffectnow returnsSchemaIssue.Issuefailures instead of wrapping them inSchemaError, andSchema.withConstructorDefaultaccepts anEffectthat fails withSchemaIssue.Issue. FallibleOpticoperations return structuredSchemaIssue.Issuefailures, while schema failures fromSchema.toIsoandSchema.toDifferJsonPatchuse the generic error message and preserve the issue incauseinstead of formatting it internally. -
#7097
8525f05Thanks @tim-smart! - AddCron.formatfor converting aCroninstance to a cron expression, with an option to include the seconds field.