summaryrefslogtreecommitdiff
path: root/packages/integrations/netlify/src (follow)
AgeCommit message (Collapse)AuthorFilesLines
2022-09-20Fixes processing of images in Netlify functions (#4820)Gravatar Matthew Phillips 1-3/+8
2022-09-12Fix route validation for Netlify Edge (#4722)Gravatar Ben Holmes 1-1/+4
* fix: serialize route pattern for Netlify edge Co-authored-by: Jackie Macharia <jackiewmacharia> * chore: changeset
2022-08-11[ci] formatGravatar FredKSchott 1-1/+1
2022-08-11Add 404 routing logic to Netlify redirects file (#4274)Gravatar Matthew Phillips 1-0/+5
* Add 404 routing logic to Netlify redirects file * changeset
2022-07-25[ci] formatastro@0.0.0-rc-20220725043302@astrojs/vue@0.0.0-rc-20220725043302@astrojs/vercel@0.0.0-rc-20220725043302@astrojs/tailwind@0.0.0-rc-20220725043302@astrojs/svelte@0.0.0-rc-20220725043302@astrojs/sitemap@0.0.0-rc-20220725043302@astrojs/prefetch@0.0.0-rc-20220725043302@astrojs/partytown@0.0.0-rc-20220725043302@astrojs/node@0.0.0-rc-20220725043302@astrojs/netlify@0.0.0-rc-20220725043302@astrojs/mdx@0.0.0-rc-20220725043302@astrojs/markdown-remark@0.0.0-rc-20220725043302@astrojs/markdown-component@0.0.0-rc-20220725043302@astrojs/lit@0.0.0-rc-20220725043302@astrojs/image@0.0.0-rc-20220725043302@astrojs/deno@0.0.0-rc-20220725043302@astrojs/cloudflare@0.0.0-rc-20220725043302Gravatar FredKSchott 2-5/+9
2022-07-25Add the `output` option (#4015)Gravatar Matthew Phillips 2-0/+10
* Start of work on astroConfig.mode === 'server' * Add tests and more * adapter -> deploy in some places * Add fallback for `adapter` config * Update more tests * Update image tests * Fix clientAddress test * Updates based on PR review * Add a changeset * Update integrations tests + readme * Oops * Remove old option * Rename `mode` to `output` * Update Node adapter test * Update test * fred pass * fred pass * fred pass * fix test Co-authored-by: Fred K. Schott <fkschott@gmail.com>
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 2-0/+9
* 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-27[ci] formatGravatar bholmesdev 1-1/+1
2022-06-27Refactor: remove Deno shim to esbuild "banner" (#3734)Gravatar Ben Holmes 3-5/+8
* refactor: remove Deno shim to esbuild "banner" * refactor: move shim to const * refactor: add shim to netlify edge * chore: changeset
2022-06-21[ci] formatGravatar matthewp 1-6/+6
2022-06-21Support re-exporting astro components containing client components (#3625)Gravatar Matthew Phillips 1-1/+21
* Support re-exporting astro components containing client components * Include metadata for markdown too * Fix ssr, probably * Inject post-build * Remove tagName custom element test * Allows using the constructor for lit elements * Fix hoisted script scanning * Pass through plugin context * Get edge functions working in the edge tests * Fix types for the edge function integration * Upgrade the compiler * Upgrade compiler version * Better release notes for lit * Update .changeset/unlucky-hairs-camp.md Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com> * Properly test that the draft was not rendered * Prevent from rendering draft posts * Add a changeset about the build perf improvement. Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2022-06-17[ci] formatGravatar bholmesdev 1-1/+1
2022-06-16Fix: Netlify edge deployment when using markdown (#3612)Gravatar Ben Holmes 1-2/+2
* wip: revert sitemap PR * fix: extract SSR-ready "slug" helper to separate module * Un-revert sitemap PR. Not to blame! This reverts commit 7cd2a8a5ea1e9fdee6837425881328928ceff852. * fix: use .netlify for edge deployment test * refactor: add md file to edge function fixture * fix: add netlify edge tests to ci * chore: remove stray console log * wip: undo "dist" change on edge tests * chore: changeset * Revert "wip: undo "dist" change on edge tests" This reverts commit 70e565ef06b228150547bca92bc12d1c236c0ed9. * temp: add ignore to breaking edge tests
2022-06-15[ci] formatGravatar tony-sull 2-4/+7
2022-06-15Adds support base64 encoding in Netlify Functions (#3592)Gravatar Tony Sullivan 2-7/+54
* 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-07[ci] formatGravatar matthewp 1-5/+6
2022-06-07Allow dynamic imports when using Netlify Edge Functions (#3535)Gravatar Matthew Phillips 1-2/+33
* Allow dynamic imports when using Netlify Edge Functions * Update deno test script and changeset
2022-06-06[ci] formatfix/map-file-404-logsGravatar FredKSchott 5-8/+7
2022-06-02fix: alias astro to @types/astro (#3503)Gravatar William Tetlow 1-2/+11
* fix: alias astro to @types/astro * fix: handle resolve.alias being array * chore: add integrations patch to changeset * chore: remove empty file
2022-05-16Update out directories for Netlify Functions (#3381)Gravatar Sarah Etter 1-2/+2
* Change out directories for Netlify Functions * Changeset * Update test
2022-05-16Netlify outdirectory (#3377)Gravatar Sarah Etter 1-2/+2
* Change dist directory, and functions out directory * Add changeset * update docs * Fix changeset
2022-05-11[ci] formatGravatar matthewp 2-24/+24
2022-05-11Fix/netlify edge redirects (#3342)Gravatar Pascal Schilp 3-21/+35
* fix: create redirects file for netlify edge adapter * chore: changeset * chore: distinguish between edge/regular
2022-04-22[ci] formatGravatar matthewp 1-1/+1
2022-04-22Netlify Edge: forward requests for static assets (#3170)Gravatar Matthew Phillips 1-1/+8
* Netlify Edge: forward requests for static assets * Adds a changeset * Don't run edge tests, yet
2022-04-21[ci] formatGravatar matthewp 1-1/+1
2022-04-21Fixes using React.lazy and Suspense (#3160)Gravatar Matthew Phillips 1-0/+4
* Revert "Revert "Fixes using React.lazy and Suspense"" This reverts commit e621c2f7d3844e950168f4198e4dd1c6f43031d0. * Adds a changeset * Fix ts errors * Remove netlify metadata folder
2022-04-20Revert "Fixes using React.lazy and Suspense"Gravatar Matthew Phillips 1-3/+0
This reverts commit 700d4f9649b72e98a56586a480e6d3c413cf45f1.
2022-04-20Fixes using React.lazy and SuspenseGravatar unknown 1-0/+3
2022-04-19[ci] formatGravatar matthewp 1-1/+1
2022-04-19Adjustments for Netlify Edge Functions (#3150)Gravatar Matthew Phillips 1-3/+7
* Adjustments for Netlify Edge Functions * Adds a changeset
2022-04-19[ci] formatGravatar matthewp 3-35/+29
2022-04-19Netlify Edge function support (#3148)Gravatar Matthew Phillips 6-112/+195
* Netlify Edge function support * Update readme with edge function information * Adds a changeset * Disable running edge function test in CI for now
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-11Make Netlify adapter actually append redirects (#3079)Gravatar hippotastic 1-5/+4
2022-04-10[ci] formatGravatar FredKSchott 1-1/+1
2022-04-10remove site requirement from netlify adapter (#3041)Gravatar Fred K. Schott 3-22/+64
* remove site requirement from netlify adapter * update readme
2022-04-06[ci] formatGravatar matthewp 1-1/+2
2022-04-06Fix Netlify adapter and dynamic routes (#3011)Gravatar Matthew Phillips 1-0/+4
* Fix Netlify adapter and dynamic routes * Changeset
2022-04-05Docs: netlify adapter site requirement (#2996)Gravatar Ben Holmes 1-1/+9
* feat: human-readable error on bad site or base * fix: human-readable error should have 1 config option * docs: update README * chore: changeset * docs: mention localhost for testing via netlify CLI
2022-04-02Migrate to new config (#2962)Gravatar Nate Moore 1-5/+5
* wip: config migration * fix: formatting * refactor: projectRoot -> root * refactor: pageUrlFormat -> format * refactor: buildOptions.site -> site * refactor: public -> publicDir * refactor: dist -> outDir * refactor: styleOptions -> style * fix: some dist tests -> outDir * refactor: remove legacyBuild (with TODOs) * refactor: more legacyBuild cleanup * refactor: server host and port * fix: remove experimentalStaticBuild CLI flag * refactor: src -> srcDir * refactor: devOptions.trailing -> trailing * refactor: remove sitemap + related flags * refactor: experimentalSSR -> experimental.ssr * fix: last devOptions * refactor: drafts -> markdown.drafts * fix: TS error on port as const * refactor: remove pages * refactor: more --project-root updates * refactor: markdownOptions -> markdown * fix: remaining type errors * feat: update AstroUserConfig * refactor: update CLI flag mapper + server mapper * fix: loadFixture projectRoot * fix: merge CLI flags before validating / transforming * wip: attempt to fix bad createRouteManifest config * refactor: combine config.base and config.site * fix: skip route manifest test for now * fix: site and base handling * refactor: update failing config testes * fix: build failure * feat: update config types with migration help * chore: update types * fix(deno): update deno fixture * chore: remove config migration logic * chore: remove logLevel * chore: clean-up config types * chore: update config warning * chore: add changeset * Sitemap Integration (#2965) * feat: add sitemap filter config option * feat: add canonicalURL sitemap config option * docs: update sitemap README * fix: update for new config * fix: filter not being applied * chore: changeset Co-authored-by: bholmesdev <hey@bholmes.dev> * fred pass * fix: Astro.resolve typo * fix: public => publicDir Co-authored-by: bholmesdev <hey@bholmes.dev> Co-authored-by: Fred K. Schott <fkschott@gmail.com>
2022-03-25[ci] formatGravatar matthewp 3-21/+16
2022-03-25Netlify adapter (#2879)Gravatar Matthew Phillips 3-0/+110
* 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