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): update driver adapters directory (minor) #4843

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Apr 27, 2024

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@cloudflare/workers-types 4.20240405.0 -> 4.20240502.0 age adoption passing confidence
@effect/schema (source) 0.64.20 -> 0.66.14 age adoption passing confidence
tsx 4.7.2 -> 4.9.0 age adoption passing confidence
undici (source) 6.13.0 -> 6.15.0 age adoption passing confidence
wrangler (source) 3.50.0 -> 3.53.1 age adoption passing confidence
ws 8.16.0 -> 8.17.0 age adoption passing confidence

Release Notes

cloudflare/workerd (@​cloudflare/workers-types)

v4.20240502.0

Compare Source

v4.20240423.0

Compare Source

v4.20240419.0

Compare Source

Effect-TS/effect (@​effect/schema)

v0.66.14

Compare Source

Patch Changes

v0.66.13

Compare Source

Patch Changes
  • Updated dependencies [e5e56d1]:
    • effect@3.1.1

v0.66.12

Compare Source

Patch Changes

v0.66.11

Compare Source

Patch Changes

v0.66.10

Compare Source

Patch Changes
  • Updated dependencies [18de56b]:
    • effect@3.0.7

v0.66.9

Compare Source

Patch Changes
  • #​2626 027418e Thanks @​fubhy! - Reintroduce custom NoInfer type

  • #​2631 8206529 Thanks @​gcanti! - add support for data-last subtype overloads in compose

    Before

    import { Schema as S } from "@​effect/schema";
    
    S.Union(S.Null, S.String).pipe(S.compose(S.NumberFromString)); // ts error
    S.NumberFromString.pipe(S.compose(S.Union(S.Null, S.Number))); // ts error

    Now

    import { Schema as S } from "@​effect/schema";
    
    // $ExpectType Schema<number, string | null, never>
    S.Union(S.Null, S.String).pipe(S.compose(S.NumberFromString)); // ok
    // $ExpectType Schema<number | null, string, never>
    S.NumberFromString.pipe(S.compose(S.Union(S.Null, S.Number))); // ok
  • Updated dependencies [ffe4f4e, 027418e, ac1898e, ffe4f4e]:

    • effect@3.0.6

v0.66.8

Compare Source

Patch Changes

v0.66.7

Compare Source

Patch Changes

v0.66.6

Compare Source

Patch Changes
  • #​2586 9dfc156 Thanks @​gcanti! - remove non-tree-shakable compiler dependencies from the Schema module:

    • remove dependency from Arbitrary compiler
    • remove dependency from Equivalence compiler
    • remove dependency from Pretty compiler
  • #​2583 80271bd Thanks @​suddenlyGiovanni! - - Fixed a typo in the JSDoc comment of the BooleanFromUnknown boolean constructors in Schema.ts

    • Fixed a typo in the JSDoc comment of the split string transformations combinator in Schema.ts
  • #​2585 e4ba97d Thanks @​gcanti! - JSONSchema: rearrange handling of surrogate annotations to occur after JSON schema annotations

v0.66.5

Compare Source

