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

Merged
merged 1 commit into from
Jun 7, 2024
Merged

Version Packages #5971

merged 1 commit into from
Jun 7, 2024

Conversation

workers-devprod
Copy link
Contributor

@workers-devprod workers-devprod commented Jun 4, 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.60.0

Minor Changes

  • #5878 1e68fe5 Thanks @IgorMinar! - feat: add experimental support for hybrid Node.js compatibility

    This feature is experimental and not yet available for general consumption.

    Use a combination of workerd Node.js builtins (behind the experimental:nodejs_compat_v2 flag) and
    Unenv polyfills (configured to only add those missing from the runtime) to provide a new more effective
    Node.js compatibility approach.

  • #5988 e144f63 Thanks @RamIdeas! - feature: rename the wrangler secret:bulk command to wrangler secret bulk

    The old command is now deprecated (but still functional) and will be removed in a future release. The new command is now more consistent with the rest of the wrangler CLI commands.

  • #5989 35b1a2f Thanks @RamIdeas! - feature: rename wrangler kv:... commands to wrangler kv ...

    The old commands are now deprecated (but still functional) and will be removed in a future release. The new commands are now more consistent with the rest of the wrangler CLI commands.

  • #5861 1cc52f1 Thanks @zebp! - feat: allow for Pages projects to upload sourcemaps

    Pages projects can now upload sourcemaps for server bundles to enable remapped stacktraces in realtime logs when deployed with upload_source_map set to true in wrangler.toml.

Patch Changes

  • #5939 21573f4 Thanks @penalosa! - refactor: Adds the experimental flag --x-dev-env which opts in to using an experimental code path for wrangler dev and wrangler dev --remote. There should be no observable behaviour changes when this flag is enabled.

  • #5934 bac79fb Thanks @dbenCF! - fix: Update create KV namespace binding details message for easier implementation

  • #5927 6f83641 Thanks @CarmenPopoviciu! - fix: Clean pages dev terminal ouput

    This work includes a series of improvements to the pages dev terminal output, in an attempt to make this output more structured, organised, cleaner, easier to follow, and therefore more helpful for our users <3

  • #5960 e648825 Thanks @petebacondarwin! - fix: avoid injecting esbuild watch stubs into production Worker code

    When we added the ability to include additional modules in the deployed bundle of a Worker,
    we inadvertently also included some boiler plate code that is only needed at development time.

    This fix ensures that this code is only injected if we are running esbuild in watch mode
    (e.g. wrangler dev) and not when building for deployment.

    It is interesting to note that this boilerplate only gets included in the production code
    if there is an import of CommonJS code in the Worker, which esbuild needs to convert to an
    ESM import.

    Fixes #4269

  • Updated dependencies [ab95473]:

    • miniflare@3.20240605.0

create-cloudflare@2.21.5

Patch Changes

  • #5894 314f7c4 Thanks @dependabot! - chore: update dependencies of "create-cloudflare" package

    The following dependency versions have been updated:

    Dependency From To
    create-qwik 1.5.4 1.5.5
  • #5981 2a05ede Thanks @dependabot! - chore: update dependencies of "create-cloudflare" package

    The following dependency versions have been updated:

    Dependency From To
    create-solid 0.5.5 0.5.11
  • #5982 0c03316 Thanks @dependabot! - chore: update dependencies of "create-cloudflare" package

    The following dependency versions have been updated:

    Dependency From To
    create-svelte 6.1.2 6.3.0
  • #5250 cfde058 Thanks @elithrar! - fix: updated the name of the Durable Object template in C3.

    Makes it clearer what a "Durable Object" is. A user using c3 or Cloudflare for the first time will have no idea.
    Also moved it down the list so that "web application" (a far more common use-case) is higher.

miniflare@3.20240605.0

Patch Changes

  • #5961 ab95473 Thanks @CarmenPopoviciu! - chore: update dependencies of "miniflare" package

    The following dependency versions have been updated:

    Dependency From To
    workerd 1.20240524.0 1.20240605.0
    @cloudflare/workers-types ^4.20240524.0 ^4.20240605.0

@cloudflare/pages-shared@0.11.42

Patch Changes

  • Updated dependencies [ab95473]:
    • miniflare@3.20240605.0

@cloudflare/vitest-pool-workers@0.4.2

Patch Changes

@workers-devprod workers-devprod requested review from a team as code owners June 4, 2024 19:47
Copy link
Contributor

github-actions bot commented Jun 4, 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/9415776742/npm-package-wrangler-5971

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

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

Or you can use npx with this latest build directly:

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

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


wrangler@3.60.0 includes the following runtime dependencies:

Package Constraint Resolved
miniflare workspace:* 3.20240605.0
workerd 1.20240605.0 1.20240605.0
workerd --version 1.20240605.0 2024-06-05

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

@workers-devprod workers-devprod force-pushed the changeset-release/main branch 4 times, most recently from 6839a50 to 4860851 Compare June 5, 2024 13:49
@workers-devprod workers-devprod requested a review from a team as a code owner June 5, 2024 13:49
@workers-devprod workers-devprod force-pushed the changeset-release/main branch 13 times, most recently from 968b6f4 to 03dc3d3 Compare June 7, 2024 06:48
@workers-devprod workers-devprod force-pushed the changeset-release/main branch from 03dc3d3 to 4d6de4c Compare June 7, 2024 10:45
@RamIdeas RamIdeas merged commit 38b5c16 into main Jun 7, 2024
31 of 34 checks passed
@RamIdeas RamIdeas deleted the changeset-release/main branch June 7, 2024 11:26
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.

🐛 BUG: Wrangler is injecting development code in production builds
3 participants