build(deps): bump effect from 3.17.9 to 3.17.10
Type: Pull Request
State: Open
Association: Contributor
Comments: 0
(10 months ago)
(10 months ago)
dependencies javascript
Bumps effect from 3.17.9 to 3.17.10.
Release notes
Sourced from effect's releases.
effect@3.17.10
Patch Changes
#5368
3b26094Thanks@gcanti! - ## Annotation BehaviorWhen you call
.annotationson a schema, any identifier annotations that were previously set will now be removed. Identifiers are now always tied to the schema'sastreference (this was the intended behavior).Example
import { JSONSchema, Schema } from "effect"const schema = Schema.URL
console.log(JSON.stringify(JSONSchema.make(schema), null, 2))
/*
{
"$schema": "http://json-schema.org/draft-07/schema#",
"$defs": {
"URL": {
"type": "string",
"description": "a string to be decoded into a URL"
}
},
"$ref": "#/$defs/URL"
}
*/const annotated = Schema.URL.annotations({ description: "description" })
console.log(JSON.stringify(JSONSchema.make(annotated), null, 2))
/*
{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "string",
"description": "description"
}
*/
OpenAPI 3.1 Compatibility
OpenAPI 3.1 does not allow
nullable: true. Instead, the schema will now correctly use{ "type": "null" }inside a union.Example
import { JSONSchema, Schema } from "effect"
... (truncated)
Changelog
Sourced from effect's changelog.
3.17.10
Patch Changes
#5368
3b26094Thanks@gcanti! - ## Annotation BehaviorWhen you call
.annotationson a schema, any identifier annotations that were previously set will now be removed. Identifiers are now always tied to the schema'sastreference (this was the intended behavior).Example
import { JSONSchema, Schema } from "effect"const schema = Schema.URL
console.log(JSON.stringify(JSONSchema.make(schema), null, 2))
/*
{
"$schema": "http://json-schema.org/draft-07/schema#",
"$defs": {
"URL": {
"type": "string",
"description": "a string to be decoded into a URL"
}
},
"$ref": "#/$defs/URL"
}
*/const annotated = Schema.URL.annotations({ description: "description" })
console.log(JSON.stringify(JSONSchema.make(annotated), null, 2))
/*
{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "string",
"description": "description"
}
*/
OpenAPI 3.1 Compatibility
OpenAPI 3.1 does not allow
nullable: true. Instead, the schema will now correctly use{ "type": "null" }inside a union.Example
import { JSONSchema, Schema } from "effect"
... (truncated)
Commits
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Pull Request Statistics
1
1
+1
-1
Package Dependencies
Technical Details
| ID: | 6376399 |
| UUID: | 2790769351 |
| Node ID: | PR_kwDOMRWVCM6mV8LH |
| Host: | GitHub |
| Repository: | CodeEditorLand/Wind |
| Merge State: | Unknown |