-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
⬆️ Update dependency effect to v3 #126
Open
renovate
wants to merge
1
commit into
main
Choose a base branch
from
renovate/effect-3.x
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
⚠ Artifact update problemRenovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is. ♻ Renovate will retry this branch, including artifacts, only when one of the following happens:
The artifact failure details are included below: File name: package-lock.json
|
ac64789
to
5c44085
Compare
9d2cf0f
to
d4fa257
Compare
b3879b8
to
a7c2703
Compare
e4bc5bb
to
ffd8690
Compare
60fb972
to
25cb4ef
Compare
eff77b6
to
8e23f1f
Compare
cef075c
to
469c527
Compare
fb7a5e3
to
13e8338
Compare
13e8338
to
ea1b8f2
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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 contains the following updates:
2.2.5
->3.7.2
Release Notes
Effect-TS/effect (effect)
v3.7.2
Compare Source
Patch Changes
#3548
8a601d7
Thanks @tim-smart! - remove console.log statements from Micro#3546
353ba19
Thanks @tim-smart! - fix exported Stream types forbroadcast*
andtoPubSub
v3.7.1
Compare Source
Patch Changes
#3536
79859e7
Thanks @mikearnaldi! - Optimize Array.sortWith to avoid calling the map function excesively#3516
f6a469c
Thanks @KhraksMamtsov! - support tacit usage forEffect.tapErrorTag
andEffect.catchTag
#3543
dcb9ec0
Thanks @datner! - Align behavior ofStream.empty
to act likeStream.make()
to fix behavior withNodeStream.toReadable
#3545
79aa6b1
Thanks @tim-smart! - fix Micro.forEach for empty iterablesv3.7.0
Compare Source
Minor Changes
#3410
2f456cc
Thanks @vinassefranche! - preserveArray.modify
Array.modifyOption
non emptiness#3410
8745e41
Thanks @patroza! - improve: type Fiber.awaitAll as Exit<A, E>[].#3410
e557838
Thanks @titouancreach! - New constructor Config.nonEmptyString#3410
d6e7e40
Thanks @KhraksMamtsov! - preserveArray.replace
Array.replaceOption
non emptiness#3410
8356321
Thanks @KhraksMamtsov! - addEffect.bindAll
apiThis api allows you to combine
Effect.all
withEffect.bind
. It is usefulwhen you want to concurrently run multiple effects and then combine their
results in a Do notation pipeline.
#3410
192f2eb
Thanks @tim-smart! - addpropagateInterruption
option to Fiber{Handle,Set,Map}This option will send any external interrupts to the .join result.
#3410
718cb70
Thanks @dilame! - feat(Stream): implementrace
operator, which accepts two upstreams and returns a stream that mirrors the first upstream to emit an item and interrupts the other upstream.#3410
e9d0310
Thanks @mikearnaldi! - Avoid automatic propagation of finalizer concurrency, closes #3440#3410
6bf28f7
Thanks @tim-smart! - add Context.getOrElse api, for gettings a Tag's value with a fallbackPatch Changes
db89601
Thanks @juliusmarminge! - addMicro.isMicroCause
guardv3.6.8
Compare Source
Patch Changes
e809286
Thanks @fubhy! - Detect environment in Logger.pretty using process.stdoutv3.6.7
Compare Source
Patch Changes
50ec889
Thanks @datner! - improve the performance of Effect.partitionMapv3.6.6
Compare Source
Patch Changes
#3306
f960bf4
Thanks @dilame! - Introduce left / right naming for Stream apis#3499
46a575f
Thanks @tim-smart! - fix nested Config.array, by ensuring path patches aren't applied twice in sequencesv3.6.5
Compare Source
Patch Changes
#3474
14a47a8
Thanks @IMax153! - Add support for incrementing and decrementing a gauge based on its prior value#3490
0c09841
Thanks @tim-smart! - fix type error when .pipe() has no argumentsv3.6.4
Compare Source
Patch Changes
#3404
8295281
Thanks @KhraksMamtsov! - FixCache<_, Value, _>
type parameter variance (covariant -> invariant)#3452
c940df6
Thanks @tim-smart! - ensure Scheduler tasks are added to a matching priority bucket#3459
00b6c6d
Thanks @tim-smart! - ensure defects are caught in Effect.tryPromise#3458
f8d95a6
Thanks @thomasvargiu! - fixDateTime.makeZonedFromString
for 0 offsetv3.6.3
Compare Source
Patch Changes
04adcac
Thanks @tim-smart! - ensure Stream.toReadableStream pulls always result in a enqueuev3.6.2
Compare Source
Patch Changes
fd4b2f6
Thanks @Andarist! - ensure fiber is properly cleared in FiberHandle.unsafeSetv3.6.1
Compare Source
Patch Changes
#3405
510a34d
Thanks @KhraksMamtsov! - FixEffect.repeat
with times option returns wrong value#3398
45dbb9f
Thanks @sukovanej! - FixStream.asyncPush
type signature - allow theregister
effect to fail.v3.6.0
Compare Source
Minor Changes
#3380
1e0fe80
Thanks @tim-smart! - make List.Cons extend NonEmptyIterable#3380
8135294
Thanks @tim-smart! - add DateTime moduleThe
DateTime
module provides functionality for working with time, includingsupport for time zones and daylight saving time.
It has two main data types:
DateTime.Utc
andDateTime.Zoned
.A
DateTime.Utc
represents a time in Coordinated Universal Time (UTC), anda
DateTime.Zoned
contains both a UTC timestamp and a time zone.There is also a
CurrentTimeZone
service, for setting a time zone contextually.#3380
cd255a4
Thanks @tim-smart! - add Stream.asyncPush apiThis api creates a stream from an external push-based resource.
You can use the
emit
helper to emit values to the stream. You can also usethe
emit
helper to signal the end of the stream by using apis such asemit.end
oremit.fail
.By default it uses an "unbounded" buffer size.
You can customize the buffer size and strategy by passing an object as the
second argument with the
bufferSize
andstrategy
fields.#3380
3845646
Thanks @mikearnaldi! - Implement Struct.keys as a typed alternative to Object.keys#3380
2d09078
Thanks @sukovanej! - AddRandom.choice
.#3380
4bce5a0
Thanks @vinassefranche! - Add onlyEffect option to Effect.tap#3380
4ddbff0
Thanks @KhraksMamtsov! - SupportRefinement
inPredicate.tuple
andPredicate.struct
#3380
e74cc38
Thanks @dilame! - ImplementStream.onEnd
that adds an effect to be executed at the end of the stream.#3380
bb069b4
Thanks @dilame! - ImplementStream.onStart
that adds an effect to be executed at the start of the stream.#3380
cd255a4
Thanks @tim-smart! - addbufferSize
option to Stream.fromEventListener#3380
7d02174
Thanks @fubhy! - Changed various function signatures to returnArray
instead ofReadonlyArray
v3.5.9
Compare Source
Patch Changes
#3377
6359644
Thanks @tim-smart! - add MicroScheduler to Micro module#3362
7f41e42
Thanks @IMax153! - AddService
andIdentifier
toContext.Tag
.These helpers can be used, for example, to extract the service shape from a tag:
#3373
f566fd1
Thanks @KhraksMamtsov! - Add test for Hash.number(0.1) !== Has.number(0)v3.5.8
Compare Source
Patch Changes
#3345
1ba640c
Thanks @mikearnaldi! - Fix typo propety to property#3349
c8c71bd
Thanks @tim-smart! - ensure all Data.Error arguments are preserved in .toJSON#3355
a26ce58
Thanks @tim-smart! - fix Hash.number not returning unique valuesv3.5.7
Compare Source
Patch Changes
#3288
3afcc93
Thanks @mikearnaldi! - Forbid usage of property "name" in Effect.Tag#3310
99bddcf
Thanks @fubhy! - Added additional pure annotations to improve tree-shakeabilityv3.5.6
Compare Source
Patch Changes
#3294
cc327a1
Thanks @tim-smart! - correctly exclude symbols from Record.keys#3289
4bfe4fb
Thanks @dilame! - ChangedStream.groupByKey
/Stream.grouped
/Stream.groupedWithin
JSDoc category fromutils
togrouping
#3295
2b14d18
Thanks @tim-smart! - fix YieldableError rendering on bunv3.5.5
Compare Source
Patch Changes
a9d7800
Thanks @tim-smart! - use "unbounded" buffer for Stream.fromEventListenerv3.5.4
Compare Source
Patch Changes
#3253
ed0dde4
Thanks @tim-smart! - update dependencies#3247
ca775ce
Thanks @tim-smart! - if performance.timeOrigin is 0, use performance.now() directly in ClockThis is a workaround for cloudflare, where performance.now() cannot be used in
the global scope to calculate the origin.
#3259
5be9cc0
Thanks @IMax153! - exposeChannel.isChannel
#3250
203658f
Thanks @gcanti! - add support forRefinement
s toPredicate.or
, closes #3243#3246
eb1c4d4
Thanks @tim-smart! - render nested causes in Cause.prettyv3.5.3
Compare Source
Patch Changes
#3234
edb0da3
Thanks @tim-smart! - do not add a error "cause" if the upstream error does not contain one#3236
c8d3fb0
Thanks @tim-smart! - set Logger.pretty message color to deepskyblue on browsers#3240
dabd028
Thanks @tim-smart! - fix process .isTTY detection#3230
786b2ab
Thanks @KhraksMamtsov! - support heterogenous argument inOption.firstSomeOf
#3238
fc57354
Thanks @leonitousconforti! - Align Stream.run public function signaturesv3.5.2
Compare Source
Patch Changes
#3228
639208e
Thanks @IMax153! - Render a more helpful error message when timing out an effect#3235
6684b4c
Thanks @tim-smart! - improve safari support for Logger.pretty#3235
6684b4c
Thanks @tim-smart! - fix span stack rendering when stack function returns undefined#3235
6684b4c
Thanks @tim-smart! - align UnsafeConsole group types with web apisv3.5.1
Compare Source
Patch Changes
55fdd76
Thanks @tim-smart! - fix Logger.pretty on bunv3.5.0
Compare Source
Minor Changes
#3048
a1f5b83
Thanks @tim-smart! - add renderErrorCause option to Cause.pretty#3048
60bc3d0
Thanks @tim-smart! - add RcRef moduleAn
RcRef
wraps a reference counted resource that can be acquired and released multiple times.The resource is lazily acquired on the first call to
get
and released when the last reference is released.#3048
5ab348f
Thanks @tim-smart! - allowing customizing Stream pubsub strategy#3048
60bc3d0
Thanks @tim-smart! - add Duration.isZero, for checking if a Duration is zero#3048
3e04bf8
Thanks @sukovanej! - AddSuccess
type util forConfig
.#3048
e7fc45f
Thanks @tim-smart! - add Logger.prettyLogger and Logger.prettyLogger.pretty
is a new logger that leverages the features of theconsole
APIs to provide a more visually appealing output.To try it out, provide it to your program:
#3048
a1f5b83
Thanks @tim-smart! - add .groupCollapsed to UnsafeConsole#3048
4626de5
Thanks @giacomoran! - export Random.make taking hashable values as seed#3048
f01e7db
Thanks @tim-smart! - addreplay
option to PubSub constructorsThis option adds a replay buffer in front of the given PubSub. The buffer will
replay the last
n
messages to any new subscriber.#3048
60bc3d0
Thanks @tim-smart! - add RcMap moduleAn
RcMap
can contain multiple reference counted resources that can be indexedby a key. The resources are lazily acquired on the first call to
get
andreleased when the last reference is released.
Complex keys can extend
Equal
andHash
to allow lookups by value.#3048
ac71f37
Thanks @dilame! - EnsureScope
is excluded fromR
in theChannel
/Stream
run*
functions.This fix ensures that
Scope
is now properly excluded from the resulting effect environment.The affected functions include
run
,runCollect
,runCount
,runDrain
and other non-scopedrun*
in bothStream
andChannel
modules.This fix brings the type declaration in line with the runtime implementation.
#3048
8432360
Thanks @dilame! - refactor(Stream/mergeLeft): renameself
/that
argument names toleft
/right
for clarityrefactor(Stream/mergeRight): rename
self
/that
argument names toleft
/right
for clarity#3048
e4bf1bf
Thanks @dilame! - feat(Stream): implement "raceAll" operator, which returns a stream that mirrors the first source stream to emit an item.#3048
13cb861
Thanks @dilame! - refactor(Stream): use new built-inTypes.TupleOf
instead ofStream.DynamicTuple
and deprecate it#3048
79d2d91
Thanks @tim-smart! - support ErrorOptions in YieldableError constructor#3048
9f66825
Thanks @tim-smart! - allow customizing the output buffer for the Stream.async* apisPatch Changes
#3048
a1f5b83
Thanks @tim-smart! - include Error.cause stack in log output#3048
a1f5b83
Thanks @tim-smart! - set stackTraceLimit to 1 in PrettyError to address performance issues#3048
79d2d91
Thanks @tim-smart! - ensure "cause" is rendered in Data.Error output#3048
e7fc45f
Thanks @tim-smart! - fix types of UnsafeConsole.groupv3.4.9
Compare Source
Patch Changes
#3210
7af137c
Thanks @tim-smart! - prevent reclaim of manually invalidated pool items#3204
ee4b3dc
Thanks @gcanti! - Updated the JSDocs for theStream
module by adding examples to key functions.#3202
097d25c
Thanks @tim-smart! - allow invalidated Pool items to be reclaimed with usage strategyv3.4.8
Compare Source
Patch Changes
#3181
a435e0f
Thanks @KhraksMamtsov! - refactorTrimEnd
&TrimStart
#3176
b5554db
Thanks @tim-smart! - allow Stream run fiber to close before trying to interrupt it#3175
a9c4fb3
Thanks @tim-smart! - ensure fibers are interrupted in Stream.mergeWithv3.4.7
Compare Source
Patch Changes
a5737d6
Thanks @tim-smart! - ensure PubSub.publishAll does not increase size while there are no subscribersv3.4.6
Compare Source
Patch Changes
#3096
5c0ceb0
Thanks @gcanti! - Micro: align withEffect
module (renamings and new combinators).General naming convention rule:
<reference module (start with lowercase)><api (start with Uppercase)>
.Failure
->MicroCause
Failure.Expected<E>
->MicroCause.Fail<E>
Failure.Unexpected
->MicroCause.Die
Failure.Aborted
->MicroCause.Interrupt
FailureExpected
->causeFail
FailureUnexpected
->causeDie
FailureAborted
->causeInterrupt
failureIsExpected
->causeIsFail
failureIsExpected
->causeIsFail
failureIsUnexpected
->causeIsDie
failureIsAborted
->causeIsInterrupt
failureSquash
->causeSquash
failureWithTrace
->causeWithTrace
Result
->MicroExit
ResultAborted
->exitInterrupt
ResultSuccess
->exitSucceed
ResultFail
->exitFail
ResultFailUnexpected
->exitDie
ResultFailWith
->exitFailCause
resultIsSuccess
->exitIsSuccess
resultIsFailure
->exitIsFailure
resultIsAborted
->exitIsInterrupt
resultIsFailureExpected
->exitIsFail
resultIsFailureUnexpected
->exitIsDie
resultVoid
->exitVoid
DelayFn
->MicroSchedule
delayExponential
->scheduleExponential
delaySpaced
->scheduleSpaced
delayWithMax
->scheduleWithMaxDelay
delayWithMaxElapsed
->scheduleWithMaxElapsed
delayWithRecurs
->scheduleRecurs
and make it a constructorscheduleAddDelay
combinatorscheduleUnion
combinatorscheduleIntersect
combinatorHandle
abort
->interrupt
unsafeAbort
->unsafeInterrupt
provideServiceMicro
->provideServiceEffect
fromResult
->fromExit
fromResultSync
->fromExitSync
failWith
->failCause
failWithSync
->failCauseSync
asResult
->exit
filterOrFailWith
->filterOrFailCause
repeatResult
->repeatExit
catchFailure
->catchAllCause
catchFailureIf
->catchCauseIf
catchExpected
->catchAll
catchUnexpected
->catchAllDefect
tapFailure
->tapErrorCause
tapFailureIf
->tapErrorCauseIf
tapExpected
->tapError
tapUnexpected
->tapDefect
mapFailure
->mapErrorCause
matchFailureMicro
->matchCauseEffect
matchFailure
->matchCause
matchMicro
->matchEffect
onResult
->onExit
onResultIf
->onExitIf
onFailure
->onError
onAbort
->onInterrupt
abort
->interrupt
runPromiseResult
->runPromiseExit
runSyncResult
->runSyncExit
delay
option toschedule
#3096
5c0ceb0
Thanks @gcanti! - Micro: renametimeout
totimeoutOption
, and add atimeout
that fails with aTimeoutException
#3121
33735b1
Thanks @KhraksMamtsov! - Support for the tacit usage of external handlers forMatch.tag
andMatch.tagStartsWith
functions#3096
5c0ceb0
Thanks @gcanti! - Micro: move MicroExit types to a namespace#3134
139d4b3
Thanks @tim-smart! - use Channel.acquireUseRelease for Channel.withSpanv3.4.5
Compare Source
Patch Changes
a047af9
Thanks @tim-smart! - fix using unions with Match.withReturnTypev3.4.4
Compare Source
Patch Changes
#3083
72638e3
Thanks @gcanti! - Micro: addNoSuchElementException
error and updatefromOption
to change the failure type fromOption.None<never>
toNoSuchElementException
#3095
d7dde2b
Thanks @tim-smart! - remove global AbortController from Micro#3085
9b2fc3b
Thanks @gcanti! - Micro: addzipWith
v3.4.3
Compare Source
Patch Changes
#3065
c342739
Thanks @KhraksMamtsov! - Supportthis
argument forMicro.gen
#3067
8898e5e
Thanks @KhraksMamtsov! - Cleanup signal "abort" event handler inMicro.runFork
#3082
ff78636
Thanks @gcanti! - Align theMicro.catchIf
signature withEffect.catchIf
#3078
c86bd4e
Thanks @KhraksMamtsov! - Support unification for Micro module#3079
bbdd365
Thanks @tim-smart! - update to typescript 5.5v3.4.2
Compare Source
Patch Changes
3da1497
Thanks @KhraksMamtsov! - Reuse centralized do-notation codev3.4.1
Compare Source
Patch Changes
66a1910
Thanks @gcanti! - add missingTypeLambda
toMicro
modulev3.4.0
Compare Source
Minor Changes
#2938
c0ce180
Thanks @LaureRC! - Make Option.liftPredicate dual#2938
61707b6
Thanks @LaureRC! - Add Effect.liftPredicateEffect.liftPredicate
transforms aPredicate
function into anEffect
returning the input value if the predicate returnstrue
or failing with specified error if the predicate fails.#2938
9c1b5b3
Thanks @tim-smart! - add EventListener type to Stream to avoid use of dom lib#2938
a35faf8
Thanks @gcanti! - AddlastNonEmpty
function toChunk
module, closes #2946#2938
ff73c0c
Thanks @dilame! - feat(Stream): implement Success, Error, Context type accessors#2938
984d516
Thanks @tim-smart! - add Micro moduleA lightweight alternative to Effect, for when bundle size really matters.
At a minimum, Micro adds 5kb gzipped to your bundle, and scales with the amount
of features you use.
#2938
8c3b8a2
Thanks @gcanti! - addManagedRuntime
type utils (Context
, andError
)#2938
017e2f9
Thanks @LaureRC! - Add Either.liftPredicate#2938
91bf8a2
Thanks @msensys! - AddTuple.at
api, to retrieve an element at a specified index from a tuple.#2938
c6a4a26
Thanks @datner! - addensure
util for Array, used to normalizeA | ReadonlyArray<A>
[
v3.3.5
](https://redirect.github.com/Effect-TS/effect/blob/HEAConfiguration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.