Releases: Effect-TS/effect
Releases · Effect-TS/effect
[email protected]
Minor Changes
-
#3764
4a01828
Thanks @evelant! - add Stream.fromTQueue & Stream.fromTPubSub -
#3764
c79c4c1
Thanks @gcanti! - Merge Schema into Effect.Modules
Before
import { Arbitrary, AST, FastCheck, JSONSchema, ParseResult, Pretty, Schema } from "@effect/schema"
After
import { Arbitrary, SchemaAST, // changed FastCheck, JSONSchema, ParseResult, Pretty, Schema } from "effect"
Formatters
ArrayFormatter
/TreeFormatter
merged intoParseResult
module.Before
import { ArrayFormatter, TreeFormatter } from "@effect/schema"
After
import { ArrayFormatter, TreeFormatter } from "effect/ParseResult"
Serializable
Merged into
Schema
module.Equivalence
Merged into
Schema
module.Before
import { Equivalence } from "@effect/schema" Equivalence.make(myschema)
After
import { Schema } from "@effect/schema" Schema.equivalence(myschema)
-
#3764
38d30f0
Thanks @tim-smart! - add option to .releaseLock a ReadableStream on finalization -
#3764
5821ce3
Thanks @patroza! - feat: implement Redactable. Used by Headers to not log sensitive information
@effect/[email protected]
Patch Changes
-
#3764
685a460
Thanks @jessekelly881! - Adds property testing to @effect/vitestimport { Schema } from "effect" import { it } from "@effect/vitest" const realNumber = Schema.Finite.pipe(Schema.nonNaN()) it.prop("symmetry", [realNumber, realNumber], ([a, b]) => a + b === b + a) it.effect.prop("symmetry", [realNumber, realNumber], ([a, b]) => Effect.gen(function* () { yield* Effect.void return a + b === b + a }) ) it.scoped.prop( "should detect the substring", { a: Schema.String, b: Schema.String, c: Schema.String }, ({ a, b, c }) => Effect.gen(function* () { yield* Effect.scope return (a + b + c).includes(b) }) )
-
Updated dependencies [
4a01828
,4a01828
,c79c4c1
,38d30f0
,5821ce3
]:
@effect/[email protected]
@effect/[email protected]
Patch Changes
- Updated dependencies [
7564f56
,7564f56
]:- @effect/[email protected]
- @effect/[email protected]
@effect/[email protected]
Patch Changes
- Updated dependencies [
4a01828
,6d9de6b
,4a01828
,c79c4c1
,38d30f0
,5821ce3
]:- [email protected]
- @effect/[email protected]
- @effect/[email protected]
@effect/[email protected]
Minor Changes
- #3760
dacbf7d
Thanks @tim-smart! - add sql-clickhouse & clickhouse dialect
@effect/[email protected]
Patch Changes
- Updated dependencies []:
- @effect/[email protected]
@effect/[email protected]
Patch Changes
- Updated dependencies [
4a01828
,4a01828
,c79c4c1
,38d30f0
,5821ce3
]:- [email protected]
- @effect/[email protected]
@effect/[email protected]
Patch Changes
- Updated dependencies [
dacbf7d
]:- @effect/[email protected]
@effect/[email protected]
Patch Changes
- Updated dependencies []:
- @effect/[email protected]