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

Update dependency qrcode.react to v4.2.0 #40835

Merged
merged 3 commits into from
Jan 3, 2025
Merged

Conversation

matticbot
Copy link
Contributor

@matticbot matticbot commented Jan 2, 2025

I've bumped this to v4.2.0.

This PR contains the following updates:

Package Type Update Change
qrcode.react (source) dependencies minor 3.1.0 -> 3.2.0

Release Notes

zpao/qrcode.react (qrcode.react)

v3.2.0

Compare Source

Fixed
  • Improved support for dual publishing of ESM/CJS modules for better compatibility with tools. (#​301, #​368)
  • Mitigated warnings when using QRCodeSVG in server components (#​352)
Changed
  • Added @deprecated JSDoc to default export for additional visibility in editors to TypeScript users.

Configuration

📅 Schedule: Branch creation - "* 0-2 1 * *" in timezone UTC, Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

@matticbot matticbot added [Status] Needs Review To request a review from fellow Jetpack developers. Label will be renamed soon. [Type] Janitorial labels Jan 2, 2025
Copy link
Contributor

github-actions bot commented Jan 2, 2025

Are you an Automattician? Please test your changes on all WordPress.com environments to help mitigate accidental explosions.

  • To test on WoA, go to the Plugins menu on a WordPress.com Simple site. Click on the "Upload" button and follow the upgrade flow to be able to upload, install, and activate the Jetpack Beta plugin. Once the plugin is active, go to Jetpack > Jetpack Beta, select your plugin, and enable the renovate/qrcode.react-3.x branch.

    • For jetpack-mu-wpcom changes, also add define( 'JETPACK_MU_WPCOM_LOAD_VIA_BETA_PLUGIN', true ); to your wp-config.php file.
  • To test on Simple, run the following command on your sandbox:

    bin/jetpack-downloader test jetpack renovate/qrcode.react-3.x
    
    bin/jetpack-downloader test jetpack-mu-wpcom-plugin renovate/qrcode.react-3.x
    

Interested in more tips and information?

  • In your local development environment, use the jetpack rsync command to sync your changes to a WoA dev blog.
  • Read more about our development workflow here: PCYsg-eg0-p2
  • Figure out when your changes will be shipped to customers here: PCYsg-eg5-p2

@tbradsha tbradsha changed the title Update dependency qrcode.react to v3.2.0 Update dependency qrcode.react to v4.2.0 Jan 2, 2025
@tbradsha tbradsha self-assigned this Jan 2, 2025
@tbradsha
Copy link
Contributor

tbradsha commented Jan 2, 2025

There's no longer a default QRCode export in the library, which previously handled both SVG and canvas variants behind the scenes. This PR preserves that behavior.

Note that 4.0.0 deprecated includeMargin and added marginSize instead (no errors). I've left that alone for a future refactor as needed, which could also add minVersion (4.0.0) and boostLevel (4.1.0) prop support, and could bump the value prop to support an array of strings (4.1.0).

@tbradsha tbradsha merged commit 22ed569 into trunk Jan 3, 2025
76 of 77 checks passed
@tbradsha tbradsha deleted the renovate/qrcode.react-3.x branch January 3, 2025 00:09
@github-actions github-actions bot removed the [Status] Needs Review To request a review from fellow Jetpack developers. Label will be renamed soon. label Jan 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants