For some of the breking changes, a code-mod has been released to make migration as easy as possible.
You can run it by executing:
npx @effect/codemod schema-0.69 src/**/*
It might not be perfect - if you encounter issues, let us know! Also make sure you commit any changes before running it, in case you need to revert anything.
Breaking Changes
Schema
We've improved the TaggedRequest API to make it more intuitive by grouping parameters into a single object (codmod), closes #3144
For some of the breking changes, a code-mod has been released to make migration as easy as possible.
You can run it by executing:
npx @effect/codemod schema-0.69 src/**/*
It might not be perfect - if you encounter issues, let us know! Also make sure you commit any changes before running it, in case you need to revert anything.
Breaking Changes
Schema
We've improved the TaggedRequest API to make it more intuitive by grouping parameters into a single object (codmod), closes #3144
change TaggedRequestClass type parameters order (swap Success with Failure)
simplify TaggedRequest.Any, use TaggedRequest.All instead
To improve clarity, we have renamed nonEmpty filter to nonEmptyString and NonEmpty schema to NonEmptyString (codmod), closes #3115
The Record constructor now consistently accepts an object argument, aligning it with similar constructors such as Map and HashMap (codmod), closes #2793
Bumps the production-dependencies group with 7 updates in the / directory:
0.36.40
0.39.0
0.55.5
0.60.0
0.51.5
0.55.0
0.33.24
0.33.50
0.33.24
0.33.50
0.67.18
0.69.0
3.2.8
3.5.7
Updates
@effect/cli
from 0.36.40 to 0.39.0Release notes
Sourced from
@effect/cli
's releases.Changelog
Sourced from
@effect/cli
's changelog.... (truncated)
Commits
199df95
Version Packages (#3323)0af945c
Version Packages (#3301)f34f6a7
Version Packages (#3285)a91a8e5
Version Packages (#3275)51e9c5c
feat: allow equals sign in aliased parameter values. (#2755)3271ca1
Version Packages (#3245)ed0dde4
update dependencies (#3253)68f9cc9
Version Packages (#3237)98a88f7
Version Packages (#3232)d4336d8
Version Packages (#3224)Updates
@effect/platform
from 0.55.5 to 0.60.0Release notes
Sourced from
@effect/platform
's releases.Changelog
Sourced from
@effect/platform
's changelog.... (truncated)
Commits
199df95
Version Packages (#3323)20807a4
schema next minor (#3227)0af945c
Version Packages (#3301)f34f6a7
Version Packages (#3285)a91a8e5
Version Packages (#3275)adbf753
remove cjs /platform dependencies (#3281)fcecff7
ensure /platform HttpApp.toWebHandler runs Stream's with the current runtime ...3271ca1
Version Packages (#3245)53c0db0
replace /platform RefailError with use of the "cause" property (#3260)ada68b3
refactor & simplify /platform backing workers (#3255)Updates
@effect/platform-node
from 0.51.5 to 0.55.0Release notes
Sourced from
@effect/platform-node
's releases.Changelog
Sourced from
@effect/platform-node
's changelog.... (truncated)
Commits
199df95
Version Packages (#3323)0af945c
Version Packages (#3301)f34f6a7
Version Packages (#3285)a91a8e5
Version Packages (#3275)b37a8c7
Version Packages (#3268)07db4ac
add NodeHttpServerRequest.toServerResponse for accessing the raw node respons...3271ca1
Version Packages (#3245)53c0db0
replace /platform RefailError with use of the "cause" property (#3260)ada68b3
refactor & simplify /platform backing workers (#3255)ed0dde4
update dependencies (#3253)Updates
@effect/printer
from 0.33.24 to 0.33.50Release notes
Sourced from
@effect/printer
's releases.Changelog
Sourced from
@effect/printer
's changelog.... (truncated)
Commits
0af945c
Version Packages (#3301)f34f6a7
Version Packages (#3285)a91a8e5
Version Packages (#3275)3271ca1
Version Packages (#3245)68f9cc9
Version Packages (#3237)98a88f7
Version Packages (#3232)a16e9be
Version Packages (#3222)cf8c52b
Version Packages (#3218)464c5a8
Version Packages (#3205)8927058
Improve babel build post-processing (#3206)Updates
@effect/printer-ansi
from 0.33.24 to 0.33.50Release notes
Sourced from
@effect/printer-ansi
's releases.Changelog
Sourced from
@effect/printer-ansi
's changelog.... (truncated)
Commits
0af945c
Version Packages (#3301)f34f6a7
Version Packages (#3285)a91a8e5
Version Packages (#3275)3271ca1
Version Packages (#3245)68f9cc9
Version Packages (#3237)98a88f7
Version Packages (#3232)a16e9be
Version Packages (#3222)cf8c52b
Version Packages (#3218)464c5a8
Version Packages (#3205)8927058
Improve babel build post-processing (#3206)Updates
@effect/schema
from 0.67.18 to 0.69.0Release notes
Sourced from
@effect/schema
's releases.... (truncated)
Changelog
Sourced from
@effect/schema
's changelog.... (truncated)
Commits
199df95
Version Packages (#3323)20807a4
schema next minor (#3227)0af945c
Version Packages (#3301)4f72730
update JSON Schema guide (#3313)6921c4f
Remove incorrect static override type annotations in class definitions (#3311)29a5389
move Arbitrary / Pretty / JSON Schema / Equivalences to top level sections (#...215800d
add "Naming Conventions" doc section (#3298)f34f6a7
Version Packages (#3285)8ec4955
remove type-level error message fromoptional
signature, closes #3290 (#3291)f0285d3
JSON Schema: change default behavior for property signatures containi… (#3287)Updates
effect
from 3.2.8 to 3.5.7Release notes
Sourced from effect's releases.
Changelog
Sourced from effect's changelog.
Superseded by #416.