Nate Moore
f6bc6597c8
fix: do not include filesystem handler in user routes
2023-03-13 14:40:49 -05:00
Nate Moore
8c2118fd88
handle vercel.json in static adapter
2023-03-13 14:33:14 -05:00
Nate Moore
b62e2b4d25
handle vercel.json in serverless adapter
2023-03-13 14:33:08 -05:00
Nate Moore
7dd7928003
fix(vercel): support vercel.json
redirects and rewrites
2023-03-13 14:13:10 -05: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
Elian ☕️
1343a6469f
Get rid of ‘txt not found’ ( #6486 )
2023-03-09 16:28:21 +01:00
Djobbo-Victor
070942a33a
fix sidebar group titles css ( #6289 )
...
Co-authored-by: Djobbo Maïga <4998293+AlfieGoldson@users.noreply.github.com>
2023-03-09 17:48:55 +08:00
Emanuele Stoppa
2e362042c2
feat(rss): add option to remove the trailing slash ( #6453 )
...
* feat(rss): add option to remove the trailing slash
* Apply suggestions from code review
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
* suggestions
---------
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2023-03-09 07:57:03 +00:00
Bjorn Lu
77a046e886
Add default .npmrc for astro add lit
( #6460 )
...
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2023-03-09 14:42:57 +08:00
Houston (Bot)
af25778a9b
[ci] release ( #6468 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-03-08 17:39:06 -05:00
matthewp
5deacfb6c3
[ci] format
2023-03-08 22:34:39 +00:00
Matthew Phillips
ec04553525
Fix asset loading in dev mode ( #6466 )
...
* Fix asset loading in dev mode
* Proper windows support
2023-03-08 17:32:39 -05:00
Houston (Bot)
401b97ad0e
[ci] release ( #6456 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-03-08 16:09:20 -05:00
Matthew Phillips
65c07ce1b6
Fixes ESM imported assets to be root relative ( #6465 )
...
* Fixes ESM imported assets to be root relative
* Add changeset
2023-03-08 15:16:13 -05:00
Erika
9d48328287
docs(images): Add docs for image related errors ( #6463 )
...
* docs(images): Add docs for image related errors
* fix(images): Oops
* Update packages/astro/src/core/errors/errors-data.ts
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
* Update packages/astro/src/core/errors/errors-data.ts
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
* Update packages/astro/src/core/errors/errors-data.ts
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
* Update packages/astro/src/core/errors/errors-data.ts
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
* Update packages/astro/src/core/errors/errors-data.ts
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
* Update packages/astro/src/core/errors/errors-data.ts
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
---------
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2023-03-08 17:48:33 +01:00
Bjorn Lu
964d55246b
Prevent HTML-escape of raw strings in JSX script/style tags ( #6459 )
...
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
2023-03-09 00:29:22 +08:00
Sarah Rainsberger
60c7690b4c
[docs] Fix Markdoc README links ( #6458 )
2023-03-08 09:12:01 -04:00
Erika
05fc7ae54c
feat(images): Add support for ESM importing SVGs when using astro:assets
( #6454 )
2023-03-08 12:08:16 +01:00
Chris Swithinbank
cf0198316d
Fix configuration reference docs ( #6455 )
...
Co-authored-by: Erika <3019731+Princesseuh@users.noreply.github.com>
2023-03-08 12:04:01 +01:00
Houston (Bot)
afaf366fb3
[ci] release ( #6432 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-03-07 14:49:19 -05:00
Matthew Phillips
5ce750b015
Set performance package markdoc version
2023-03-07 14:42:00 -05:00
Matthew Phillips
1e6559ab70
Fix markdoc version ( #6450 )
2023-03-07 14:38:23 -05:00
Matthew Phillips
a82157b317
Update with-markdoc example ( #6449 )
2023-03-07 14:34:12 -05:00
bholmesdev
201420439f
chore: bump markdoc package dependents
2023-03-07 14:21:20 -05:00
bholmesdev
9ff167c01f
chore: bump with-markdoc integration version
2023-03-07 14:18:15 -05:00