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

Merge Schema into Effect #3772

Merged
merged 13 commits into from
Oct 16, 2024
Merged

Merge Schema into Effect #3772

merged 13 commits into from
Oct 16, 2024

Conversation

gcanti
Copy link
Contributor

@gcanti gcanti commented Oct 11, 2024

@effect/schema

Package removed.

effect

Merge Schema into Effect.

Modules

Before

import {
  Arbitrary,
  AST,
  FastCheck,
  JSONSchema,
  ParseResult,
  Pretty,
  Schema
} from "@effect/schema"

After

import {
  Arbitrary,
  SchemaAST, // changed
  FastCheck,
  JSONSchema,
  ParseResult,
  Pretty,
  Schema
} from "effect"

Formatters

ArrayFormatter / TreeFormatter merged into ParseResult module.

Before

import { ArrayFormatter, TreeFormatter } from "@effect/schema"

After

import { ArrayFormatter, TreeFormatter } from "effect/ParseResult"

Serializable

Merged into Schema module.

Equivalence

Merged into Schema module.

Before

import { Equivalence } from "@effect/schema"

Equivalence.make(myschema)

After

import { Schema } from "@effect/schema"

Schema.equivalence(myschema)

@gcanti gcanti added the schema label Oct 11, 2024
Copy link

changeset-bot bot commented Oct 11, 2024

🦋 Changeset detected

Latest commit: 6c369a6

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 33 packages
Name Type
effect Minor
@effect/cli Major
@effect/cluster-browser Major
@effect/cluster-node Major
@effect/cluster-workflow Major
@effect/cluster Major
@effect/experimental Major
@effect/opentelemetry Major
@effect/platform-browser Major
@effect/platform-bun Major
@effect/platform-node-shared Major
@effect/platform-node Major
@effect/platform Major
@effect/printer-ansi Major
@effect/printer Major
@effect/rpc-http Major
@effect/rpc Major
@effect/sql-d1 Major
@effect/sql-drizzle Major
@effect/sql-kysely Major
@effect/sql-libsql Major
@effect/sql-mssql Major
@effect/sql-mysql2 Major
@effect/sql-pg Major
@effect/sql-sqlite-bun Major
@effect/sql-sqlite-node Major
@effect/sql-sqlite-react-native Major
@effect/sql-sqlite-wasm Major
@effect/sql Major
@effect/typeclass Major
@effect/vitest Major
@effect/ai Major
@effect/ai-openai Major

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@gcanti gcanti marked this pull request as ready for review October 11, 2024 16:08
Co-authored-by: Michael Arnaldi <[email protected]>
Co-authored-by: Tim <[email protected]>
@gcanti gcanti force-pushed the merge-schema branch 2 times, most recently from fe5334d to 87ac0d2 Compare October 13, 2024 13:20
@gcanti gcanti marked this pull request as draft October 13, 2024 13:38
@gcanti gcanti force-pushed the merge-schema branch 2 times, most recently from 3885bc5 to cc54342 Compare October 13, 2024 14:20
@tim-smart
Copy link
Member

/rebase

@gcanti gcanti force-pushed the merge-schema branch 3 times, most recently from eb83e32 to 4e23417 Compare October 15, 2024 09:03
@gcanti gcanti force-pushed the merge-schema branch 2 times, most recently from fd8114f to 8d9c42a Compare October 15, 2024 10:16
@gcanti gcanti marked this pull request as ready for review October 15, 2024 13:25
@gcanti gcanti merged commit 2da4dea into next-minor Oct 16, 2024
11 checks passed
@gcanti gcanti deleted the merge-schema branch October 16, 2024 06:33
tim-smart pushed a commit that referenced this pull request Oct 17, 2024
github-actions bot pushed a commit that referenced this pull request Oct 17, 2024
github-actions bot pushed a commit that referenced this pull request Oct 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

3 participants