-
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 v2.4.19 #69
Open
renovate
wants to merge
1
commit into
main
Choose a base branch
from
renovate/effect-2.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.
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
renovate
bot
force-pushed
the
renovate/effect-2.x
branch
from
February 11, 2024 19:39
9361861
to
23ff088
Compare
renovate
bot
force-pushed
the
renovate/effect-2.x
branch
from
February 11, 2024 22:50
23ff088
to
03406f2
Compare
renovate
bot
changed the title
⬆️ Update dependency effect to v2.3.1
⬆️ Update dependency effect to v2.3.2
Feb 11, 2024
renovate
bot
force-pushed
the
renovate/effect-2.x
branch
from
February 12, 2024 04:35
03406f2
to
93a5434
Compare
renovate
bot
changed the title
⬆️ Update dependency effect to v2.3.2
⬆️ Update dependency effect to v2.3.3
Feb 12, 2024
renovate
bot
force-pushed
the
renovate/effect-2.x
branch
from
February 12, 2024 04:37
93a5434
to
520faf0
Compare
renovate
bot
force-pushed
the
renovate/effect-2.x
branch
from
February 13, 2024 00:19
520faf0
to
0377f9c
Compare
renovate
bot
changed the title
⬆️ Update dependency effect to v2.3.3
⬆️ Update dependency effect to v2.3.4
Feb 13, 2024
renovate
bot
force-pushed
the
renovate/effect-2.x
branch
from
February 13, 2024 15:59
0377f9c
to
9bc2922
Compare
renovate
bot
changed the title
⬆️ Update dependency effect to v2.3.4
⬆️ Update dependency effect to v2.3.5
Feb 13, 2024
renovate
bot
force-pushed
the
renovate/effect-2.x
branch
from
February 15, 2024 04:06
9bc2922
to
e2f94ae
Compare
renovate
bot
changed the title
⬆️ Update dependency effect to v2.3.5
⬆️ Update dependency effect to v2.3.6
Feb 15, 2024
renovate
bot
force-pushed
the
renovate/effect-2.x
branch
2 times, most recently
from
February 17, 2024 14:02
f3c9102
to
02d1bdd
Compare
renovate
bot
force-pushed
the
renovate/effect-2.x
branch
from
February 18, 2024 10:52
02d1bdd
to
411a972
Compare
renovate
bot
changed the title
⬆️ Update dependency effect to v2.3.6
⬆️ Update dependency effect to v2.3.7
Feb 18, 2024
renovate
bot
force-pushed
the
renovate/effect-2.x
branch
9 times, most recently
from
September 16, 2024 04:11
01f85f6
to
8a71d9d
Compare
renovate
bot
force-pushed
the
renovate/effect-2.x
branch
2 times, most recently
from
September 23, 2024 04:53
ba46f38
to
5d40dec
Compare
renovate
bot
force-pushed
the
renovate/effect-2.x
branch
5 times, most recently
from
September 30, 2024 03:59
6cbd867
to
d0f1394
Compare
renovate
bot
force-pushed
the
renovate/effect-2.x
branch
12 times, most recently
from
November 3, 2024 10:37
bb368a0
to
18679b2
Compare
renovate
bot
force-pushed
the
renovate/effect-2.x
branch
from
November 4, 2024 03:23
18679b2
to
fd01789
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
->2.4.19
Release Notes
Effect-TS/effect (effect)
v2.4.19
Compare Source
Patch Changes
#2503
41c8102
Thanks @gcanti! - Centralize error messages for bugs#2493
776ef2b
Thanks @gcanti! - add aRegExp
module topackages/effect
, closes #2488#2499
217147e
Thanks @tim-smart! - ensure FIFO ordering when a Deferred is resolved#2502
90776ec
Thanks @tim-smart! - make tracing spans cheaper to construct#2472
8709856
Thanks @tim-smart! - add Subscribable trait / moduleSubscribable represents a resource that has a current value and can be subscribed to for updates.
The following data types are subscribable:
SubscriptionRef
Actor
from the experimentalMachine
module#2500
232c353
Thanks @tim-smart! - simplify scope internals#2507
0ca835c
Thanks @gcanti! - ensure correct value is passed to mapping function inmapAccum
loop, closes #2506#2472
8709856
Thanks @tim-smart! - add Readable module / traitReadable
is a common interface for objects that can be read from using aget
Effect.
For example,
Ref
's implementReadable
:#2498
e983740
Thanks @jessekelly881! - added {Readable, Subscribable}.unwrap#2494
e3e0924
Thanks @thewilkybarkid! - AddDuration.divide
andDuration.unsafeDivide
.v2.4.18
Compare Source
Patch Changes
#2473
dadc690
Thanks @tim-smart! - add Logger.withConsoleLog/withConsoleError apisThese apis send a Logger's output to console.log/console.error respectively.
v2.4.17
Compare Source
Patch Changes
#2461
8fdfda6
Thanks @tim-smart! - add Inspectable.toStringUnknown/stringifyCircular#2462
607b2e7
Thanks @tim-smart! - remove handled errors from Effect.retryOrElse#2461
8fdfda6
Thanks @tim-smart! - improve formatting of Runtime failures#2415
8206caf
Thanks @tim-smart! - add Iterable moduleThis module shares many apis compared to "effect/ReadonlyArray", but is fully lazy.
#2438
7ddd654
Thanks @mikearnaldi! - Support Heterogeneous Effects in Effect Iterable apisIncluding:
Effect.allSuccesses
Effect.firstSuccessOf
Effect.mergeAll
Effect.reduceEffect
Effect.raceAll
Effect.forkAll
For example:
The above is now possible while before it was expecting all Effects to conform to the same type
#2438
7ddd654
Thanks @mikearnaldi! - add Effect.filterMap apiWhich allows you to filter and map an Iterable of Effects in one step.
#2461
8fdfda6
Thanks @tim-smart! - use Inspectable.toStringUnknown for absurd runtime errors#2460
f456ba2
Thanks @tim-smart! - use const type parameter for Config.withDefaultWhich ensures that the fallback value type is not widened for literals.
v2.4.16
Compare Source
Patch Changes
5170ce7
Thanks @vecerek! - generate proper trace ids in default effect Tracerv2.4.15
Compare Source
Patch Changes
#2407
d7688c0
Thanks @thewilkybarkid! - Add Config.durationThis can be used to parse Duration's from environment variables:
#2416
b3a4fac
Thanks @mikearnaldi! - Collect exits on forEach interrupt of residual requestsv2.4.14
Compare Source
Patch Changes
6180c0c
Thanks @patroza! - fix interruption of parked Requestsv2.4.13
Compare Source
Patch Changes
#2402
3336287
Thanks @tim-smart! - add Duration.subtract api#2399
54b7c00
Thanks @coleea! - add BigInt.fromString and BigInt.fromNumber#2402
3336287
Thanks @tim-smart! - remove use of bigint literals in Durationv2.4.12
Compare Source
Patch Changes
3307729
Thanks @tim-smart! - update typescript to 5.4v2.4.11
Compare Source
Patch Changes
#2384
2f488c4
Thanks @tim-smart! - update dependencies#2381
37ca592
Thanks @tim-smart! - add fiber ref for disabling the tracerYou can use it with the Effect.withTracerEnabled api:
#2383
317b5b8
Thanks @tim-smart! - add Duration.isFinite api, to determine if a duration is not Infinityv2.4.10
Compare Source
Patch Changes
#2375
9bab1f9
Thanks @tim-smart! - remove dangling variable in frequency metric hook#2373
9bbde5b
Thanks @patroza! - Use incremental counters instead of up-down for runtime metricsv2.4.9
Compare Source
Patch Changes
71fd528
Thanks @tim-smart! - make more data types in /platform implement Inspectablev2.4.8
Compare Source
Patch Changes
#2354
bb0b69e
Thanks @tim-smart! - add overload to Effect.filterOrFail that fails with NoSuchElementExceptionThis allows you to perform a filterOrFail without providing a fallback failure
function.
Example:
#2336
6b20bad
Thanks @jessekelly881! - added Predicate.isTruthy#2351
4e64e9b
Thanks @tim-smart! - fix metrics not using labels from fiber ref#2266
3851a02
Thanks @patroza! - fix Effect.Tag generated proxy functions to work with andThen/tap, or others that do function/isEffect checks#2353
5f5fcd9
Thanks @tim-smart! - Types: addHas
helper#2299
814e5b8
Thanks @alex-dixon! - Prevent Effect.if from crashing when first argument is not an Effectv2.4.7
Compare Source
Patch Changes
eb93283
Thanks @tim-smart! - set unhandled log level to none for fibers in FiberSet/Mapv2.4.6
Compare Source
Patch Changes
#2290
4f35a7e
Thanks @mikearnaldi! - Remove function renaming from internals, introduce new cutpoint strategy#2311
9971186
Thanks @tim-smart! - add Channel.splitLines apiIt splits strings on newlines. Handles both Windows newlines (
\r\n
) and UNIXnewlines (
\n
).v2.4.5
Compare Source
Patch Changes
#2300
bce21c5
Thanks @gcanti! - ReadonlyArray: fixintersperse
signature#2303
c7d3036
Thanks @gcanti! - ReadonlyArray: fixsort
signature, closes #2301v2.4.4
Compare Source
Patch Changes
#2172
5d47ee0
Thanks @gcanti! - Brand: addrefined
overload#2285
817a04c
Thanks @tim-smart! - add support for AbortSignal's to runPromiseIf the signal is aborted, the effect execution will be interrupted.
#2293
d90a99d
Thanks @tim-smart! - add AbortSignal support to ManagedRuntime#2288
dd05faa
Thanks @tim-smart! - optimize addition of blocked requests to parallel collection#2288
dd05faa
Thanks @tim-smart! - use Chunk for request block collections#2280
802674b
Thanks @jessekelly881! - added support for PromiseLikev2.4.3
Compare Source
Patch Changes
#2211
20e63fb
Thanks @tim-smart! - add ManagedRuntime module, to make incremental adoption easierYou can use a ManagedRuntime to run Effect's that can use the
dependencies from the given Layer. For example:
#2211
20e63fb
Thanks @tim-smart! - add Layer.toRuntimeWithMemoMap apiSimilar to Layer.toRuntime, but allows you to share a Layer.MemoMap between
layer builds.
By sharing the MemoMap, layers are shared between each build - ensuring layers
are only built once between multiple calls to Layer.toRuntimeWithMemoMap.
v2.4.2
Compare Source
Patch Changes
#2264
e03811e
Thanks @patroza! - fix: unmatched function fallthrough inandThen
andtap
#2225
ac41d84
Thanks @mikearnaldi! - Add Effect.Tag to simplify access to service.This change allows to define tags in the following way:
And use them like:
This fuses together
serviceFunctions
andserviceConstants
in the static side of the tag.Additionally it allows using the service like:
This is especially useful when having functions that contain generics in the service given that those can't be reliably transformed at the type level and because of that we can't put them on the tag.
#2238
6137533
Thanks @JJayet! - Request: swap Success and Error params#2270
f373529
Thanks @tim-smart! - add structured logging apisLogger.json
logs JSON serialized strings to the console.Logger.structured
logs structured objects, which is useful in the browserwhere you can inspect objects logged to the console.
#2257
1bf9f31
Thanks @mikearnaldi! - Make sure Effect.Tag works on primitives.This change allows the following to work just fine:
#2244
e3ff789
Thanks @tim-smart! - add FiberMap/FiberSet.join apiThis api can be used to propogate failures back to a parent fiber, in case any of the fibers added to the FiberMap/FiberSet fail with an error.
Example:
#2238
6137533
Thanks @JJayet! - make Effect.request dual#2263
507ba40
Thanks @thewilkybarkid! - Allow duration inputs to be singular#2255
e466afe
Thanks @jessekelly881! - added Either.Either.{Left,Right} and Option.Option.Value type utils#2270
f373529
Thanks @tim-smart! - add Logger.batched, for batching logger outputIt takes a duration window and an effectful function that processes the batched output.
Example:
#2233
de74eb8
Thanks @gcanti! - Struct: makepick
/omit
dualv2.4.1
Compare Source
Patch Changes
#2503
41c8102
Thanks @gcanti! - Centralize error messages for bugs#2493
776ef2b
Thanks @gcanti! - add aRegExp
module topackages/effect
, closes #2488#2499
217147e
Thanks @tim-smart! - ensure FIFO ordering when a Deferred is resolved#2502
90776ec
Thanks @tim-smart! - make tracing spans cheaper to construct#2472
8709856
Thanks @tim-smart! - add Subscribable trait / moduleSubscribable represents a resource that has a current value and can be subscribed to for updates.
The following data types are subscribable:
SubscriptionRef
Actor
from the experimentalMachine
module#2500
232c353
Thanks @tim-smart! - simplify scope internals#2507
0ca835c
Thanks @gcanti! - ensure correct value is passed to mapping function inmapAccum
loop, closes #2506#2472
8709856
Thanks @tim-smart! - add Readable module / traitReadable
is a common interface for objects that can be read from using aget
Effect.
For example,
Ref
's implementReadable
:#2498
e983740
Thanks @jessekelly881! - added {Readable, Subscribable}.unwrap#2494
e3e0924
Thanks @thewilkybarkid! - AddDuration.divide
andDuration.unsafeDivide
.v2.4.0
Compare Source
Minor Changes
#2101
5de7be5
Thanks @github-actions! - remove ReadonlyRecord.fromIterable (duplicate of fromEntries)#2101
489fcf3
Thanks @github-actions! - - swapSchedule
type parameters fromSchedule<out Env, in In, out Out>
toSchedule<out Out, in In = unknown, out R = never>
, closes #2154ScheduleDriver
type parameters fromScheduleDriver<out Env, in In, out Out>
toScheduleDriver<out Out, in In = unknown, out R = never>
#2101
7d9c3bf
Thanks @github-actions! - ConsolidateEffect.asyncOption
,Effect.asyncEither
,Stream.asyncOption
,Stream.asyncEither
, andStream.asyncInterrupt
This PR removes
Effect.asyncOption
andEffect.asyncEither
as their behavior can be entirely implemented with the new signature ofEffect.async
, which optionally returns a cleanupEffect
from the registration callback.Additionally, this PR removes
Stream.asyncOption
,Stream.asyncEither
, andStream.asyncInterrupt
as their behavior can be entirely implemented with the new signature ofStream.async
, which can optionally return a cleanupEffect
from the registration callback.#2101
d8d278b
Thanks @github-actions! - swapGroupBy
type parameters fromGroupBy<out R, out E, out K, out V>
toGroupBy<out K, out V, out E = never, out R = never>
#2101
14c5711
Thanks @github-actions! - Remove Effect.unified and Effect.unifiedFn in favour of Unify.unify.The
Unify
module fully replaces the need for specific unify functions, when before you did:You can now do:
#2101
5de7be5
Thanks @github-actions! - add key type to ReadonlyRecord#2101
585fcce
Thanks @github-actions! - add support for optional property keys topick
,omit
andget
Before:
Now
#2101
a025b12
Thanks @github-actions! - Swap type params of Either fromEither<E, A>
toEither<R, L = never>
.Along the same line of the other changes this allows to shorten the most common types such as:
Patch Changes
#2193
b9cb3a9
Thanks @jessekelly881! - added Number.parse, BigInt.toNumber, ParseResult.fromOption#2101
93b412d
Thanks @github-actions! - ReadonlyArray.groupBy: allow for grouping by symbols, closes #2180#2101
55b26a6
Thanks @github-actions! - Either: fixfromOption
overloads order#2101
2097739
Thanks @github-actions! - Add Do notation methodsDo
,bindTo
,bind
andlet
to Eitherv2.3.8
Compare Source
Patch Changes
#2167
5ad2eec
Thanks @tim-smart! - add Hash.cachedThis api assists with adding a layer of caching, when hashing immutable data structures.
#2187
e6d36c0
Thanks @tim-smart! - update development dependenciesv2.3.7
Compare Source
Patch Changes
#2142
bc8404d
Thanks @mikearnaldi! - Expose version control via ModuleVersion.This enables low level framework authors to run their own effect version which won't conflict with any other effect versions running on the same process.
Imagine cases where for example a function runtime is built on effect, we don't want lifecycle of the runtime to clash with lifecycle of user-land provided code.
To manually control the module version one can use:
Note that this code performs side effects and should be executed before any module is imported ideally via an init script.
The resulting order of execution has to be:
#2159
2c5cbcd
Thanks @IMax153! - Avoid incrementing cache hits for expired entries#2165
6565916
Thanks @tim-smart! - fix Hash implemention for Option.nonev2.3.6
Compare Source
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:
v2.3.5
Compare Source
Patch Changes
b881365
Thanks @IMax153! - Fix the ordering of results returned from batched requestsv2.3.4
Compare Source
Patch Changes
17bda66
Thanks @tim-smart! - ensure large semaphore takes don't block smaller takesv2.3.3
Compare Source
Patch Changes
#2090
efd41d8
Thanks @hsubra89! - UpdateRateLimiter
to support passing in a customcost
per effect. This is really useful for API(s) that have a "credit cost" per endpoint.Usage Example :
#2097
0f83515
Thanks @IMax153! - Updates theRateLimiter.make
constructor to take an object ofRateLimiter.Options
, which allows for specifying the rate-limiting algorithm to utilize:You can choose from either the
token-bucket
or thefixed-window
algorithms for rate-limiting.#2097
0f83515
Thanks @IMax153! - return the resulting available permits from Semaphore.releasev2.3.2
Compare Source
Patch Changes
#2096
6654f5f
Thanks @tim-smart! - default tonever
for Runtime returning functionsThis includes:
It prevents
unknown
from creeping into types, as well asnever
being auseful default type for propogating Fiber Refs and other context.
#2094
2eb11b4
Thanks @tim-smart! - revert some type param adjustments in FiberSetmakeRuntime
now has the R parameter first again.Default to
unknown
for the A and E parameters instead of never.#2103
56c09bd
Thanks @patroza! - Expand Either and OptionandThen
to support themap
case like Effects'andThen
For example:
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ 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.