summaryrefslogtreecommitdiff
path: root/packages/integrations (follow)
AgeCommit message (Collapse)AuthorFilesLines
2023-06-20[ci] formatGravatar ematipico 2-2/+2
2023-06-20fix: cloudflare waitUntil not working as inteded with getRuntime (#7419)Gravatar Torbjørn Holtmon 2-3/+10
Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
2023-06-19[ci] release (#7390)astro@2.6.5@astrojs/tailwind@4.0.0@astrojs/deno@4.2.0Gravatar Houston (Bot) 12-12/+86
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-06-15Rename tailwind integration options (#7391)Gravatar Bjorn Lu 2-28/+28
2023-06-15Node built-in modules support for Deno adapter (#7288)Gravatar Arsh 3-3/+88
* feature(deno adapter): allow built-in node modules * Add changeset * format
2023-06-14@astrojs/tailwind: simplify, upgrade & fix support for ts config file (#6724)Gravatar Tom 2-101/+13
Co-authored-by: bluwy <bjornlu.dev@gmail.com>
2023-06-13[ci] release (#7368)astro@2.6.4@astrojs/lit@2.1.0@astrojs/cloudflare@6.5.0Gravatar Houston (Bot) 13-12/+29
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-06-13[ci] formatGravatar matthewp 2-2/+2
2023-06-13[Cloudflare integration] Expose cf metadata and Cloudflare caches API (#7386)Gravatar beynar 9-5/+88
* Add cf and cache properties to runtime * add changeset * reorder import * fix types and add tests * fix package name * test
2023-06-13Use stub image service for tests (#7376)Gravatar Bjorn Lu 4-9/+18
2023-06-12Upgrade lit deps (#7373)Gravatar Matthew Phillips 2-4/+6
* Upgrade lit deps * Add changeset * Downgrade peer dep * Upgrade lockfile * add client dep
2023-06-10[ci] release (#7354)astro@2.6.3@astrojs/markdoc@0.3.3Gravatar Houston (Bot) 11-11/+22
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-06-10[ci] formatGravatar bholmesdev 1-1/+1
2023-06-10Fix Markdoc cloudflare errors (#7351)Gravatar Ben Holmes 3-21/+19
* fix: move `node:` libs out of utils * fix: node -> default * chore: remove kleur from markdoc ex (why was this there??) * chore: lock * chore: changeset
2023-06-09Fix: better collection entry devalue error (#7341)Gravatar Ben Holmes 1-2/+2
* feat: add clear error for devalue parse * refactor: create error data entry * deps: up devalue * chore: changeset
2023-06-09[ci] formatGravatar MoustaphaDev 1-33/+30
2023-06-09Do not silence runtime MDX errors (#7089)Gravatar Happydev 3-0/+50
* test: add fixture * chore: remove unneeded files in fixture * test: update test mdx filfe * test: add test case * mark component as mdx * add error builder utility * throw error when it comes from an MDX component * chore: update lock file * Add comment to refactor later * apply review * add missing comma
2023-06-09[ci] release (#7318)create-astro@3.1.7astro@2.6.2@astrojs/svelte@3.0.0@astrojs/markdown-component@1.0.5Gravatar Houston (Bot) 11-11/+22
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-06-06Update to svelte2tsx 0.6.15 and vite-plugin-svelte 2.4.1 (#7314)Gravatar wackbyte 2-5/+5
2023-06-06[ci] release (#7312)astro@2.6.1@astrojs/mdx@0.19.7@astrojs/markdoc@0.3.2Gravatar Houston (Bot) 13-12/+29
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-06-06[ci] formatGravatar bholmesdev 2-4/+4
2023-06-06Fix: Markdoc type errors (#7311)Gravatar Ben Holmes 7-20/+63
* fix: config, prism, shiki exports * fix: type error for `render` property * chore: use `.ts` files in select tests for type checks * fix: type error on shiki() promise * chore: changeset
2023-06-06Fix [Object AsyncGenerator] logging for Markdoc components (#7307)Gravatar Ben Holmes 7-124/+0
* Revert "Bug 6672 (#7062)" This reverts commit cf621340b00fda441f4ef43196c0363d09eae70c. * chore: remove unused test * chore: changeset
2023-06-06Fix missing styles and scripts on `document: {render:null}` (#7309)Gravatar Ben Holmes 4-35/+15
* fix: propagate assets when using document `render: null` * fix: reverse spread order * refactor: use README rec in test * chore: changeset * chore: revert unneeded changes
2023-06-06[ci] release (#7295)astro@2.6.0@astrojs/vercel@3.5.0@astrojs/underscore-redirects@0.1.0@astrojs/node@5.2.0@astrojs/netlify@2.3.0@astrojs/image@0.17.0@astrojs/cloudflare@6.4.0Gravatar Houston (Bot) 15-15/+88
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-06-06[ci] formatGravatar natemoo-re 5-232/+231
2023-06-06#7226 - fixes NodeJS adapter for multiple set-cookie headers (and other ↵Gravatar Alex Sherwin 22-2/+387
header issues) (#7227) * Utilizes the new standard WebAPI Fetch Headers.getSetCookie() function to safely handle multiple set-cookie headers when converting from a WebAPI Response to a NodeJS ServerResponse Modifies the existing nodeMiddleware logic which first set AstroCookies on ServerResponse.setHeader(...) and then called ServerResponse.writeHead(status, Response.headers) which means any that if the WebAPI Response had any set-cookie headers on it, they would replace anything from AstroCookies. The new logic delegates appending AstroCookie values onto the WebAPI Response Headers object, so that a single unified function safely converts the WebAPI Response Headers into a NodeJS compatible OutgoingHttpHeaders object utilizing the new standard Headers.getSetCookie() function provided by the undici WebAPI polyfills. Plus extensive test coverage. * #7226 - changeset for NodeJS adapter set-cookie fix * fixing all double quotes to single quotes --------- Co-authored-by: Alex Sherwin <alex.sherwin@acadia.inc> Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2023-06-06fix:query not considered in directory redirection (#7243)Gravatar Riki 2-1/+44
* fix:query not considered in directory redirection * feat: req.url may be empty * test(node): add redirect + query param tests * refactor(node): cleanup query param logic * chore: remove log * chore: add changeset --------- Co-authored-by: Riki <947968273@qq.com> Co-authored-by: Nate Moore <nate@astro.build> Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2023-06-06fix note syntax in Netlify README (#7305)Gravatar Sarah Rainsberger 1-1/+2
2023-06-05Unflag hybrid output (#7260)Gravatar Nate Moore 9-30/+8
* feat(hybrid): unflag hybrid output * chore: cleanup rebase errors
2023-06-05[ci] formatGravatar matthewp 8-44/+59
2023-06-05Redirects (#7067)Gravatar Matthew Phillips 22-146/+402
* Redirects spike * Allow redirects in static mode * Support in Netlify as well * Adding a changeset * Rename file * Fix build problem * Refactor to be more modular * Fix location ref * Late test should only run in SSR * Support redirects in Netlify SSR configuration (#7167) * Implement support for dynamic routes in redirects (#7173) * Implement support for dynamic routes in redirects * Remove the .only * No need to special-case redirects in static build * Implement support for redirects config in the Vercel adapter (#7182) * Implement support for redirects config in the Vercel adapter * Remove unused condition * Move to a internal helper package * Add support for the object notation in redirects * Use status 308 for non-GET redirects (#7186) * Implement redirects in Cloudflare (#7198) * Implement redirects in Cloudflare * Fix build * Update tests b/c of new ordering * Debug issue * Use posix.join * Update packages/underscore-redirects/package.json Co-authored-by: Emanuele Stoppa <my.burning@gmail.com> * Update based on review comments * Update broken test --------- Co-authored-by: Emanuele Stoppa <my.burning@gmail.com> * Test that redirects can come from middleware (#7213) * Test that redirects can come from middleware * Allow non-promise returns for middleware * Implement priority (#7210) * Refactor * Fix netlify test ordering * Fix ordering again * Redirects: Allow preventing the output of the static HTML file (#7245) * Do a simple push for priority * Adding changesets * Put the implementation behind a flag. * Self review * Update .changeset/chatty-actors-stare.md Co-authored-by: Chris Swithinbank <swithinbank@gmail.com> * Update packages/astro/src/@types/astro.ts Co-authored-by: Chris Swithinbank <swithinbank@gmail.com> * Update packages/astro/src/@types/astro.ts Co-authored-by: Chris Swithinbank <swithinbank@gmail.com> * Update packages/astro/src/@types/astro.ts Co-authored-by: Chris Swithinbank <swithinbank@gmail.com> * Update packages/astro/src/@types/astro.ts Co-authored-by: Chris Swithinbank <swithinbank@gmail.com> * Update docs on dynamic restrictions. * Update packages/astro/src/@types/astro.ts Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca> * Update packages/astro/src/@types/astro.ts Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca> * Code review changes * Document netlify static adapter * Update packages/astro/src/@types/astro.ts Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca> * Slight reword * Update .changeset/twenty-suns-vanish.md Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca> * Add a note about public/_redirects file * Update packages/astro/src/@types/astro.ts Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca> --------- Co-authored-by: Emanuele Stoppa <my.burning@gmail.com> Co-authored-by: Chris Swithinbank <swithinbank@gmail.com> Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca> Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2023-06-05Simplify Deno test (#7276)Gravatar Bjorn Lu 3-105/+37
2023-06-02[ci] release (#7254)astro@2.5.7@astrojs/sitemap@1.3.3@astrojs/mdx@0.19.6@astrojs/markdoc@0.3.1Gravatar Houston (Bot) 15-13/+36
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-06-02[ci] formatGravatar bluwy 1-8/+10
2023-06-02Fix sitemap filter (#7263)Gravatar André Alves 3-2/+49
2023-05-31[ci] formatGravatar bholmesdev 3-5/+4
2023-05-31Markdoc asset bleed, second try (#7185)Gravatar Ben Holmes 16-42/+484
* Revert "revert: markdoc asset bleed (#7178)" This reverts commit 57e65d247f67de61bcc3a585c2254feb61ed2e74. * fix: missing result param on `renderUniqueStylesheet` * test: bundled styles (fails!) * fix: use `type: 'external'` for links * fix: split Astro components from markdoc config * test: style bleed (it fails...) * chore: remove unused util * fix: revert entry change * Stop traversing the graph when you encounter a propagated asset * chore: cleanup unused `entry` prop * refactor: add isPropagatedAssetsMod check * chore: remove unused import * chore: changeset * Normalize path using vite * Update packages/integrations/markdoc/src/index.ts Co-authored-by: Ben Holmes <hey@bholmes.dev> --------- Co-authored-by: Matthew Phillips <matthew@skypack.dev> Co-authored-by: bholmesdev <bholmesdev@gmail.com> Co-authored-by: Matthew Phillips <matthew@matthewphillips.info>
2023-05-31Revert "feat(hybrid): unflag hybrid output (#7255)" (#7259)Gravatar Nate Moore 9-8/+30
This reverts commit bc5d6ed39faf2f73eab161774bf66ebc5fd00db2.
2023-05-31feat(hybrid): unflag hybrid output (#7255)Gravatar Nate Moore 9-30/+8
2023-05-31Markdoc: strip HTML comments from output (#7224)Gravatar Ben Holmes 1-1/+8
* feat: strip HTML comments from output * chore: changeset
2023-05-30[ci] release (#7190)astro@2.5.6@astrojs/webapi@2.2.0@astrojs/vue@2.2.1@astrojs/vercel@3.4.1@astrojs/sitemap@1.3.2@astrojs/react@2.2.1@astrojs/preact@2.2.1@astrojs/partytown@1.2.3@astrojs/mdx@0.19.5@astrojs/markdoc@0.3.0Gravatar Houston (Bot) 23-21/+128
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-05-30[ci] formatGravatar bholmesdev 1-1/+1
2023-05-30Markdoc - remove `$entry` variable (#7244)Gravatar Ben Holmes 9-29/+33
* refactor: remove entry prop from `getRenderModule()` * refactor: remove `$entry` from markdoc * test: update entry-prop -> variables test * refactor: unify `getEntryConfigByExt` * chore: clean up shared content / data get logic * docs: update `$entry` recommendation * chore: rename entry-prop -> variables * chore: changeset * chore: missed a spot
2023-05-30Markdoc: new README for Markdoc nodes (#7225)Gravatar Ben Holmes 1-46/+85
* docs: all-new nodes documentation * edit: `.astro` ONLY Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca> * edit: `.` outside links, line break Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca> * edit: such as, not like Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca> * edit: more Astro less probs Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca> * edit: reviewers React to Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca> * edit: tagz Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca> * chore: add `default: 'article'` for document * edit: reword client-side instructions * edit: prism stylesheet got lost * fix: heading -> blockquote --------- Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2023-05-30[ci] formatGravatar matthewp 1-5/+8
2023-05-30Bug 6672 (#7062)Gravatar wulinsheng123 7-0/+121
* fix miss a head when the templaterender has a promise * fix * add some test * test files move to md directory * fix add * delect file --------- Co-authored-by: wuls <linsheng.wu@beantechs.com>
2023-05-30Document MDX optimize static logic (#7221)Gravatar Bjorn Lu 1-0/+107
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com> Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2023-05-29Fix markdoc image tests (#7231)Gravatar Bjorn Lu 1-4/+4
2023-05-26Fix `astro-static-slot` hydration mismatch error (#7196)Gravatar Bjorn Lu 3-4/+7