⬆️ Update dependency effect to v3 #126
Open
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.16.10
Release Notes
Effect-TS/effect (effect)
v3.16.10
Compare Source
Patch Changes
faad30e
Thanks @tim-smart! - relax Predicate.compose constraint on second refinementv3.16.9
Compare Source
Patch Changes
#5081
5137c70
Thanks @tim-smart! - expose Stream.provideSomeContext#5082
c23d25c
Thanks @tim-smart! - fix Effect.filterOrFail return type inferencev3.16.8
Compare Source
Patch Changes
#5047
8cb98d5
Thanks @tim-smart! - ensure Stream.toReadableStream ignores empty chunks#5046
db2dd3c
Thanks @tim-smart! - ignore ReadableStream defect in bun due to controller bugv3.16.7
Compare Source
Patch Changes
1bb0d8a
Thanks @tim-smart! - ensure DateTime.make interprets strings without zone as UTCv3.16.6
Compare Source
Patch Changes
#5026
a5f7595
Thanks @KhraksMamtsov! - Add missing type variances#5031
a02470c
Thanks @KhraksMamtsov! - Fix Context.add & Context.make signatures#5003
f891d45
Thanks @beezee! - Ensure binding__proto__
to lexical scope in do notation is preserved bybind
andlet
v3.16.5
Compare Source
Patch Changes
bf418ef
Thanks @jdharrisnz! - Record.findFirst: Accept ReadonlyRecord type input and optimise the loopv3.16.4
Compare Source
Patch Changes
#4994
74ab9a0
Thanks @tim-smart! - don't inherit interruption flag in Effect.addFinalizer#4986
770008e
Thanks @tim-smart! - ensure Cause.YieldableError extends Errorv3.16.3
Compare Source
Patch Changes
#4952
87722fc
Thanks @tim-smart! - improve Effect.catchTag auto-completion#4950
36217ee
Thanks @tim-smart! - removethis
type propagation from Effect.fnv3.16.2
Compare Source
Patch Changes
0ddf148
Thanks @gcanti! - relaxSchema.brand
constraint, closes #4942v3.16.1
Compare Source
Patch Changes
faad30e
Thanks @tim-smart! - relax Predicate.compose constraint on second refinementv3.16.0
Compare Source
Minor Changes
#4891
ee0bd5d
Thanks @KhraksMamtsov! -Schedule.CurrentIterationMetadata
has been added#4891
5189800
Thanks @vinassefranche! - Add HashMap.hasBy helper#4891
58bfeaa
Thanks @jrudder! - Add round and sumAll to BigDecimal#4891
194d748
Thanks @tim-smart! - add ExecutionPlan moduleA
ExecutionPlan
can be used withEffect.withExecutionPlan
orStream.withExecutionPlan
, allowing you to provide different resources for each step of execution until the effect succeeds or the plan is exhausted.#4891
918c9ea
Thanks @thewilkybarkid! - Add Array.removeOption and Chunk.removeOption#4891
9198e6f
Thanks @TylorS! - Add parameter support for Effect.ServiceThis allows you to pass parameters to the
effect
&scoped
Effect.Serviceconstructors, which will also be reflected in the
.Default
layer.#4891
2a370bf
Thanks @vinassefranche! - AddIterable.countBy
andArray.countBy
#4891
58ccb91
Thanks @KhraksMamtsov! - TheConfig.port
andConfig.branded
functions have been added.#4891
fd47834
Thanks @tim-smart! - return a proxy Layer from LayerMap serviceThe new usage is:
v3.15.5
Compare Source
Patch Changes
cc5bb2b
Thanks @KhraksMamtsov! - Fix type inference for Effect suptypes in NonGen casev3.15.4
Compare Source
Patch Changes
#4869
f570554
Thanks @IGassmann! - Fix summary metric’s min/max values when no samples#4917
78047e8
Thanks @KhraksMamtsov! - Fix Effect.fn inference in case of use with pipe functionsv3.15.3
Compare Source
Patch Changes
4577f54
Thanks @mattiamanzati! - Escape JSON-pointersv3.15.2
Compare Source
Patch Changes
b8722b8
Thanks @KhraksMamtsov! - - TheHashMap.has/get
family has become more type-safe.v3.15.1
Compare Source
Patch Changes
#4870
787ce70
Thanks @tim-smart! - ensure generic refinements work with Effect.filterOr*#4857
1269641
Thanks @tim-smart! - preserve explicitthis
in Effect.fn apis#4857
1269641
Thanks @tim-smart! - use span name as function name in Effect.fnv3.15.0
Compare Source
Minor Changes
#4641
c654595
Thanks @tim-smart! - Add Layer.setRandom, for over-riding the default Random service#4641
d9f5dea
Thanks @KhraksMamtsov! -Brand.unbranded
getter has been added#4641
49aa723
Thanks @titouancreach! - Add Either.transposeMapOption#4641
74c14d0
Thanks @vinassefranche! - Add Record.findFirst#4641
e4f49b6
Thanks @KhraksMamtsov! - Defaultnever
type has been added toMutableHasMap.empty
&MutableList.empty
ctors#4641
6f02224
Thanks @tim-smart! - add Stream.toAsyncIterable* apis#4641
1dcfd41
Thanks @tim-smart! - improve Effect.filter* types to exclude candidates in fallback functions#4641
b21ab16
Thanks @KhraksMamtsov! - Simplified the creation of pipeable classes.#4641
fcf1822
Thanks @KhraksMamtsov! - propertymessage: string
has been added toConfigError.And
&Or
members#4641
0061dd1
Thanks @tim-smart! - allow catching multiple different tags in Effect.catchTag#4641
8421e6e
Thanks @mlegenhausen! - ExposeCause.isTimeoutException
#4641
fa10f56
Thanks @thewilkybarkid! - Support multiple values in Function.applyv3.14.22
Compare Source
Patch Changes
#4847
24a9ebb
Thanks @gcanti! - Schema: TaggedError no longer crashes when themessage
field is explicitly defined.If you define a
message
field in your schema,TaggedError
will no longer add its ownmessage
getter. This avoids a stack overflow caused by infinite recursion.Before
After
v3.14.21
Compare Source
Patch Changes
2f3b7d4
Thanks @tim-smart! - fix Mailbox.fromStreamv3.14.20
Compare Source
Patch Changes
#4832
17e2f30
Thanks @gcanti! - JSONSchema: respect annotations on declarations.Previously, annotations added with
.annotations(...)
onSchema.declare(...)
were not included in the generated JSON Schema output.Before
After
v3.14.19
Compare Source
Patch Changes
#4822
056a910
Thanks @KhraksMamtsov! - fixLayer.discard
jsdoc#4816
3273d57
Thanks @mikearnaldi! - Fix captureStackTrace for bunv3.14.18
Compare Source
Patch Changes
b1164d4
Thanks @tim-smart! - fix refinement narrowing in Matchv3.14.17
Compare Source
Patch Changes
#4806
0b54681
Thanks @thewilkybarkid! - Match the JS API for locale arguments#4805
41a59d5
Thanks @mikearnaldi! - Implement stack cleaning for Bunv3.14.16
Compare Source
Patch Changes
ee14444
Thanks @tim-smart! - improve Match refinement resolutionv3.14.15
Compare Source
Patch Changes
#4798
239cc99
Thanks @gcanti! - Schema: respect custom constructors inmake
forSchema.Class
, closes #4797Previously, the
make
method did not support custom constructors defined usingSchema.Class
orSchema.TaggedError
, resulting in type errors when passing custom constructor arguments.This update ensures that
make
now correctly uses the class constructor, allowing custom parameters and initialization logic.Before
After
#4687
8b6c947
Thanks @KhraksMamtsov! - Modify the signatures ofEither.liftPredicate
andEffect.predicate
to make them reusable.#4794
c50a63b
Thanks @IGassmann! - Fix summary metric’s quantile value calculationv3.14.14
Compare Source
Patch Changes
6ed8d15
Thanks @tim-smart! - drop use of performance.timeOrigin in clockv3.14.13
Compare Source
Patch Changes
#4777
ee77788
Thanks @gcanti! - JSONSchema: applyencodeOption
to each example and retain successful results.Example
#4701
5fce6ba
Thanks @gcanti! - FixJSONSchema.make
forExit
schemas.Before
After
#4775
570e45f
Thanks @gcanti! - JSONSchema: preserve original key name when usingfromKey
followed byannotations
, closes #4774.Before:
After:
v3.14.12
Compare Source
Patch Changes
#4770
c2ad9ee
Thanks @gcanti! - Fixes a bug where non existing properties were allowed in themake
constructor of aSchema.Class
, closes #4767.Example
#4735
9c68654
Thanks @suddenlyGiovanni! - ImproveNumber
module with comprehensive TsDocs and type-level testsv3.14.11
Compare Source
Patch Changes
e536127
Thanks @tim-smart! - allow Pool to acquire multiple items at oncev3.14.10
Compare Source
Patch Changes
bc7efa3
Thanks @tim-smart! - preserve refinement types in Match.whenv3.14.9
Compare Source
Patch Changes
d78249f
Thanks @thewilkybarkid! - Allow Match.typeTags to specify a return typev3.14.8
Compare Source
Patch Changes
b3a2d32
Thanks @thewilkybarkid! - Make Match.valueTags dualv3.14.7
Compare Source
Patch Changes
b542a4b
Thanks @IGassmann! - Fix summary metric’s quantile valuesv3.14.6
Compare Source
Patch Changes
#4674
47618c1
Thanks @suddenlyGiovanni! - Improved TsDoc documentation forMutableHashSet
module.#4699
6077882
Thanks @gcanti! - Fix JSONSchema generation for record values that includeundefined
, closes #4697.Before
After
v3.14.5
Compare Source
Patch Changes
#4676
40dbfef
Thanks @tim-smart! - allow Effect.fnUntraced to return non-effects#4682
5a5ebdd
Thanks @thewilkybarkid! - ensure Equal considers URL by valuev3.14.4
Compare Source
Patch Changes
e4ba2c6
Thanks @suddenlyGiovanni! - Fix:HashSet.md
api docs; previously broken by issue with Docgen JsDoc parser.v3.14.3
Compare Source
Patch Changes
#4664
37aa8e1
Thanks @suddenlyGiovanni! - Improved TsDoc documentation forHashSet
module.#4670
34f03d6
Thanks @tim-smart! - fix Data.TaggedEnum with generics regressionv3.14.2
Compare Source
Patch Changes
#4847
24a9ebb
Thanks @gcanti! - Schema: TaggedError no longer crashes when themessage
field is explicitly defined.If you define a
message
field in your schema,TaggedError
will no longer add its ownmessage
getter. This avoids a stack overflow caused by infinite recursion.Before
After
v3.14.1
Compare Source
Patch Changes
#4822
056a910
Thanks @KhraksMamtsov! - fixLayer.discard
jsdoc#4816
3273d57
Thanks @mikearnaldi! - Fix captureStackTrace for bunv3.14.0
Compare Source
Minor Changes
#4469
1f47e4e
Thanks @vinassefranche! - Add DateTime.nowAsDate creator#4469
26dd75f
Thanks @tim-smart! - expose the Layer.MemoMap via Layer.CurrentMemoMap to the layers being built#4469
04dff2d
Thanks @tim-smart! - add Tracer Span.addLinks, for dynamically linking spans#4469
c7fac0c
Thanks @LaureRC! - Add HashMap.every#4469
ffaa3f3
Thanks @vinassefranche! - Add Either.transposeOption#4469
ab957c1
Thanks @vinassefranche! - Make TestClock.setTime accept a DateTime.Input#4469
35db9ce
Thanks @LaureRC! - Add Effect.transposeMapOption#4469
cf77ea9
Thanks @f15u! - AddArray.window
function#4469
26dd75f
Thanks @tim-smart! - add LayerMap moduleA
LayerMap
allows you to create a map of Layer's that can be used todynamically access resources based on a key.
Here is an example of how you can use a
LayerMap
to create a service thatprovides access to multiple OpenAI completions services.
#4469
baaab60
Thanks @vinassefranche! - Make Runtime.run* apis dualPatch Changes
aba2d1d
Thanks @tim-smart! - preserve interruptors in channel executor .runInv3.13.12
Compare Source
Patch Changes
0c4803f
](https://redirect.github.com/Effect-TS/effect/commit/0c4803fcc6Configuration
📅 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.