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

Closed
wants to merge 5 commits into from
Closed

Conversation

workers-devprod
Copy link
Contributor

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 changeset-debugging, this PR will be updated.

Releases

create-cloudflare@2.13.0

Minor Changes

  • #5080 2aa7913 Thanks @jculvey! - feature: Use new vite-cloudflare template in Remix projects.

    Remix has released a new official Cloudflare template that uses getPlatformProxy under the hood to provide better support for bindings in dev. Remix projects created with C3 will now use this new template.

    Along with this change, projects will use the default vite-based dev command from create-remix instead of using wrangler pages dev on build output.

    A new build-cf-types script has also been added to re-generate the Env type defined in load-context.ts based on the contents of wrangler.toml. A default wrangler.toml will be added to new Remix projects to accomodate this workflow.

  • #5072 cab7e1c Thanks @jculvey! - feature: Improve bindings support in Astro template.

    C3 will now create Astro projects configured to use miniflare in dev automatically. This is done by adding a configuration for the adapter of { runtime: 'local'} (see Astro docs for more details). A wrangler.toml file will also be added where bindings can be added to be used in dev.

    Along with this change, projects will now use the default vite-based astro dev command instead of using wrangler pages dev on build output.

    When Typescript is used, the src/env.d.ts file will be updated to add type definitions runtime.env which can be re-generated with a newly added build-cf-types script.

Patch Changes

wrangler@3.30.0

Minor Changes

  • #4742 c2f3f1e Thanks @benycodes! - feat: allow preserving file names when defining rules for non-js modules

    The developer is now able to specify the `preserve_file_names property in wrangler.toml
    which specifies whether Wrangler will preserve the file names additional modules that are
    added to the deployment bundle of a Worker.

    If not set to true, files will be named using the pattern ${fileHash}-${basename}.
    For example, 34de60b44167af5c5a709e62a4e20c4f18c9e3b6-favicon.ico.

    Resolves #4741

@cloudflare/vitest-pool-workers@0.0.4

Patch Changes

  • Updated dependencies [c2f3f1e]:
    • wrangler@3.30.0

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

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/8054033650/npm-package-wrangler-5104

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

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

Or you can use npx with this latest build directly:

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

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


wrangler@3.30.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 26, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

❗ No coverage uploaded for pull request base (changeset-debugging@c3bbad8). Click here to learn what that means.

Additional details and impacted files

Impacted file tree graph

@@                  Coverage Diff                   @@
##             changeset-debugging    #5104   +/-   ##
======================================================
  Coverage                       ?   70.35%           
======================================================
  Files                          ?      298           
  Lines                          ?    15515           
  Branches                       ?     3987           
======================================================
  Hits                           ?    10916           
  Misses                         ?     4599           
  Partials                       ?        0           

Base automatically changed from changeset-debugging to main February 27, 2024 11:28
@lrapoport-cf
Copy link
Contributor

@petebacondarwin do we still need this PR or should it be closed?

@petebacondarwin
Copy link
Contributor

Ah no. It should be closed. Thanks.

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