Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
113 commits
Select commit Hold shift + click to select a range
2afe782
auto setup dummy adapter
pieh Sep 22, 2025
cee330c
use modifyConfig to set standalone output
pieh Sep 22, 2025
0fe7e9a
setup loaderFile for next/image and avoid a rewrite
pieh Sep 22, 2025
ebf1407
test: run canary tests to use most recent adapters API
pieh Sep 22, 2025
15e64f2
fixup! setup loaderFile for next/image and avoid a rewrite
pieh Sep 22, 2025
ce070d6
move setting up remote images config to adapter
pieh Sep 22, 2025
273fd1c
refactor adapter a bit and start creating modules per concern
pieh Sep 23, 2025
a698e1b
move legacy ipx redirect to adapter as well
pieh Sep 23, 2025
c4bf5e3
skip retries in CI for now
pieh Sep 23, 2025
4df59c1
type frameworks api config
pieh Sep 23, 2025
66cd37f
only set standalone if output is not export
pieh Sep 23, 2025
6c46c9d
migrate immutable headers for next/static
pieh Sep 23, 2025
0c24a46
testing out static file copying
mrstork Sep 23, 2025
9f371fd
remove no longer used
pieh Sep 23, 2025
4816bc3
maybe fix __vite_ssr_import_meta__ problems
pieh Sep 23, 2025
303ff66
link to vitest issue
pieh Sep 23, 2025
650e534
move edge middleware setup to adapter
pieh Sep 23, 2025
0e4bee3
remove unit test for deleted copyStaticAssets
pieh Sep 23, 2025
f369128
fix lint
pieh Sep 23, 2025
204cb66
update notes
pieh Sep 23, 2025
1799786
test: adjust tests to look for .netlify/images and not _next/image
pieh Sep 24, 2025
242d71f
lets try to annotate some tests to see if it helps with finding commo…
pieh Sep 24, 2025
bffff19
add missing name and generator to middleware EF
pieh Sep 24, 2025
3bf80ae
handle node middleware
pieh Sep 24, 2025
1a7e93d
remove no longer used build plugin middleware handling
pieh Sep 24, 2025
36dc9db
rename step
mrstork Sep 24, 2025
a42a9b8
move static content step to adapter pattern
mrstork Sep 24, 2025
5b436e2
actually static-content step is not needed
mrstork Sep 24, 2025
e140441
mark middleware handling as done
pieh Sep 24, 2025
3f76a9f
add note/question about export output
pieh Sep 24, 2025
2341079
preserve html extension for static files
pieh Sep 24, 2025
98c8e76
add links to repro for i18n problems
pieh Sep 24, 2025
17e5f50
split feedback and notes for us
pieh Sep 24, 2025
0305db3
add note about static files and trailingSlash config
pieh Sep 25, 2025
a298b3b
remove next patching as we don't use that for newer next versions
pieh Sep 25, 2025
5215cf8
static assets trailing slashes, public and some constants moving
pieh Sep 25, 2025
b19d48e
fix lint
pieh Sep 25, 2025
cc9eaab
workaround: create empty static json for fully static pages
pieh Sep 25, 2025
8365f8c
ignore some files
pieh Sep 25, 2025
20e65cc
move .vercel gitignore to the root
pieh Sep 29, 2025
efe9901
generate pages and app handler from adapters and not standalone
pieh Sep 29, 2025
ef37f11
refactor: separate build-time and run-time concerns for adapter
pieh Sep 29, 2025
fb49bea
introduce netlify adapter context for reusable helpers
pieh Sep 29, 2025
7cdda4f
br
pieh Oct 29, 2025
21147c6
Merge remote-tracking branch 'origin/main' into wip-adapter-full
pieh Oct 29, 2025
b62c819
chore: bump next-with-adapters version to get up to date types
pieh Oct 29, 2025
1208aa4
ci: disable integration tests as setup was not updated
pieh Oct 29, 2025
ccb1b9d
tmp: use locally patched cli
pieh Oct 30, 2025
0582782
test: skip skew protection / buildbot tests
pieh Oct 30, 2025
07d3a82
get more routes node output from prerenders
pieh Oct 30, 2025
b029575
restore headers we use to set to try to produce output compatible for…
pieh Oct 30, 2025
1062a41
chore: move image loader to shared dir
pieh Oct 31, 2025
4d4cad6
fix: use typed inline configs for produced functions
pieh Oct 31, 2025
268c79c
fix: ntl serve compat
pieh Nov 2, 2025
ebb839d
more ntl serve compat + some routing adjustments
pieh Nov 2, 2025
f3e466e
fix next-with-adapters bump
pieh Nov 2, 2025
73c6bb9
simplify redirect handling with sourceRegex shipped recently in adapt…
pieh Nov 2, 2025
da1494f
support dynamic routes
pieh Nov 2, 2025
3b3b439
Merge remote-tracking branch 'origin/main' into wip-adapter-full
pieh Nov 2, 2025
c4651fe
fix middleware
pieh Nov 2, 2025
6392918
normalize index at build time
pieh Nov 2, 2025
7e71d20
rsc start
pieh Nov 2, 2025
f44bd01
add hit routing rules
pieh Nov 3, 2025
a37aa12
allow non-next js routes to match
pieh Nov 3, 2025
da090ce
fix response header and applied header merging (fixes redirects that …
pieh Nov 3, 2025
2365301
use buildId from adapter context and don't read on our own
pieh Nov 3, 2025
d4d4e59
fix: lowercase nf paths
pieh Nov 3, 2025
ac23f0d
i18n rewrite to default locale if path is not locale prefixed
pieh Nov 3, 2025
867f7ef
missing src path for __next_data_catchall
pieh Nov 3, 2025
2e15e26
adjust catchall
pieh Nov 4, 2025
0438780
fix rule evaluation continuation
pieh Nov 4, 2025
d055699
middleware simplification and unification with routing EF
pieh Nov 6, 2025
befe21a
more
pieh Nov 6, 2025
fe6ca5f
middleware + fully static workaround
pieh Nov 6, 2025
49b8a41
Merge remote-tracking branch 'origin/main' into wip-adapter-full
pieh Nov 6, 2025
b574520
middleware matcher routes
pieh Nov 6, 2025
b9daa5a
continue on auto-i18n default locale prefixing
pieh Nov 6, 2025
0b07f5d
remove no longer needed patch-package
pieh Nov 6, 2025
d0a41f9
initial scaffolding for revalidation
pieh Nov 6, 2025
9435972
fix cases without middleware
pieh Nov 6, 2025
36a877b
initial isr
pieh Nov 9, 2025
668c2f2
routing doc
pieh Nov 17, 2025
292f430
ppr
pieh Dec 21, 2025
f86391d
Merge remote-tracking branch 'origin/main' into wip-adapter-full
pieh Dec 21, 2025
5adad64
some missing files
pieh Dec 21, 2025
7ff10de
chore: upgrade next-with-adapters to latest canary
pieh Dec 22, 2025
8b276e8
Merge remote-tracking branch 'origin/main' into wip-adapter
pieh Dec 22, 2025
cc0a000
test: print merged test results in merge-reports job so we don't have…
pieh Dec 22, 2025
c206bdf
test: allow playwright to reuse fixtures even if test fails
pieh Dec 22, 2025
c2b2789
freshness fresh -> hit
pieh Dec 23, 2025
65303bc
add vendored @next/routing
pieh Dec 23, 2025
4521742
fix lint, build etc
pieh Dec 23, 2025
5ea7790
move vendored package, it will be used at build time as well for types
pieh Dec 23, 2025
0c40af5
start using @next/routing lib
pieh Dec 23, 2025
dd3cd8e
initial restoration of isr and ppr handling
pieh Dec 23, 2025
2fe91bd
apply static asset headers
pieh Dec 23, 2025
1c001a7
todo i18n config with @next/routing
pieh Dec 23, 2025
1a66c2d
test: missing global teardown for playwright
pieh Dec 23, 2025
23fc245
initial middleware handling
pieh Dec 23, 2025
153bcf0
trailing slash
pieh Dec 24, 2025
c87473a
don't use immutable redirect response
pieh Dec 24, 2025
73fd948
try i18n
pieh Dec 24, 2025
b7effad
relax static asset cache-control to allow for variability in whitespaces
pieh Dec 24, 2025
d44cf23
fix lint
pieh Dec 24, 2025
7b6d6e1
fix isr matching with build_id
pieh Dec 24, 2025
bc718ec
now allow more retires because fixtures are cached anyway
pieh Dec 24, 2025
e34ee8b
restore hydration checks that got lost on main merges
pieh Dec 25, 2025
a5799f4
let non-nextjs handling through
pieh Dec 25, 2025
c45de93
on demand revalidation pages router
pieh Dec 25, 2025
090bba1
sync next@canary
pieh Dec 28, 2025
028e439
apply replacements in dynamic paths pathname
pieh Dec 29, 2025
a7b5f8e
Merge remote-tracking branch 'origin/main' into wip-adapter
pieh Dec 29, 2025
ad83dd2
fix dynamic routes matches
pieh Dec 29, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .eslintignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@ dist/
demo/
tests/
edge-runtime
tools/deno
tools/deno
src/adapter/vendor
8 changes: 7 additions & 1 deletion .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ jobs:
} else if (versionsToTest === 'latest-and-canary') {
core.setOutput('matrix', '["latest", "canary"]');
} else {
core.setOutput('matrix', '["latest"]');
core.setOutput('matrix', '["canary"]');
}

if ('${{ github.event_name }}' === 'workflow_dispatch' && "${{ github.event.inputs.runOnWindows }}" == "true") {
Expand Down Expand Up @@ -172,6 +172,8 @@ jobs:

test:
needs: setup
# integration tests are completely broken in adapters branch for now, so no point in running them currently
if: false
strategy:
fail-fast: false
matrix:
Expand Down Expand Up @@ -356,3 +358,7 @@ jobs:
name: html-report-${{ matrix.version }}-attempt-${{ github.run_attempt }}
path: playwright-report
retention-days: 14

- name: Report summary
run: |
npx playwright merge-reports --reporter list ./all-blob-reports
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,6 @@ tests/**/package-lock.json
tests/**/pnpm-lock.yaml
tests/**/yarn.lock
tests/**/out/

# Local Vercel folder
.vercel
3 changes: 2 additions & 1 deletion .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,5 @@ tests/fixtures/output-export-custom-dist/custom-dist
custom-dist-dir
pnpm.lock
# to avoid needing extra permissions to format files
.github/workflows
.github/workflows
src/adapter/vendor
Loading
Loading