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

Merged
merged 1 commit into from
Feb 22, 2024
Merged

Version Packages #5061

merged 1 commit into from
Feb 22, 2024

Conversation

workers-devprod
Copy link
Contributor

@workers-devprod workers-devprod commented Feb 20, 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

miniflare@3.20240208.0

Minor Changes

wrangler@3.29.0

Minor Changes

  • #5042 5693d076 Thanks @dario-piotrowicz! - feat: add new --env-interface to wrangler types

    Allow users to specify the name of the interface that they want wrangler types to generate for the env parameter, via the new CLI flag --env-interface

    Example:

    wrangler types --env-interface CloudflareEnv

    generates

    interface CloudflareEnv {}

    instead of

    interface Env {}
  • #5042 5693d076 Thanks @dario-piotrowicz! - feat: add new path positional argument to wrangler types

    Allow users to specify the path to the typings (.d.ts) file they want
    wrangler types to generate

    Example:

    wrangler types ./my-env.d.ts

    generates a my-env.d.ts file in the current directory
    instead of creating a worker-configuration.d.ts file

Patch Changes

  • #5042 5693d076 Thanks @dario-piotrowicz! - feat: include command run in the wrangler types comment

    In the comment added to the .d.ts file generated by wrangler types
    include the command run to generated the file

  • #4303 1c460287 Thanks @richardscarrott! - fix: allow Pages Functions to import built-in node:* modules, even when not bundling with wrangler

  • #4957 50f93bd2 Thanks @garrettgu10! - fix: don't strip .py extensions from Python modules

  • #5042 5693d076 Thanks @dario-piotrowicz! - fix: make wrangler types honor top level config argument

    The wrangler types command currently ignores the -c|--config argument
    (although it is still getting shown in the command's help message). Make
    sure that the command honors the flag.
    Also, if no config file is detected
    present a warning to the user

  • #5042 5693d076 Thanks @dario-piotrowicz! - fix: make the wrangler types command pick up local secret keys from .dev.vars

    Make sure that the wrangler types command correctly picks up
    secret keys defined in .dev.vars and includes them in the generated
    file (marking them as generic string types of course)

  • Updated dependencies [b03db864]:

    • miniflare@3.20240208.0

create-cloudflare@2.12.1

Patch Changes

  • #5066 ef064279 Thanks @dependabot! - chore: Bumped create-remix from 2.6.0 to 2.7.1

  • #5052 f68e83e2 Thanks @jculvey! - feature: Add script to Qwik template for building Env type definitions.

    When creating a project with the Qwik template, the QwikCityPlatform type will be updated to contain a definition for the env property. These types can be re-generated with a newly added build-cf-types script.

@cloudflare/pages-shared@0.11.14

Patch Changes

@cloudflare/vitest-pool-workers@0.0.3

Patch Changes

@workers-devprod workers-devprod requested review from a team as code owners February 20, 2024 20:10
Copy link
Contributor

github-actions bot commented Feb 20, 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/8007047990/npm-package-wrangler-5061

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

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

Or you can use npx with this latest build directly:

npx https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/8007047990/npm-package-wrangler-5061 dev path/to/script.js
Additional artifacts:
npx https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/8007047990/npm-package-create-cloudflare-5061 --no-auto-update
npm install https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/8007047990/npm-package-cloudflare-kv-asset-handler-5061
npm install https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/8007047990/npm-package-miniflare-5061
npm install https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/8007047990/npm-package-cloudflare-pages-shared-5061
npm install https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/8007047990/npm-package-cloudflare-vitest-pool-workers-5061

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


wrangler@3.29.0 includes the following runtime dependencies:

Package Constraint Resolved
miniflare workspace:* 3.20240208.0
workerd 1.20240208.0 1.20240208.0
workerd --version 1.20240208.0 2024-02-08

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

Copy link

codecov bot commented Feb 20, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (d43091c) 70.33% compared to head (9811a41) 70.37%.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #5061      +/-   ##
==========================================
+ Coverage   70.33%   70.37%   +0.04%     
==========================================
  Files         298      298              
  Lines       15512    15512              
  Branches     3983     3983              
==========================================
+ Hits        10910    10917       +7     
+ Misses       4602     4595       -7     

see 6 files with indirect coverage changes

@lrapoport-cf lrapoport-cf merged commit 99508bf into main Feb 22, 2024
27 checks passed
@lrapoport-cf lrapoport-cf deleted the changeset-release/main branch February 22, 2024 18:11
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.

3 participants