Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.
Releases
@effect/[email protected]
Patch Changes
59b3cfb
,766113c
,bb05fb8
,712277f
,8f6006a
,430c846
,7b03057
,a9c94c8
,107e6f0
,65c11b9
,e386d2f
,9172efb
]:@effect/[email protected]
Patch Changes
59b3cfb
,766113c
,bb05fb8
,712277f
,8f6006a
,430c846
,7b03057
,a9c94c8
,107e6f0
,65c11b9
,e386d2f
,9172efb
]:@effect/[email protected]
Patch Changes
59b3cfb
,766113c
,bb05fb8
,712277f
,8f6006a
,430c846
,7b03057
,a9c94c8
,107e6f0
,65c11b9
,e386d2f
,9172efb
]:@effect/[email protected]
Patch Changes
766113c
,712277f
,430c846
,7b03057
,a9c94c8
,107e6f0
,65c11b9
,e386d2f
,9172efb
]:@effect/[email protected]
Patch Changes
766113c
,712277f
,430c846
,7b03057
,a9c94c8
,107e6f0
,65c11b9
,e386d2f
,9172efb
]:@effect/[email protected]
Patch Changes
766113c
,712277f
,430c846
,7b03057
,a9c94c8
,107e6f0
,65c11b9
,e386d2f
,9172efb
]:@effect/[email protected]
Patch Changes
766113c
,712277f
,430c846
,7b03057
,a9c94c8
,107e6f0
,65c11b9
,e386d2f
,9172efb
]:[email protected]
Patch Changes
#4341
766113c
Thanks @fubhy! - ImproveDuration.decode
Handling of High-Resolution Timereadonly
modifier to[seconds: number, nanos: number]
inDurationInput
to prevent accidental modifications.-Infinity
andNaN
when they appear in the tuple representation of duration.#4333
712277f
Thanks @gcanti! - Cron:unsafeParse
now throws a more informative error instead of a generic one#4351
430c846
Thanks @tim-smart! - fix Layer.scope types to correctly use the Scope tag identifier#4344
7b03057
Thanks @IMax153! - ExposeSchedule.isSchedule
#4313
a9c94c8
Thanks @gcanti! - Schema: UpdateDuration
Encoding to a Tagged Union Format.This changeset fixes the
Duration
schema to support all possible duration types, including finite, infinite, and nanosecond durations. The encoding format has been updated from a tuple (readonly [seconds: number, nanos: number]
) to a tagged union.This update introduces a change to the encoding format. The previous tuple representation is replaced with a more expressive tagged union, which accommodates all duration types:
Rationale
The
Duration
schema is primarily used to encode durations for transmission. The new tagged union format ensures clear and precise encoding for:Duration.infinity
.Example
#4331
107e6f0
Thanks @gcanti! - Schema: Improve encoding inDefect
and add test for array-based defects.#4329
65c11b9
Thanks @gcanti! - Schema: UpdateitemsCount
to allow0
as a valid argument, closes From Discord: Error with Schema.itemsCount(0) in version 3.12.7 #4328.#4330
e386d2f
Thanks @gcanti! - Add missing overload forOption.as
.#4352
9172efb
Thanks @tim-smart! - optimize Stream.toReadableStream@effect/[email protected]
Patch Changes
59b3cfb
,766113c
,bb05fb8
,712277f
,8f6006a
,62934fc
,430c846
,7b03057
,a9c94c8
,107e6f0
,65c11b9
,e386d2f
,9172efb
]:@effect/[email protected]
Patch Changes
766113c
,712277f
,430c846
,7b03057
,a9c94c8
,107e6f0
,65c11b9
,e386d2f
,9172efb
]:@effect/[email protected]
Patch Changes
#4334
59b3cfb
Thanks @gcanti! - Cookies:unsafeMakeCookie
andunsafeSetAll
now throw a more informative error instead of a generic one#4360
bb05fb8
Thanks @IMax153! - Ensure that nested configuration values can be properly loaded from an env file#4353
8f6006a
Thanks @tim-smart! - fix HttpServerRequest.arrayBuffer for bun & web handlersUpdated dependencies [
766113c
,712277f
,430c846
,7b03057
,a9c94c8
,107e6f0
,65c11b9
,e386d2f
,9172efb
]:@effect/[email protected]
Patch Changes
59b3cfb
,766113c
,bb05fb8
,712277f
,8f6006a
,430c846
,7b03057
,a9c94c8
,107e6f0
,65c11b9
,e386d2f
,9172efb
]:@effect/[email protected]
Patch Changes
#4353
8f6006a
Thanks @tim-smart! - fix HttpServerRequest.arrayBuffer for bun & web handlersUpdated dependencies [
59b3cfb
,766113c
,bb05fb8
,712277f
,8f6006a
,430c846
,7b03057
,a9c94c8
,107e6f0
,65c11b9
,e386d2f
,9172efb
]:@effect/[email protected]
Patch Changes
#4354
62934fc
Thanks @tim-smart! - optimize streaming response for NodeHttpServerUpdated dependencies [
59b3cfb
,766113c
,bb05fb8
,712277f
,8f6006a
,430c846
,7b03057
,a9c94c8
,107e6f0
,65c11b9
,e386d2f
,9172efb
]:@effect/[email protected]
Patch Changes
59b3cfb
,766113c
,bb05fb8
,712277f
,8f6006a
,430c846
,7b03057
,a9c94c8
,107e6f0
,65c11b9
,e386d2f
,9172efb
]:@effect/[email protected]
Patch Changes
766113c
,712277f
,430c846
,7b03057
,a9c94c8
,107e6f0
,65c11b9
,e386d2f
,9172efb
]:@effect/[email protected]
Patch Changes
766113c
,712277f
,430c846
,7b03057
,a9c94c8
,107e6f0
,65c11b9
,e386d2f
,9172efb
]:@effect/[email protected]
Patch Changes
59b3cfb
,766113c
,bb05fb8
,712277f
,8f6006a
,430c846
,7b03057
,a9c94c8
,107e6f0
,65c11b9
,e386d2f
,9172efb
]:@effect/[email protected]
Patch Changes
59b3cfb
,766113c
,bb05fb8
,712277f
,8f6006a
,430c846
,7b03057
,a9c94c8
,107e6f0
,65c11b9
,e386d2f
,9172efb
]:@effect/[email protected]
Patch Changes
59b3cfb
,766113c
,bb05fb8
,712277f
,8f6006a
,430c846
,7b03057
,a9c94c8
,107e6f0
,65c11b9
,e386d2f
,9172efb
]:@effect/[email protected]
Patch Changes
59b3cfb
,766113c
,bb05fb8
,712277f
,8f6006a
,62934fc
,430c846
,7b03057
,a9c94c8
,107e6f0
,65c11b9
,e386d2f
,9172efb
]:@effect/[email protected]
Patch Changes
59b3cfb
,766113c
,bb05fb8
,712277f
,8f6006a
,430c846
,7b03057
,a9c94c8
,107e6f0
,65c11b9
,e386d2f
,9172efb
]:@effect/[email protected]
Patch Changes
766113c
,712277f
,430c846
,7b03057
,a9c94c8
,107e6f0
,65c11b9
,e386d2f
,9172efb
]:@effect/[email protected]
Patch Changes
766113c
,712277f
,430c846
,7b03057
,a9c94c8
,107e6f0
,65c11b9
,e386d2f
,9172efb
]:@effect/[email protected]
Patch Changes
59b3cfb
,766113c
,bb05fb8
,712277f
,8f6006a
,430c846
,7b03057
,a9c94c8
,107e6f0
,65c11b9
,e386d2f
,9172efb
]:@effect/[email protected]
Patch Changes
59b3cfb
,766113c
,bb05fb8
,712277f
,8f6006a
,430c846
,7b03057
,a9c94c8
,107e6f0
,65c11b9
,e386d2f
,9172efb
]:@effect/[email protected]
Patch Changes
59b3cfb
,766113c
,bb05fb8
,712277f
,8f6006a
,430c846
,7b03057
,a9c94c8
,107e6f0
,65c11b9
,e386d2f
,9172efb
]:@effect/[email protected]
Patch Changes
59b3cfb
,766113c
,bb05fb8
,712277f
,8f6006a
,430c846
,7b03057
,a9c94c8
,107e6f0
,65c11b9
,e386d2f
,9172efb
]:@effect/[email protected]
Patch Changes
59b3cfb
,766113c
,bb05fb8
,712277f
,8f6006a
,430c846
,7b03057
,a9c94c8
,107e6f0
,65c11b9
,e386d2f
,9172efb
]:@effect/[email protected]
Patch Changes
766113c
,712277f
,430c846
,7b03057
,a9c94c8
,107e6f0
,65c11b9
,e386d2f
,9172efb
]:@effect/[email protected]
Patch Changes
59b3cfb
,766113c
,bb05fb8
,712277f
,8f6006a
,430c846
,7b03057
,a9c94c8
,107e6f0
,65c11b9
,e386d2f
,9172efb
]:@effect/[email protected]
Patch Changes
766113c
,712277f
,430c846
,7b03057
,a9c94c8
,107e6f0
,65c11b9
,e386d2f
,9172efb
]:@effect/[email protected]
Patch Changes
766113c
,712277f
,430c846
,7b03057
,a9c94c8
,107e6f0
,65c11b9
,e386d2f
,9172efb
]:@effect/[email protected]
Patch Changes
766113c
,712277f
,430c846
,7b03057
,a9c94c8
,107e6f0
,65c11b9
,e386d2f
,9172efb
]:@effect/[email protected]
Patch Changes
766113c
,712277f
,430c846
,7b03057
,a9c94c8
,107e6f0
,65c11b9
,e386d2f
,9172efb
]: