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 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
@opennextjs/[email protected]
Minor Changes
#925
62fee71Thanks @krzysztof-palka-monogo! - feature: optional batch upload for faster R2 cache populationThis update adds optional batch upload support for R2 cache population, significantly improving upload performance for large caches when enabled via .env or environment variables.
Key Changes:
Optional Batch Upload: Configure R2 credentials via .env or environment variables to enable faster batch uploads:
R2_ACCESS_KEY_IDR2_SECRET_ACCESS_KEYCF_ACCOUNT_IDAutomatic Detection: When credentials are detected, batch upload is automatically used for better performance
Smart Fallback: If credentials are not configured, the CLI falls back to standard Wrangler uploads with a helpful message about enabling batch upload for better performance
All deployment commands support batch upload:
populateCache- Explicit cache populationdeploy- Deploy with cache populationupload- Upload version with cache populationpreview- Preview with cache populationPerformance Benefits (when batch upload is enabled):
Usage:
Add the credentials in a
.env/.dev.varsfile in your project root:You can also set the environment variables for CI builds.
Note:
You can follow documentation https://developers.cloudflare.com/r2/api/tokens/ for creating API tokens with appropriate permissions for R2 access.
Patch Changes
#951
e3aba83Thanks @vicb! - bump@opennextjs/awsto 3.8.5See details at https://github.com/opennextjs/opennextjs-aws/releases/tag/v3.8.5
#948
0c655c3Thanks @vicb! - refactor: do not create a wrangler config when a custom one is passed