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 was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.
Releases
@effect/ai-amazon-bedrock@0.6.2
Patch Changes
#5438
0065a12Thanks @IMax153! - Fix the InferenceConfiguration schema in the Amazon Bedrock AI provider packageUpdated dependencies [
3b26094,a33e491]: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
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
Schema Description Deduplication
Previously, when a schema was reused, only the first description was kept.
Now, every property keeps its own description, even if the schema is reused.
Example
Fragment Detection in Non-Refinement Schemas
This patch fixes the issue where fragments (e.g.
jsonSchema.format) were not detected on non-refinement schemas.Example
Nested Unions
Nested unions are no longer flattened. Instead, they remain as nested
anyOfarrays.This is fine because JSON Schema allows nested
anyOf.Example
Refinements without
jsonSchemaannotationRefinements that don't provide a
jsonSchemaannotation no longer cause errors.They are simply ignored, so you can still generate a JSON Schema even when refinements can't easily be expressed.
#5437
a33e491Thanks @tim-smart! - ensure Effect.promise captures span on defect@effect/platform-node@0.96.1
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
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
Schema Description Deduplication
Previously, when a schema was reused, only the first description was kept.
Now, every property keeps its own description, even if the schema is reused.
Example
Fragment Detection in Non-Refinement Schemas
This patch fixes the issue where fragments (e.g.
jsonSchema.format) were not detected on non-refinement schemas.Example
Nested Unions
Nested unions are no longer flattened. Instead, they remain as nested
anyOfarrays.This is fine because JSON Schema allows nested
anyOf.Example
Refinements without
jsonSchemaannotationRefinements that don't provide a
jsonSchemaannotation no longer cause errors.They are simply ignored, so you can still generate a JSON Schema even when refinements can't easily be expressed.
Updated dependencies [
3b26094,a33e491]: