Bjorn Lu
3881901028
Simplify internal resolver in dev ( #6576 )
2023-03-18 17:58:21 +08:00
Happydev
fa132e35c2
Fix error in empty markdown files with content ( #6572 )
...
* test: add test fixture
* test: add test case
* 🤏 fix
* chore: changeset
---------
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2023-03-17 11:38:10 -05:00
Franco Romano Losada
66858f1f23
Fix overflow title in error message ( #6583 )
...
* Fix overflow title in error message
* Add changeset
2023-03-17 11:16:55 -05:00
Erika
f5fddafc24
Add validateOptions hook to Image Service API ( #6555 )
...
* feat(assets): Add a validateOptions hooks to set default and do error handling
* chore: changeset
2023-03-17 13:29:25 +01:00
Erika
f413446a85
Fix image()
type to be compatible with ImageMetadata ( #6568 )
...
* fix(assest): Fix `image()` type to be compatible with ImageMetadata
* chore: changeset
2023-03-16 22:35:14 +01:00
bluwy
b53e8b3fb1
[ci] format
2023-03-16 17:06:31 +00:00
Bjorn Lu
ea9b3dd72b
Support tsconfig aliases in styles ( #6566 )
2023-03-17 01:04:26 +08:00
Bjorn Lu
6c465e958e
Fix prerendered 404 page handling in SSR ( #6558 )
2023-03-16 23:03:17 +08:00
Bjorn Lu
392ba3e4d5
Fix mdx and markdoc integrations return type ( #6552 )
2023-03-16 23:02:37 +08:00
bluwy
b0b5ba84a9
[ci] format
2023-03-16 14:42:36 +00:00
Richard Simpson
2c829fdf65
fix(cloudflare): base strip logic ( #6550 )
2023-03-16 22:39:54 +08:00
Princesseuh
ff5f1e89a1
[ci] format
2023-03-16 14:13:07 +00:00
Erika
90e5f87d03
Vendor image-size ( #6559 )
...
* feat(assets): Vendor image-size
* fix(assets): Also vendor queue, the CJS virus runs deep
* fix: remove unneeded queue
* chore: lockfile
* fix: build
* fix: build part 2
* chore: changeset
2023-03-16 15:10:46 +01:00
Tc001
67d3d1d65a
Replace tabs with double spaces ( #6562 )
2023-03-16 15:46:31 +02:00
matthewp
7f17ab8029
[ci] format
2023-03-15 17:55:26 +00:00
wulinsheng123
bf024cb342
It even starts to remove a file before it finish it. ( #6472 )
...
* dont finish the action of the copy before removing all files.
* change name
2023-03-15 13:53:10 -04:00
Erika
22955b895c
fix(assets): Fix usage of custom service resulting in Invalid Input error ( #6556 )
2023-03-15 16:21:13 +01:00
Erika
035c0c4df2
fix(assets): Fix images from public not working with the new Assets feature ( #6536 )
...
* fix(assets): Fix images from public not working with <Image> and `getImage`
* test(assets): Add test for public images
* refactor: simplify logic
2023-03-14 17:20:17 +01:00
Erika
04dddd783d
Fix local images having the wrong width and height when both dimensions were provided ( #6547 )
...
* fix(images): Fix Image providing the wrong width and height if both attributes were provided on local images
* chore: changeset
2023-03-14 15:02:27 +01:00
btea
811436d4cb
ci: format add owner judgment ( #6542 )
2023-03-14 21:57:56 +08:00
Ben Holmes
400ef26c99
[RSS] Fix: Preserve self-closing tags in customData
( #6538 )
...
* fix: preserve self-closing tags in customData
* test: self-closing tags preserved
* chore: changeset
2023-03-13 17:34:23 -04:00
Houston (Bot)
43daac7a9b
[ci] release ( #6476 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-03-13 16:05:43 -04:00
matthewp
9676f94840
[ci] format
2023-03-13 19:38:46 +00:00
Matthew Phillips
6a7cf0712d
Prevent astro:content from depending on Node builtins ( #6537 )
...
* Prevent astro:content from depending on Node builtins
* Right file
* Move the plugin into test-plugins.js
2023-03-13 15:36:11 -04:00
bholmesdev
87d5e96da4
[ci] format
2023-03-13 18:19:00 +00:00
Ben Holmes
c638740906
[Content collections] Better error formatting ( #6508 )
...
* feat: new error map with unions, literal, and fbs
* fix: bad type casting on type error
* refactor: add comments, clean up edge cases
* refactor: JSON.stringify, add colon for follow ups
* refactor: bold file name in msg
* fix: prefix union errors
* test: new error mapping
* refactor: clean up Required handling
* test: required, fallthrough
* chore: changeset
* fix: out-of-date error msg
* chore: stray console log
* docs: revert to old error msg
2023-03-13 14:16:17 -04:00
matthewp
f2dfdb7e73
[ci] format
2023-03-13 17:19:15 +00:00
Bjorn Lu
04e624d062
Treeshake exported client components that are not imported ( #6527 )
...
* Treeshake exported client components that are not imported
* Fix plugin name
* Fix mdx test
2023-03-13 13:16:56 -04:00
Erika
cc90d72197
Add warning when using assets with non-node adapters ( #6533 )
...
* feat(assets): Add a warning that the project won't be able to build if used with a non-Node adapter
* chore: changeset
2023-03-13 13:16:17 -04:00
bluwy
875a04db16
[ci] format
2023-03-13 15:00:16 +00:00
Richard Simpson
1c3e8f6c3b
fix: rebase _routes.json for Cloudflare when config.base set ( #6473 )
2023-03-13 22:58:21 +08:00
Yan Thomas
a13e9d7e33
Consistency improvements to several package descriptions ( #6494 )
...
* Add small improvements to package descriptions
* Add changeset
---------
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2023-03-13 09:25:47 -05:00
matthewp
e473de6d0f
[ci] format
2023-03-13 14:08:22 +00:00
Matthew Phillips
4ddf348938
Remove false-positive warnings from Cloudflare's build ( #6531 )
2023-03-13 10:05:54 -04:00
Erika
637f9bc728
Fix env.d.ts
switching back between types on every restart when assets are enabled ( #6532 )
...
* fix(assets): Fix assets types reverting back on every dev server starts
* chore: changeset
2023-03-13 14:53:39 +01:00
Erika
acf78c5e27
fix(assets): Fix types to be more accurate ( #6530 )
...
* fix(assets): Fix types to be more accurate
* chore: changeset
2023-03-13 13:54:56 +01:00
Erika
f55b4829bf
fix(images): Move emitESMImage util to another file ( #6505 )
...
* fix(images): Move emitESMImage util to another file, so we don't import it by accident in contexts we shouldn.t
* fix(images): Fix import paths
2023-03-13 12:09:56 +01:00
Ben Holmes
f6eddffa04
feat: cache getCollection()
calls in production ( #6503 )
...
* feat: cache getCollection() in prod
* chore: changeset
2023-03-10 13:50:34 -05:00
Erika
c44aa15534
fix: Enforce the usage of type imports when possible ( #6502 )
2023-03-10 16:19:57 +01:00
natemoo-re
d37dc7c71a
[ci] format
2023-03-10 13:38:14 +00:00
Nate Moore
09813f1610
fix: prefer dynamic import for image-size
( #6495 )
2023-03-10 07:35:40 -06:00
Bjorn Lu
abaf860af7
Add postbuild to build:ci command ( #6498 )
2023-03-10 17:32:35 +08:00
Yan Thomas
0de08773f3
Make Tailwind & Turbolinks integration descriptions more consistent ( #6419 )
...
* Fix npm description for Tailwind & Turbolinks
* Change order so all start with Astro
* More descriptive descriptions!
Co-authored-by: Chris Swithinbank <swithinbank@gmail.com>
* Add changeset
---------
Co-authored-by: Chris Swithinbank <swithinbank@gmail.com>
2023-03-09 16:55:49 -06:00
matthewp
3f6a0888b0
[ci] format
2023-03-09 21:11:07 +00:00
Matthew Phillips
bfd67ea749
Remove usage of createRequire in core image ( #6488 )
...
* Add fallback for hosts without import.meta.url
* Try using an import
* Add image-size as external
* Make image-size external
* Apply suggestions from code review
* leave image-size alone
2023-03-09 16:08:47 -05:00
Elian ☕️
dbd61c111d
add browser to bug reports ( #6474 )
2023-03-09 14:02:33 -06:00
Bjorn Lu
d637d1ea5b
Fix @astrojs/prism
edgecase with pnpm ( #6485 )
2023-03-09 14:44:14 -05:00
Erika
a9a6ae2981
Fix using images in content collections ( #6483 )
...
* fix(images): Fix not being able to refer to images in content collections
* fix(images): Normalize path
* fix(images): Do it properly
* chore: changeset
2023-03-09 14:43:58 -05:00
Nate Moore
7d1dd510fb
chore: update example favicons ( #6487 )
2023-03-09 11:23:47 -06:00
Matthew Phillips
700a555499
Add back support for Astro.clientAddress to Vercel serverless ( #6484 )
2023-03-09 11:27:16 -05:00