diff --git a/.changeset/forty-rats-decide.md b/.changeset/forty-rats-decide.md new file mode 100644 index 000000000..0a6d39184 --- /dev/null +++ b/.changeset/forty-rats-decide.md @@ -0,0 +1,5 @@ +--- +"@effect/schema": minor +--- + +Schema: refactor `parseJson` to replace `ParseJson` and `fromJson` diff --git a/.changeset/ten-queens-know.md b/.changeset/ten-queens-know.md new file mode 100644 index 000000000..60dc3c5d3 --- /dev/null +++ b/.changeset/ten-queens-know.md @@ -0,0 +1,5 @@ +--- +"@effect/schema": minor +--- + +Schema: simplify `split` parameters to only accept `separator` diff --git a/.changeset/wise-bikes-kick.md b/.changeset/wise-bikes-kick.md new file mode 100644 index 000000000..fd404c2b7 --- /dev/null +++ b/.changeset/wise-bikes-kick.md @@ -0,0 +1,25 @@ +--- +"@effect/schema": minor +--- + +Schema: remove useless combinators + +- `lowercase` +- `uppercase` +- `trim` +- `numberFromString` +- `symbolFromString` +- `bigintFromString` +- `bigintFromNumber` +- `secret` +- `durationFromHrTime` +- `durationFromMillis` +- `durationFromNanos` +- `uint8ArrayFromNumbers` +- `base64` +- `base64url` +- `hex` +- `dateFromString` +- `bigDecimalFromNumber` +- `bigDecimalFromString` +- `not` diff --git a/docs/modules/Schema.ts.md b/docs/modules/Schema.ts.md index b8b904f9b..b1e0cc206 100644 --- a/docs/modules/Schema.ts.md +++ b/docs/modules/Schema.ts.md @@ -13,11 +13,7 @@ Added in v1.0.0