Skip to content

wrangler: 3.80.1 → 4.16.0#409499

Closed
ezrizhu wants to merge 1 commit intoNixOS:masterfrom
ezrizhu:master
Closed

wrangler: 3.80.1 → 4.16.0#409499
ezrizhu wants to merge 1 commit intoNixOS:masterfrom
ezrizhu:master

Conversation

@ezrizhu
Copy link
Member

@ezrizhu ezrizhu commented May 21, 2025

fixes #409155
fixes #409155
fixes #381980

related: #377334

Upstream Changelog: https://github.com/cloudflare/workers-sdk/releases/tag/wrangler%404.16.0

Besides the version update, I also resolved two issues that prevented us from updating wrangler (context in the update request issue).

  • Broken symlinks: nixpkgs build now checks for broken symlinks, this PR adds all the relevant directories back to the out dir so all symlinks are intact.
  • Missing npm: wrangler specifies an older version of pnpm than the one in pnpm_9 as used in the build process, this PR patches the package.json to remove the pnpm version so pnpm_9 doesn't attempt to change it's version resulting in a pnpm binary not found error. (with help from @cameronraysmith)

Things done

  • Built on platform(s)
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)
    • sandbox = relaxed
    • sandbox = true
  • Tested, as applicable:
  • Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
  • Tested basic functionality of all binary files (usually in ./result/bin/)
  • Nixpkgs 25.11 Release Notes (or backporting 24.11 and 25.05 Nixpkgs Release notes)
    • (Package updates) Added a release notes entry if the change is major or breaking
  • NixOS 25.11 Release Notes (or backporting 24.11 and 25.05 NixOS Release notes)
    • (Module updates) Added a release notes entry if the change is significant
    • (Module addition) Added a release notes entry if adding a new NixOS module
  • Fits CONTRIBUTING.md.

Add a 👍 reaction to pull requests you find important.

Also resolved two below build issues

* Broken symlinks: nixpkgs build now checks for broken symlinks, this PR
  adds all the relevant directories back to the out dir so all symlinks
  are intact.
* Missing npm: wrangler specifies an older of pnpm than the one in
  pnpm_9 as used in the build process, this PR patches the package.json
  to use the pnpm version that is currently present in the build
  environment, this way when we update pnpm_9 again wrangler will still
  build.
@ezrizhu ezrizhu changed the title wrangler: broken symlinks and update 3.80.1 → 4.16.0 wrangler: 3.80.1 → 4.16.0 May 21, 2025
@github-actions github-actions bot added 10.rebuild-darwin: 1 This PR causes 1 package to rebuild on Darwin. 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-linux: 1 This PR causes 1 package to rebuild on Linux. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. labels May 21, 2025
@nix-owners nix-owners bot requested review from dezren39, ryand56 and seanrmurphy May 21, 2025 18:21
@ezrizhu
Copy link
Member Author

ezrizhu commented May 21, 2025

oh bruh didnt see the old one got updated, closing.

@ezrizhu ezrizhu closed this May 21, 2025
@cameronraysmith cameronraysmith mentioned this pull request May 22, 2025
13 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-darwin: 1 This PR causes 1 package to rebuild on Darwin. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. 10.rebuild-linux: 1 This PR causes 1 package to rebuild on Linux.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Update Request: wrangler 3.80.1 → 4.16.0 Build failure: wrangler

1 participant