Skip to content

Version Packages#2394

Merged
lrapoport-cf merged 1 commit into
mainfrom
changeset-release/main
Jan 9, 2023
Merged

Version Packages#2394
lrapoport-cf merged 1 commit into
mainfrom
changeset-release/main

Conversation

@github-actions

@github-actions github-actions Bot commented Dec 12, 2022

Copy link
Copy Markdown
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 main, this PR will be updated.

Releases

wrangler@2.7.0

Minor Changes

Patch Changes

  • #2460 c2b2dfb8 Thanks @rozenmd! - fix: resolve unstable_dev flakiness in tests by awaiting the dev registry

  • #2439 616f8739 Thanks @petebacondarwin! - fix(wrangler): do not login or read wrangler.toml when applying D1 migrations in local mode.

    When applying D1 migrations to a deployed database, it is important that we are logged in
    and that we have the database ID from the wrangler.toml.
    This is not needed for --local mode where we are just writing to a local SQLite file.

  • #1869 917b07b0 Thanks @petebacondarwin! - feat: enable Wrangler to target the staging API by setting WRANGLER_API_ENVIRONMENT=staging

    If you are developing Wrangler, or an internal Cloudflare feature, and during testing,
    need Wrangler to target the staging API rather than production, it is now possible by
    setting the WRANGLER_API_ENVIRONMENT environment variable to staging.

    This will update all the necessary OAuth and API URLs, update the OAuth client ID, and
    also (if necessary) acquire an Access token for to get through the firewall to the
    staging URLs.

  • #2377 32686e42 Thanks @mrbbot! - Fix ReferenceError when using wrangler dev --experimental-local in Node 16

  • #2393 a6d24732 Thanks @mrbbot! - Remove login requirement from wrangler dev --experimental-local

  • #2502 6b7ebc8d Thanks @mrbbot! - Upgrade miniflare to 2.11.0

  • #2485 4c0e2309 Thanks @GregBrimble! - fix: Pages Plugin routing when mounted at the root of a project

    Previously, there was a bug which meant that Plugins mounted at the root of a Pages project were not correctly matching incoming requests. This change fixes that bug so Plugins mounted at the root should now correctly work.

  • #2479 7b479b91 Thanks @rozenmd! - fix: bump d1js

    This PR bumps d1js, adding the following functionality to the d1 alpha shim:

    • validates supported types
    • converts ArrayBuffer to array
    • converts typedArray to array
  • #2392 7785591c Thanks @rozenmd! - fix: improve wrangler init --from-dash help text and error handling

  • #2391 19525a4b Thanks @mrbbot! - Always log when delegating to local wrangler install.

    When a global wrangler command is executed in a package directory with wrangler installed locally, the command is redirected to the local wrangler install.
    We now always log a message when this happens, so you know what's going on.

  • #2468 97282459 Thanks @rozenmd! - BREAKING CHANGE: move experimental options under the experimental object for unstable_dev

  • #2477 3bd1b676 Thanks @rozenmd! - fix: update NO_D1_WARNING to make it clear how to turn it off

  • #2495 e93063e9 Thanks @petebacondarwin! - fix(d1): ensure that migrations support compound statements

    This fix updates the SQL statement splitting so that it does not split in the middle of compound statements.
    Previously we were using a third party splitting library, but this needed fixing and was actually unnecessary for our purposes.
    So a new splitter has been implemented and the library dependency removed.
    Also the error handling in d1 migrations apply has been improved to handle a wider range of error types.

    Fixes 🐛 BUG: Incorrect SQL statement splitting #2463

  • #2400 08a0b22e Thanks @mrbbot! - Cleanly exit wrangler dev --experimental-local when pressing x/q/CTRL-C

  • #2374 ecba1ede Thanks @rozenmd! - fix: make --from-dash error output clearer

    This PR makes it clearer what --from-dash wants from you.

    closes 🐛 BUG: --from-dash confusing #2373
    closes 🚀 Feature Request: --from-dash script missing error #2375

  • #2377 32686e42 Thanks @mrbbot! - Respect FORCE_COLOR=0 environment variable to disable colored output when using wrangler dev --local

  • #2455 d9c1d273 Thanks @rozenmd! - BREAKING CHANGE: refactor unstable_dev to use an experimental object, instead of a second options object

    Before, if you wanted to disable the experimental warning, you would run:

    worker = await unstable_dev(
    	"src/index.js",
    	{},
    	{ disableExperimentalWarning: true }
    );

    After this change, you'll need to do this instead:

    worker = await unstable_dev("src/index.js", {
    	experimental: { disableExperimentalWarning: true }
    });

@cloudflare/pages-shared@0.0.13

Patch Changes

@github-actions
github-actions Bot requested a review from a team as a code owner December 12, 2022 13:21
@github-actions
github-actions Bot force-pushed the changeset-release/main branch 13 times, most recently from 635f3d6 to 18c5fe5 Compare December 16, 2022 14:46
@github-actions
github-actions Bot force-pushed the changeset-release/main branch 5 times, most recently from c660051 to 82d527a Compare December 22, 2022 20:42
@github-actions
github-actions Bot force-pushed the changeset-release/main branch 11 times, most recently from e0ebeff to 83c935f Compare January 2, 2023 12:52
@github-actions
github-actions Bot force-pushed the changeset-release/main branch 8 times, most recently from bfc5833 to f30b4a5 Compare January 6, 2023 10:08
@github-actions
github-actions Bot requested a review from a team as a code owner January 6, 2023 10:08
@github-actions
github-actions Bot force-pushed the changeset-release/main branch 2 times, most recently from 0bb8a51 to 3111eb8 Compare January 6, 2023 13:25
@github-actions
github-actions Bot force-pushed the changeset-release/main branch from 3111eb8 to 186c7b6 Compare January 9, 2023 18:47

@JacobMGEvans JacobMGEvans left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Spot checked. Fixed some outstanding issues with changes to public API layer with wrangler init found during checks.

@lrapoport-cf
lrapoport-cf merged commit e60dc90 into main Jan 9, 2023
@lrapoport-cf
lrapoport-cf deleted the changeset-release/main branch January 9, 2023 19:03
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.

🐛 BUG: Incorrect SQL statement splitting 🚀 Feature Request: --from-dash script missing error 🐛 BUG: --from-dash confusing

2 participants