summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2023-04-04fix(images): Simpler logic for collecting images in Markdown (#6744)Gravatar Erika 7-42/+54
2023-04-03[ci] formatGravatar Princesseuh 1-1/+2
2023-04-03feat(image): Export more types and utilities for users to use (#6739)Gravatar Erika 13-38/+57
2023-04-03fix(images): Return the proper content-type for the chosen format (#6741)Gravatar Erika 4-7/+16
2023-04-03[Markdoc] Fix: Support `render: null` (#6723)Gravatar Ben Holmes 9-60/+309
* fix: handle array of tree nodes * test: render null in document node * chore: lock * refactor: consolidate render test logic * chore: changeset
2023-04-03gitignore env.d.ts files in e2e tests (#6737)Gravatar Bjorn Lu 1-0/+1
2023-03-31[ci] formatGravatar matthewp 7-8/+17
2023-03-31Better errors for when response is already sent (#6719)Gravatar Matthew Phillips 12-3/+90
* Better errors for when response is already sent * Changeset * Casing * Change to a 300x error
2023-03-31[ci] formatGravatar matthewp 2-8/+7
2023-03-31supporting top of await (#6671)Gravatar wulinsheng123 7-5/+63
* add fix * fix * revert verison * fix fn is undefined g * add e2e test * fix unit test * delete redundant code * add changeset --------- Co-authored-by: wuls <linsheng.wu@beantechs.com>
2023-03-31[ci] release (#6694)astro@2.1.9@astrojs/rss@2.3.2@astrojs/react@2.1.1@astrojs/lit@2.0.0@astrojs/image@0.16.4Gravatar Houston (Bot) 59-143/+131
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-03-31fix(check): Dynamically import check command (#6717)Gravatar Erika 2-1/+7
2023-03-31fix(errors): Add simplified message for MarkdownImageNotFound (#6718)Gravatar Erika 1-0/+2
2023-03-31[ci] formatGravatar Princesseuh 1-2/+2
2023-03-31Fix incorrect path in error overlay on Win (#6679)Gravatar Peter Timoshevsky 5-5/+43
2023-03-30Remove unnecessary image-related `.wasm` files inside build output when ↵Gravatar Erika 6-47/+45
possible (#6701) * fix(image): Remove unnecessary .wasm files after build * chore: changeset
2023-03-30Fix InferGetStaticParamsType and InferGetStaticPropsType not working with ↵Gravatar Erika 2-7/+16
sync getStaticPaths (#6711) * fix(types): Fix InferGetStaticParamsType (and its props equivalent) not working when getStaticPaths wasn't async * chore: changeset * fix: use type imports
2023-03-30Fix multiple images being generated for the same image (#6710)Gravatar Erika 6-15/+28
* fix(images): Fix multiple calls to same image generating multiple images * chore: changeset
2023-03-30[RSS] Fix: update `RSSFeedItem` type to comply with `strictest` tsconfig (#6614)Gravatar Aivars Liepa 2-1/+6
* fix RSSFeedItem type for `strictest` tsconfig * add .changeset --------- Co-authored-by: Erika <3019731+Princesseuh@users.noreply.github.com>
2023-03-29Update lit-ssr dependency (#6681)Gravatar Elliott Marquez 13-82/+107
* update lit-ssr dependency * delete unnecessary lit shim checks * delete another unused lit shim feature * fix sass build * bump lit and polyfill versions to match ssr req * shim HTMLElement in test * remove lit global shim workarounds * re-shim Astro's ce.define * remove fix window test and shim HTML Element * Update .changeset/gold-windows-fly.md Co-authored-by: Augustine Kim <ajk830@gmail.com> * fix window check test * implement suggestoins --------- Co-authored-by: Augustine Kim <ajk830@gmail.com>
2023-03-29fix(images): Improve error handling around the new assets feature (#6649)Gravatar Erika 17-21/+290
* fix(images): Improve error handling around the new assets feature * fix: add missing error message * fix(images): Fix schema preprocessing logic returning undefined when the file doesn't exist * test: add tests * chore: lockfile * chore: changeset * Apply suggestions from code review Co-authored-by: Yan Thomas <61414485+Yan-Thomas@users.noreply.github.com> * test: remove console.logs * fix(images): properly join with path * fix: attempt a fix * test: remove console.log * Apply suggestions from code review Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca> * fix: add undefined test for global for SSR --------- Co-authored-by: Yan Thomas <61414485+Yan-Thomas@users.noreply.github.com> Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2023-03-29Use debug option for debugDir (#6554)Gravatar Isaac 1-1/+1
Co-authored-by: Matthew Phillips <matthew@skypack.dev>
2023-03-28chore: update changeset (#6698)Gravatar Ben Holmes 1-0/+5
2023-03-28`docs:` change the external React docs page to `https://react.dev` (#6690)Gravatar Shukur Huseynli 1-1/+1
2023-03-28Fix: Paginate adds unexpected trailing slash on index route (#6676)Gravatar Ben Holmes 4-20/+54
* fix: remove unexpected trailing / on paginate * test: next and prev href * chore: changesset * fix: correct empty string to '/' for index route * edit: and typo Co-authored-by: Happydev <81974850+MoustaphaDev@users.noreply.github.com> * fix: tests not running! --------- Co-authored-by: Happydev <81974850+MoustaphaDev@users.noreply.github.com>
2023-03-28Add use-immer as a noExternal module (#6696)Gravatar Matthew Phillips 2-0/+6
2023-03-28fix: update code challenge (#6697)Gravatar Ben Holmes 2-3/+3
2023-03-28Fix: stop executing `astro:server:setup` twice (#6693)Gravatar Ben Holmes 3-22/+5
* fix: remove integrations container plugin * chore: changeset
2023-03-28[ci] release (#6652)create-astro@3.1.2astro@2.1.8@astrojs/partytown@1.2.0@astrojs/markdoc@0.1.0@astrojs/image@0.16.3Gravatar Houston (Bot) 56-159/+195
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-03-28Fix: Crash in NodeApp.render if req.body is null (#6688)Gravatar Johannes Klauss 2-1/+6
* Add additional null check for req.body * Add changeset
2023-03-28fix: change minor to patch (#6692)Gravatar Ben Holmes 1-1/+1
2023-03-28Improve error message for endpoint getStaticPaths with undefined value (#6353)Gravatar wulinsheng123 9-1/+135
Co-authored-by: bluwy <bjornlu.dev@gmail.com> Co-authored-by: wuls <linsheng.wu@beantechs.com>
2023-03-28fix: specify astro peer dep version (#6691)Gravatar Ben Holmes 1-1/+1
2023-03-28Fix image regeneration after changing image service (#6680)Gravatar Kilian Gosewisch 6-6/+26
2023-03-28add a new flag with --open for the dev and the preview (#6578)Gravatar wulinsheng123 8-3/+23
2023-03-28[create-astro] Error on `--template` that does not exist (#6677)Gravatar Ben Holmes 2-5/+22
* Revert "Revert accidental create-astro fix" This reverts commit c13d428a7804b5b9809dbea94a1b17c36714a1e1. * chore: changeset
2023-03-28[ci] formatGravatar bluwy 1-1/+1
2023-03-28Expose partytown config options from astro plugin (#6667)Gravatar Smit Patel 3-8/+14
2023-03-27[ci] formatGravatar bholmesdev 3-6/+4
2023-03-27[Markdoc] New config format with runtime variable support! (#6653)Gravatar Ben Holmes 44-636/+737
* deps: esbuild * feat: support direct component imports for render! * deps: add devalue back * refactor: remove unused components prop * refactor: load experimental assets config separately * fix: upate Content type def to support props * refactor: replace astro stub with inline data * feat: pass through viteId to getRenderMod * fix: add back $entry var with defaults convention * chore: remove unneeded validateRenderProps * chore: remove uneeded validateComponents * fix: remove userMarkdocConfig prop * chore: add helpful error for legacy config * deps: kleur * fix: add back `isCapitalized` * fix: log instead of throw to avoid scary stacktrace * chore: delete more old logic (nice) * chore: delete MORE unused utils * chore: comment on separate assets config * chore: remove console.log * chore: general code cleanup * test: new render config * docs: new README * fix: add expect-error on astro:assets * feat: add defineMarkdocConfig helper * docs: update example README * test: add runtime variable * chore: lint * chore: changeset * chore: add component import deletion * docs: add notes on Vite fork * fix: astro check * chore: add `.mts` to markdoc config formats
2023-03-27Revert accidental create-astro fixGravatar bholmesdev 1-17/+5
2023-03-27fix: log e.messageGravatar bholmesdev 1-2/+7
2023-03-27fix: check for nonexistent templatesGravatar bholmesdev 1-3/+10
2023-03-27[ci] formatGravatar matthewp 2-7/+4
2023-03-27Prevent frontmatter errors from crashing dev server (#6675)Gravatar Matthew Phillips 4-2/+92
* Prevent frontmatter errors from crashing dev server * fix windows
2023-03-27Fix using optimized images with `base` (#6643)Gravatar Erika 19-8/+232
* fix(images): Fix images having the wrong path when using `base` * test(images): Add test for using images with base * test: add more tests * chore: changeset * fix: paths * refactor: feedback
2023-03-24fix: updating HTML attribute types for the <link> element (#6639)Gravatar Tony Sullivan 2-3/+8
* fix: updating a few camel-cased properties on the LinkHTMLAttributes type * chore: add changeset --------- Co-authored-by: Tony Sullivan <tony.f.sullivan@outlook.com>
2023-03-24[ci] release (#6646)astro@2.1.7@astrojs/markdoc@0.0.5Gravatar Houston (Bot) 45-95/+108
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-03-24fix(node): Fix http import to not be type-only (#6650)Gravatar Erika 1-1/+1
2023-03-24[ci] formatGravatar matthewp 1-14/+16