-
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/schema to v0.75.5 #56
Open
renovate
wants to merge
1
commit into
main
Choose a base branch
from
renovate/effect-schema-0.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-schema-0.x
branch
2 times, most recently
from
February 6, 2024 03:04
7f3e2a6
to
fcafb0a
Compare
renovate
bot
force-pushed
the
renovate/effect-schema-0.x
branch
from
February 6, 2024 07:25
fcafb0a
to
63daa91
Compare
renovate
bot
force-pushed
the
renovate/effect-schema-0.x
branch
9 times, most recently
from
February 6, 2024 19:16
00e63db
to
177abaa
Compare
renovate
bot
force-pushed
the
renovate/effect-schema-0.x
branch
from
February 7, 2024 22:43
177abaa
to
8e805c3
Compare
renovate
bot
changed the title
⬆️ Update dependency @effect/schema to v0.61.5
⬆️ Update dependency @effect/schema to v0.61.6
Feb 7, 2024
renovate
bot
force-pushed
the
renovate/effect-schema-0.x
branch
from
February 8, 2024 00:05
8e805c3
to
888ee5f
Compare
renovate
bot
changed the title
⬆️ Update dependency @effect/schema to v0.61.6
⬆️ Update dependency @effect/schema to v0.61.7
Feb 8, 2024
renovate
bot
force-pushed
the
renovate/effect-schema-0.x
branch
from
February 8, 2024 04:27
888ee5f
to
65b948f
Compare
renovate
bot
force-pushed
the
renovate/effect-schema-0.x
branch
from
February 9, 2024 01:06
65b948f
to
26d04a9
Compare
renovate
bot
force-pushed
the
renovate/effect-schema-0.x
branch
2 times, most recently
from
November 11, 2024 03:09
47a2cdb
to
8a5a579
Compare
renovate
bot
force-pushed
the
renovate/effect-schema-0.x
branch
5 times, most recently
from
November 22, 2024 03:04
36fc011
to
06bbe1c
Compare
renovate
bot
force-pushed
the
renovate/effect-schema-0.x
branch
11 times, most recently
from
November 28, 2024 09:48
61637b8
to
8aecee7
Compare
renovate
bot
force-pushed
the
renovate/effect-schema-0.x
branch
4 times, most recently
from
December 4, 2024 04:49
77de2fa
to
bdd0aeb
Compare
renovate
bot
force-pushed
the
renovate/effect-schema-0.x
branch
5 times, most recently
from
December 16, 2024 03:54
2e570c0
to
2605659
Compare
renovate
bot
force-pushed
the
renovate/effect-schema-0.x
branch
from
December 16, 2024 06:26
2605659
to
04e735c
Compare
renovate
bot
force-pushed
the
renovate/effect-schema-0.x
branch
from
December 17, 2024 20:35
04e735c
to
2d36289
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:
0.60.4
->0.75.5
Release Notes
Effect-TS/effect (@effect/schema)
v0.75.5
Compare Source
Patch Changes
#3792
382556f
Thanks @gcanti! - resolve parse error when usingpick
with union of class schemas, closes #3751#3790
97cb014
Thanks @gcanti! - Equivalence: Fixed a bug related to discriminated tuples.Example:
The following equivalence check was incorrectly returning
false
:v0.75.4
Compare Source
Patch Changes
61a99b2
]:v0.75.3
Compare Source
Patch Changes
#3761
360ec14
Thanks @gcanti! - Allow Schema.Either to support Schema.Never without type errors, closes #3755.format
to extendSchema.All
instead ofSchema<A, I, R>
.Schema.EitherFromSelf
to extendSchema.All
instead ofSchema.Any
.Schema.Either
to extendSchema.All
instead ofSchema.Any
.Schema.EitherFromUnion
to extendSchema.All
instead ofSchema.Any
.v0.75.2
Compare Source
Patch Changes
#3753
f02b354
Thanks @gcanti! - Enhanced Error Reporting for Discriminated Union Tuple Schemas, closes #3752Previously, irrelevant error messages were generated for each member of the union. Now, when a discriminator is present in the input, only the relevant member will trigger an error.
Before
After
v0.75.1
Compare Source
Patch Changes
#3740
3b2ad1d
Thanks @tim-smart! - revert deno Inspectable changesUpdated dependencies [
3b2ad1d
]:v0.75.0
Compare Source
Minor Changes
0ba66f2
Thanks @tim-smart! - add deno support to InspectablePatch Changes
ff3d1aa
,0ba66f2
,bf77f51
,016f9ad
,0779681
,534129f
,d75140c
,be0451c
,9237ac6
,be0451c
,5b36494
,c716adb
,4986391
,d75140c
,d1387ae
]:v0.74.2
Compare Source
Patch Changes
88e85db
,83887ca
,5266b6c
,cdead5c
,766a8af
]:v0.74.1
Compare Source
Patch Changes
#3669
734eae6
Thanks @gcanti! - Add description annotation to the encoded part of NumberFromString.Before
After
#3667
fd83d0e
Thanks @gcanti! - Remove default json schema annotations from string, number and boolean.Before
After
#3673
ad7e1de
Thanks @gcanti! - Add more description annotations.#3672
090e41c
Thanks @gcanti! - JSON Schema: handle refinements where the 'from' part includes a transformation, closes #3662Before
After
#3672
090e41c
Thanks @gcanti! - Add description annotation to the encoded part of DateFromString.Before
After
Updated dependencies [
4509656
]:v0.74.0
Compare Source
Minor Changes
de48aa5
Thanks @gcanti! - Remove internal sorting of property signatures, closes #3652v0.73.4
Compare Source
Patch Changes
bb5ec6b
]:v0.73.3
Compare Source
Patch Changes
#3635
e6440a7
Thanks @gcanti! - Stable filters such asminItems
,maxItems
, anditemsCount
now generate multiple errors when the 'errors' option is set to 'all', closes #3633Example:
Previously, only the issue related to the
[ 'tags', 1 ]
path was reported.v0.73.2
Compare Source
Patch Changes
f0d8ef1
]:v0.73.1
Compare Source
Patch Changes
#3619
f56ab78
Thanks @gcanti! - add Date filters (less than, greater than, between), closes #3606Updated dependencies [
10bf621
,ae36fa6
]:v0.73.0
Compare Source
Minor Changes
#3589
7fdf9d9
Thanks @gcanti! - Updates the constraints for members within a union from the more restrictiveSchema.Any
to the more inclusiveSchema.All
, closes #3587.Affected APIs include:
Schema.Union
Schema.UndefinedOr
Schema.NullOr
Schema.NullishOr
Schema.optional
AST.Union.make
now retains duplicate members and no longer eliminates theneverKeyword
.Patch Changes
fcfa6ee
,bb9931b
,5798f76
,5f0bfa1
,812a4e8
,273565e
,569a801
,aa1fa53
,02f6b06
,12b893e
,bbad27e
,adf7d7a
,007289a
,42a8f99
,eebfd29
,040703d
]:v0.72.4
Compare Source
Patch Changes
35a0f81
]:v0.72.3
Compare Source
Patch Changes
f6acb71
Thanks @gcanti! - Enhanced the generation of recursive Arbitraries to prevent infinite nesting, closes #3512v0.72.2
Compare Source
Patch Changes
8a601d7
,353ba19
]:v0.72.1
Compare Source
Patch Changes
79859e7
,f6a469c
,dcb9ec0
,79aa6b1
]:v0.72.0
Compare Source
Patch Changes
db89601
,2f456cc
,8745e41
,e557838
,d6e7e40
,8356321
,192f2eb
,718cb70
,e9d0310
,6bf28f7
]:v0.71.4
Compare Source
Patch Changes
e809286
]:v0.71.3
Compare Source
Patch Changes
50ec889
]:v0.71.2
Compare Source
Patch Changes
f960bf4
,46a575f
]:v0.71.1
Compare Source
Patch Changes
14a47a8
,0c09841
]:v0.71.0
Compare Source
Minor Changes
#3433
c1987e2
Thanks @gcanti! - Make json schema output more compatible with Open AI structured output, closes #3432.JSONSchema
oneOf
in favour ofanyOf
(e.g. inJsonSchema7object
,JsonSchema7empty
,JsonSchema7Enums
)const
in favour ofenum
(e.g. inJsonSchema7Enums
)JsonSchema7Const
typeJsonSchema7OneOf
typeAST
identifier
annotation fromSchema.Null
identifier
annotation fromSchema.Object
Patch Changes
#3448
1ceed14
Thanks @tim-smart! - add Schema.ArrayEnsure & Schema.NonEmptyArrayEnsureThese schemas can be used to ensure that a value is an array, from a value that may be an array or a single value.
#3450
0e42a8f
Thanks @tim-smart! - update dependenciesUpdated dependencies [
8295281
,c940df6
,00b6c6d
,f8d95a6
]:v0.70.4
Compare Source
Patch Changes
04adcac
]:v0.70.3
Compare Source
Patch Changes
#3430
99ad841
Thanks @gcanti! - Fix return types forattachPropertySignature
function.This commit addresses an inconsistency in the return types between the curried and non-curried versions of the
attachPropertySignature
function. Previously, the curried version returned aSchema
, while the non-curried version returned aSchemaClass
.Updated dependencies [
fd4b2f6
]:v0.70.2
Compare Source
Patch Changes
510a34d
,45dbb9f
]:v0.70.1
Compare Source
Patch Changes
#3347
3dce357
Thanks @gcanti! - Enhanced Parsing withTemplateLiteralParser
, closes #3307In this update we've introduced a sophisticated API for more refined string parsing:
TemplateLiteralParser
. This enhancement stems from recognizing limitations in theSchema.TemplateLiteral
andSchema.pattern
functionalities, which effectively validate string formats without extracting structured data.Overview of Existing Limitations
The
Schema.TemplateLiteral
function, while useful as a simple validator, only verifies that an input conforms to a specific string pattern by converting template literal definitions into regular expressions. Similarly,Schema.pattern
employs regular expressions directly for the same purpose. Post-validation, both methods require additional manual parsing to convert the validated string into a usable data format.Introducing TemplateLiteralParser
To address these limitations and eliminate the need for manual post-validation parsing, the new
TemplateLiteralParser
API has been developed. It not only validates the input format but also automatically parses it into a more structured and type-safe output, specifically into a tuple format.This new approach enhances developer productivity by reducing boilerplate code and simplifying the process of working with complex string inputs.
Example (string based schemas)
Example (number based schemas)
#3346
657fc48
Thanks @gcanti! - ImplementDecodingFallbackAnnotation
to manage decoding errors.This update introduces a
decodingFallback
annotation, enabling custom handling of decoding failures in schemas. This feature allows developers to specify fallback behaviors when decoding operations encounter issues.Example
v0.70.0
Compare Source
Patch Changes
#3380
8135294
Thanks @tim-smart! - add schemas for working with the DateTime moduleUpdated dependencies [
1e0fe80
,8135294
,cd255a4
,3845646
,2d09078
,4bce5a0
,4ddbff0
,e74cc38
,bb069b4
,cd255a4
,7d02174
]:v0.69.3
Compare Source
Patch Changes
#3359
7c0da50
Thanks @gcanti! - AddContext
field toSchema
interface, closes #3356#3363
2fc0ff4
Thanks @gcanti! - exportisPropertySignature
guard#3357
f262665
Thanks @gcanti! - Improve annotation retrieval fromClass
APIs, closes #3348.Previously, accessing annotations such as
identifier
andtitle
required explicit casting of theast
field toAST.Transformation
.This update refines the type definitions to reflect that
ast
is always anAST.Transformation
, eliminating the need for casting and simplifying client code.#3343
9bbe7a6
Thanks @gcanti! - - addNonEmptyTrimmedString
Example
add
OptionFromNonEmptyTrimmedString
, closes #3335Example
Updated dependencies [
6359644
,7f41e42
,f566fd1
]:v0.69.2
Compare Source
Patch Changes
1ba640c
,c8c71bd
,a26ce58
]:v0.69.1
Compare Source
Patch Changes
f241154
Thanks @gcanti! - Expose success and failure schemas onTaggedRequestClass
interface, closes #3331v0.69.0
Compare Source
Minor Changes
#3227
20807a4
Thanks @gcanti! - ## CodemodFor some of the breking changes, a code-mod has been released to make migration as easy as possible.
You can run it by executing:
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
ParseResult
AST
Serializable
New Features
Schema
Serializable
v0.68.27
Compare Source
Patch Changes
#3310
99bddcf
Thanks @fubhy! - Added additional pure annotations to improve tree-shakeability#3311
6921c4f
Thanks @gcanti! - Remove incorrect static override type annotations in class definitions.This will also improve tree-shakeability.
Updated dependencies [
3afcc93
,99bddcf
]:v0.68.26
Compare Source
Patch Changes
#3287
f0285d3
Thanks @gcanti! - JSON Schema: change default behavior for property signatures containingundefined
Changed the default behavior when encountering a required property signature whose type contains
undefined
. Instead of raising an exception,undefined
is now pruned and the field is set as optional.Before
Now
#3291
8ec4955
Thanks @gcanti! - remove type-level error message fromoptional
signature, closes #3290This fix eliminates the type-level error message from the
optional
function signature, which was causing issues in generic contexts.#3284
3ac2d76
Thanks @gcanti! - Fix: Correct Handling of JSON Schema Annotations in RefinementsFixes an issue where the JSON schema annotation set by a refinement after a transformation was mistakenly interpreted as an override annotation. This caused the output to be incorrect, as the annotations were not applied as intended.
Before
Now
Updated dependencies [
cc327a1
,4bfe4fb
,2b14d18
]:v0.68.25
Compare Source
Patch Changes
a9d7800
]:v0.68.24
Compare Source
Patch Changes
#3253
ed0dde4
Thanks @tim-smart! - update dependenciesUpdated dependencies [
ed0dde4
,ca775ce
,5be9cc0
,203658f
,eb1c4d4
]:v0.68.23
Compare Source
Patch Changes
#3234
edb0da3
Thanks @tim-smart! - ensure Schema.TaggedError renders a .cause correctlyUpdated dependencies [
edb0da3
,c8d3fb0
,dabd028
,786b2ab
,fc57354
]:v0.68.22
Compare Source
Patch Changes
639208e
,6684b4c
,6684b4c
,6684b4c
]:v0.68.21
Compare Source
Patch Changes
55fdd76
]:v0.68.20
Compare Source
Patch Changes
a1f5b83
,a1f5b83
,a1f5b83
,60bc3d0
,5ab348f
,60bc3d0
,3e04bf8
,e7fc45f
,a1f5b83
,4626de5
, [f01e7db
](https://redirect.github.com/Effect-TS/effect/commit/f01e7db317827255dConfiguration
📅 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.