Closed renovate[bot] closed 6 months ago
This PR contains the following updates:
^4.20240405.0
^4.20240419.0
^3.20240405.1
^3.20240405.2
^1.0.3
^1.1.0
^3.50.0
^3.51.2
📅 Schedule: Branch creation - "after 2am and before 3am" (UTC), Automerge - "after 1am and before 2am" (UTC).
🚦 Automerge: Enabled.
♻ 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.
This PR has been generated by Mend Renovate. View repository job log here.
This PR contains the following updates:
^4.20240405.0
->^4.20240419.0
^3.20240405.1
->^3.20240405.2
^1.0.3
->^1.1.0
^3.50.0
->^3.51.2
Release Notes
cloudflare/workerd (@cloudflare/workers-types)
### [`v4.20240419.0`](https://togithub.com/cloudflare/workerd/compare/9024ba80635cf576d30e0abfb89500482e3ff381...d3b5b16588cc33c930584064995c4a3635d07c28) [Compare Source](https://togithub.com/cloudflare/workerd/compare/9024ba80635cf576d30e0abfb89500482e3ff381...d3b5b16588cc33c930584064995c4a3635d07c28)cloudflare/workers-sdk (miniflare)
### [`v3.20240405.2`](https://togithub.com/cloudflare/workers-sdk/blob/HEAD/packages/miniflare/CHANGELOG.md#3202404052) [Compare Source](https://togithub.com/cloudflare/workers-sdk/compare/miniflare@3.20240405.1...miniflare@3.20240405.2) ##### Patch Changes - [#5599](https://togithub.com/cloudflare/workers-sdk/pull/5599) [`c9f081a`](https://togithub.com/cloudflare/workers-sdk/commit/c9f081ab72142060a3cf2e9a7ef4546b8014b210) Thanks [@penalosa](https://togithub.com/penalosa)! - fix: add support for wrapped bindings in magic proxy currently `Miniflare#getBindings()` does not return proxies to provided `wrappedBindings`, make sure that appropriate proxies are instead returned Example: ```ts import { Miniflare } from "miniflare"; const mf = new Miniflare({ workers: [ { wrappedBindings: { Greeter: { scriptName: "impl", }, }, modules: true, script: `export default { fetch(){ return new Response(''); } }`, }, { modules: true, name: "impl", script: ` class Greeter { sayHello(name) { return "Hello " + name; } } export default function (env) { return new Greeter(); } `, }, ], }); const { Greeter } = await mf.getBindings(); console.log(Greeter.sayHello("world")); // <--- prints 'Hello world' await mf.dispose(); ``` - [#5599](https://togithub.com/cloudflare/workers-sdk/pull/5599) [`c9f081a`](https://togithub.com/cloudflare/workers-sdk/commit/c9f081ab72142060a3cf2e9a7ef4546b8014b210) Thanks [@penalosa](https://togithub.com/penalosa)! - fix: add support for RPC in magic proxy currently `Miniflare#getBindings()` does not return valid proxies to provided `serviceBindings` using RPC, make sure that appropriate proxies are instead returned Example: ```ts import { Miniflare } from "miniflare"; const mf = new Miniflare({ workers: [ { modules: true, script: `export default { fetch() { return new Response(''); } }`, serviceBindings: { SUM: { name: "sum-worker", entrypoint: "SumEntrypoint", }, }, }, { modules: true, name: "sum-worker", script: ` import { WorkerEntrypoint } from 'cloudflare:workers'; export default { fetch() { return new Response(''); } } export class SumEntrypoint extends WorkerEntrypoint { sum(args) { return args.reduce((a, b) => a + b); } } `, }, ], }); const { SUM } = await mf.getBindings(); const numbers = [1, 2, 3]; console.log(`The sum of ${numbers.join(", ")} is ${await SUM.sum(numbers)}`); // <--- prints 'The sum of 1, 2, 3 is 6' await mf.dispose(); ```unjs/pkg-types (pkg-types)
### [`v1.1.0`](https://togithub.com/unjs/pkg-types/blob/HEAD/CHANGELOG.md#v110) [Compare Source](https://togithub.com/unjs/pkg-types/compare/v1.0.3...v1.1.0) [compare changes](https://togithub.com/unjs/pkg-types/compare/v1.0.3...v1.1.0) ##### 🚀 Enhancements - Auto detect and preserve format ([#175](https://togithub.com/unjs/pkg-types/pull/175)) - Try to parse `package.json` as jsonc ([#176](https://togithub.com/unjs/pkg-types/pull/176)) ##### 🩹 Fixes - Add object syntax browser field type ([#145](https://togithub.com/unjs/pkg-types/pull/145)) - **types:** Allow `extends` as array ([#151](https://togithub.com/unjs/pkg-types/pull/151)) - Add `imports` field to the types ([#160](https://togithub.com/unjs/pkg-types/pull/160)) ##### 💅 Refactors - Migrate from `jsonc-parser` to `unjs/confbox` ([#174](https://togithub.com/unjs/pkg-types/pull/174)) ##### 📖 Documentation - Add missing jsdocs ([#171](https://togithub.com/unjs/pkg-types/pull/171)) ##### 🏡 Chore - Update repo ([f289b3a](https://togithub.com/unjs/pkg-types/commit/f289b3a)) - Add build command ([984edb6](https://togithub.com/unjs/pkg-types/commit/984edb6)) - Remove `.eslintignore` ([f1c1705](https://togithub.com/unjs/pkg-types/commit/f1c1705)) ##### ❤️ Contributors - Pooya Parsa ([@pi0](http://github.com/pi0)) - Max ([@onmax](http://github.com/onmax)) - Parbezcloudflare/workers-sdk (wrangler)
### [`v3.51.2`](https://togithub.com/cloudflare/workers-sdk/blob/HEAD/packages/wrangler/CHANGELOG.md#3512) [Compare Source](https://togithub.com/cloudflare/workers-sdk/compare/wrangler@3.51.0...wrangler@3.51.2) ##### Patch Changes - [#5652](https://togithub.com/cloudflare/workers-sdk/pull/5652) [`ccb9d3d`](https://togithub.com/cloudflare/workers-sdk/commit/ccb9d3d4efba73a720945df4e1212a010fe40739) Thanks [@petebacondarwin](https://togithub.com/petebacondarwin)! - chore: re-release due to broken build ### [`v3.51.0`](https://togithub.com/cloudflare/workers-sdk/blob/HEAD/packages/wrangler/CHANGELOG.md#3510) [Compare Source](https://togithub.com/cloudflare/workers-sdk/compare/wrangler@3.50.0...wrangler@3.51.0) ##### Minor Changes - [#5477](https://togithub.com/cloudflare/workers-sdk/pull/5477) [`9a46e03`](https://togithub.com/cloudflare/workers-sdk/commit/9a46e03f013cc6f1e2d38d47f9bf002626b6bd95) Thanks [@pmiguel](https://togithub.com/pmiguel)! - feature: Changed Queues client to use the new QueueId and ConsumerId-based endpoints. - [#5172](https://togithub.com/cloudflare/workers-sdk/pull/5172) [`fbe1c9c`](https://togithub.com/cloudflare/workers-sdk/commit/fbe1c9c816f2b5774060d721ff830e70d9b7d29f) Thanks [@GregBrimble](https://togithub.com/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 - [#5585](https://togithub.com/cloudflare/workers-sdk/pull/5585) [`22f5841`](https://togithub.com/cloudflare/workers-sdk/commit/22f58414d5697730f0337d17c7602b7fa3bebb79) Thanks [@geelen](https://togithub.com/geelen)! - Updates `wrangler d1 export` to handle larger DBs more efficiently - Updated dependencies \[[`c9f081a`](https://togithub.com/cloudflare/workers-sdk/commit/c9f081ab72142060a3cf2e9a7ef4546b8014b210), [`c9f081a`](https://togithub.com/cloudflare/workers-sdk/commit/c9f081ab72142060a3cf2e9a7ef4546b8014b210)]: - miniflare@3.20240405.2Configuration
📅 Schedule: Branch creation - "after 2am and before 3am" (UTC), Automerge - "after 1am and before 2am" (UTC).
🚦 Automerge: Enabled.
♻ 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.
This PR has been generated by Mend Renovate. View repository job log here.