Patch Changes
  • #​2582 b3fe829 Thanks @​gcanti! - Add default title annotations to both sides of Struct transformations.

    This simple addition helps make error messages shorter and more understandable.

    Before

    import { Schema } from "@&#8203;effect/schema";
    
    const schema = Schema.Struct({
      a: Schema.optional(Schema.String, { exact: true, default: () => "" }),
      b: Schema.String,
      c: Schema.String,
      d: Schema.String,
      e: Schema.String,
      f: Schema.String,
    });
    
    Schema.decodeUnknownSync(schema)({ a: 1 });
    /*
    throws
    Error: ({ a?: string; b: string; c: string; d: string; e: string; f: string } <-> { a: string; b: string; c: string; d: string; e: string; f: string })
    └─ Encoded side transformation failure
       └─ { a?: string; b: string; c: string; d: string; e: string; f: string }
          └─ ["a"]
             └─ Expected a string, actual 1
    */

    Now

    import { Schema } from "@&#8203;effect/schema";
    
    const schema = Schema.Struct({
      a: Schema.optional(Schema.String, { exact: true, default: () => "" }),
      b: Schema.String,
      c: Schema.String,
      d: Schema.String,
      e: Schema.String,
      f: Schema.String,
    });
    
    Schema.decodeUnknownSync(schema)({ a: 1 });
    /*
    throws
    Error: (Struct (Encoded side) <-> Struct (Type side))
    └─ Encoded side transformation failure
       └─ Struct (Encoded side)
          └─ ["a"]
             └─ Expected a string, actual 1
    */
  • #​2581 a58b7de Thanks @​gcanti! - Fix formatting for Class and brands AST.

  • #​2579 d90e8c3 Thanks @​gcanti! - Schema: JSONSchema should support make(Class)

    Before

    import { JSONSchema, Schema } from "@&#8203;effect/schema";
    
    class A extends Schema.Class<A>("A")({
      a: Schema.String,
    }) {}
    
    console.log(JSONSchema.make(A)); // throws MissingAnnotation: cannot build a JSON Schema for a declaration without a JSON Schema annotation

    Now

    console.log(JSONSchema.make(A));
    /*
    Output:
    {
      '$schema': 'http://json-schema.org/draft-07/schema#',
      type: 'object',
      required: [ 'a' ],
      properties: { a: { type: 'string', description: 'a string', title: 'string' } },
      additionalProperties: false
    }
    */

v0.66.4

Compare Source

Patch Changes
  • #​2577 773b8e0 Thanks @​gcanti! - partial / required: add support for renaming property keys in property signature transformations

    Before

    import { Schema } from "@&#8203;effect/schema";
    
    const TestType = Schema.Struct({
      a: Schema.String,
      b: Schema.propertySignature(Schema.String).pipe(Schema.fromKey("c")),
    });
    
    const PartialTestType = Schema.partial(TestType);
    // throws Error: Partial: cannot handle transformations

    Now

    import { Schema } from "@&#8203;effect/schema";
    
    const TestType = Schema.Struct({
      a: Schema.String,
      b: Schema.propertySignature(Schema.String).pipe(Schema.fromKey("c")),
    });
    
    const PartialTestType = Schema.partial(TestType);
    
    console.log(Schema.decodeUnknownSync(PartialTestType)({ a: "a", c: "c" })); // { a: 'a', b: 'c' }
    console.log(Schema.decodeUnknownSync(PartialTestType)({ a: "a" })); // { a: 'a' }
    
    const RequiredTestType = Schema.required(PartialTestType);
    
    console.log(Schema.decodeUnknownSync(RequiredTestType)({ a: "a", c: "c" })); // { a: 'a', b: 'c' }
    console.log(Schema.decodeUnknownSync(RequiredTestType)({ a: "a" })); // { a: 'a', b: undefined }

v0.66.3

Compare Source

Patch Changes
  • Updated dependencies [a7b4b84]:
    • effect@3.0.3

v0.66.2

Compare Source

Patch Changes

v0.66.1

Compare Source

Patch Changes

v0.66.0

Compare Source

Minor Changes
Patch Changes

v0.65.0

Compare Source

Minor Changes

For the updates mentioned below, we've released a codemod to simplify the migration process.

To run it, use the following command:

npx @&#8203;effect/codemod schema-0.65 src/**/*

