summaryrefslogtreecommitdiff
path: root/packages/integrations/netlify/src/netlify-functions.ts (follow)
AgeCommit message (Collapse)AuthorFilesLines
2023-09-27Remove Netlify adapter from core (#8574)Gravatar Matthew Phillips 1-225/+0
* New link * More explicit * Add placeholder package.json * lockfile * add keyworkds
2023-08-15Merge remote-tracking branch 'origin/main' into nextGravatar Emanuele Stoppa 1-1/+16
2023-08-11[ci] formatGravatar lilnasy 1-2/+6
2023-08-11Add Incremental Static Regeneration support for the Netlify's on-demand ↵Gravatar Arsh 1-1/+12
builders adapter (#7975) * feat(netlify): expose builders ttl as a local * add changeset * docs(netlify): caching using on-demand builders * reword readme section * Update packages/integrations/netlify/package.json Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com> * include builders-types.d.ts in the distribution * document caveat regarding query params * update changeset * mutation -> function * locals.netlify -> locals.runtime * update types and changeset * Apply suggestions from code review Co-authored-by: Elian ☕️ <hello@elian.codes> * Apply suggestions from code review Co-authored-by: Elian ☕️ <hello@elian.codes> --------- Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com> Co-authored-by: Elian ☕️ <hello@elian.codes>
2023-08-08feat: adapter features, deprecate astro configs (#7839)Gravatar Emanuele Stoppa 1-0/+2
2023-08-08feat: remove webapi in favor of a smaller polyfill (#7840)Gravatar Erika 1-4/+2
* feat: remove webapi in favor of a smaller polyfill * test: remove old test * test: 🤦‍♀️ * chore: changeset
2023-08-01Refactor 404 and 500 approach (#7754)Gravatar Nate Moore 1-9/+1
* fix(app): refactor 404 and 500 approach * chore: refactor logic * fix: always treat error as page * test: migrate ssr-prerender-404 to node adapter * feat: merge original response metadata with error response * chore: update lockfile * chore: trigger ci * chore(lint): fix lint issue * fix: ensure merged request has proper status * fix(node): prerender test * chore: update test label * fix(node): improve 404 behavior in middleware mode * fix(vercel): improve 404 behavior * fix(netlify): improve 404 behavior * chore: update test labels * chore: force ci * chore: fix lint * fix: avoid infinite loops * test: fix failing test in Node 18 * chore: remove volta
2023-07-17feat(@astrojs/netlify): edge middleware support (#7632)Gravatar Emanuele Stoppa 1-2/+9
Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com> Co-authored-by: Yan Thomas <61414485+Yan-Thomas@users.noreply.github.com>
2023-03-20feat(all): Migrate to TypeScript 5.0 (#6579)Gravatar Erika 1-1/+1
2023-03-10fix: Enforce the usage of type imports when possible (#6502)Gravatar Erika 1-1/+1
2023-02-21fix(cookies): Update Undici to 5.20 and fix cookies behaviour (#6323)Gravatar Erika 1-28/+5
* fix(cookies): Update Undici to 5.20 and fix cookies behaviour * chore: changeset
2023-01-27[ci] formatGravatar matthewp 1-1/+1
2023-01-27feat(@astrojs/netlify): Add on-demand builders Netlify functions (#5874)Gravatar Juan Miguel Guerrero 1-2/+6
* Add on-demand builders option * chore: add changeset * docs: add documentation in configuration section * Update packages/integrations/netlify/README.md Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca> * Update packages/integrations/netlify/README.md Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca> * Update packages/integrations/netlify/README.md Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca> * Update .changeset/twenty-pans-agree.md Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca> --------- Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2023-01-06Drop Node 14 in CI for Node 16 and add Node 18 to the matrix (#5768)Gravatar Erika 1-12/+105
* ci(node): Move CI to Node 16 and add Node 18 to the matrix * fix(netlify): Fix set-cookie not working on Node 18 * fix(netlify): Handle if `set-cookie` is already somehow an array (apparently it can?) * test(node): Fix `toPromise` to match Astro's * fix(tests): Use the actual underlying ArrayBuffer instance to create the buffer in toPromise * chore: changeset
2022-12-19Fix spelling mistakes found by codespell and mwic (#5627)Gravatar Anders Kaseorg 1-1/+1
2022-09-28[ci] formatGravatar matthewp 1-2/+2
2022-09-28Astro.cookies implementation (#4876)Gravatar Matthew Phillips 1-0/+10
* Astro.cookies implementation * Remove unused var * Fix build * Add a changesetp * Remove spoken-word expires
2022-09-20[ci] formatGravatar matthewp 1-1/+1
2022-09-20Fixes processing of images in Netlify functions (#4820)Gravatar Matthew Phillips 1-3/+8
2022-07-22SSR 404 and 500 routes in adapters (#4018)Gravatar Okiki Ojo 1-2/+4
* fix(WIP): SSR 404 and 500 routes * Implement the feature Co-authored-by: Matthew Phillips <matthew@skypack.dev>
2022-07-19Adds support for Astro.clientAddress (#3973)Gravatar Matthew Phillips 1-0/+5
* Adds support for Astro.clientAddress * Pass through mode and adapterName in SSG * Pass through the mode provided * Provide an adapter specific error message when possible
2022-06-15[ci] formatGravatar tony-sull 1-2/+2
2022-06-15Adds support base64 encoding in Netlify Functions (#3592)Gravatar Tony Sullivan 1-3/+48
* Adding support for base64 encoded responses in Netlify Functions * chore: add changeset * removing the regex check for a more simple header-based check * nit: cleaning up the readme a bit
2022-06-06[ci] formatfix/map-file-404-logsGravatar FredKSchott 1-2/+2
2022-04-12[ci] formatGravatar matthewp 1-3/+3
2022-04-12Allow setting multiple cookies in Netlify adapter (#3092)Gravatar Matthew Phillips 1-4/+27
* Allow setting multiple cookies in Netlify adapter * Adds a changeset * Set the response status code * Add a comment on why this is needed
2022-04-10remove site requirement from netlify adapter (#3041)Gravatar Fred K. Schott 1-11/+15
* remove site requirement from netlify adapter * update readme
2022-03-25[ci] formatGravatar matthewp 1-6/+6
2022-03-25Netlify adapter (#2879)Gravatar Matthew Phillips 1-0/+43
* Netlify adapter * Remove package.json export that doesnt exist * Fix out path * Make netlifyFunctions the default * Make the dist configurable * Add an export for the functions * Append of the file exists