Emanuele Stoppa
ce37bc77e0
ci: use correct issue number ( #6745 )
2023-04-04 14:07:05 +01:00
Felix Frey
66f9de56ee
Fix broken links in TailwindCSS section ( #6747 )
2023-04-04 21:00:02 +08:00
Princesseuh
a2dc9d48bc
[ci] format
2023-04-04 08:23:34 +00:00
Erika
a1a4f45b51
fix(images): Simpler logic for collecting images in Markdown ( #6744 )
2023-04-04 10:21:13 +02:00
Princesseuh
366decbe33
[ci] format
2023-04-03 16:13:44 +00:00
Erika
2f2e572e93
feat(image): Export more types and utilities for users to use ( #6739 )
2023-04-03 18:11:45 +02:00
Erika
4c347ab51e
fix(images): Return the proper content-type for the chosen format ( #6741 )
2023-04-03 18:11:32 +02:00
Ben Holmes
73fcc7627e
[Markdoc] Fix: Support render: null
( #6723 )
...
* fix: handle array of tree nodes
* test: render null in document node
* chore: lock
* refactor: consolidate render test logic
* chore: changeset
2023-04-03 11:27:51 -04:00
Bjorn Lu
ad80d830a2
gitignore env.d.ts files in e2e tests ( #6737 )
2023-04-03 21:22:49 +08:00
matthewp
9846b3e935
[ci] format
2023-03-31 19:29:49 +00:00
Matthew Phillips
d54cbe4134
Better errors for when response is already sent ( #6719 )
...
* Better errors for when response is already sent
* Changeset
* Casing
* Change to a 300x error
2023-03-31 15:27:14 -04:00
matthewp
7f8ccbe876
[ci] format
2023-03-31 17:44:00 +00:00
wulinsheng123
d59e511d16
supporting top of await ( #6671 )
...
* 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 13:42:03 -04:00
Houston (Bot)
07e8a1bab4
[ci] release ( #6694 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-03-31 16:32:28 +02:00
Erika
c2d4ae1cbe
fix(check): Dynamically import check command ( #6717 )
2023-03-31 15:18:37 +02:00
Erika
9cc7329759
fix(errors): Add simplified message for MarkdownImageNotFound ( #6718 )
2023-03-31 15:08:53 +02:00
Princesseuh
b755bd62ff
[ci] format
2023-03-31 11:09:21 +00:00
Peter Timoshevsky
08e92f4f8e
Fix incorrect path in error overlay on Win ( #6679 )
2023-03-31 13:07:19 +02:00
Erika
46ecf46628
Remove unnecessary image-related .wasm
files inside build output when possible ( #6701 )
...
* fix(image): Remove unnecessary .wasm files after build
* chore: changeset
2023-03-30 20:57:57 +02:00
Erika
c04ea0d43c
Fix InferGetStaticParamsType and InferGetStaticPropsType not working with 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-30 11:41:36 +02:00
Erika
a0bdf4ce2f
Fix multiple images being generated for the same image ( #6710 )
...
* fix(images): Fix multiple calls to same image generating multiple images
* chore: changeset
2023-03-30 11:31:04 +02:00
Aivars Liepa
b1b9b1390f
[RSS] Fix: update RSSFeedItem
type to comply with strictest
tsconfig ( #6614 )
...
* fix RSSFeedItem type for `strictest` tsconfig
* add .changeset
---------
Co-authored-by: Erika <3019731+Princesseuh@users.noreply.github.com>
2023-03-30 11:25:36 +02:00
Elliott Marquez
4b077318fb
Update lit-ssr dependency ( #6681 )
...
* 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-29 12:43:40 -04:00
Erika
f0b732d326
fix(images): Improve error handling around the new assets feature ( #6649 )
...
* 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-29 14:58:42 +02:00
Isaac
9e16860f61
Use debug option for debugDir ( #6554 )
...
Co-authored-by: Matthew Phillips <matthew@skypack.dev>
2023-03-29 08:18:25 -04:00
Ben Holmes
fc71c3f188
chore: update changeset ( #6698 )
2023-03-28 16:38:23 -04:00
Shukur Huseynli
d5bcf89e1f
docs:
change the external React docs page to
https://react.dev ( #6690 )
2023-03-28 16:20:04 -04:00
Ben Holmes
5e33c51a9c
Fix: Paginate adds unexpected trailing slash on index route ( #6676 )
...
* 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-28 16:05:35 -04:00
Matthew Phillips
239b9a2fb8
Add use-immer as a noExternal module ( #6696 )
2023-03-28 15:35:21 -04:00
Ben Holmes
5f71d1bbeb
fix: update code challenge ( #6697 )
2023-03-28 15:09:59 -04:00
Ben Holmes
c0b7864a41
Fix: stop executing astro:server:setup
twice ( #6693 )
...
* fix: remove integrations container plugin
* chore: changeset
2023-03-28 13:43:16 -04:00
Houston (Bot)
af108e4b4a
[ci] release ( #6652 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-03-28 13:17:46 -04:00
Johannes Klauss
2e92e9aa97
Fix: Crash in NodeApp.render if req.body is null ( #6688 )
...
* Add additional null check for req.body
* Add changeset
2023-03-28 12:24:01 -04:00
Ben Holmes
2df24e9430
fix: change minor to patch ( #6692 )
2023-03-28 12:19:00 -04:00
wulinsheng123
4bf87c64ff
Improve error message for endpoint getStaticPaths with undefined value ( #6353 )
...
Co-authored-by: bluwy <bjornlu.dev@gmail.com>
Co-authored-by: wuls <linsheng.wu@beantechs.com>
2023-03-28 23:13:46 +08:00
Ben Holmes
328c671790
fix: specify astro peer dep version ( #6691 )
2023-03-28 11:11:23 -04:00
Kilian Gosewisch
386336441a
Fix image regeneration after changing image service ( #6680 )
2023-03-28 14:59:01 +02:00
wulinsheng123
adecda7d60
add a new flag with --open for the dev and the preview ( #6578 )
2023-03-28 19:59:43 +08:00
Ben Holmes
4a32620600
[create-astro] Error on --template
that does not exist ( #6677 )
...
* Revert "Revert accidental create-astro fix"
This reverts commit c13d428a78
.
* chore: changeset
2023-03-28 07:08:43 -04:00
bluwy
4ddec1cd8c
[ci] format
2023-03-28 08:47:15 +00:00
Smit Patel
aff53c109c
Expose partytown config options from astro plugin ( #6667 )
2023-03-28 16:44:54 +08:00
bholmesdev
9352e0056c
[ci] format
2023-03-27 22:06:51 +00:00
Ben Holmes
7c439868a3
[Markdoc] New config format with runtime variable support! ( #6653 )
...
* 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-27 18:04:37 -04:00
bholmesdev
c13d428a78
Revert accidental create-astro fix
2023-03-27 17:46:00 -04:00
bholmesdev
c853ffc606
fix: log e.message
2023-03-27 17:39:20 -04:00
bholmesdev
88a8e7ae1a
fix: check for nonexistent templates
2023-03-27 17:37:28 -04:00
matthewp
4b899d2257
[ci] format
2023-03-27 19:37:29 +00:00
Matthew Phillips
1f783e3207
Prevent frontmatter errors from crashing dev server ( #6675 )
...
* Prevent frontmatter errors from crashing dev server
* fix windows
2023-03-27 15:35:32 -04:00
Erika
fc0ed9c53c
Fix using optimized images with base
( #6643 )
...
* 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-27 15:50:02 +02:00
Tony Sullivan
25cd3e5749
fix: updating HTML attribute types for the <link> element ( #6639 )
...
* 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 15:36:11 -05:00