The codemod is designed to automate many of the changes needed. However, it might not catch everything, so please let us know if you run into any issues (https://github.com/Effect-TS/codemod/issues). Remember to commit your code changes before running the codemod, just in case you need to undo anything.

privatenumber/tsx (tsx)

v4.9.0

Compare Source

v4.8.2

Compare Source

Bug Fixes
  • types: cjs/api to use .d.cts (4b1f03c)

This release is also available on:

v4.8.1

Compare Source

v4.8.0

Compare Source

v4.7.3

Compare Source

Bug Fixes
  • support TS resolution in JS files when allowJs is set (#​535) (081853e)

This release is also available on:

nodejs/undici (undici)

v6.15.0

Compare Source

What's Changed

New Contributors

Full Changelog: nodejs/undici@v6.14.1...v6.15.0

v6.14.1

Compare Source

What's Changed

Full Changelog: nodejs/undici@v6.14.0...v6.14.1

v6.14.0

Compare Source

What's Changed

New Contributors

Full Changelog: nodejs/undici@v6.13.0...v6.14.0

cloudflare/workers-sdk (wrangler)

v3.53.1

Compare Source

Patch Changes
  • #​5091 6365c90 Thanks @​Cherry! - fix: better handle dashes and other invalid JS identifier characters in wrangler types generation for vars, bindings, etc.

    Previously, with the following in your wrangler.toml, an invalid types file would be generated:

    [vars]
    some-var = "foobar"

    Now, the generated types file will be valid:

    interface Env {
    	"some-var": "foobar";
    }
  • #​5748 27966a4 Thanks @​penalosa! - fix: Load sourcemaps relative to the entry directory, not cwd.

  • #​5746 1dd9f7e Thanks @​petebacondarwin! - fix: suggest trying to update Wrangler if there is a newer one available after an unexpected error

  • #​5226 f63e7a5 Thanks @​DaniFoldi! - fix: remove second Wrangler banner from wrangler dispatch-namespace rename

v3.53.0

Compare Source

Minor Changes
  • #​5604 327a456 Thanks @​dario-piotrowicz! - feat: add support for environments in getPlatformProxy

    allow getPlatformProxy to target environments by allowing users to specify an environment option

    Example usage:

    const { env } = await getPlatformProxy({
    	environment: "production",
    });
Patch Changes

v3.52.0

Compare Source

Minor Changes
  • #​5666 81d9615 Thanks @​CarmenPopoviciu! - fix: Fix Pages config validation around Durable Objects

    Today Pages cannot deploy Durable Objects itself. For this reason it is mandatory that when declaring Durable Objects bindings in the config file, the script_name is specified. We are currently not failing validation if
    script_name is not specified but we should. These changes fix that.

Patch Changes

v3.51.2

Compare Source

Patch Changes

v3.51.0

Compare Source

Minor Changes
  • #​5477 9a46e03 Thanks @​pmiguel! - feature: Changed Queues client to use the new QueueId and ConsumerId-based endpoints.

  • #​5172 fbe1c9c Thanks @​GregBrimble! - feat: Allow marking external modules (with --external) to avoid bundling them when building Pages Functions

    It's useful for Pages Plugins which want to declare a peer dependency.

Patch Changes
websockets/ws (ws)

v8.17.0

Compare Source

Features

  • The WebSocket constructor now accepts the createConnection option (#​2219).

Other notable changes

  • The default value of the allowSynchronousEvents option has been changed to
    true (#​2221).

This is a breaking change in a patch release. The assumption is that the option
is not widely used.


Configuration

📅 Schedule: Branch creation - "every weekend" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot requested a review from a team as a code owner April 27, 2024 00:34
@renovate renovate bot requested review from Weakky and removed request for a team April 27, 2024 00:34
Copy link
Contributor

github-actions bot commented Apr 27, 2024

WASM Query Engine file Size

Engine This PR Base branch Diff
Postgres 2.152MiB 2.152MiB 0.000B
Postgres (gzip) 845.857KiB 845.853KiB 4.000B
Mysql 2.123MiB 2.123MiB 0.000B
Mysql (gzip) 832.882KiB 832.879KiB 3.000B
Sqlite 2.016MiB 2.016MiB 0.000B
Sqlite (gzip) 793.210KiB 793.209KiB 2.000B

Copy link

codspeed-hq bot commented Apr 27, 2024

CodSpeed Performance Report

Merging #4843 will not alter performance

Comparing renovate/driver-adapters-directory (abeac44) with main (6eec160)

Summary

✅ 11 untouched benchmarks

@renovate renovate bot force-pushed the renovate/driver-adapters-directory branch 3 times, most recently from e4212fb to c2ec744 Compare May 4, 2024 10:17
@renovate renovate bot force-pushed the renovate/driver-adapters-directory branch from c2ec744 to 2ab007c Compare May 5, 2024 07:12
@renovate renovate bot force-pushed the renovate/driver-adapters-directory branch from 2ab007c to abeac44 Compare May 11, 2024 00:46
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.

None yet

0 participants