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

chore(deps): bump the effect group with 3 updates #40

Merged
merged 1 commit into from
Mar 7, 2025

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Mar 7, 2025

Bumps the effect group with 3 updates: @effect/platform, @effect/platform-node and effect.

Updates @effect/platform from 0.77.6 to 0.77.7

Release notes

Sourced from @​effect/platform's releases.

@​effect/platform@​0.77.7

Patch Changes

  • #4540 840cc73 Thanks @​gcanti! - Add additionalPropertiesStrategy option to OpenApi.fromApi, closes #4531.

    This update introduces the additionalPropertiesStrategy option in OpenApi.fromApi, allowing control over how additional properties are handled in the generated OpenAPI schema.

    • When "strict" (default), additional properties are disallowed ("additionalProperties": false).
    • When "allow", additional properties are allowed ("additionalProperties": true), making APIs more flexible.

    The additionalPropertiesStrategy option has also been added to:

    • JSONSchema.fromAST
    • OpenApiJsonSchema.makeWithDefs

    Example

    import {
      HttpApi,
      HttpApiEndpoint,
      HttpApiGroup,
      OpenApi
    } from "@effect/platform"
    import { Schema } from "effect"
    const api = HttpApi.make("api").add(
    HttpApiGroup.make("group").add(
    HttpApiEndpoint.get("get", "/").addSuccess(
    Schema.Struct({ a: Schema.String })
    )
    )
    )
    const schema = OpenApi.fromApi(api, {
    additionalPropertiesStrategy: "allow"
    })
    console.log(JSON.stringify(schema, null, 2))
    /*
    {
    "openapi": "3.1.0",
    "info": {
    "title": "Api",
    "version": "0.0.1"
    },
    "paths": {
    "/": {
    "get": {
    "tags": [

... (truncated)

Changelog

Sourced from @​effect/platform's changelog.

0.77.7

Patch Changes

  • #4540 840cc73 Thanks @​gcanti! - Add additionalPropertiesStrategy option to OpenApi.fromApi, closes #4531.

    This update introduces the additionalPropertiesStrategy option in OpenApi.fromApi, allowing control over how additional properties are handled in the generated OpenAPI schema.

    • When "strict" (default), additional properties are disallowed ("additionalProperties": false).
    • When "allow", additional properties are allowed ("additionalProperties": true), making APIs more flexible.

    The additionalPropertiesStrategy option has also been added to:

    • JSONSchema.fromAST
    • OpenApiJsonSchema.makeWithDefs

    Example

    import {
      HttpApi,
      HttpApiEndpoint,
      HttpApiGroup,
      OpenApi
    } from "@effect/platform"
    import { Schema } from "effect"
    const api = HttpApi.make("api").add(
    HttpApiGroup.make("group").add(
    HttpApiEndpoint.get("get", "/").addSuccess(
    Schema.Struct({ a: Schema.String })
    )
    )
    )
    const schema = OpenApi.fromApi(api, {
    additionalPropertiesStrategy: "allow"
    })
    console.log(JSON.stringify(schema, null, 2))
    /*
    {
    "openapi": "3.1.0",
    "info": {
    "title": "Api",
    "version": "0.0.1"
    },
    "paths": {
    "/": {
    "get": {

... (truncated)

Commits
  • f7eae9a Version Packages (#4553)
  • f910880 add additional properties options to HttpApiBuilder.middlewareOpenApi (#4559)
  • 5ac4278 Update platform README to link runMain docs to website (#4557)
  • 840cc73 Add additionalPropertiesStrategy option to OpenApi.fromApi, close… (#4540)
  • 0d01480 Fetch http client merge headers (#4493)
  • 9bf8a74 disallow excess properties for various function options (#4541)
  • See full diff in compare view

Updates @effect/platform-node from 0.73.6 to 0.73.7

Release notes

Sourced from @​effect/platform-node's releases.

@​effect/platform-node@​0.73.7

Patch Changes

Changelog

Sourced from @​effect/platform-node's changelog.

0.73.7

Patch Changes

Commits

Updates effect from 3.13.6 to 3.13.7

Release notes

Sourced from effect's releases.

effect@3.13.7

Patch Changes

  • #4540 840cc73 Thanks @​gcanti! - Add additionalPropertiesStrategy option to OpenApi.fromApi, closes #4531.

    This update introduces the additionalPropertiesStrategy option in OpenApi.fromApi, allowing control over how additional properties are handled in the generated OpenAPI schema.

    • When "strict" (default), additional properties are disallowed ("additionalProperties": false).
    • When "allow", additional properties are allowed ("additionalProperties": true), making APIs more flexible.

    The additionalPropertiesStrategy option has also been added to:

    • JSONSchema.fromAST
    • OpenApiJsonSchema.makeWithDefs

    Example

    import {
      HttpApi,
      HttpApiEndpoint,
      HttpApiGroup,
      OpenApi
    } from "@effect/platform"
    import { Schema } from "effect"
    const api = HttpApi.make("api").add(
    HttpApiGroup.make("group").add(
    HttpApiEndpoint.get("get", "/").addSuccess(
    Schema.Struct({ a: Schema.String })
    )
    )
    )
    const schema = OpenApi.fromApi(api, {
    additionalPropertiesStrategy: "allow"
    })
    console.log(JSON.stringify(schema, null, 2))
    /*
    {
    "openapi": "3.1.0",
    "info": {
    "title": "Api",
    "version": "0.0.1"
    },
    "paths": {
    "/": {
    "get": {
    "tags": [

... (truncated)

Changelog

Sourced from effect's changelog.

3.13.7

Patch Changes

  • #4540 840cc73 Thanks @​gcanti! - Add additionalPropertiesStrategy option to OpenApi.fromApi, closes #4531.

    This update introduces the additionalPropertiesStrategy option in OpenApi.fromApi, allowing control over how additional properties are handled in the generated OpenAPI schema.

    • When "strict" (default), additional properties are disallowed ("additionalProperties": false).
    • When "allow", additional properties are allowed ("additionalProperties": true), making APIs more flexible.

    The additionalPropertiesStrategy option has also been added to:

    • JSONSchema.fromAST
    • OpenApiJsonSchema.makeWithDefs

    Example

    import {
      HttpApi,
      HttpApiEndpoint,
      HttpApiGroup,
      OpenApi
    } from "@effect/platform"
    import { Schema } from "effect"
    const api = HttpApi.make("api").add(
    HttpApiGroup.make("group").add(
    HttpApiEndpoint.get("get", "/").addSuccess(
    Schema.Struct({ a: Schema.String })
    )
    )
    )
    const schema = OpenApi.fromApi(api, {
    additionalPropertiesStrategy: "allow"
    })
    console.log(JSON.stringify(schema, null, 2))
    /*
    {
    "openapi": "3.1.0",
    "info": {
    "title": "Api",
    "version": "0.0.1"
    },
    "paths": {
    "/": {
    "get": {

... (truncated)

Commits

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

@dependabot dependabot bot added the automerge label Mar 7, 2025

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Bumps the effect group with 3 updates: [@effect/platform](https://github.com/Effect-TS/effect/tree/HEAD/packages/platform), [@effect/platform-node](https://github.com/Effect-TS/effect/tree/HEAD/packages/platform-node) and [effect](https://github.com/Effect-TS/effect/tree/HEAD/packages/effect).


Updates `@effect/platform` from 0.77.6 to 0.77.7
- [Release notes](https://github.com/Effect-TS/effect/releases)
- [Changelog](https://github.com/Effect-TS/effect/blob/main/packages/platform/CHANGELOG.md)
- [Commits](https://github.com/Effect-TS/effect/commits/@effect/platform@0.77.7/packages/platform)

Updates `@effect/platform-node` from 0.73.6 to 0.73.7
- [Release notes](https://github.com/Effect-TS/effect/releases)
- [Changelog](https://github.com/Effect-TS/effect/blob/main/packages/platform-node/CHANGELOG.md)
- [Commits](https://github.com/Effect-TS/effect/commits/@effect/platform-node@0.73.7/packages/platform-node)

Updates `effect` from 3.13.6 to 3.13.7
- [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/effect@3.13.7/packages/effect)

---
updated-dependencies:
- dependency-name: "@effect/platform"
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: effect
- dependency-name: "@effect/platform-node"
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: effect
- dependency-name: effect
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: effect
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/effect-744b2ae37c branch from 0b7e422 to 0feeaab Compare March 7, 2025 00:37
@mergify mergify bot merged commit 543693e into master Mar 7, 2025
3 checks passed
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/effect-744b2ae37c branch March 7, 2025 00:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

0 participants