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
b1163b2
,b46b869
,dbff62c
,de1b226
,a663390
,ff88f80
,11be07b
,c568645
,88835e5
,e572b07
,e787a57
,b415577
,ff8046f
,44c3b43
]:[email protected]
Patch Changes
#2145
b1163b2
Thanks @tim-smart! - add RequestResolver.aroundRequests apiThis can be used to run side effects that introspect the requests being
executed.
Example:
#2148
b46b869
Thanks @riordanpawley! - Flipped scheduleForked types to match new <A, E, R> signature#2139
de1b226
Thanks @mikearnaldi! - Introduce FiberId.Single, make FiberId.None behave like FiberId.Runtime, relax FiberRefs to use Single instead of Runtime.This change is a precursor to enable easier APIs to modify the Runtime when patching FiberRefs.
#2137
a663390
Thanks @mikearnaldi! - Expose Random Tag and functions to use a specific random service implementation#2143
ff88f80
Thanks @mikearnaldi! - Fix Cause.pretty when toString is invalidThe code above used to throw now it prints:
#2080
11be07b
Thanks @KhraksMamtsov! - Add functional analogue ofsatisfies
operator.This is a convenient operator to use in the
pipe
chain to localize type errors closer to their source.#2147
c568645
Thanks @tim-smart! - generate a random span id for the built-in tracerThis ensures the same span id isn't used between application runs.
#2144
88835e5
Thanks @mikearnaldi! - Fix withRandom and withClock types#2138
b415577
Thanks @mikearnaldi! - Fix internals of TestAnnotationsMap making it respect equality#2149
ff8046f
Thanks @tim-smart! - add Runtime.updateFiberRefs/setFiberRef/deleteFiberRefThis change allows you to update fiber ref values inside a Runtime object.
Example:
@effect/[email protected]
Patch Changes
b1163b2
,b46b869
,dbff62c
,de1b226
,a663390
,ff88f80
,11be07b
,c568645
,88835e5
,e572b07
,e787a57
,b415577
,ff8046f
,44c3b43
]:@effect/[email protected]
Patch Changes
b1163b2
,b46b869
,de1b226
,a663390
,ff88f80
,11be07b
,c568645
,88835e5
,b415577
,ff8046f
]:@effect/[email protected]
Patch Changes
#2122
44c3b43
Thanks @thewilkybarkid! - Add a way to redact HTTP headersUpdated dependencies [
b1163b2
,b46b869
,dbff62c
,de1b226
,a663390
,ff88f80
,11be07b
,c568645
,88835e5
,e572b07
,e787a57
,b415577
,ff8046f
]:@effect/[email protected]
Patch Changes
b1163b2
,b46b869
,de1b226
,a663390
,ff88f80
,11be07b
,c568645
,88835e5
,b415577
,ff8046f
,44c3b43
]:@effect/[email protected]
Patch Changes
b1163b2
,b46b869
,de1b226
,a663390
,ff88f80
,11be07b
,c568645
,88835e5
,b415577
,ff8046f
,44c3b43
]:@effect/[email protected]
Patch Changes
b1163b2
,b46b869
,de1b226
,a663390
,ff88f80
,11be07b
,c568645
,88835e5
,b415577
,ff8046f
,44c3b43
]:@effect/[email protected]
Patch Changes
b1163b2
,b46b869
,de1b226
,a663390
,ff88f80
,11be07b
,c568645
,88835e5
,b415577
,ff8046f
,44c3b43
]:@effect/[email protected]
Patch Changes
b1163b2
,b46b869
,de1b226
,a663390
,ff88f80
,11be07b
,c568645
,88835e5
,b415577
,ff8046f
]:@effect/[email protected]
Patch Changes
b1163b2
,b46b869
,de1b226
,a663390
,ff88f80
,11be07b
,c568645
,88835e5
,b415577
,ff8046f
]:@effect/[email protected]
Patch Changes
b1163b2
,b46b869
,dbff62c
,de1b226
,a663390
,ff88f80
,11be07b
,c568645
,88835e5
,e572b07
,e787a57
,b415577
,ff8046f
,44c3b43
]:@effect/[email protected]
Patch Changes
b1163b2
,b46b869
,dbff62c
,de1b226
,a663390
,ff88f80
,11be07b
,c568645
,88835e5
,e572b07
,e787a57
,b415577
,ff8046f
,44c3b43
]:@effect/[email protected]
Patch Changes
#2141
dbff62c
Thanks @gcanti! - add{ exact: true }
optional argument to thepartial
API, mirroring the implementation in theoptional
API, closes From Discord: Exploring the possibility of makingpartial
behave likeoptional
with exactness #2140The
partial
operation allows you to make all properties within a schema optional.By default, the
partial
operation adds a union withundefined
to the types. If you wish to avoid this, you can opt-out by passing a{ exact: true }
argument to thepartial
operation.Example
#2128
e572b07
Thanks @tim-smart! - allow passing structs when encoding schema classesThe following will no longer throw an error:
#2123
e787a57
Thanks @gcanti! - Refactor thedeclare
signature to ensure that the decoding and encoding functions do not utilize context.As a result, we can relax the signature of the following functions to accept
R !== never
:Parser.validateSync
Parser.validateOption
Parser.validateEither
Parser.is
Parser.asserts
Schema.validateSync
Schema.validateOption
Schema.validateEither
Schema.is
Schema.asserts
Additionally, the
Class
API no longer requires the optional argumentdisableValidation
to betrue
whenR !== never
.Updated dependencies [
b1163b2
,b46b869
,de1b226
,a663390
,ff88f80
,11be07b
,c568645
,88835e5
,b415577
,ff8046f
]:@effect/[email protected]
Patch Changes
b1163b2
,b46b869
,de1b226
,a663390
,ff88f80
,11be07b
,c568645
,88835e5
,b415577
,ff8046f
]: