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

Merged
merged 1 commit into from May 7, 2022
Merged

Version Packages #909

merged 1 commit into from May 7, 2022

Conversation

github-actions[bot]
Copy link
Contributor

@github-actions github-actions bot commented May 5, 2022

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@0.0.31

Patch Changes

  • #916 4ef5fbb Thanks @petebacondarwin! - fix: display and error and help for wrangler init --site

    The --site option is no longer supported.
    This change adds information about how to create a new Sites project
    by cloning a repository.
    It also adds links to the Worker Sites and Cloudflare Pages docs.

  • #908 f8dd31e Thanks @threepointone! - fix: fix isolate prewarm logic for wrangler dev

    When calling wrangler dev, we make a request to a special URL that "prewarms" the isolate running our Worker so that we can attach devtools etc to it before actually making a request. We'd implemented it wrongly, and because we'd silenced its errors, we weren't catching it. This patch fixes the logic (based on wrangler 1.x's implementation) and enables logging errors when the prewarm request fails.

    As a result, profiling starts working again as expected. Fixes 🐛 BUG: Profiling doesn't work as expected  #907

  • #919 13078e1 Thanks @threepointone! - fix: don't crash when tail event is null

    Sometime the "event" on a tail can be null. This patch makes sure we don't crash when that happens. Fixes 🐛 BUG: Wrangler tail fails with "Cannot use 'in' operator to search for 'cron' in null #918

  • #913 dfeed74 Thanks @threepointone! - polish: add a deprecation warning to --inspect on dev

    We have a blogposts and docs that says you need to pass --inspect to use devtools and/or profile your Worker. In wrangler v2, we don't need to pass the flag anymore. Using it right now will throw an error, so this patch makes it a simple warning instead.

  • #916 4ef5fbb Thanks @petebacondarwin! - fix: add some space after the CLI help message when there is an error

  • #920 57cf221 Thanks @threepointone! - chore: don't minify bundles

    When errors in wrangler happen, it's hard to tell where the error is coming from in a minified bundle. This patch removes the minification. We still set process.env.NODE_ENV = 'production' in the bundle so we don't run dev-only paths in things like React.

    This adds about 2 mb to the bundle, but imo it's worth it.

  • #916 4ef5fbb Thanks @petebacondarwin! - fix: update the generate command to provide better deprecation messaging

  • #914 9903526 Thanks @sidharthachatterjee! - fix: Ensure getting git branch doesn't fail on Windows

  • #917 94d3d6d Thanks @GregBrimble! - fix: Hit correct endpoint for 'wrangler pages publish'

  • #910 fe0344d Thanks @taylorlee! - fix: support preview buckets for r2 bindings

    Allows wrangler2 to perform preview & dev sessions with a different bucket than the published worker's binding.

    This matches kv's preview_id behavior, and brings the wrangler2 implementation in sync with wrangler1.

@github-actions github-actions bot force-pushed the changeset-release/main branch 5 times, most recently from 70c08d1 to 730329f Compare May 6, 2022 18:55
@github-actions github-actions bot force-pushed the changeset-release/main branch 2 times, most recently from 8d2b4ae to 1241690 Compare May 7, 2022 17:06
@threepointone threepointone merged commit f584ae6 into main May 7, 2022
@threepointone threepointone deleted the changeset-release/main branch May 7, 2022 21:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant