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
#740
6ff03ec8d50ada5eb04de11b14ae670382707f30
Thanks @vicb! - refactor: lastModified moved to ALSBREAKING CHANGE:
lastModified
is moved to ALS as a number from a global map indexed byrequestId
#756
bfef3635a9a375fba43547007d2e27e7406c5910
Thanks @conico974! - fix page router json data for next 15.2This PR also use
getRequestHandlerWithMetadata
instead ofgetRequestHandler
to allow assign metadata to the request.BREAKING CHANGE:
MiddlewareResult
now containsinitialURL
instead ofinitialPath
#725
096c2732cbb8a9e77a9f152d8aac87321fa335ae
Thanks @conico974! - Add support for the node middleware#733
b59027a5899d25dd5263d1a272b33ec23fb683d3
Thanks @vicb! - refactor:waitUntil
passed around via ALS andOpenNextHandler
signature has changedBREAKING CHANGE:
waitUntil
is passed around via ALS to fix [Bug] Concurrent requests with the cloudflare wrappers #713.globalThis.openNextWaitUntil
is no more available, you can accesswaitUntil
on the ALS context:
globalThis.__openNextAls.getStore()
The
OpenNextHandler
signature has changed: the second parameter was aStreamCreator
.It was changed to be of type
OpenNextHandlerOptions
which has both astreamCreator
keyand a
waitUntil
key.If you use a custom wrapper, you need to update the call to the handler as follow:
#717
b0b1f7776b41612d2638a33e3c9ced8c42afab0a
Thanks @conico974! - introduce a new optional mode for the tag cachePatch Changes
#750
c4b0a78eedf6d0e8011bdaade9603a64e5f29338
Thanks @sommeeeer! - add: s3 lite override for loading images in the image optimization servers3-lite
override for image loading. Usesaws4fetch
to get the objects from your s3 bucket. This will make the image optimization server work without the aws s3 sdk. This override introduces a new environment variable calledBUCKET_REGION
. It will fallback toAWS_REGION
??AWS_DEFAULT_REGION
if undefined. This will require no additional change in IAC for most users.#727
867defe3ceacdd1079594202eae1f82391bdcd89
Thanks @dario-piotrowicz! - add and expose newCachedFetchValue
type#752
e48951fcb5882b536e67581feac489cd1689ffe9
Thanks @vicb! -InternalEvent#url
is now a full URLBREAKING CHANGE:
InternalEvent#url
was only composed of the path and search query before.Custom converters should be updated to populate the full URL instead.
#745
ab7466f443178f3e6e0df512fd990e526ea516e7
Thanks @sommeeeer! - fix: tagCache in initializationFunctionAdd correct typing to tagCache in initializationFunction and also adds it to the
overrides
incompileTagCacheProvider
function.[email protected]
Patch Changes
6ff03ec8d50ada5eb04de11b14ae670382707f30
,bfef3635a9a375fba43547007d2e27e7406c5910
,c4b0a78eedf6d0e8011bdaade9603a64e5f29338
,867defe3ceacdd1079594202eae1f82391bdcd89
,096c2732cbb8a9e77a9f152d8aac87321fa335ae
,b59027a5899d25dd5263d1a272b33ec23fb683d3
,b0b1f7776b41612d2638a33e3c9ced8c42afab0a
,e48951fcb5882b536e67581feac489cd1689ffe9
,ab7466f443178f3e6e0df512fd990e526ea516e7
]:[email protected]
Patch Changes
6ff03ec8d50ada5eb04de11b14ae670382707f30
,bfef3635a9a375fba43547007d2e27e7406c5910
,c4b0a78eedf6d0e8011bdaade9603a64e5f29338
,867defe3ceacdd1079594202eae1f82391bdcd89
,096c2732cbb8a9e77a9f152d8aac87321fa335ae
,b59027a5899d25dd5263d1a272b33ec23fb683d3
,b0b1f7776b41612d2638a33e3c9ced8c42afab0a
,e48951fcb5882b536e67581feac489cd1689ffe9
,ab7466f443178f3e6e0df512fd990e526ea516e7
]: