Houston (Bot)
dd0145d28b
[ci] release ( #11225 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-06-11 13:15:27 +01:00
renovate[bot]
8725cb2f90
fix(deps): update all non-major dependencies ( #11222 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-11 08:59:21 +01:00
Florian Lefebvre
2bdca27ff4
feat: add support for astro:env to node and vercel ( #11199 )
2024-06-10 16:43:48 +02:00
Szymon Chmal
416c4ac66d
fix(@astrojs/partytown): prevent crashes when View Transitions are enabled ( #11083 )
...
* fix: recover IFrame of Partytown on View Transition
* chore: add changeset entry
---------
Co-authored-by: Martin Trapp <94928215+martrapp@users.noreply.github.com>
2024-06-10 11:16:59 +01:00
Houston (Bot)
2da877bfe9
[ci] release ( #11201 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-06-08 11:28:34 +02:00
Dawid Kobierski
d0248bc083
fix(node): add missing error logging ( #11202 )
2024-06-07 10:26:16 +01:00
Houston (Bot)
48d53094cd
[ci] release ( #11186 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-06-06 11:02:22 -04:00
Emanuele Stoppa
803dd8061d
feat(container): provide a virtual module to load renderers ( #11144 )
...
* feat(container): provide a virtual module to load renderers
* address feedback
* chore: restore some default to allow to have PHP prototype working
* Thread through renderers and manifest
* Pass manifest too
* update changeset
* add diff
* Apply suggestions from code review
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
* fix diff
* rebase and update lock
---------
Co-authored-by: Matthew Phillips <matthew@skypack.dev>
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2024-06-05 11:39:42 +01:00
Houston (Bot)
587e75f47e
[ci] release ( #11158 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-06-05 09:45:03 +02:00
renovate[bot]
464b0a108e
fix(deps): update all non-major dependencies ( #11151 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: bluwy <bjornlu.dev@gmail.com>
2024-05-30 17:28:57 +08:00
Scott Nath
6a93b5379a
[ci] format
2024-05-29 20:01:22 +00:00
Scott Nath
cf9b2ff796
🐛 removed deprecated items from lit integration ( #11164 )
...
* 🐛 removed deprecated items from lit integration
* 🚀 update minified
* 🐛 need `Document`
2024-05-29 16:00:31 -04:00
Houston (Bot)
50775925f9
[ci] release ( #11116 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-05-23 11:06:20 +01:00
Chris Swithinbank
9a0e94b2e6
Let web vitals route handle all requests under that path ( #11120 )
2024-05-23 10:45:03 +02:00
Ben Holmes
7be7b1a757
[ci] format
2024-05-22 12:25:50 +00:00
Ben Holmes
8ca7c731de
Actions: React 19 progressive enhancement support ( #11071 )
...
* deps: react 19
* feat: react progressive enhancement with useActionState
* refactor: revert old action state implementation
* feat(test): react 19 action with useFormStatus
* fix: remove unused context arg
* fix: wrote actions to wrong test fixture!
* deps: revert react 19 beta to 18 for actions-blog fixture
* chore: remove unused overrides
* chore: remove unused actions export
* chore: spaces vs tabs ugh
* chore: fix conflicting fixture names
* chore: changeset
* chore: bump changeset to minor
* Actions: support React 19 `useActionState()` with progressive enhancement (#11074 )
* feat(ex): Like with useActionState
* feat: useActionState progressive enhancement!
* feat: getActionState utility
* chore: revert actions-blog fixture experimentation
* fix: add back actions.ts export
* feat(test): Like with use action state test
* fix: stub form state client-side to avoid hydration error
* fix: bad .safe chaining
* fix: update actionState for client call
* fix: correctly resume form state client side
* refactor: unify and document reactServerActionResult
* feat(test): useActionState assertions
* feat(docs): explain my mess
* refactor: add experimental_ prefix
* refactor: move all react internals to integration
* chore: remove unused getIslandProps
* chore: remove unused imports
* chore: undo format changes
* refactor: get actionResult from middleware directly
* refactor: remove bad result type
* fix: like button disabled timeout
* chore: changeset
* refactor: remove request cloning
* Update .changeset/gentle-windows-enjoy.md
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
* changeset grammar tense
---------
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2024-05-22 13:24:55 +01:00
Jan-Niklas W
3dd57f69e3
[ci] format
2024-05-22 12:15:39 +00:00
Jan-Niklas W
b92de22d28
feat(vue): add support vue devtools options ( #11055 )
...
Co-authored-by: Erika <3019731+Princesseuh@users.noreply.github.com>
Co-authored-by: Jan-Niklas Wortmann <jan-niklas.wortmann@jetbrains.com>
Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
2024-05-22 14:14:36 +02:00
Houston (Bot)
9ddd6387a7
[ci] release ( #11086 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-05-22 09:40:11 +02:00
Xetera
3cc3e2ccba
fix(renderer): omitting internal symbol from mdx props ( #10813 )
2024-05-21 17:48:19 +02:00
Adrian Lyjak
cefeadf0a4
Make status code check more strict for sitemap plugin ( #10779 )
...
Co-authored-by: Ben Holmes <hey@bholmes.dev>
Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
2024-05-21 13:01:35 +02:00
Chris Swithinbank
0dbd8eeb77
Support deprecating Web Vitals table ( #11096 )
2024-05-20 16:51:02 +02:00
Chris Swithinbank
8e465d621e
[ci] format
2024-05-18 14:34:08 +00:00
Chris Swithinbank
3c7a4fabea
Upgrade web-vitals
to v4 ( #11094 )
2024-05-18 16:33:14 +02:00
renovate[bot]
cb2586fa15
fix(deps): update all non-major dependencies ( #11015 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: bluwy <bjornlu.dev@gmail.com>
2024-05-13 16:19:23 +08:00
Houston (Bot)
e2cdd3c96b
[ci] release ( #10985 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-05-09 22:40:23 +08:00
Federico Ballarini
4d163811e1
feat(package.json): removed wrong react types ( #10986 )
2024-05-09 21:34:41 +08:00
Houston (Bot)
770b9f06c3
[ci] release ( #10944 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-05-09 11:06:49 +01:00
renovate[bot]
f9b6f4fc2f
chore(deps): update all non-major dependencies ( #10958 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: bluwy <bjornlu.dev@gmail.com>
2024-05-09 15:20:13 +08:00
Florian Lefebvre
562054e8e1
[ci] format
2024-05-08 14:51:02 +00:00
Florian Lefebvre
7179930ac8
feat(solid): add support for devtools ( #10937 )
...
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2024-05-08 16:48:17 +02:00
Emanuele Stoppa
f0acd30a12
feat(vercel): skew protection ( #10761 )
...
* feat(vercel): skew protection
* feat(vercel): skew protection
2024-05-08 15:05:03 +01:00
Bjorn Lu
ddd8e49d1a
MDX integration v3 ( #10935 )
...
* fix(mdx): convert remark-images-to-component plugin to a rehype plugin (#10697 )
* Remove fs read for MDX transform (#10866 )
* Tag MDX component for faster checks when rendering (#10864 )
* Use unified plugin only for MDX transform (#10869 )
* Only traverse children and handle mdxJsxTextElement when optimizing (#10885 )
* Rename to `optimize.ignoreComponentNames` in MDX (#10884 )
* Allow remark/rehype plugins added after mdx to work (#10877 )
* Improve MDX optimize with sibling nodes (#10887 )
* Improve types in rehype-optimize-static.ts
* Rename `ignoreComponentNames` to `ignoreElementNames`
I think this better reflects what it's actually doing
* Simplify plain MDX nodes in optimize option (#10934 )
* Format code
* Minimize diff changes
* Update .changeset/slimy-cobras-end.md
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
---------
Co-authored-by: Armand Philippot <59021693+ArmandPhilippot@users.noreply.github.com>
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2024-05-08 10:25:27 +01:00
Bjorn Lu
685fc22bc6
Improve content collection styles and scripts build perf ( #10959 )
...
* Improve content collection styles and scripts build perf
* Update test
It was actually a bug. There was an empty module script injected.
* Skip test
* Fix test not matching non-ccc behaviour
* Workaround bug to make test pass
* Update .changeset/grumpy-pillows-develop.md
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
---------
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2024-05-08 10:24:47 +01:00
Matthew Phillips
cceeafb62a
[ci] format
2024-05-07 17:13:57 +00:00
Matthew Phillips
d47baa466a
Support React 19 ( #10942 )
...
* Support React 19
* Fix lint
* Update .changeset/short-phones-breathe.md
* fix: update types peer dep
---------
Co-authored-by: bholmesdev <hey@bholmes.dev>
2024-05-07 13:13:03 -04:00
Chris Swithinbank
4b693c0476
[ci] format
2024-05-06 20:03:49 +00:00
Chris Swithinbank
e63e96bf32
Import metric table from astro:db ( #10947 )
2024-05-06 22:02:54 +02:00
Florian Lefebvre
082abb82d5
feat(vue): add support for devtools ( #10929 )
...
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2024-05-06 16:02:06 +02:00
Florian Lefebvre
fd508a0fbb
feat(preact): add support for devtools ( #10938 )
...
* feat(preact): add support for devtools
* Update little-dryers-stare.md
2024-05-03 15:21:37 -04:00
Jakob Hellermann
3412535be4
fix: don't include port twice from x-forwarded-host and x-forwarded-port headers ( #10917 )
...
* fix: don't include port twice from x-forwarded-host and x-forwarded-port headers
* add changeset
* add test for port both in forwarded host and forwarded port
* don't include port if undefined
* Update .changeset/forty-wolves-turn.md
Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
---------
Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
2024-05-03 15:01:25 -04:00
Houston (Bot)
2dcbcdb857
[ci] release ( #10943 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-05-03 17:55:43 +02:00
Chris Swithinbank
6c603bcc97
[ci] format
2024-05-03 15:41:58 +00:00
Chris Swithinbank
a37d76a42a
Add web-vitals integration ( #10883 )
2024-05-03 17:40:53 +02:00
Houston (Bot)
9a231a4dd7
[ci] release ( #10890 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-05-02 19:59:20 +08:00
Viktor Szépe
a146cf1012
Fix typos ( #10923 )
2024-05-01 13:56:38 +08:00
Gabriele Angrisani
fd7a9ed337
fix a deprecated method in react integration using SSR: renderToStaticNodeStream ( #10893 )
...
* deprecated method renderToStaticNodeStream
* Create twelve-bulldogs-raise.md
---------
Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
2024-04-30 08:01:21 -04:00
renovate[bot]
05d58eff07
fix(deps): update all non-major dependencies ( #10901 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-30 12:00:05 +08:00
Houston (Bot)
a94046588c
[ci] release ( #10842 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-04-23 19:30:37 -04:00
Lam
f6bddd3a15
fix: allow redoc to render on react components ( #10855 )
...
* fix: removed redoc from noExternal for react
* Add changeset
---------
Co-authored-by: Matthew Phillips <matthew@skypack.dev>
2024-04-23 17:29:38 -04:00
Bjorn Lu
d7dff64824
[ci] format
2024-04-23 15:25:25 +00:00
Bjorn Lu
a3e95dbeb0
Move MDX Vite plugin to new file ( #10854 )
2024-04-23 23:24:34 +08:00
renovate[bot]
8d5f3e8656
chore(deps): update all non-major dependencies ( #10833 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: bluwy <bjornlu.dev@gmail.com>
2024-04-22 22:52:30 +08:00
Bjorn Lu
2f4d627815
Refactor MDX postprocess plugin ( #10832 )
2024-04-22 21:18:27 +08:00
renovate[bot]
68e3b7c59d
chore(deps): update dependency devalue to v5 ( #10836 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-22 13:39:43 +08:00
Bjorn Lu
237e17c8fe
Update major deps ( #10823 )
2024-04-20 00:11:20 +08:00
Houston (Bot)
7fda037b27
[ci] release ( #10798 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-04-18 11:35:39 -04:00
Robin Gisler
5750ad12be
[ci] format
2024-04-18 07:10:24 +00:00
Robin Gisler
0e22462d15
fix(sitemap): Trailing slashes on root url ( #10772 )
...
* add tests that reveal issue
* fix trailing slash root page issue
* add changeset
2024-04-18 08:09:25 +01:00
Emanuele Stoppa
347bdfe550
[ci] format
2024-04-17 08:38:53 +00:00
Houston (Bot)
668d97319c
[ci] release ( #10777 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-04-16 17:07:50 +01:00
Rishi Raj Jain
3e7a12c853
fix: MDX cannot find relative image path without leading ./ ( #10754 )
...
Co-authored-by: Oliver Speir <115520730+OliverSpeir@users.noreply.github.com>
2024-04-16 22:13:52 +08:00
Bjorn Lu
1ce22881c6
Improve sitemap generate performance ( #10795 )
2024-04-16 19:48:49 +08:00
Bjorn Lu
88ee63a3ba
Remove MDX processor on buildEnd ( #10770 )
2024-04-15 15:56:53 +08:00
Houston (Bot)
3ff6b403db
[ci] release ( #10757 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-04-12 11:31:46 -04:00
Erika
c704c449c0
[ci] format
2024-04-12 14:09:03 +00:00
Erika
c75ededdb4
fix(vercel): Fix srcset generation not working on Vercel ( #10756 )
...
* fix(vercel): Fix `srcset` generation not working on Vercel
* chore: changeset
* fix: remove densities and widths from the HTML attributes
* nit: better changeset
* nit: add formats
2024-04-12 16:07:27 +02:00
Houston (Bot)
66bc1041d4
[ci] release ( #10739 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-04-11 13:24:47 +02:00
Emanuele Stoppa
683d51a5ee
feat: upgrade the minimum Node.js maintainance LTS version ( #10689 )
...
* feat: upgrade the minimum Node.js maintainance LTS version
* chore: update minimum npm version
* chore: revert npm change
* chore: address Erika's feedback
* chore: apply further suggestions
* Update .changeset/empty-rules-type.md
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
---------
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2024-04-10 14:53:55 +01:00
Houston (Bot)
f4f383d04e
[ci] release ( #10680 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-04-09 14:42:19 +08:00
Bjorn Lu
903ed31b2a
Fix vue-jsx change ( #10716 )
2024-04-08 14:38:59 +08:00
Bjorn Lu
4ea042c388
Remove unused config in Vue JSX integration ( #10687 )
2024-04-08 13:35:34 +08:00
Raz Luvaton
5c4b7bfc08
test(@astrojs/node) wait for server listening in trailing-slash tests ( #10694 )
...
* test(@astrojs/node) wait for server listening in trailing-slash tests
* fix missing waitServerListen
* fix import statement
---------
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
2024-04-05 15:30:59 +02:00
Raz Luvaton
ab153fd888
test(@astrojs/node) listen for server setup errors in test-utils ( #10692 )
2024-04-05 13:24:00 +01:00
fightingcat
9a1aee80a5
[ci] format
2024-04-04 17:58:30 +00:00
fightingcat
14f1d49a10
Expose Babel config for @astro/react. ( #10675 )
2024-04-04 13:57:20 -04:00
Houston (Bot)
e2a780a46d
[ci] release ( #10674 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-04-04 13:11:24 -04:00
Bjorn Lu
db7f9c8703
Remove unnecessary recmaInjectImportMetaEnv
plugin for MDX ( #10673 )
2024-04-04 15:07:40 +08:00
Houston (Bot)
0899d342cd
[ci] release ( #10670 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-04-03 16:52:33 -04:00
Ben Holmes
8f636693d5
[ci] format
2024-04-03 20:50:06 +00:00
Ben Holmes
90cfade88c
feat: automatic Markdoc partial resolution ( #10649 )
...
* wip: react counter example
* feat: resolve markdoc partials by file path
* test: components within partials
* test: html within partial
* chore: changeset
* fix: respect user configured partials
* test: basic partials
* chore: lock
* chore: fix lock
* chore: minor -> patch
* fix: use --parallel for dev server timeout error
* refactor: move component tests to separate file
* fix: build indent fixture
* fix: check before addWatchFile
* refactor: rootRelative -> relativePartial
* deps: use workspace react integration
* refactor: split test files by fixture
* refactor: switch to preact to avoid react prod build error
* feat: use vite pluginContext
* fix: handle missing ./
* chore: bump timeout
2024-04-03 16:48:53 -04:00
Houston (Bot)
8ca8943ce2
[ci] release ( #10656 )
2024-04-03 22:42:23 +05:30
Arsh
0a407c4326
[ci] format
2024-04-03 13:30:23 +00:00
Arsh
55ddb2ba48
fix(app/node): include x-forwarded-port
header in url ( #10666 )
...
* fix(app/node): include `x-forwarded-port` header in url
* add changeset
* add test
2024-04-03 18:57:23 +05:30
Jacob Lamb
6599b93f0d
[ci] format
2024-04-03 06:04:18 +00:00
Jacob Lamb
a9a3694a98
fix: update vercel node support status ( #10611 )
...
* Update adapter.ts
* Create clever-houses-yawn.md
* Update adapter.ts
* Update adapter.ts
* Update adapter.ts
Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
* Update .changeset/clever-houses-yawn.md
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
---------
Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
2024-04-03 07:03:17 +01:00
Houston (Bot)
c3916b5206
[ci] release ( #10651 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-04-02 16:15:27 -04:00
Matthew Phillips
a79e6b12fa
[ci] format
2024-04-02 19:39:22 +00:00
Matthew Phillips
195f51f82a
Mark @material-tailwind/react as noExternal ( #10654 )
2024-04-02 15:38:15 -04:00
Arsh
daef0e394a
chore: remove console.log from test ( #10653 )
2024-04-02 15:00:36 -04:00
Houston (Bot)
fd18a5dda9
[ci] release ( #10647 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-04-02 12:11:32 -04:00
Ming-jun Lu
51112ab3f1
fix(svelte): update import statements and bump peer dependency for v5 ( #10645 )
2024-04-02 21:58:39 +08:00
Houston (Bot)
f7d6254f8f
[ci] release ( #10603 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-04-02 15:46:43 +08:00
Houston (Bot)
260f4fa191
[ci] update lockfile ( #10551 )
...
Co-authored-by: matthewp <matthewp@users.noreply.github.com>
Co-authored-by: bluwy <bjornlu.dev@gmail.com>
2024-04-02 11:02:18 +08:00
Bjorn Lu
da2fb875fc
Make @astrojs/markdown-remark
a dep in @astrojs/markdoc
( #10632 )
2024-04-01 23:39:29 +08:00
James Garbutt
374efcdff9
Lazy loaded shiki languages during syntax highlighting ( #10618 )
2024-04-01 22:52:50 +08:00
Matthew Phillips
31590d44ef
Move nft warnings behind verbose logging ( #10609 )
...
* Move nft warnings behind verbose logging
* Update packages/integrations/vercel/src/lib/nft.ts
Co-authored-by: Arsh <69170106+lilnasy@users.noreply.github.com>
* Update packages/integrations/vercel/src/lib/nft.ts
Co-authored-by: Arsh <69170106+lilnasy@users.noreply.github.com>
---------
Co-authored-by: Arsh <69170106+lilnasy@users.noreply.github.com>
2024-04-01 10:37:54 -04:00
Ryan Christian
ad50784adc
refactor: Drop Preact compat hack, remove incorrect alias ( #10585 )
...
Co-authored-by: Arsh <69170106+lilnasy@users.noreply.github.com>
2024-04-01 16:53:59 +08:00
Tyler van der Hoeven
b3028caecf
Remove the ssr external for vue ( #10601 )
...
* remove the ssr external for vue
* Remove the external line vs comment it out
* add a changeset
2024-03-29 16:04:27 +00:00
Houston (Bot)
0ff5d72c78
[ci] release ( #10598 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-03-28 14:20:53 -04:00
TK
5d7449bd73
[ci] format
2024-03-28 18:17:46 +00:00
TK
a573cc199a
feat: allow dynamic route segments in isr.exclude array ( #10513 )
...
* Allow dynamic route segments in isr.exclude array
* copy over eslint-disable as well
* add test
* update test: slashes dont need to be escaped
* update changeset
---------
Co-authored-by: lilnasy <69170106+lilnasy@users.noreply.github.com>
2024-03-28 23:46:18 +05:30
Houston (Bot)
50cc5f01c7
[ci] release ( #10597 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-03-28 14:09:23 -04:00
Houston (Bot)
bb7707e171
[ci] release ( #10556 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-03-26 17:24:02 -04:00
Ming-jun Lu
5f7e9c47e0
fix(sitemap): fix missing base path in sitemap-index.xml
( #10557 )
...
* fix(sitemap): fix missing base path in `sitemap-index.xml`
* test(sitemap): update test cases in `base-path.test.js`
* chore: add changeset
2024-03-26 10:11:44 -04:00
Simon Knott
303cacc058
[ci] format
2024-03-26 10:45:08 +00:00
Simon Knott
34fa8e131b
fix: ensure outDir doesn't lead to bundlers bloating Lambda size ( #10550 )
...
* fix: ensure outDir doesn't lead to bundlers bloating Lambda size
* add changeset
* Update packages/astro/src/assets/vite-plugin-assets.ts
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
---------
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
2024-03-26 11:44:04 +01:00
Houston (Bot)
fdceed5889
[ci] release ( #10503 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-03-20 20:46:06 +05:30
Arsh
4adcda0e25
[ci] format
2024-03-20 14:34:39 +00:00
Arsh
cfbaa8a767
deprecation(vercel): vercel-edge-middleware.js file ( #10476 )
...
* deprecation(vercel): `vercel-edge-middleware.js` file
* add changeset
* `Astro.locals.waitUntil()` -> `Astro.locals.vercel.edge.waitUntil()`
* export edge locals interface
2024-03-20 20:03:17 +05:30
Bjorn Lu
19e42c3681
Pass meta to shiki transformers ( #10494 )
2024-03-20 19:15:07 +08:00
Houston (Bot)
17b4991cff
[ci] release ( #10488 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-03-20 08:41:00 +00:00
Andrés Correa Casablanca
4268d389fc
[ci] format
2024-03-19 15:44:07 +00:00
Andrés Correa Casablanca
28e33a2f9c
fix: do not append trailing slash to subresource urls ( #10491 )
...
* fix: do not append traling slash to subresource urls
Signed-off-by: Andres Correa Casablanca <andreu@kindspells.dev>
* test: fix broken test
Signed-off-by: Andres Correa Casablanca <andreu@kindspells.dev>
* refactor: packages/integrations/node/src/serve-static.ts
Co-authored-by: Arsh <69170106+lilnasy@users.noreply.github.com>
---------
Signed-off-by: Andres Correa Casablanca <andreu@kindspells.dev>
Co-authored-by: Arsh <69170106+lilnasy@users.noreply.github.com>
2024-03-19 21:13:08 +05:30
Houston (Bot)
0ddc327ee8
[ci] release ( #10471 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-03-18 22:36:58 +05:30
Arsh
7138aa4678
[ci] format
2024-03-18 14:15:46 +00:00
Arsh
83f9105cd5
fix(node): handle offshoot promise rejections ( #10454 )
...
* fix(node): handle offshoot promise rejections
* add test
* add changeset
* Update packages/integrations/node/test/errors.test.js
2024-03-18 19:44:46 +05:30
Houston (Bot)
f92ff40fd3
[ci] release ( #10430 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-03-14 09:01:22 -07:00
Erika
ee07e62942
fix(vue): Add default options to not transform assets ( #10419 )
...
* fix(vue): Add default options to not transform assets
* fix: oops merge correctly
* chore: changeset
* nit: address feedback
2024-03-14 09:54:05 +01:00
Emanuele Stoppa
dfd146f591
Revert "[ci] format" ( #10417 )
...
* Revert "[ci] format"
This reverts commit 1863727215
.
* pin dependency
* update lock
2024-03-13 09:55:24 +00:00
Houston (Bot)
1863727215
[ci] format
2024-03-13 05:53:52 +00:00
Houston (Bot)
b3dbb49058
[ci] update lockfile ( #10234 )
...
Co-authored-by: matthewp <matthewp@users.noreply.github.com>
Co-authored-by: bluwy <bjornlu.dev@gmail.com>
2024-03-13 13:52:42 +08:00
Houston (Bot)
0e074fb390
[ci] release ( #10365 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-03-11 10:25:30 +00:00
Bjorn Lu
9e1ef6f0c9
Fix mdx test fail with rehype-pretty-code ( #10370 )
2024-03-08 20:39:15 +08:00
Erika
c7edb22b4b
[ci] format
2024-03-08 10:58:49 +00:00
Matthew Phillips
9cd84bd19b
Allow islands to be re-rendered with new props on page transition ( #10136 )
...
* Allow islands to be re-rendered with new props on page transition
* Adjust the expected styles
* Restore test expectation
* Add changeset and final change
* linting
* Implement transition:persist-props behavior
* Fix lockfile
* Fix expectations
* App is hyrid
* Update .changeset/lovely-nails-cough.md
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
* Update .changeset/lovely-nails-cough.md
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
* Update .changeset/lovely-nails-cough.md
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
---------
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2024-03-08 10:54:16 +00:00
Remco Haszing
a31bbd7ff8
fix(markdown): don’t generate mdast html nodes ( #10104 )
...
* fix(markdown): don’t generate mdast html nodes
`html` nodes from mdast are converted to `raw` hast nodes. These nodes
are then not processed by proper rehype plugins. Typically if a remark
plugin generates `html` nodes, this indicates it should have actually
been a rehype plugin.
This changes the remark plugins that generate `html` nodes into rehype
nodes. These were `remarkPrism` and `remarkShiki`.
Closes #9909
* Apply suggestions from code review
* refactor(mdx): move user defined rehype plugins after syntax highlighting
* fix(mdx): fix issue in mdx rehype plugin ordering
* docs: explain why html/raw nodes are avoided in changeset
This also includes some hints on what users could do to upgrade of they
rely on these nodes.
* Fix MDX rehype plugin ordering
* refactor(remark): restore remarkPrism and remarkShiki
They aren’t used anymore, but removing would be a breaking change.
* chore: mark deprecated
* Apply suggestions from code review
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
* Update .changeset/thirty-beds-smoke.md
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
---------
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2024-03-08 10:53:39 +00:00
Houston (Bot)
038201fbae
[ci] release ( #10337 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-03-05 16:58:48 -08:00
Fred K. Schott
f2e60a9675
Revert bad release ( #10336 )
...
* Revert "[ci] release (#10332 )"
This reverts commit dd3935b31c
.
* Revert "[ci] set `--tag` on release (#10323 )"
This reverts commit 50215ae731
.
2024-03-05 16:47:15 -08:00
Houston (Bot)
dd3935b31c
[ci] release ( #10332 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-03-05 16:26:25 -08:00
Phk
439155c36e
[ci] format
2024-03-05 15:22:07 +00:00
Phk
9e76abc58b
fix: fixed an error in the vue component editor ( #10293 )
...
* fix: fixed an error in the vue component editor(https://github.com/withastro/language-tools/issues/758 )
* chore: format code
* chore: change import path
2024-03-05 15:20:44 +00:00
Florian Lefebvre
29cbb88afd
chore(vercel): update @vercel/nft ( #10305 )
...
* chore(vercel): update @vercel/nft
* Update slimy-berries-mate.md
2024-03-05 15:17:35 +00:00
Bjorn Lu
8526ca3967
Update turbo test dependsOn ( #10329 )
...
* Update turbo test dependsOn
* Update mdx timeout
2024-03-05 15:16:55 +00:00
Houston (Bot)
2db9031a9f
[ci] release ( #10292 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-03-02 00:42:07 -08:00
Erika
a548a3a99c
fix(markdoc & mdx): Proxy crimes ( #10278 )
...
* fix(markdoc & mdx): Proxy cimes
* chore: changeset
2024-03-01 15:48:38 +01:00
Houston (Bot)
87a3d51f2c
[ci] release ( #10286 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-03-01 12:10:51 +00:00
Erika
d5277df5a4
fix(node): Safely create requests ( #10285 )
...
* fix(node): Wrap request creation in try catch
* chore: changeset
2024-03-01 10:26:28 +00:00
Houston (Bot)
afd41cc28b
[ci] release ( #10265 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-03-01 10:31:12 +01:00
Satanshu Mishra
df05138ebe
[ci] format
2024-03-01 08:33:27 +00:00
Satanshu Mishra
b47dcaa259
fix(node): listen on 0.0.0.0 if server.host is set to true ( #10282 )
...
Co-authored-by: Arsh <69170106+lilnasy@users.noreply.github.com>
Co-authored-by: Kevin Zuniga Cuellar <46791833+kevinzunigacuellar@users.noreply.github.com>
Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
2024-03-01 09:32:22 +01:00
Bjorn Lu
f6fc18cc61
Update Vite to latest ( #10259 )
2024-02-28 23:20:17 +08:00
Houston (Bot)
e56c428f3b
[ci] release ( #10236 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-02-28 13:17:40 +00:00
Erika
dbb0d0bd28
Fix Svelte editor tooling not working under relaxed TypeScripts projects ( #10244 )
...
* fix(svelte): Add TypeScript as a peer dep
* Update .changeset/gold-baboons-drum.md
2024-02-27 16:25:59 +01:00
Emanuele Stoppa
2dd00a0024
chore: import sort source code, exception for the astro
package ( #10242 )
...
* chore: import sort source code, exception for the `astro` package
* fix import sorting bug
* Update packages/integrations/lit/server.js
Co-authored-by: Erika <3019731+Princesseuh@users.noreply.github.com>
---------
Co-authored-by: Erika <3019731+Princesseuh@users.noreply.github.com>
2024-02-27 11:15:27 +00:00
Houston (Bot)
6012163d8f
[ci] release ( #10218 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-02-26 15:33:39 +00:00
Ming-jun Lu
ae2a10e1a7
Fix an issue where Vercel adapter may create functions for prerendered routes ( #10231 )
...
* fix: fix an issue where Vercel adapter may create functions for prerendered routes
* test: update test cases in `split.test.js`
* chore: add changeset
* refactor: apply suggested changes from code review
* Apply suggestions from code review
---------
Co-authored-by: Arsh <69170106+lilnasy@users.noreply.github.com>
2024-02-26 18:58:49 +05:30
前端子鱼
84502b4190
fix: svelte 5 mount/hydrate api change. ( #10224 )
2024-02-26 16:10:47 +08:00
Houston (Bot)
3de7b2c7ec
[ci] release ( #10213 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-02-23 09:31:55 -05:00
Matthew Phillips
a013182d32
Fixes edge middleware calling nested routes ( #10215 )
2024-02-23 09:13:10 -05:00
Furkan Erdem
dddbb09fe0
[ci] format
2024-02-23 13:24:45 +00:00
Furkan Erdem
8cd38f0245
Fix(node): Custom headers are not present in responses from standalone Node server in preview mode ( #10208 )
...
* fix(node): add user specified headers to preview server responses
* docs: clarify comment
* style: new line
* test: remove test
* chore: add changeset
2024-02-23 08:23:33 -05:00
Houston (Bot)
3411e05ee4
[ci] release ( #10203 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-02-22 14:37:35 -05:00
Erika
c692d0c66a
fix: try the simple solution ( #10200 )
2024-02-22 14:21:31 -05:00
Houston (Bot)
0b4e5298d2
[ci] release ( #10192 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-02-22 11:17:25 -05:00
Matthew Phillips
3cc2010927
Fix cssesc from breaking browser code ( #10194 )
...
* Fix cssesc from breaking browser code
* Include specific thing instead
* Update .changeset/quick-bottles-march.md
Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
* Fix ISR
* Remove query stripping altogether
* Warn on client usage
* Fix build
* oops
---------
Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
2024-02-22 11:11:41 -05:00
Emanuele Stoppa
1e638c4019
chore: import sorting for test folder and e2e folder ( #10190 )
2024-02-22 13:58:10 +00:00
Houston (Bot)
2c2519204a
[ci] release ( #10177 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-02-21 14:40:40 -06:00
Emanuele Stoppa
6343f6a438
Revert "Add option to prefix sitemap" ( #10179 )
...
* Revert "Add option to prefix sitemap (#9846 )"
This reverts commit 9b78c99275
.
* changeset
* feedabck
* fix incorrect merging
2024-02-21 14:27:00 +00:00
Emanuele Stoppa
062623438b
chore: use biome to sort imports - only test files ( #10180 )
...
* chore: use biome to sort imports
* do the sorting
* Update package.json
Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
---------
Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
2024-02-21 14:08:19 +00:00
Piotr Losiak
8e51bf9ea9
[ci] format
2024-02-21 07:44:29 +00:00
Piotr Losiak
ec7d2ebbd9
fix(sitemap): url when rest parameter is used in page file names ( #9975 )
...
* fix(sitemap): url when rest parameter is used in page file names
* Update .changeset/sour-ties-sparkle.md
Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
* Apply suggestions from code review
---------
Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
2024-02-21 07:43:22 +00:00
Houston (Bot)
052d3271d4
[ci] release ( #10131 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-02-20 20:18:30 +05:30
ktym4a
9b78c99275
Add option to prefix sitemap ( #9846 )
...
* Add option to prefix sitemap
* Fix call resolve twice
* let to const
* Apply suggestions from code review
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
* change changeset patch to minor
* use node:test
* Update changeset
* Add regex validation for prefix
* Update .changeset/eighty-falcons-tease.md
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
* Update prefix regex in SitemapOptionsSchema
---------
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2024-02-20 08:36:09 +00:00
Emanuele Stoppa
ddf0f924b5
chore: move nodetest.js
to test.js
( #10142 )
...
* chore: move `nodetest.js` to `test.js`
* chore: move `nodetest.js` to `test.js`
* remove script
2024-02-16 16:20:49 +00:00
Emanuele Stoppa
2351c5e5de
chore: fix failing tests and skip some ( #10141 )
2024-02-16 14:02:18 +00:00
ktym4a
5ff288f61b
chore: Change strictEqual
to equal
( #10140 )
2024-02-16 11:41:16 +00:00
Bjorn Lu
787e6f5247
Update to Vite 5.1 ( #10120 )
2024-02-15 17:20:38 +08:00
Houston (Bot)
e24db1d8a6
[ci] release ( #10092 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-02-13 14:25:59 -07:00
Ming-jun Lu
bcd9202228
[ci] format
2024-02-13 13:24:10 +00:00
Ming-jun Lu
37c75108e7
chore(@astrojs/vercel): migrate tests to node:test
( #10010 )
...
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
2024-02-13 13:23:07 +00:00
Florian Lefebvre
2ffc5721bc
fix(vercel): trailing slash conflict ( #10082 )
2024-02-13 11:36:22 +00:00
Houston (Bot)
7371e1b5fc
[ci] release ( #10029 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-02-12 14:25:50 +00:00
Emanuele Stoppa
09a6273fe2
test: mocha should ignore *.nodetest.js
files ( #10088 )
2024-02-12 13:03:22 +00:00
Erika
14ce8a6ebf
feat(markdoc): Add support for using a custom component for images ( #9958 )
...
* feat(markdoc): Add support for using a custom component for images
* chore: changeset
* test: add test
* Update .changeset/shaggy-spies-sit.md
Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
---------
Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
2024-02-08 07:54:40 +01:00
Houston (Bot)
ef00224a86
[ci] release ( #10018 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-02-07 23:55:29 +05:30
StandardGage
20ca3154fb
Fix Issues with passing void elements to React with experimentalReactChildren
flag set ( #9849 )
...
* Create simple react element if element has no children
* Fix for when element has text
* add changeset
* minor -> patch
---------
Co-authored-by: Arsh <69170106+lilnasy@users.noreply.github.com>
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2024-02-07 23:38:44 +05:30
Arsh
9836dddf82
[ci] format
2024-02-07 16:10:36 +00:00
Arsh
0699f34d5c
feat(vercel): middleware verification ( #9987 )
...
* feat(vercel): verification for edge middleware
* add changeset
* Apply suggestions from code review
---------
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2024-02-07 21:39:39 +05:30
Houston (Bot)
fa9218e836
[ci] release ( #10014 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-02-07 15:38:45 +01:00
Arsh
b07a3846f5
[ci] format
2024-02-07 13:37:44 +00:00
Arsh
e2fe51c828
feat(vercel): ISR ( #9714 )
...
* feat(vercel): isr
* bypass token
* exclusion of certain paths
* add test
* remove search params in dev mode
* Apply suggestions from code review
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
* Apply suggestions from code review
* Apply suggestions from code review
* fix missing await
* escape src for regex
* cleanup
* revalidate -> expiration
* update type docs
* always exclude /_image
* add changeset
* Apply suggestions from code review
* always create serverless function for /_image
* Apply suggestions from code review
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
* Apply suggestions from code review
---------
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2024-02-07 19:06:37 +05:30
Bjorn Lu
436841e97e
Use eslint-plugin-regexp ( #9993 )
2024-02-07 20:43:19 +08:00
Houston (Bot)
57ab98f531
[ci] release ( #9948 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-02-02 15:59:15 -05:00
Matthew Phillips
bc1742df94
Revert "Provide better ignores for Vercel's file tracer ( #9885 )" ( #9955 )
...
* Revert "Provide better ignores for Vercel's file tracer (#9885 )"
This reverts commit 49e0c24d7f
.
* Changeset
2024-02-02 15:43:30 -05:00
Mohamed
8578159194
[ci] format
2024-02-02 11:18:39 +00:00
Mohamed
f4c2ba870e
chore(@astrojs/integrations/lit): use Node.js for testing ( #9944 )
2024-02-02 11:17:32 +00:00
Fred K. Schott
055bd27d9d
[ci] format
2024-02-01 21:26:08 +00:00
Arsh
4467441896
fix(NodeApp): fix responses with null bodies never completing ( #9931 )
...
* fix(NodeApp): fix responses with null bodies never completing
* add changeset
* add test
* chore(tests): restore correct assertions
* adjust incorrect test
* added Astro.redirect and Response.redirect test cases
* updated incorrect HTTP status
* adjust api-routes.test.js after cherry-pick
* bup markdoc test timeout
---------
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
Co-authored-by: Friedemann Sommer <friedemannsommer@users.noreply.github.com>
2024-02-01 16:24:21 -05:00
Houston (Bot)
2561c99598
[ci] release ( #9904 )
...
* [ci] release
* Update packages/astro/CHANGELOG.md
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
* Update packages/integrations/vercel/CHANGELOG.md
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
* Update packages/astro/CHANGELOG.md
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
---------
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2024-02-01 10:04:19 +00:00
Arsh
d702d6ae50
[ci] format
2024-02-01 07:03:42 +00:00
Arsh
2f6d1faa6f
fix(NodeApp): end with "Internal server error" on mid-stream error ( #9908 )
...
* fix(NodeApp): end with "Internal server error" on mid-stream error
* add changeset
* add test
* Apply suggestions from code review
---------
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2024-02-01 07:02:40 +00:00
Matthew Phillips
520be8b113
[ci] format
2024-01-31 15:31:41 +00:00
Matthew Phillips
49e0c24d7f
Provide better ignores for Vercel's file tracer ( #9885 )
...
* Provide better ignores for Vercel's file tracer
* Improve the changeset
2024-01-31 10:30:35 -05:00
Atharva
38e40f1cc2
chore(@astrojs/vue
): use Node.js for testing ( #9901 )
...
* chore: migrate vue tests to node
* chore: prune chai/mocha from package-lock
2024-01-31 14:58:44 +00:00
Emanuele Stoppa
041fdd5c89
feat(i18n): domain support ( #9143 )
...
* i18n(domains): validation and updated logic (#9099 )
* feat(i18n): domain with lookup table (#9112 )
* chore: add changelog, fix types and enable experimental support in node/vercel
* rebase and update lock file
* chore: fix failing test
* Apply suggestions from code review
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
Co-authored-by: Matthew Phillips <matthew@skypack.dev>
* Update .changeset/tidy-carrots-jump.md
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
* wip
* chore: rebase, conflicts and tests
* update lock file
* chore: correct configuration
* chore: correct configuration
* fix: regressions
* chore: fix conflicts and add more tests
* chore: add more validation
* chore: more tests and add more restrictions
* fix changeset
* change and revert adapters
* add another restriction
* lock file update
* Update packages/astro/src/@types/astro.ts
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
* Update packages/astro/src/@types/astro.ts
Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
* wat
* fix syntax error
* fix config example
* Fix for #9673 (#9680 )
* Fix for #9673
* 🦋 add changeset file
* Update breezy-plants-smoke.md
Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
* ⚡ ️ simplified normalizeConfigPath
---------
Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
* Fix env var replacement for export const prerender (#9807 )
* feat(alpinejs): allow customizing the Alpine instance (#9751 )
* feat(alpinejs): allows customzing the Alpine instance
* chore: add e2e tests
* fix: rename script
* Update index.ts
* fix: lockfile
* [ci] format
* chore: use correct lock file
* chore: rebase
* fix regressions in tests
* fix regressions in tests
* fix build
* add description
* fix missing types
* chore: fix tests, again :D
* eslint
* Update packages/astro/src/@types/astro.ts
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
* chore: address feedback
* chore: fix regressions
* chore: refactor naming
* Update packages/astro/src/core/app/index.ts
Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
* chore: address feedback
* update lock file
* chore: infer routing from options, not strategy
* merge from main
* merge from main
* Experimental support in vercel adapter
* Update packages/astro/src/@types/astro.ts
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
* Update packages/astro/src/@types/astro.ts
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
* Update .changeset/tidy-carrots-jump.md
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
* better changesets
* Updates both experimental.i18nDomains and i18ndomains for experimental strategy
* fix link syntax
* consistent tabs/spaces
* Update packages/astro/src/@types/astro.ts
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
* apply suggestion
---------
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
Co-authored-by: Matthew Phillips <matthew@skypack.dev>
Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
Co-authored-by: Lou Cyx <git@lou.cx>
Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
Co-authored-by: Florian Lefebvre <ematipico@users.noreply.github.com>
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2024-01-31 13:55:03 +00:00
ktym4a
bfc145b778
chore(@astrojs/markdoc): use Node.js for testing ( #9897 )
2024-01-31 10:37:39 +00:00
Ming-jun Lu
8dc7b39a62
chore(@astrojs/sitemap): migrate tests to node:test
( #9892 )
...
* chore(@astrojs/sitemap): migrate tests to `node:test`
* chore(@astrojs/sitemap): remove `chai` and `mocha` from devDependencies
2024-01-31 09:47:33 +00:00
Emanuele Stoppa
1c4a263d8f
Revert "chore(@astrojs/integrations/sitemap): use Node.js for testing ( #9891 )" ( #9900 )
...
This reverts commit 82de54979e
.
2024-01-31 09:47:21 +00:00
Alex Nguyen
11d5e52710
migrate MDX tests ( #9894 )
2024-01-31 08:37:34 +00:00
Mohamed
6dbafb8f5f
[ci] format
2024-01-31 08:32:27 +00:00
Mohamed
82de54979e
chore(@astrojs/integrations/sitemap): use Node.js for testing ( #9891 )
2024-01-31 08:31:12 +00:00
voxel!()
4349254376
chore(@astrojs/integrations/react) Migrate tests to node:test
for @astrojs/react
( #9899 )
...
* Migrate Telemetry tests to node:test
* Remove fallback to chai
* Remove chai and mocha dependencies
* Fix trailing comma
* Fix pnpm-lock.yaml desync
* Add back old tests with progression
* Convert tests to node:test
* Remove unused dependencies
* Remove artifact changes
* Revert more artifacts
* Fix more
2024-01-31 08:29:26 +00:00
Houston (Bot)
3a50cbf6ed
[ci] release ( #9843 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-01-30 15:41:06 +00:00
Furkan Erdem
202d3fbaa9
chore(@astrojs/integrations/tailwind): use Node.js for testing ( #9875 )
...
* chore(@astrojs/integrations/tailwind): use Node.js for testing
* chore: update pnpm lock
2024-01-30 15:17:32 +00:00
Emanuele Stoppa
bcc504dae0
chore: add rule switch-exhaustiveness-check
( #9867 )
...
* chore: add rule `switch-exhaustiveness-check`
* apply feedback
* routing is always defined
2024-01-30 08:35:08 +00:00
Emanuele Stoppa
a3df9d83ca
fix(core): don't noop shared modules ( #9828 )
...
* fix(core): don't noop shared modules
* address feedback
* add test
* changeset
* check astro pages
* address feedback
---------
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2024-01-26 17:17:32 +00:00
Houston (Bot)
8281ebddaa
[ci] release ( #9802 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-01-26 13:30:42 +00:00
Emanuele Stoppa
d777adc5ca
[ci] format
2024-01-25 16:18:40 +00:00
Emanuele Stoppa
fc21a3c306
chore(@astrojs/node): use Node.js for testing ( #9758 )
...
* chore(@astrojs/node): use Node.js for testing
* revert file
* address feedback
* feedback
* Run tests in a single process (#9823 )
* Run tests in a single process
* Make test less flaky
* chore: remove module
---------
Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
2024-01-25 16:17:31 +00:00
Marvin
6206fa91e5
[ci] format
2024-01-25 10:24:46 +00:00
Marvin
a12196d6b5
feat(node): add trailingSlash support ( #9080 )
...
* feat(node): add trailing slash support
* add changeset
* test(node): add base route test in trailing-slash.js
detected an infinite loop in base path when trailingSlash: never
* fix(node): avoid infinite redirect when trailingSlash: never
* address test failures after rebase pt.1
* address test failures after rebase pt.2
---------
Co-authored-by: lilnasy <69170106+lilnasy@users.noreply.github.com>
2024-01-25 10:23:27 +00:00
Jacob Lamb
53f1c95717
Fix: update doc links ( #9804 )
...
* Fix: update doc links
* More links
* Remove docs line
2024-01-25 10:18:06 +00:00
Florian Lefebvre
57ab578bc7
[ci] format
2024-01-24 22:25:03 +00:00
Florian Lefebvre
c820defe65
chore(alpinejs): add e2e test ( #9812 )
...
* fix(rss): rssSchema definition to allow calling standard zod object methods
* fix: condition
* chore(alpinejs): add e2e test
* Discard changes to .changeset/mighty-icons-try.md
---------
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2024-01-24 16:23:45 -06:00
Arsh
3435b7f1e1
fix(vercel): make Astro.cookies work again ( #9809 )
...
* addCookieHeaders
* add changeset
2024-01-24 22:47:33 +05:30
Florian Lefebvre
60136f9c56
[ci] format
2024-01-24 14:44:08 +00:00
Florian Lefebvre
1153331cbb
feat(alpinejs): allow customizing the Alpine instance ( #9751 )
...
* feat(alpinejs): allows customzing the Alpine instance
* chore: add e2e tests
* fix: rename script
* Update index.ts
* fix: lockfile
2024-01-24 14:43:03 +00:00
Bjorn Lu
b3f313138b
Fix env var replacement for export const prerender ( #9807 )
2024-01-24 14:42:24 +00:00
Houston (Bot)
eaf483fe73
[ci] release ( #9785 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-01-23 19:27:10 -05:00
Oliver Speir
f04b563039
[ci] format
2024-01-23 23:19:35 +00:00
Oliver Speir
df37366556
MDX remark image props ( #9753 )
...
* rearrange plugins and add props to Image component
* add tests and update lockfile
* add changeset
* re-rearrange plugin order, gfm/smartypants then user defined then image related then shiki/prism
* make more generic
* add more/better tests
* remove unused logger
---------
Co-authored-by: Erika <3019731+Princesseuh@users.noreply.github.com>
2024-01-23 18:18:09 -05:00
Stefano
9aa7a5368c
fix: vite security issue ( #9773 )
2024-01-23 20:48:20 +08:00
Houston (Bot)
bfd30041cf
[ci] release ( #9772 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-01-22 18:37:25 -05:00
Arsh
3a233c9ea2
[ci] format
2024-01-22 23:35:50 +00:00
Arsh
05adaaa2d2
fix(vercel): edge middleware ( #9585 )
...
* create vercel edge middleware
remove getVercelOutput
* handle node built-in modules
* edge function to node fetch
* adjust tests
* add test
* add changeset
* function paths as constants
* ensure node built-in modules are namespaced with `node:`
* x-astro-path as constant
* appease linter
* add comments for ASTRO_PATH_HEADER and ASTRO_LOCALS_HEADER
---------
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2024-01-23 05:04:48 +05:30
Houston (Bot)
2b5f1d6be8
[ci] release ( #9728 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-01-22 15:11:07 -05:00
Houston (Bot)
2292d0b580
[ci] release ( #9709 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-01-18 10:30:19 +00:00
André Alves
b325fada56
@astrojs/sitemap: Fixes generated URLs when using a base
with a SSR adapter ( #9704 )
...
* Fix base path formatting for ssr adapters
* Update .changeset/curly-seals-count.md
Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
---------
Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
2024-01-17 13:33:23 +00:00
Degreat
e9a72d9a91
Bump shikiji, use transformers API, expose transformers API ( #9643 )
...
* Bump shikiji, use transformers API, expose transformers API
* update astro config schema
* include shikiji-core
* Use default import
* address css-variables theme
* Remove shikiji markdoc
* Improve schema transformers handling
* Fix tests
* Update changeset
* bump shikiji version
* Update .changeset/six-scissors-worry.md
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
* Update wording
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
---------
Co-authored-by: bluwy <bjornlu.dev@gmail.com>
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2024-01-17 13:13:05 +00:00
Emanuele Stoppa
9680cf2780
[ci] format
2024-01-17 13:11:46 +00:00
Emanuele Stoppa
d6edc75408
Adapter enhancements ( #9661 )
...
* quality of life updates for `App` (#9579 )
* feat(app): writeResponse for node-based adapters
* add changeset
* Apply suggestions from code review
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
* Apply suggestions from code review
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
* add examples for NodeApp static methods
* unexpose createOutgoingHttpHeaders from public api
* move headers test to core
* clientAddress test
* cookies test
* destructure renderOptions right at the start
---------
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
* Fallback node standalone to localhost (#9545 )
* Fallback node standalone to localhost
* Update .changeset/tame-squids-film.md
* quality of life updates for the node adapter (#9582 )
* descriptive names for files and functions
* update tests
* add changeset
* appease linter
* Apply suggestions from code review
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
* `server-entrypoint.js` -> `server.js`
* prevent crash on stream error (from PR 9533)
* Apply suggestions from code review
Co-authored-by: Luiz Ferraz <luiz@lferraz.com>
* `127.0.0.1` -> `localhost`
* add changeset for fryuni's fix
* Apply suggestions from code review
* Apply suggestions from code review
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
---------
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
Co-authored-by: Luiz Ferraz <luiz@lferraz.com>
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
* chore(vercel): delete request response conversion logic (#9583 )
* refactor
* add changeset
* bump peer dependencies
* unexpose symbols (#9683 )
* Update .changeset/tame-squids-film.md
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
---------
Co-authored-by: Arsh <69170106+lilnasy@users.noreply.github.com>
Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
Co-authored-by: Luiz Ferraz <luiz@lferraz.com>
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2024-01-17 13:10:43 +00:00
Bjorn Lu
1539e04a8e
Simplify HMR for circular imports and CSS ( #9706 )
2024-01-17 11:27:21 +08:00
Houston (Bot)
6c64b149f8
[ci] release ( #9669 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-01-16 11:45:09 +00:00
Martin Trapp
87ede76b3b
[ci] format
2024-01-11 18:28:28 +00:00
Martin Trapp
cdf8ce0627
Force re-execution of Partytown's head snippet on view transitions ( #9666 )
...
* Remove the header script before a view transition takes place to force a reload on the next page
* Add changeset
* Save another char
2024-01-11 19:26:49 +01:00
Houston (Bot)
7a275c1648
[ci] release ( #9625 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-01-11 16:32:08 +08:00
Bjorn Lu
e72efd6a9a
Use esbuild for env replacement ( #9652 )
2024-01-11 12:06:14 +08:00
Arsh
e50d75f41f
[ci] format
2024-01-10 14:53:36 +00:00
Arsh
d7f1903cde
fix(vercel): fallback to static 404.html ( #9648 )
2024-01-10 14:52:29 +00:00
Houston (Bot)
75084b49d0
[ci] release ( #9609 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-01-06 02:15:45 +05:30
Bjorn Lu
a1bb5fea55
Fix class property Vue hydration error ( #9620 )
2024-01-05 15:03:47 -05:00
Nate Moore
8b8bf603b1
[ci] format
2024-01-05 19:31:59 +00:00
Nate Moore
a1c31665cb
Ensure appEntrypoint
is referenced in Vue components ( #9490 )
...
* fix(#6827 ): ensure `appEntrypoint` is referenced in Vue components
* chore: add test
* chore: add changeset
* fix: windows handling
* Update packages/integrations/vue/src/index.ts
Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
* chore: address review feedback
* chore: update lockfile
---------
Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
2024-01-05 13:30:53 -06:00
Arsh
bd3f36e6ab
[ci] format
2024-01-05 18:28:59 +00:00
Arsh
22a5405b4a
fix(vercel): include 404.html as fallback in the static adapter ( #9591 )
...
* include 404.html as fallback
* add changeset
* include only when 404.astro exists
* add test
* route.component -> route.pathname
2024-01-05 23:57:48 +05:30
Arsh
218ea0781b
[ci] format
2024-01-04 16:38:10 +00:00
Arsh
bd8fa7acd2
chore(vercel): deprecate speedInsights
( #9598 )
...
* deprecate speedInsights config
* add changeset
2024-01-04 16:37:13 +00:00
Marvin
2e4d110a87
[solidjs integration] Update solidjs dependency ( #9355 )
...
* update solidjs dependency
* update lockfile
* solidjs integration: update vite-plugin-solid
* update lockfile
* solidjs integration: decrease required version to match vite plugin
* Update moody-years-worry.md
---------
Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
2024-01-04 16:25:53 +00:00
Houston (Bot)
e862d070b4
[ci] release ( #9580 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-01-04 15:16:31 +00:00