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 #3801

Merged
merged 1 commit into from
Oct 21, 2024
Merged

Version Packages #3801

merged 1 commit into from
Oct 21, 2024

Conversation

github-actions[bot]
Copy link
Contributor

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

[email protected]

Minor Changes

  • #3764 4a01828 Thanks @evelant! - add TSubscriptionRef

  • #3764 4a01828 Thanks @evelant! - add Stream.fromTQueue & Stream.fromTPubSub

  • #3764 c79c4c1 Thanks @gcanti! - 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)
  • #3764 38d30f0 Thanks @tim-smart! - add option to .releaseLock a ReadableStream on finalization

  • #3764 5821ce3 Thanks @patroza! - feat: implement Redactable. Used by Headers to not log sensitive information

@effect/[email protected]

Minor Changes

  • #3764 6d9de6b Thanks @tim-smart! - HttpApi second revision

    • HttpApi, HttpApiGroup & HttpApiEndpoint now use a chainable api instead
      of a pipeable api.
    • HttpApiMiddleware module has been added, with a updated way of defining
      security middleware.
    • You can now add multiple success schemas
    • A url search parameter schema has been added
    • Error schemas now support HttpApiSchema encoding apis
    • toWebHandler has been simplified

    For more information, see the README.

  • #3764 5821ce3 Thanks @patroza! - feat: implement Redactable. Used by Headers to not log sensitive information

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

@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

@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

  • #3764 685a460 Thanks @jessekelly881! - Adds property testing to @effect/vitest

    import { Schema } from "effect"
    import { it } from "@effect/vitest"
    
    const realNumber = Schema.Finite.pipe(Schema.nonNaN())
    
    it.prop("symmetry", [realNumber, realNumber], ([a, b]) => a + b === b + a)
    
    it.effect.prop("symmetry", [realNumber, realNumber], ([a, b]) =>
      Effect.gen(function* () {
        yield* Effect.void
        return a + b === b + a
      })
    )
    
    it.scoped.prop(
      "should detect the substring",
      { a: Schema.String, b: Schema.String, c: Schema.String },
      ({ a, b, c }) =>
        Effect.gen(function* () {
          yield* Effect.scope
          return (a + b + c).includes(b)
        })
    )
  • Updated dependencies [4a01828, 4a01828, c79c4c1, 38d30f0, 5821ce3]:

@tim-smart tim-smart merged commit 6734a03 into main Oct 21, 2024
@tim-smart tim-smart deleted the changeset-release/main branch October 21, 2024 20:45
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