-
Notifications
You must be signed in to change notification settings - Fork 12
Comparing changes
Open a pull request
base repository: netlify/primitives
base: edge-functions-v2.16.1
head repository: netlify/primitives
compare: edge-functions-v2.16.2
- 15 commits
- 48 files changed
- 8 contributors
Commits on Jul 21, 2025
-
build: remove nuxt playground typechecking (#367)
There's some intermittent issue in CI that I can't quite figure out: ``` > vue-tsc --noEmit && nuxi prepare playground && cd playground && vue-tsc --noEmit [success] [nuxi] Types generated in playground/.nuxt Error: netlify/edge-functions/geo.ts(1,15): error TS2305: Module '"@netlify/edge-functions"' has no exported member 'Context'. Error: netlify/edge-functions/world-adder.ts(1,15): error TS2305: Module '"@netlify/edge-functions"' has no exported member 'Context'. ``` (example run: https://github.com/netlify/primitives/actions/runs/16378826884/job/46285296127?pr=365) I think it's some issue at the intersection of npm workspaces + a non-workspace `package.json` within a workspace + referencing a dependency that happens to be in this workspace + maybe CI npm caching...? Doesn't seem worth spending more time on to just type-check the nuxt module playground. Co-authored-by: Ivan Zarea <zarea.ivan@gmail.com> Co-authored-by: Michal Piechowiak <misiek.piechowiak@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 958bab3 - Browse repository at this point
Copy the full SHA 958bab3View commit details -
fix(deps): update dependency @netlify/zip-it-and-ship-it to v14 (#334)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for fe935fe - Browse repository at this point
Copy the full SHA fe935feView commit details -
chore(deps): update dependency @netlify/edge-functions to ^2.16.1 (#371)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 55b3a4d - Browse repository at this point
Copy the full SHA 55b3a4dView commit details -
Co-authored-by: token-generator-app[bot] <82042599+token-generator-app[bot]@users.noreply.github.com> Co-authored-by: Michal Piechowiak <misiek.piechowiak@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 23653db - Browse repository at this point
Copy the full SHA 23653dbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 578e5f2 - Browse repository at this point
Copy the full SHA 578e5f2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 77e828c - Browse repository at this point
Copy the full SHA 77e828cView commit details
Commits on Jul 22, 2025
-
chore: fix @netlify/nuxt flakes due to HMR port conflict (#376)
The nuxt module tests run the module in dev mode (because that's the point of our nuxt module), which results in HMR being enabled. Unlike the main vite port, there's no dynamic port selection for the HMR WebSocket port, so when the test files run in parallel they often conflict by trying to bind to the same port. I could harcode two different ports with `vite.server.hmr.port`, but there's very little value to exercising the HMR code path with these tests, so I just disabled it. See also very similar withastro/astro#11744.
Configuration menu - View commit details
-
Copy full SHA for 4386ac8 - Browse repository at this point
Copy the full SHA 4386ac8View commit details -
chore: fix outstanding eslint errors (#377)
* refactor: work around strange eslint rule bug I did a bunch of research on this and I'm fairly confident it's a bug, but I couldn't come up with a minimal repro to open an issue and felt like I couldn't justify spending more time here. This is a valuable rule, so I'd rather not suppress it here or globally. * refactor: remove unused eslint suppressions --------- Co-authored-by: Eduardo Bouças <mail@eduardoboucas.com>
Configuration menu - View commit details
-
Copy full SHA for f6eec1d - Browse repository at this point
Copy the full SHA f6eec1dView commit details -
Configuration menu - View commit details
-
Copy full SHA for c30ac6d - Browse repository at this point
Copy the full SHA c30ac6dView commit details -
Configuration menu - View commit details
-
Copy full SHA for a186360 - Browse repository at this point
Copy the full SHA a186360View commit details -
fix: handle 304 responses from functions (#373)
* test: add test for function returning 304 response * test: run tests in dev dir * fix: maintain bodyless responses * test: enable watch mode in tests that test modifying functions * chore: update CODEOWNERS to match all nested paths (#378) * refactor: prefer early bails, use Set for more performant lookups
Configuration menu - View commit details
-
Copy full SHA for 1094683 - Browse repository at this point
Copy the full SHA 1094683View commit details -
Co-authored-by: token-generator-app[bot] <82042599+token-generator-app[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for ead53c7 - Browse repository at this point
Copy the full SHA ead53c7View commit details -
feat: add actual dev geolocation to functions and edge functions cont…
…ext (#345) * Initial plan * Add comprehensive geolocation functionality with API, caching, and mode support Co-authored-by: serhalp <1377702+serhalp@users.noreply.github.com> * Address code review feedback: use LocalState class, remove CLI references, hook up to edge functions Co-authored-by: serhalp <1377702+serhalp@users.noreply.github.com> * Address code review feedback: fix import extension, use proper MockFetch pattern, fix type errors Co-authored-by: serhalp <1377702+serhalp@users.noreply.github.com> * Fix nondeterministic tests by using mock geolocation in test environment Co-authored-by: serhalp <1377702+serhalp@users.noreply.github.com> * Add geolocation.mode option to edge functions config and update tests Co-authored-by: serhalp <1377702+serhalp@users.noreply.github.com> * chore: reformat * refactor: fix wrong test types * build(eslint): disable annoying rule in test * Move geolocation config to top level to apply to both functions and edge functions Co-authored-by: serhalp <1377702+serhalp@users.noreply.github.com> * Refactor geolocation API from mode to enabled/cache booleans Co-authored-by: serhalp <1377702+serhalp@users.noreply.github.com> * Refactor geolocation config to follow existing pattern and simplify API Co-authored-by: serhalp <1377702+serhalp@users.noreply.github.com> * Fix vite plugin integration tests for middleware features message Co-authored-by: serhalp <1377702+serhalp@users.noreply.github.com> * refactor: share geolocation instance across functions and edge functions Co-authored-by: serhalp <1377702+serhalp@users.noreply.github.com> * Remove geoCountry parameter and simplify geolocation API Co-authored-by: serhalp <1377702+serhalp@users.noreply.github.com> * feat: use Geolocation type for geolocation variable Co-authored-by: serhalp <1377702+serhalp@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: serhalp <1377702+serhalp@users.noreply.github.com> Co-authored-by: Philippe Serhal <philippe.serhal@netlify.com>
Configuration menu - View commit details
-
Copy full SHA for 916c38b - Browse repository at this point
Copy the full SHA 916c38bView commit details
Commits on Jul 23, 2025
-
fix(deps): update dependency ipx to v3.1.0 (#381)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for a224a58 - Browse repository at this point
Copy the full SHA a224a58View commit details -
Co-authored-by: token-generator-app[bot] <82042599+token-generator-app[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 513df96 - Browse repository at this point
Copy the full SHA 513df96View commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff edge-functions-v2.16.1...edge-functions-v2.16.2