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
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
renovate[bot]
67d5a73b12
fix(deps): update dependency @vitejs/plugin-vue-jsx to v4 ( #11270 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-17 14:04:38 +08:00
Joseph Mawa
233fee9c04
Add config object to the remarkToc plugin in the astro config ( #11087 )
...
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2024-06-15 12:41:13 -03:00
Matthew Phillips
1296cb9b1a
[ci] format
2024-06-14 20:30:45 +00:00
Matthew Phillips
f5f8ed275b
Fix backwards compat with Astro <= 4.9 ( #11261 )
2024-06-14 16:29:53 -04:00
Łukasz Stankiewicz
9b030239cb
Import Database type from correct file ( #11262 )
...
* Import Database type from correct file
* Add changeset
2024-06-14 16:29:21 -04:00
Szymon Chmal
6b541ec468
[ci] format
2024-06-14 20:22:00 +00:00
Szymon Chmal
ba2b14cc28
fix(astro): prerendering issue when path contains underscore ( #11243 )
...
* fix(astro): prerendering issue when path contains underscore
* chore: add missing files
* Update .changeset/honest-ravens-double.md
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
---------
Co-authored-by: Matthew Phillips <matthew@matthewphillips.info>
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
2024-06-14 16:21:11 -04:00
Matt Kane
ec94bb4a4e
[ci] format
2024-06-14 12:58:11 +00:00
Matt Kane
d996db6f0b
fix: throw error if rewrite is attempted after body is used ( #11258 )
...
* fix: throw error if rewrite is attempted after body is used
* Apply suggestions from code review
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
---------
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2024-06-14 13:57:17 +01:00
Mark Gaze
537e971372
[ci] format
2024-06-14 10:39:09 +00:00
Mark Gaze
de60c69aa0
Fix a performance issue with JSON schema generation ( #11249 )
2024-06-14 11:38:20 +01:00
Jamie Barton
773828a056
[docs] update JSDoc for API Reference links ( #11252 )
2024-06-14 18:12:00 +08:00
Emanuele Stoppa
d4336a5470
[ci] format
2024-06-14 05:53:12 +00:00
Emanuele Stoppa
fd9da98b19
feat: refine container APIs for renderers ( #11251 )
2024-06-14 06:52:17 +01:00
Szymon Chmal
1b42229f51
fix(markdown-remark): mark prism package as an internal dependency ( #11250 )
2024-06-14 12:41:26 +08:00
Emanuele Stoppa
a6df7e877f
[ci] format
2024-06-13 13:05:54 +00:00
Emanuele Stoppa
4385bf7a4d
feat(@astrojs/react): export renderer for easy loading ( #11234 )
...
* wip
* feat(@astrojs/react): export `renderer` for easy loading
* restore change
* chore: address feedback
* revert changes
* revert changes to react integration
* update changeset
2024-06-13 14:05:06 +01:00
Emanuele Stoppa
d07d2f7ac9
fix: better DX for 500.astro in local development ( #11244 )
...
* wip
* catch error in route.ts
* catch error in route.ts
* chore: tidy up error cases
* log the original error
* rebase
* chore: reduce the scope of the 500 handling
* we should not have a default 500
* remove props
* remove unsure function, not needed
* Update packages/astro/src/core/routing/astro-designed-error-pages.ts
Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
* Update packages/astro/src/core/constants.ts
Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
* changeset
* relax the assertion
* Update packages/astro/src/vite-plugin-astro-server/route.ts
Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
* relax the assertion
---------
Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
2024-06-13 10:41:01 +01:00
Matt Kane
8036b9a3fc
[ci] format
2024-06-12 12:46:40 +00:00
Matt Kane
39bc3a5e81
fix(astro): handle symlinked content collection directories ( #11236 )
...
* fix(astro): handle symlinked content collection directories
* CHeck content dir exists and is a dir
* Handle symlinks when generating chunk names
* wip windows log
* Use posix paths
* Fix normalisation
* :old-man-yells-at-windows-paths:
* Update .changeset/fifty-clouds-clean.md
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
* Changes from review
* Add logging
---------
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
2024-06-12 13:45:47 +01:00
Matt Kane
2851b0aa2e
fix(astro): ignore query params when matching .astro extension ( #11240 )
...
* fix: ignore query params when matching .astro extension
* Changeset
* Add test
2024-06-12 12:44:44 +01:00
Emanuele Stoppa
a8c7ceca43
[ci] format
2024-06-12 10:29:16 +00:00
Emanuele Stoppa
e4fc2a0baf
fix: provide a plugin to resolve the virtual module ( #11242 )
2024-06-12 11:28:26 +01:00
Florian Lefebvre
769f11f23f
[ci] format
2024-06-11 18:18:03 +00:00
Florian Lefebvre
94ac7efd70
feat(astro): address astro env rfc feedback ( #11213 )
...
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2024-06-11 20:17:16 +02:00
Florian Lefebvre
02e561723f
feat: upgrade pnpm ( #11146 )
2024-06-11 15:49:03 +02:00
Matthew Phillips
ebe01c7aff
[ci] format
2024-06-11 13:33:05 +00:00