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

Merged
merged 1 commit into from Jan 23, 2024
Merged

Version Packages #4781

merged 1 commit into from Jan 23, 2024

Conversation

workers-devprod
Copy link
Contributor

@workers-devprod workers-devprod commented Jan 18, 2024

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

wrangler@3.24.0

Minor Changes

  • #4523 9f96f28b Thanks @dario-piotrowicz! - Add new getBindingsProxy utility to the wrangler package

    The new utility is part of wrangler's JS API (it is not part of the wrangler CLI) and its use is to provide proxy objects to bindings, such objects can be used in Node.js code as if they were actual bindings

    The utility reads the wrangler.toml file present in the current working directory in order to discern what bindings should be available (a wrangler.json file can be used too, as well as config files with custom paths).

    Example

    Assuming that in the current working directory there is a wrangler.toml file with the following
    content:

    [[kv_namespaces]]
    binding = "MY_KV"
    id = "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
    

    The utility could be used in a nodejs script in the following way:

    import { getBindingsProxy } from "wrangler";
    
    const { bindings, dispose } = await getBindingsProxy();
    
    try {
    	const myKv = bindings.MY_KV;
    	const kvValue = await myKv.get("my-kv-key");
    
    	console.log(`KV Value = ${kvValue}`);
    } finally {
    	await dispose();
    }

Patch Changes

  • #3427 b79e93a3 Thanks @ZakKemble! - fix: Use Windows SYSTEMROOT env var for finding netstat

    Currently, the drive letter of os.homedir() (the user's home directory) is used to build the path to netstat.exe. However, user directories are not always on the same drive as the Windows installation, in which case the path to netstat will be incorrect. Now we use the %SYSTEMROOT% environment variable which correctly points to the installation path of Windows.

  • #4768 c3e410c2 Thanks @petebacondarwin! - ci: bump undici versions to 5.28.2

  • Updated dependencies [c3e410c2]:

    • miniflare@3.20231218.3

create-cloudflare@2.9.3

Patch Changes

miniflare@3.20231218.3

Patch Changes

@cloudflare/pages-shared@0.11.8

Patch Changes

  • Updated dependencies [c3e410c2]:
    • miniflare@3.20231218.3

@cloudflare/eslint-config-worker@1.1.0

Minor Changes

@cloudflare/cli@1.1.1

Patch Changes

playground-preview-worker@0.0.1

Patch Changes

workers-playground@0.0.1

Patch Changes

@workers-devprod workers-devprod requested review from a team as code owners January 18, 2024 22:26
Copy link
Contributor

github-actions bot commented Jan 18, 2024

A wrangler prerelease is available for testing. You can install this latest build in your project with:

npm install --save-dev https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/7629633260/npm-package-wrangler-4781

You can reference the automatically updated head of this PR with:

npm install --save-dev https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/prs/4781/npm-package-wrangler-4781

Or you can use npx with this latest build directly:

npx https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/7629633260/npm-package-wrangler-4781 dev path/to/script.js
Additional artifacts:
npx https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/7629633260/npm-package-create-cloudflare-4781 --no-auto-update
npm install https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/7629633260/npm-package-miniflare-4781
npm install https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/7629633260/npm-package-cloudflare-pages-shared-4781

Note that these links will no longer work once the GitHub Actions artifact expires.


wrangler@3.24.0 includes the following runtime dependencies:

Package Constraint Resolved
miniflare workspace:* 3.20231218.3
workerd 1.20231218.0 1.20231218.0
workerd --version 1.20231218.0 2023-12-18

Please ensure constraints are pinned, and miniflare/workerd minor versions match.

Copy link

codecov bot commented Jan 18, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (f9de0c5) 70.54% compared to head (aa209b1) 70.56%.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #4781      +/-   ##
==========================================
+ Coverage   70.54%   70.56%   +0.01%     
==========================================
  Files         290      290              
  Lines       15075    15075              
  Branches     3818     3818              
==========================================
+ Hits        10635    10638       +3     
+ Misses       4440     4437       -3     

see 5 files with indirect coverage changes

@workers-devprod workers-devprod force-pushed the changeset-release/main branch 4 times, most recently from 482aed5 to 4680c97 Compare January 19, 2024 14:54
@workers-devprod workers-devprod requested a review from a team as a code owner January 19, 2024 14:54
@workers-devprod workers-devprod force-pushed the changeset-release/main branch 14 times, most recently from 610c17c to c92dbc0 Compare January 23, 2024 13:10
@workers-devprod workers-devprod requested a review from a team as a code owner January 23, 2024 13:10
@lrapoport-cf lrapoport-cf merged commit a979d9e into main Jan 23, 2024
28 checks passed
@lrapoport-cf lrapoport-cf deleted the changeset-release/main branch January 23, 2024 18:58
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.

None yet

4 participants