Skip to content
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

Version Packages #3100

Merged
merged 1 commit into from
Jun 27, 2024
Merged

Version Packages #3100

merged 1 commit into from
Jun 27, 2024

Conversation

github-actions[bot]
Copy link
Contributor

@github-actions github-actions bot commented Jun 27, 2024

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/[email protected]

Patch Changes

@effect/[email protected]

Patch Changes

@effect/[email protected]

Patch Changes

@effect/[email protected]

Patch Changes

@effect/[email protected]

Patch Changes

[email protected]

Patch Changes

@effect/[email protected]

Patch Changes

@effect/[email protected]

Patch Changes

@effect/[email protected]

Patch Changes

@effect/[email protected]

Patch Changes

@effect/[email protected]

Patch Changes

@effect/[email protected]

Patch Changes

@effect/[email protected]

Patch Changes

@effect/[email protected]

Patch Changes

@effect/[email protected]

Patch Changes

@effect/[email protected]

Patch Changes

@effect/[email protected]

Patch Changes

@effect/[email protected]

Patch Changes

  • #3101 d990544 Thanks @gcanti! - Generate JSON Schemas correctly for a schema created by extending two refinements using the extend API, ensuring their JSON Schema annotations are preserved.

    Example

    import { JSONSchema, Schema } from "@effect/schema";
    
    const schema = Schema.Struct({
      a: Schema.String,
    })
      .pipe(Schema.filter(() => true, { jsonSchema: { a: 1 } }))
      .pipe(
        Schema.extend(
          Schema.Struct({
            b: Schema.Number,
          }).pipe(Schema.filter(() => true, { jsonSchema: { b: 2 } })),
        ),
      );
    
    console.log(JSONSchema.make(schema));
    /*
    {
      '$schema': 'http://json-schema.org/draft-07/schema#',
      type: 'object',
      required: [ 'a', 'b' ],
      properties: {
        a: { type: 'string', description: 'a string', title: 'string' },
        b: { type: 'number', description: 'a number', title: 'number' }
      },
      additionalProperties: false,
      b: 2,
      a: 1
    }
    */
  • Updated dependencies [a047af9]:

@effect/[email protected]

Patch Changes

@effect/[email protected]

Patch Changes

@effect/[email protected]

Patch Changes

@effect/[email protected]

Patch Changes

@effect/[email protected]

Patch Changes

@effect/[email protected]

Patch Changes

@effect/[email protected]

Patch Changes

@effect/[email protected]

Patch Changes

@effect/[email protected]

Patch Changes

@effect/[email protected]

Patch Changes

@effect/[email protected]

Patch Changes

@tim-smart tim-smart merged commit c187493 into main Jun 27, 2024
@tim-smart tim-smart deleted the changeset-release/main branch June 27, 2024 07:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

1 participant