0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2024-12-30 22:03:56 -05:00
Commit graph

8269 commits

Author SHA1 Message Date
Matthew Phillips
41f286c3e9 Pass slots to server islands 2024-07-03 16:21:33 -04:00
Matthew Phillips
600cc65335 linting 2024-07-03 09:59:16 -04:00
Matthew Phillips
dc376448bb Adds tests for server islands 2024-07-01 16:19:22 -04:00
Matthew Phillips
a86b43d7b1 Use renderChunk instead of generateBundle 2024-07-01 11:18:17 -04:00
Matthew Phillips
567e6a6d25 Add comment about defaultRoutes 2024-07-01 11:04:37 -04:00
Matthew Phillips
ddf49ef54e editor tips 2024-07-01 11:02:30 -04:00
Matthew Phillips
c8346fff13 Use command instead 2024-07-01 11:01:53 -04:00
Matthew Phillips
df8d5f20c0 Add support for the build to Server Islands 2024-06-28 09:01:58 -04:00
Matthew Phillips
324f74e55d Add server:defer type 2024-06-25 08:56:34 -04:00
Matthew Phillips
5d09b30051 astro metadata can be undefined 2024-06-21 14:52:06 -04:00
Matthew Phillips
1da675c1fd Fix build 2024-06-21 14:25:50 -04:00
Matthew Phillips
b5ceb65ac2 Merge branch 'main' into server-islands 2024-06-21 14:08:11 -04:00
Bjorn Lu
ae3b096892 [ci] format 2024-06-21 16:14:12 +00:00
Bjorn Lu
b6afe6a782
Handle encoded image paths in markdown (#11310) 2024-06-21 17:13:21 +01:00
Simon He
89b46b8e6e
refactor(plugin-analyzer): code refactor (#11307)
* refactor(plugin-analyzer): code refactor

* chore: changeset

* chore: update

* chore: update

* chore: update
2024-06-21 14:18:52 +01:00
Martin Trapp
04121f4530 [ci] format 2024-06-21 04:59:06 +00:00
Martin Trapp
0622567326
Fall back to page reload when redirected to a cross origin URL (#11302)
* fall back to page reload when redirected to a cross origin URL

* Make redirect work with dynamically assigned ports

* undo
2024-06-21 06:58:18 +02:00
Emanuele Stoppa
8ce66f2ef7
fix(rss): correct types for RSSFeedItem (#11299) 2024-06-20 22:14:49 +01:00
Matthew Phillips
c04a894f22 Fix build, a little 2024-06-20 16:21:37 -04:00
Matthew Phillips
0dc3a315bf Remove extra stuff 2024-06-20 16:18:01 -04:00
Matthew Phillips
cbdd13112b Server Islands 2024-06-20 16:08:36 -04:00
Florian Lefebvre
dbbd0a22e2 [ci] format 2024-06-20 14:19:27 +00:00
Florian Lefebvre
7f956f0795
feat(underscore-redirects): add support for force (#11271)
Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
2024-06-20 16:18:39 +02:00
Florian Lefebvre
5848d97867
fix: astro:env getSecret (#11296) 2024-06-20 15:54:54 +02:00
Mark Gaze
e67d7e66a9 [ci] format 2024-06-20 12:31:41 +00:00
Mark Gaze
9056d8dd05
Add a test to ensure that types.d.ts is valid (#11277) 2024-06-20 13:30:43 +01:00
Emanuele Stoppa
dc41ece28f
chore(deps): remove deprecated pkg, preferred-pm now ships its types (#11294) 2024-06-20 13:25:08 +01:00
Houston (Bot)
58a321193e
[ci] release (#11276)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-06-20 11:58:37 +01:00
Matt Kane
fd3645fe83
fix: allow cookies to be set in rewritten responses (#11280)
* fix: allow cookies to be set in rewritten responses

* Merge cookies

* Add support for endpoints and more tests
2024-06-20 11:08:17 +01:00
Jacob Jenkins
7f8f347995
bug: removes type override from defineAction (#11292)
* bug: removes type override

* add changeset

* Update .changeset/quiet-doors-eat.md

Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>

---------

Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
2024-06-20 08:34:11 +01:00
Emanuele Stoppa
53e8bb6d5f
chore: update biome (#11288) 2024-06-20 07:10:23 +01:00
Luiz Ferraz
42a6eceab6 [ci] format 2024-06-19 15:53:24 +00:00
Luiz Ferraz
5a9c9a60e7
fix(astro): type generation for empty collections (#11264)
* fix(astro): type generation for empty collections

* Update .changeset/light-bugs-shake.md

Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>

---------

Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
2024-06-19 16:52:34 +01:00
Braden Wiggins
246bd7a516 [ci] format 2024-06-19 15:24:28 +00:00
Braden Wiggins
4b46bd9bdc
feat: add ShikiTransformer support to the <Code /> component (#11197)
* feat: add `transformers` prop to `<Code />` component

* chore: changeset

* Update .changeset/fluffy-carrots-search.md

Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>

* chore: add example

* fix: changelog example typo

Co-authored-by: Reuben Tier <64310361+TheOtterlord@users.noreply.github.com>

* fix: change backdrop-filter to filter

Co-authored-by: Reuben Tier <64310361+TheOtterlord@users.noreply.github.com>

* Update .changeset/fluffy-carrots-search.md

Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>

---------

Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
Co-authored-by: Reuben Tier <64310361+TheOtterlord@users.noreply.github.com>
Co-authored-by: Matthew Phillips <matthew@matthewphillips.info>
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2024-06-19 11:23:35 -04:00
Florian Lefebvre
5c56324c43 [ci] format 2024-06-19 14:01:10 +00:00
Florian Lefebvre
9042be0491
feat: 500.astro improvements (#11134)
* feat: better error handling

* feat: allow passing props to render context render

* feat: work on tests

* Update 500.astro

* feat: test preview custom 500

* feat: test for custom 500 failing

* feat: add changeset

* Update rich-dolls-compete.md

* Delete packages/astro/e2e/custom-500.test.js

* Apply suggestions from code review

Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>

* fix: merge

* Update packages/astro/test/custom-500.test.js

Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>

* Apply suggestions from code review

Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>

* Update packages/astro/src/core/app/index.ts

* feat: update

---------

Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
Co-authored-by: Matthew Phillips <matthew@skypack.dev>
2024-06-19 10:00:16 -04:00
Emanuele Stoppa
c44f7f4bab [ci] format 2024-06-19 13:26:23 +00:00
Emanuele Stoppa
ea987d7da5
fix(rewrite): allow to rewrite 404 and take base into consideration (#11272)
* fix(rewrite): allow to rewrite 404

* add changesets

* rebase

* apply suggestion

* Update .changeset/honest-shirts-trade.md

Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>

---------

Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
2024-06-19 14:25:27 +01:00
Matt Kane
bc3c3296bf [ci] format 2024-06-19 11:43:41 +00:00
Matt Kane
f4b029b082
fix: support HTTP/2 in astro dev (#11284)
* wip

* chore: add tests

* Add changeset

* Add comments
2024-06-19 12:42:50 +01:00
Matt Kane
cb4d07819f
fix(astro): don't run middlewarein dev for prerendered 404 (#11273) 2024-06-18 16:04:59 +01:00
Matt Kane
080156fc65 [ci] format 2024-06-18 13:49:42 +00:00
Matt Kane
9a08d74bc0
fix(astro): prevent ESM imports being passed directly to getImage (#11279)
* fix(astro): prevent ESM imports being passed directly to getImage

* Apply suggestions from code review

Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>

---------

Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2024-06-18 14:48:50 +01:00
Yufan Sheng
bab700d690
fix(astro): duplicated brackets are generated in data collections. (#11275)
* fix(astro): duplicated brackets are generated in data collections.

This PR fixed #11274

* Create duplicated-brackets-generation.md
2024-06-17 12:46:57 -04:00
Houston (Bot)
83c565b36c
[ci] release (#11233)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-06-17 15:39:57 +02:00
wackbyte
7d59750661
chore: logging cleanup (#11263) 2024-06-17 15:05:48 +08:00
Bjorn Lu
6fcc246be4 [ci] format 2024-06-17 06:24:05 +00:00
Bjorn Lu
e22be22e57
Refactor prerendering chunk handling (#11245) 2024-06-17 14:23:10 +08:00
renovate[bot]
68f1d0d13e
chore(deps): update all non-major dependencies (#11269)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-17 14:18:41 +08:00