Releases: opennextjs/opennextjs-aws
Releases · opennextjs/opennextjs-aws
v3.5.2
Changes
- #767
068ce66f31964543c88c7bdd1fa53f7adb76ab3d
- Fix api rewrite destination with i18n and query not forwarded on rewrite - #769
45e9e67892075e088774760cf3d8e027b2a539b4
Thanks @sommeeeer! - Fix: Ignore packages under the @img/* scope to exclude sharp from the server bundle.
v3.5.1
Changes
- #759
34511ffffc8678edf1b13256cc326caefa0b4709
- Fix locale not properly defined when used in middleware with domains - #761
7b4ea5cffa21b89cb200809727b66ba033024915
- Fix path localization for the middleware when using bothlocaleDetection:false
and domains
v3.5.0
New Features
- Add support for node middleware
- add: s3 lite override for loading images in the image optimization server (use aws4fetch instead of the aws sdk) #750
- Introduce a new optional mode for the tag cache. See #706 for the differences between new and original tag cache mode.
FYI On dynamoDB it's usually better to stick with the original mode
Breaking Changes
- lastModified is moved to ALS as a number from a global map indexed by requestId #740
- MiddlewareResult now contains initialURL instead of initialPath #756
- waitUntil is passed around via ALS to fix #713 #733
- InternalEvent#url is now a full URL #752
Changes
- #740
6ff03ec8d50ada5eb04de11b14ae670382707f30
Thanks @vicb! - refactor: lastModified moved to ALS - #756
bfef3635a9a375fba43547007d2e27e7406c5910
- fix page router json data for next 15.2 - #725
096c2732cbb8a9e77a9f152d8aac87321fa335ae
- Add support for the node middleware - #733
b59027a5899d25dd5263d1a272b33ec23fb683d3
Thanks @vicb! - refactor:waitUntil
passed around via ALS andOpenNextHandler
signature has changed - #717
b0b1f7776b41612d2638a33e3c9ced8c42afab0a
- introduce a new optional mode for the tag cache - #750
c4b0a78eedf6d0e8011bdaade9603a64e5f29338
Thanks @sommeeeer! - add: s3 lite override for loading images in the image optimization server - #727
867defe3ceacdd1079594202eae1f82391bdcd89
Thanks @dario-piotrowicz! - add and expose newCachedFetchValue
type - #752
e48951fcb5882b536e67581feac489cd1689ffe9
Thanks @vicb! -InternalEvent#url
is now a full URL - #745
ab7466f443178f3e6e0df512fd990e526ea516e7
Thanks @sommeeeer! - fix: tagCache in initializationFunction
v3.4.2
Changes
- #722
dd9face0d31d994890b5668b1f117775adccf274
Thanks @vicb! - fix(cloudflare): enable trailiing slash redirect - #718
14b81827f9078b98e32115fb5cfe706d03d64537
Thanks @vicb! - fix(cloudflare): PPR in wrangler dev - #724
94d6eca5e8baa6f93734a2ba1dbfbf0083252c75
Thanks @dario-piotrowicz! - fix: removecf-connecting-ip
headers from external override requests - #715
843497bac327206aeac4db585ac1663fc6c14ced
Thanks @vicb! - Dump ESBuild build metadata to<bundle>.meta.json
in debug mode
v3.4.1
Changes
- #708
7eda030388880d8ad25d3f4692e24bac31b7ec4f
Thanks @sommeeeer! - fix: add early return for downplayed aws-sdk errors - #704
e5678b39e0f3c21d3e30d08a89f5cb0acdd3d050
Thanks @dario-piotrowicz! - fix: make sure edge function entries are properly awaited - #702
1981a47dd3dbc77066d2bf5cad5d5d406fecb010
Thanks @vicb! - refactor(cache): deprecate global disableDynamoDBCache and disableIncrementalCache - #709
b4ad0f0e0f6069ca87f3b72c23d655cedebc86e5
- fix: stableIncrementalCache is only used for Next.js >= 14.1
v3.4.0
Changes
- #689
e8f6dc8c7a421e316f5fbed03dcb82bb860c5249
- Added some override for debugging OpenNext locally - #699
eaa9ef8daf2fc454139c77ce0e100cb48da15561
- Add a new multi-tiered incremental cache - #665
ae7fb9c5d24ecf3eeb99682aa34bcbe0adb45675
- Add an override to automatically invalidate the CDN (not enabled by default) - #701
00ce837cb98e5902316f26163c9fb927058f956c
Thanks @james-elicx! - refactor: use utility for cross-platform path regex construction - #698
d1cea5601943afaa197d56f931593234f351c441
- Fix external rewrites for binary data - #694
6884444cb929ab60c074c918954d24100f4e9668
Thanks @james-elicx! - Mark the host header as trusted when the OpenNext project has external middleware to align with normal behavior for the Next.js server. - #688
86916bfd9246a63f321352bb11346eeb0ca3f6da
Thanks @vicb! - fix city name header encoding - #695
e708ec4d9f4c87d3249a01382482347d295ed28a
Thanks @james-elicx! - Fix esbuild edge plugins not matching Windows paths.
v3.3.1
Changes
- #684
9595714ac23e5f131b879d04d5cfb2a5d11bdbdd
Thanks @vicb! - fix: fetch cache does not depend on tag cache being enabled - #685
4e88b47935523de1d15da067b56105bd6be91e47
- fix html cache headers with i18n - #673
7140ca56e1e88d7a7cae327eceb3ef8c2fde2a1e
- Add additional metadata to RoutingResult
v3.3.0
Changes
- #663
4d328e3fc306b878e9497986baa65bfd1d4de66a
Thanks @vicb! - refactor: move StreamCreator to types/open-next - #649
2b2a48b70ae95b5e600ac2e4b7f2df8702c5c26e
Thanks @vicb! - feat: Add support for OPEN_NEXT_ERROR_LOG_LEVEL - #642
0ac604e5867497cc93fb677b5ebc28ef87e057f8
Thanks @vicb! - feat: add a cloudflare-streaming wrapper - #644
f685ddea8f8a5c82591dc02713aff7138f2d9896
Thanks @vicb! - fix(cloudflare): cloudflare-streaming do not use the edge runtime - #650
ef1fe48d570863266c271e5dedaf02b943849ded
Thanks @vicb! - fix: dummy override errors - #664
8ab921f8b5bd40c7ba109ccef3e59a6c24283fb2
Thanks @vicb! - fix(cloudflare): fix the node wrapper - #645
2202f36ce0f87357b249bd127cdd5e84d6deffd3
Thanks @vicb! - refactor(cloudflare): rename the "cloudflare" wrapper to "cloudflare-edge" - #671
44392ba82990d43e16a614113d9e7d8e257e5bdd
Thanks @davidjoy! - fix: add audio/flac to commonBinaryMimeTypes - #660
4dea7ea2f5ffd1848e51502c88d2efcc1896bb8c
Thanks @vicb! - fix: partially reverts 644 - #672
1ece6b479bb4e0309892ffbd1200870821a410c4
Thanks @alebelcor! - fix(aws): add missing base path to data routes - #675
697681bf9ce25212ce4e2e94d886ca425428280d
Thanks @sommeeeer! - Import correct loggers in proxyExternalRequest override
v3.2.2
Changes
- #617
6f798debb575b157acb2f5068658f95ace0fae50
Thanks @vicb! - feat: add support for Next15 geolocation - #638
fe600ac6f5e513376cf233a5d2ce68affaa3aa5a
Thanks @vicb! - fix(http): Set content-length only if body is present - #626
5f0cbc8feac9eec728c27bb3b7ff5c3f3bc26716
- add support for next/after - #632
8b51108d9aee7e5ed3027c1ceda99091b579951d
- fix 304 incorrectly set as 200 - #630
b999c4e9a38499680bed77ddeb94b62a3301c0fa
- Feat: Allow overriding the proxying for external rewrite - #633
ba84259d2e35e79a562a7e3f055e350a03c9d651
Thanks @chanceaclark! - When copying over assets, check to see if favicon.ico is a file. In some cases favicon.ico is a folder that can contain a route handler.
v3.2.1
Changes
- #604
cf33973f3fbab73e77898fdd072a00a1f037257a
Thanks @vicb! - fix(middleware): always compiles the middleware. - #603
77d87e7a870fad6afad022bf75aca18c8656c268
Thanks @john-trieu-nguyen! - Fix redirect when containing "+" and decode values for URLSearchParams - #612
a43b82b4cb68889371ac8260aefef9e04eefb037
Thanks @vicb! - feature(edge): add a way for convertTo to return a Request - #598
bfa1a8c4056bd691fb57617dd6287693e51071b4
- Fix external redirect trailing - #601
5839217411012d1df2874d299daa977ba3701c2c
- fix fetch cache for next 15 - #613
dfc174d88b7bcc54eede09c98d9443dd84b93fd8
Thanks @vicb! - feat(middleware): add ability to force single build pass