Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jan 20, 2025

Bumps the effect group with 1 update in the / directory: effect.

Updates effect from 3.11.8 to 3.12.5

Release notes

Sourced from effect's releases.

[email protected]

Patch Changes

  • #4273 a8b0ddb Thanks @​gcanti! - Arbitrary: Fix bug adjusting array constraints for schemas with fixed and rest elements

    This fix ensures that when a schema includes both fixed elements and a rest element, the constraints for the array are correctly adjusted. The adjustment now subtracts the number of values generated by the fixed elements from the overall constraints.

  • #4259 507d546 Thanks @​gcanti! - Schema: improve error messages for invalid transformations

    Before

    import { Schema } from "effect"
    Schema.decodeUnknownSync(Schema.NumberFromString)("a")
    /*
    throws:
    ParseError: NumberFromString
    └─ Transformation process failure
    └─ Expected NumberFromString, actual "a"
    */

    After

    import { Schema } from "effect"
    Schema.decodeUnknownSync(Schema.NumberFromString)("a")
    /*
    throws:
    ParseError: NumberFromString
    └─ Transformation process failure
    └─ Unable to decode "a" into a number
    */

  • #4273 a8b0ddb Thanks @​gcanti! - Schema: Extend Support for Array filters, closes #4269.

    Added support for minItems, maxItems, and itemsCount to all schemas where A extends ReadonlyArray, including NonEmptyArray.

    Example

    import { Schema } from "effect"
    // Previously, this would have caused an error
    const schema = Schema.NonEmptyArray(Schema.String).pipe(Schema.maxItems(2))

... (truncated)

Changelog

Sourced from effect's changelog.

3.12.5

Patch Changes

  • #4273 a8b0ddb Thanks @​gcanti! - Arbitrary: Fix bug adjusting array constraints for schemas with fixed and rest elements

    This fix ensures that when a schema includes both fixed elements and a rest element, the constraints for the array are correctly adjusted. The adjustment now subtracts the number of values generated by the fixed elements from the overall constraints.

  • #4259 507d546 Thanks @​gcanti! - Schema: improve error messages for invalid transformations

    Before

    import { Schema } from "effect"
    Schema.decodeUnknownSync(Schema.NumberFromString)("a")
    /*
    throws:
    ParseError: NumberFromString
    └─ Transformation process failure
    └─ Expected NumberFromString, actual "a"
    */

    After

    import { Schema } from "effect"
    Schema.decodeUnknownSync(Schema.NumberFromString)("a")
    /*
    throws:
    ParseError: NumberFromString
    └─ Transformation process failure
    └─ Unable to decode "a" into a number
    */

  • #4273 a8b0ddb Thanks @​gcanti! - Schema: Extend Support for Array filters, closes #4269.

    Added support for minItems, maxItems, and itemsCount to all schemas where A extends ReadonlyArray, including NonEmptyArray.

    Example

    import { Schema } from "effect"
    // Previously, this would have caused an error
    const schema = Schema.NonEmptyArray(Schema.String).pipe(Schema.maxItems(2))

... (truncated)

Commits
  • 8704e55 Version Packages (#4258)
  • dd7724a refactor Chunk.toArray tests for clarity and coverage (#4283)
  • d9a63d9 improve performance of Effect.forkIn (#4279)
  • bd0d489 add experimental EventLog modules (#3978)
  • 84a0911 fix formatting of time zone offsets that round to 60 minutes (#4276)
  • a8b0ddb Schema: Extend Support for Array filters, closes #4269 (#4273)
  • 3179a9f ensure DateTime.Zoned produces valid dates (#4267)
  • 1fcbe55 Schema: Replace the TimeZoneFromSelf interface with a class definit… (#4266)
  • 6cb9b76 Add support for symbols in the Issue definition within `platform/HttpApiErr...
  • a4a5b87 Schema: update Symbol encoding to use Symbol.keyFor (#4262)
  • Additional commits viewable in compare view

Dependabot compatibility score

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 rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore <dependency name> major version will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
  • @dependabot ignore <dependency name> minor version will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
  • @dependabot ignore <dependency name> will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
  • @dependabot unignore <dependency name> will remove all of the ignore conditions of the specified dependency
  • @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions

Bumps the effect group with 1 update in the / directory: [effect](https://github.com/Effect-TS/effect/tree/HEAD/packages/effect).


Updates `effect` from 3.11.8 to 3.12.5
- [Release notes](https://github.com/Effect-TS/effect/releases)
- [Changelog](https://github.com/Effect-TS/effect/blob/main/packages/effect/CHANGELOG.md)
- [Commits](https://github.com/Effect-TS/effect/commits/[email protected]/packages/effect)

---
updated-dependencies:
- dependency-name: effect
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: effect
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Jan 20, 2025

The following labels could not be found: automerge.

@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Jan 22, 2025

Dependabot tried to update this pull request, but something went wrong. We're looking into it, but in the meantime you can retry the update by commenting @dependabot rebase.

@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Jan 23, 2025

Superseded by #26.

@dependabot dependabot bot closed this Jan 23, 2025
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/effect-7f9f0560dc branch January 23, 2025 01:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant