bluwy
704a75f473
Merge branch 'main' into shikiji
2023-10-06 16:51:26 +08:00
Houston (Bot)
584d6f0680
[ci] release ( #8738 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-10-05 11:10:06 +01:00
Arsh
21e0757ea2
chore: remove undici polyfill ( #8729 )
2023-10-04 18:28:36 +08:00
Houston (Bot)
78fda5c3ec
[ci] release ( #8722 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-10-02 23:55:56 +08:00
Alexander Niebuhr
3dd65bf889
feat(cloudflare): add local mockings for CF bindings ( #8655 )
...
* feat(cloudflare): add D1 database binding
* feat(cloudflare): add local mocking for R2 bindings (#8656 )
* feat(cloudflare): add local mocking for KV bindings (#8657 )
* feat(cloudflare): add local mocking for Caches bindings (#8664 )
* feat(cloudflare): add local mocking for DO bindings (#8690 )
---------
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2023-10-02 16:04:57 +02:00
Houston (Bot)
a067c2a2c7
[ci] release ( #8699 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-10-02 16:34:57 +08:00
Houston (Bot)
2d33b9362d
[ci] release ( #8695 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-09-28 14:12:22 -04:00
Matthew Phillips
2167ffd72f
Revert "[ci] release ( #8671 )" ( #8696 )
...
This reverts commit eada8ab8fa
.
2023-09-28 13:57:54 -04:00
Arsh
cfd895d877
fix(rerouting): check that the new route is different ( #8648 )
...
* fix(rerouting): check that the new route is different
* add tests
* changeset grammar
2023-09-28 22:46:15 +05:30
Houston (Bot)
eada8ab8fa
[ci] release ( #8671 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Matthew Phillips <matthew@skypack.dev>
2023-09-28 13:14:13 -04:00
Arsh
408b50c5ea
fix(redirects): attempt to get only params in dev mode ( #8647 )
...
* fix(redirects): attempt to get only params in dev mode
* fixtures/ssr-redirect => fixtures/redirects
* add tests
* Update pnpm-lock.yaml
2023-09-27 18:19:06 -04:00
Matthew Phillips
4ed410db50
Remove Netlify adapter from core ( #8574 )
...
* New link
* More explicit
* Add placeholder package.json
* lockfile
* add keyworkds
2023-09-27 16:48:26 -04:00
Matthew Phillips
e6be2d8146
Add View Transitions announcer ( #8621 )
...
* Add View Transitions announcer
* fix astro check
* Append the text in a setTimeout
* Use 60 for the timeout
* Add comment on magic number
* Add a changeset
* Update .changeset/small-rules-relax.md
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
* Bring back announce logic
* Remove mention of env file
---------
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2023-09-27 15:21:56 -04:00
Houston (Bot)
60684fad72
[ci] release ( #8663 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-09-25 15:54:55 -04:00
Matthew Phillips
69fbf95b22
Head propagation graph walking on new pages ( #8646 )
...
* Head propagation graph walking on new pages
* Add changeset
* Avoid the bang
* Add TODOs about handling in resolveId
2023-09-25 10:14:37 -04:00
Houston (Bot)
211bfe3b00
[ci] release ( #8635 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-09-25 18:28:54 +08:00
Marco Schumacher
2365c12464
fix(cloudflare): added config for _routes.json generation ( #8459 )
...
* added config for _routes.json generation
* added changeset
* renamed test file
* updated comments
* Apply suggestions from code review
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
* worked on tests
* worked on docs
* worked on docs
* worked on tests
* updated pnpm-lock.yaml
* worked on tests
* moved the _worker.js in cloudflareSpecialFiles statement
---------
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
Co-authored-by: Alexander Niebuhr <alexander@nbhr.io>
2023-09-24 08:32:03 +02:00
Adrian Lyjak
faeead4232
feat(@astrojs/cloudflare): Add support for wasm module imports ( #8542 )
...
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2023-09-22 16:58:00 +02:00
Houston (Bot)
4e1e8dc5c6
[ci] release ( #8597 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-09-21 14:32:12 -04:00
Bjorn Lu
5a988eaf60
Fix Astro HMR from a CSS dependency ( #8609 )
...
* Fix Astro HMR from a CSS dependency
* Improve css test
* Create wise-donuts-tickle.md
2023-09-21 12:53:37 -04:00
Timon Jurschitsch
e522a5eb41
Remove AstroError if content directory is empty ( #8382 )
...
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
2023-09-21 10:34:20 +02:00
Arsh
4398e92987
fix(middleware): undo config's path to URL encoding ( #8614 )
...
* fix(middleware): undo config's path to URL encoding
* add changeset
* middleware-dev => "middleware space"
2023-09-21 07:35:33 +02:00
Houston (Bot)
9b84a7ef96
[ci] release ( #8590 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-09-19 17:21:05 +08:00
Houston (Bot)
fca6892f8d
[ci] release ( #8540 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-09-14 12:44:09 -04:00
Bjorn Lu
74dc3edb30
Improve MDX rendering performance ( #8533 )
2023-09-14 20:05:38 +08:00
Chris
2e8726feec
[@astrojs/vercel] Individually enable Speed Insights and Web Analytics ( #8021 )
...
* Individually enable Speed Insights and Web Analytics
* Update pnpm-lock.yaml
* Remove .only on tests
* Fix build
* Move `beforeSend` out of config
* Address feedback from review
* Update README.md
* Add back the `analytics` property and add deprecation warning when used
* Add migration guide for the deprecated `analytics` property
* Update packages/integrations/vercel/README.md
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
* Update README.md
* Fix external dependency issue
* Simplify plugin and reduce scope
* Update .changeset/sixty-teachers-tap.md
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
* Apply feedback from review
* Move exposeEnv to speed-insights since it's only used there
---------
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
Co-authored-by: Matthew Phillips <matthew@skypack.dev>
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
2023-09-14 08:02:11 -04:00
Lars Kappert
d93987824d
feat(markdown): Add support for imageReference
paths when collecting images ( #8475 )
2023-09-13 17:29:39 +02:00
Erika
2c4fc878be
Support AVIF input assets ( #8518 )
2023-09-13 17:27:16 +02:00
Erika
4e395a6cab
config: migrate us to moduleResolution: 'node16' ( #8519 )
2023-09-13 16:49:22 +02:00
Nate Moore
ed952b4cea
Improve create-astro
startup performance ( #8456 )
...
* feat(create-astro): improve performance
* test: fix test by wrapping promise values
* chore: remove uneeded deps
* Update ten-kings-smash.md
* chore: update lockfile
2023-09-13 09:40:53 -05:00
Houston (Bot)
c23ddb9ab3
[ci] release ( #8501 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-09-12 14:29:39 -04:00
Erika
bf341d6762
revert: avif support ( #8511 )
2023-09-11 23:00:43 +02:00
Alexander Niebuhr
2c96144696
feat(@astrojs/cloudflare): add runtime support to astro dev
( #8426 )
...
* add necessary libs
* cleanup stale code
* add base feature-set of runtime to `astro dev`
* fix lockfile
* remove future code
Co-authored-by: Arsh <69170106+lilnasy@users.noreply.github.com>
* remove future code
Co-authored-by: Arsh <69170106+lilnasy@users.noreply.github.com>
* remove future code
Co-authored-by: Arsh <69170106+lilnasy@users.noreply.github.com>
* remove future code
Co-authored-by: Arsh <69170106+lilnasy@users.noreply.github.com>
* remove future code
Co-authored-by: Arsh <69170106+lilnasy@users.noreply.github.com>
* address review comments
* fix linting issue
* add docs & tests
* fix test paths
* add changeset
* update README.md
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
* fix docs & make adapter options optional
* fix package resolve mode
* fix pnpm-lock
---------
Co-authored-by: Arsh <69170106+lilnasy@users.noreply.github.com>
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2023-09-11 23:34:44 +05:30
Matt Rossman
345cb4aeb9
Support AVIF input assets ( #8380 )
...
Co-authored-by: Erika <3019731+Princesseuh@users.noreply.github.com>
Co-authored-by: Princesseuh <princssdev@gmail.com>
2023-09-11 19:28:35 +02:00
bluwy
d5d2d3414a
Use shikiji
2023-09-11 19:55:25 +08:00
bb010g
78b82bb392
fix(astro): support content/config.mts
( #8484 )
...
Co-authored-by: Erika <3019731+Princesseuh@users.noreply.github.com>
2023-09-11 13:54:56 +02:00
Houston (Bot)
0a2567c288
[ci] release ( #8465 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-09-08 10:08:35 -04:00
Matthew Phillips
7eea37a075
Fix multi-layout head injection ( #8449 )
...
* Fix multi-layout head injection
* Tracing fix
* Improved walk
* Upgrade the compiler version
---------
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2023-09-08 10:00:07 -04:00
Houston (Bot)
98d501bde6
[ci] release ( #8442 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-09-08 13:55:26 +02:00
Bjorn Lu
f3f62a5a20
Refactor mdx remark plugins ( #8430 )
2023-09-07 22:28:02 +08:00
Houston (Bot)
88c76a9a42
[ci] release ( #8439 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-09-06 16:35:56 -05:00
Nate Moore
c06b41a6b8
Update Prettier ( #8420 )
...
* chore: fix prettier config
* chore: format
* chore(prettier): format `.astro` files
2023-09-06 10:23:44 -05:00
Houston (Bot)
14273d8f44
[ci] release ( #8415 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-09-06 09:56:58 -04:00
Matthew Phillips
67e8348594
Fix React dev mode using a base ( #8428 )
2023-09-06 09:13:36 -04:00
Barthélémy Ledoux
1947ef7a99
fix: no asset plugin w/ img is imported with query ( #8353 )
...
* fix: no asset plugin w/ img is imported with query
* add changeset
* add test for the new feature
* remove exp
* use removeQueryString instead of `includes('?')`
it's more explicit
---------
Co-authored-by: Erika <3019731+Princesseuh@users.noreply.github.com>
2023-09-06 15:01:01 +02:00
Erika
48ff7855b2
fix: make sharp an optional dep ( #8416 )
...
* fix: make sharp an optional dep
* chore: lockfile
* chore: changeset
---------
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2023-09-06 14:52:13 +02:00
Jacob Lamb
d2f2a11cdb
Improve Package Detection ( #8306 )
2023-09-06 17:15:10 +08:00
Slawek Kolodziej
9ffa1a84e8
fix: include route prefix in vercel func names, fix #8401 ( #8408 )
...
* fix: include route prefix in vercel func names
* chore: add changeset
* chore: update pnpm lockfile
* refactor: simplify logic that generates vercel func names
* fix: properly remove entryFile prefix from func name
* refactor: change how vercel function names are generated
---------
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2023-09-06 05:43:53 +01:00
Arsh
7d95bd9baa
Allow vite to refer to inlined CSS ( #8351 )
...
* fix(client build): keep inlined stylesheets
* add changesets
* appease linter
* eslint: allow variables beginning with an underscore to be unused
* remove eslint-ignore that's no longer needed
* ready for review
2023-09-05 23:31:15 +05:30
Houston (Bot)
e43ae88528
[ci] release ( #8372 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-09-04 10:09:43 +01:00