summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
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) 48-171/+216
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-05-30Content collections - fix `.json` collection errors (#7246)Gravatar Ben Holmes 4-7/+52
* fix: avoid error on collectionType === 'unknown' * fix: ignore underscores in file globs * chore: clarify [!_] * fix: mismatch error not throwing * fix: bad collectionType var * test: no error for empty collection * chore: changeset
2023-05-30[ci] formatGravatar bholmesdev 4-5/+5
2023-05-30Markdoc - remove `$entry` variable (#7244)Gravatar Ben Holmes 16-257/+217
* 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 MoustaphaDev 1-1/+1
2023-05-30fix: prioritize dynamic prerendered routes over dynamic server routes (#7235)Gravatar Happydev 6-19/+361
* test: add unit tests * fix: prioritize prerendered routes * chore: fix test * add comment * test: try avoiding race condition * chore: changeset * try avoiding race conditions attempt #2 * try avoiding race conditions (attempt 3) * final fix hopefuly * tet: add more tests * sort conflicting dynamic routes aplhabetically * test: fix test
2023-05-30[ci] formatGravatar matthewp 1-5/+8
2023-05-30Bug 6672 (#7062)Gravatar wulinsheng123 10-0/+138
* 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-29Use AstroError for Astro.glob errors (#7219)Gravatar Bjorn Lu 9-9/+86
Co-authored-by: Erika <3019731+Princesseuh@users.noreply.github.com> Co-authored-by: sarah11918 <sarah11918@users.noreply.github.com>
2023-05-29Fix markdoc image tests (#7231)Gravatar Bjorn Lu 1-4/+4
2023-05-26feat: support images outside the project (#7139)Gravatar Erika 11-59/+107
2023-05-26Fix `astro-static-slot` hydration mismatch error (#7196)Gravatar Bjorn Lu 6-4/+46
2023-05-26Fix CSS deduping and missing chunks (#7218)Gravatar Bjorn Lu 7-28/+69
2023-05-26[ci] formatGravatar Princesseuh 1-1/+1
2023-05-26Add global crypto to @astrojs/webapi (#6981)Gravatar André Alves 7-7/+17
* add crypto to be polyfilled * chore: changeset * chore: update deps for node types --------- Co-authored-by: Erika <3019731+Princesseuh@users.noreply.github.com> Co-authored-by: Princesseuh <princssdev@gmail.com>
2023-05-26Add error message if `Astro.glob` is called outside (#7204)Gravatar Bjorn Lu 3-0/+23
2023-05-25deps: bump @babel/core and @babel/types (#7214)Gravatar Ben Holmes 2-310/+306
2023-05-25[ci] formatGravatar bholmesdev 2-3/+2
2023-05-25Markdoc - improve syntax highlighting support (#7209)Gravatar Ben Holmes 11-114/+200
* feat: prism and shiki support, with better exports! * chore: update tests * chore: fix lock * chore: add prism test * chore: remove `async` from prism * docs: update syntax highlight readme * chore: changeset * edit: remove `await` from prism docs * chore: update old changest with new shiki instructions * fix: add trailing newline on ts-expect-error * refactor: resolve promises internally * docs: remove `await` from shiki examples
2023-05-25[ci] formatGravatar ematipico 6-15/+13
2023-05-25refactor: emit pages as physical entry points (#7193)Gravatar Emanuele Stoppa 13-92/+352
2023-05-25fix(vercel): Fix typo in README 🤦‍♀️ (#7208)Gravatar Erika 2-2/+7
2023-05-25Add MDX optimize option (#7151)Gravatar Bjorn Lu 15-0/+304
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2023-05-25Document partytown script block by extensions (#7205)Gravatar Bjorn Lu 1-0/+2
2023-05-25fix: formatting comment (#7206)Gravatar Emanuele Stoppa 1-1/+3
2023-05-25Export ChangeFreqEnum type for sitemap integration (#7028)Gravatar Alexander Niebuhr 2-0/+6
2023-05-25fix: :adhesive_bandage: update partytown options ts type (#7175)Gravatar Akash Rajpurohit 2-6/+9
2023-05-24[ci] formatGravatar bholmesdev 4-6/+6
2023-05-24Markdoc - Shiki (#7187)Gravatar Ben Holmes 13-35/+383
* chore: remove unused util * chore: changeset * deps: shiki * wip: first stab at shiki markdoc config * feat: get shiki working! * refactor: return HTML string directly from transform * chore: move shiki to markdoc dev dep * refactor: use async cache with clear docs on why * test: transform units with Shiki config options * refactor: switch to `extends` model * refactor: nodes/ -> extensions/ * feat: raise friendly error for Promise extensions * docs: README * chore: lint * chore: dead file * chore: lowercase for fuzzy find please * fix: bad ctx spread * chore: clean up cache, add shiki imp error * chore: add shiki to optional peer deps * chore: hoist those consts * docs: more explicit "install shiki now please" Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca> * oops bad find and replace * chore: update changeset * nit: period haunts me --------- Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2023-05-24fix: detect `mdx` files using full extension (#7192)Gravatar Emanuele Stoppa 3-2/+8
2023-05-24Remove `@mdx-js/rollup` dependency (#7191)Gravatar Bjorn Lu 5-27/+10
2023-05-24fix: add astro-static-slot to the list of inert tags in astro css (#7189)Gravatar Barthélémy Ledoux 2-1/+6
2023-05-23[ci] release (#7181)astro@2.5.5@astrojs/mdx@0.19.4@astrojs/markdoc@0.2.3Gravatar Houston (Bot) 17-25/+36
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-05-23[ci] formatGravatar matthewp 3-10/+11
2023-05-23fix a bug when Fragment is as a slot (#6832)Gravatar wulinsheng123 6-4/+47
* fix a bug when Fragment is as a slot * update yaml * fix ts errpr * fix astro name of md --------- Co-authored-by: wuls <linsheng.wu@beantechs.com>
2023-05-23revert: markdoc asset bleed (#7178)Gravatar Ben Holmes 16-294/+120
* revert: markdoc asset bleed * chore: changeset
2023-05-23[ci] release (#7169)astro@2.5.4Gravatar Houston (Bot) 18-41/+27
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-05-23Prevent Vite watching on Astro config load (#7171)Gravatar Bjorn Lu 3-2/+7
2023-05-23chore(middleware): lift restriction around serializable data (#7174)Gravatar Emanuele Stoppa 5-113/+7
2023-05-23[ci] formatGravatar ematipico 3-3/+3
2023-05-23refactor: move renderers to their own plugin (#7166)Gravatar Emanuele Stoppa 7-24/+90
2023-05-23Make vite-plugin-content-virtual-mod run `getEntrySlug` 10 at a time (#7125)Gravatar Bjorn Lu 4-52/+71
2023-05-23Add types for `import.meta.env.ASSETS_PREFIX` and `import.meta.env.SITE` (#7172)Gravatar Erika 5-19/+34
2023-05-23fix: value of var could be undefined when using `define:vars` (#7134)Gravatar Alex Vukadinov 4-3/+15
2023-05-22[ci] release (#7163)astro@2.5.3@astrojs/mdx@0.19.3@astrojs/markdoc@0.2.2Gravatar Houston (Bot) 17-25/+36
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-05-22[ci] formatGravatar matthewp 3-6/+17
2023-05-22[Markdoc] Fix global asset bleed (#6758)Gravatar Ben Holmes 16-113/+290
* wip: propagatedAssets flag per-component * Propagate in TreeNode * fix: remove unused inject comment * feat: make asset propagation an integration opt-in * fix: remove crawlGraph stopper * wip: logs to understand what's happening * SSR mdoc files in dev * feat: add astroPropagatedAssets flag with vite * chore: remove console logs * chore: cleanup hasContentFlag * fix: set handlePropagation default for legacy integrations * chore: changeset * temp: silence acorn type error * chore: revert pnpm-lock changes * fix: check correct flag * We need to handle propagation on markdown because of layouts * Remove use of renderStyleElement * Fix heading tests * Fix merge conflict * typeof function * Switch the check * Add comment on injection detection regexp --------- Co-authored-by: Matthew Phillips <matthew@skypack.dev>
2023-05-22Render 404 page content when a `Response` with status 404 is returned from a ↵Gravatar Johannes Spohr 4-9/+30
page (#7143)