Merged
Conversation
commit: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
20.19.30→20.19.3219.2.10→19.2.135.1.2→5.1.310.4.23→10.4.240.4.26→0.5.00.0.62→0.0.632.33.4→2.33.54.61.1→4.63.0Release Notes
vitejs/vite-plugin-react (@vitejs/plugin-react)
v5.1.3Compare Source
postcss/autoprefixer (autoprefixer)
v10.4.24Compare Source
ArnaudBarre/eslint-plugin-react-refresh (eslint-plugin-react-refresh)
v0.5.0Compare Source
Breaking changes
reactRefreshexport is available and prefered over the default export. It's an object with two properties:plugin: The plugin object with the rulesconfigs: An object containing configuration presets, each exposed as a function. These functions accept your custom options, merge them with sensible defaults for that config, and return the final config object.customHOCsoption was renamed toextraHOCsextraHOCsoptionConfig example:
Config example without config:
Why
This version follows a revamp of the internal logic to better make the difference between random call expressions like
export const Enum = Object.keys(Record)and actual React HOC calls likeexport const MemoComponent = memo(Component). (fixes #93)The rule now handles ternaries and patterns like
export default customHOC(props)(Component)which makes it able to correctly support files like this one given this config:{ "react-refresh/only-export-components": [ "warn", { "extraHOCs": ["createRootRouteWithContext"] } ] }Because I'm not 100% sure this new logic doesn't introduce any false positive, this is done in a major-like version. This also give me the occasion to remove the hardcoded
connectfrom the rule. If you are usingconnectfromreact-redux, you should now add it toextraHOCslike this:{ "react-refresh/only-export-components": ["warn", { "extraHOCs": ["connect"] }] }stackblitz-labs/pkg.pr.new (pkg-pr-new)
v0.0.63Compare Source
remeda/remeda (remeda)
v2.33.5Compare Source
Bug Fixes
cloudflare/workers-sdk (wrangler)
v4.63.0Compare Source
Minor Changes
#12386
447daa3Thanks @NuroDev! - Added new "open local explorer" hotkey for experimental/WIP local resource explorerWhen running
wrangler devwith the experimental local explorer feature enabled, you can now press theehotkey to open the local resource explorer UI in your browser.Patch Changes
#11350
ee9b81fThanks @dario-piotrowicz! - fix: improve error message when the entrypoint is incorrectError messages for incorrect entrypoint configuration have been improved to provide clearer and more actionable feedback. The updated messages help users understand what went wrong and how to fix their configuration.
#12402
63f1adbThanks @dependabot! - Update dependencies of "miniflare", "wrangler"The following dependency versions have been updated:
#12418
ba13de9Thanks @dependabot! - Update dependencies of "miniflare", "wrangler"The following dependency versions have been updated:
#12216
fe3af35Thanks @ichernetsky-cf! - Deprecate 'wrangler cloudchamber apply' in favor of 'wrangler deploy'#12368
bd4bb98Thanks @KianNH! - Preserve Containers configuration when usingversionscommandsPreviously, commands like
wrangler versions uploadwould inadvertently disable Containers on associated Durable Object namespaces because thecontainersproperty was being omitted from the API request body.#12396
dab4bc9Thanks @petebacondarwin! - fix: redact email addresses and account names in non-interactive modeTo prevent sensitive information from being exposed in public CI logs, email addresses and account names are now redacted when running in non-interactive mode (e.g., CI environments). Account IDs remain visible to aid debugging.
#12378
18c0784Thanks @X6TXY! - Truncate Pages commit messages at UTF-8 boundaries to avoid invalid UTF-8Updated dependencies [
63f1adb,ba13de9,83adb2c]:v4.62.0Compare Source
Minor Changes
#12064
964a39dThanks @G4brym! - Add AI Search OAuth scopes to loginAdds
ai-search:writeandai-search:runOAuth scopes to the default login scopes, enabling wrangler to authenticate with AI Search APIs.#11867
253a85dThanks @rahulsuresh-git! - Addwrangler r2 bucket local-uploadscommand to manage local uploads for R2 bucketsWhen enabled, object data is written to the nearest region first, then asynchronously replicated to the bucket's primary region.
Docs: https://developers.cloudflare.com/r2/buckets/local-uploads
#11803
1bd1488Thanks @dario-piotrowicz! - Add a newsubrequestslimit to thelimitsfield of the Wrangler configuration fileBefore only the
cpu_mslimit was supported in thelimitsfield of the Wrangler configuration file, now asubrequestslimit can be specified as well which enables the user to limit the number of fetch requests that a Worker's invocation can make.Example:
{ "$schema": "./node_modules/wrangler/config-schema.json", "limits": { "cpu_ms": 1000, "subrequests": 150 // newly added field } }#12185
f7aa8c7Thanks @penalosa! - Addtimestampfield to the version metadata binding in local development. The version metadata binding now includesid,tag, andtimestampfields, making it easier to test version-aware logic locally.Patch Changes
#12190
ce736b9Thanks @dario-piotrowicz! - Update autoconfig logic to handle Next.js projects by using the new@opennextjs/cloudflare migratecommand#12065
47944d1Thanks @langningchen! - Improve error message whend1 export --outputpoints to a directory#12292
4c4d5a5Thanks @dario-piotrowicz! - AddversionCommandto theautoconfig_summaryfield in the autoconfig output entryAdd the version upload command to the output being printed by
wrangler deploytoWRANGLER_OUTPUT_FILE_DIRECTORY/WRANGLER_OUTPUT_FILE_PATH. This complements the existingbuildCommandanddeployCommandfields and allows CI systems to know how to upload new versions of Workers.For example, for a standard npm project this would be:
npx wrangler versions uploadWhile for a Next.js project it would be:
npx @​opennextjs/cloudflare upload#12050
b05b919Thanks @NuroDev! - Fixed Wrangler's error handling for both invalid commands with and without the--helpflag, ensuring consistent and clear error messages.Additionally, it also ensures that if you provide an invalid argument to a valid command, Wrangler will now correctly display that specific commands help menu.
#12289
0aaf080Thanks @dependabot! - Update dependencies of "miniflare", "wrangler"The following dependency versions have been updated:
#12295
b981db5Thanks @dependabot! - Update dependencies of "miniflare", "wrangler"The following dependency versions have been updated:
#12355
a113c0dThanks @dependabot! - Update dependencies of "miniflare", "wrangler"The following dependency versions have been updated:
#11971
fdd7a9fThanks @dario-piotrowicz! - Add framework id, build command, and deploy command to theautoconfig_summaryfield in the deploy output entryAdd the framework id alongside the commands to build and deploy the project to the output being printed by
wrangler deploytoWRANGLER_OUTPUT_FILE_DIRECTORYorWRANGLER_OUTPUT_FILE_PATH.For example for an npm Astro project these would be:
astronpm run buildnpx wrangler deployWhile for a Next.js project they would instead be:
nextnpx @​opennextjs/cloudflare buildnpx @​opennextjs/cloudflare deploy#12211
a5fca2cThanks @elithrar! - Remove the 'pubsub' sub-command and related functionalityThe Pub/Sub product was never made publicly available and has been discontinued. This removes the
wrangler pubsubcommand and all associated functionality.Updated dependencies [
0c9625a,0aaf080,b981db5,a113c0d,f7aa8c7]:Configuration
📅 Schedule: Branch creation - Between 12:00 AM and 04:59 AM, only on Monday ( * 0-4 * * 1 ) in timezone America/Los_Angeles, Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR was generated by Mend Renovate. View the repository job log.