0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2024-12-16 21:46:22 -05:00
Commit graph

9106 commits

Author SHA1 Message Date
Florian Lefebvre
25c1e597f1 [ci] format 2024-12-16 14:53:44 +00:00
Florian Lefebvre
564ac6c2f2
feat: route manifest refactor (#12597)
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
2024-12-16 15:52:54 +01:00
Florian Lefebvre
7c7398c046
fix(cli): let sync throw in check (#12726) 2024-12-13 16:37:08 +01:00
Emanuele Stoppa
901c21f4f0
test: make tailwind test more stable (#12732) 2024-12-13 14:37:25 +00:00
JoeMorgan
8b1cecd6b4
Add inert attribute to boolean list (#12729)
* added changeset

* added changeset
2024-12-13 13:59:02 +00:00
Adam Argyle
ee66a45b25
Adds closedby to dialog interface (#12728)
* Adds `closedby` to dialog interface

Standards status https://chromestatus.com/feature/5097714453577728

* Add changeset

---------

Co-authored-by: Chris Swithinbank <swithinbank@gmail.com>
2024-12-13 10:40:23 +00:00
Matt Kane
72f30ddbf3 [ci] format 2024-12-13 07:08:08 +00:00
Matt Kane
029661daa9
fix: use atomic writes for data store file operations (#12715)
* fix: use atomic writes for data store file operations

* Put tmp alongside the target

* Implement locking

* Refactor

* Wording
2024-12-13 07:07:21 +00:00
mtwilliams
799c8676df [ci] format 2024-12-12 13:30:38 +00:00
mtwilliams
e3bfd93969
fix(i18n): parse params and props correctly with fallback (#12709)
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
2024-12-12 13:29:46 +00:00
Matt Kane
358eae83b7
chore: fixes the version of astrojs/db (#12719) 2024-12-12 10:29:18 +00:00
Magomed Chabaev
eef4b740ff [ci] format 2024-12-11 16:07:47 +00:00
Magomed Chabaev
14dffcc3af
fix(actions): support trailing slash (#12657)
* fix(actions): support trailing slash

* refactoring
2024-12-11 16:06:57 +00:00
Emanuele Stoppa
ccc5ad1676
fix(i18n): manual routing with rewrite (#12718) 2024-12-11 15:23:50 +00:00
Florian Lefebvre
f1f3bc0432 [ci] format 2024-12-11 15:03:05 +00:00
Florian Lefebvre
51ced3dba8 [ci] format 2024-12-11 15:02:16 +00:00
Florian Lefebvre
110fc01a5b
chore: remove unused imports (#12696) 2024-12-11 16:01:06 +01:00
Anton Begehr
dff04a4b15 [ci] format 2024-12-11 12:24:49 +00:00
Anton Begehr
618de283f5
🐛 Fix isDbError()-guard does not work (#12416)
* isDbError() does not work
Fixes #12400

* lint&format

* Update packages/db/src/runtime/virtual.ts

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

* use isDbError instead of "instanceof LibsqlError"

* unused imports

* mv isDbError to utils

* Update .changeset/breezy-radios-grab.md

---------

Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
2024-12-11 12:23:53 +00:00
Houston (Bot)
929ce28325
[ci] release (#12698)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-12-11 11:07:58 +00:00
Matt Kane
b3dfd9b01b [ci] format 2024-12-11 11:07:45 +00:00
Matt Kane
99266fa289
chore: refactor query param strip (#12714) 2024-12-11 11:06:55 +00:00
Matt Kane
d33c2151a3 [ci] format 2024-12-11 10:22:32 +00:00
Matt Kane
b01c74aecc
fix: strip query string before checking md extension (#12712) 2024-12-11 10:21:44 +00:00
Brian Kimball
97c9265754
Add React 19 stable as peer dependency for React integration (#12678)
* Add React 19 as peer dependency

* Add React 19 as peer dependency

---------

Co-authored-by: bskimball <brian.kimball@bdkonline.com>
2024-12-11 09:02:41 +00:00
Emanuele Stoppa
2aaed2d2a9
fix(middleware): don't import via entrypoint (#12707)
* fix(middleware): don't import via entrypoint

* fix(middleware): don't import via entrypoint
2024-12-10 20:48:38 +00:00
Matt Kane
f6c4214042
fix: correctly check isOnline with port (#12706) 2024-12-10 20:00:58 +00:00
Juraj Kapsz
316959355c
fix: xclip process runtime (#12658)
xclip process made `spawnSync` not [to return](https://nodejs.org/api/child_process.html#child_processspawnsynccommand-args-options:~:text=with%20the%20exception%20that%20the%20function%20will%20not%20return%20until%20the%20child%20process%20has%20fully%20closed). Further info at [Stack Overflow](https://stackoverflow.com/questions/52169670/node-child-process-execsync-hangs-with-xclip).

Also updated the xclip arguments as per man pages for better
familiarity, although the used arguments worked.
2024-12-10 12:43:44 +00:00
Matt Kane
0d1eab560d
fix: escape content module import paths (#12705) 2024-12-10 10:23:07 +00:00
Emanuele Stoppa
70cbd47694 [ci] format 2024-12-10 09:54:52 +00:00
Emanuele Stoppa
495f46bca7
fix(svg): conditional opt-in (#12694)
* fix(svg): conditional opt-in

* add todo

* Update packages/astro/src/assets/utils/node/emitAsset.ts

Co-authored-by: Erika <3019731+Princesseuh@users.noreply.github.com>

---------

Co-authored-by: Erika <3019731+Princesseuh@users.noreply.github.com>
2024-12-10 09:53:58 +00:00
Amumu
7dc2fca2ee
chore: fix vite peer dependency issue for vue integration (#12688)
* chore: fix peer dependency issue for vue integration

* add changesets
2024-12-10 08:37:56 +00:00
Matt Kane
1c4a032247
fix: escape image filenames (#12697) 2024-12-09 15:54:33 +00:00
Houston (Bot)
163cfd67f5
[ci] release (#12650)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-12-09 16:38:09 +01:00
Matt Kane
a203d5dd58
fix: catch image errors correctly (#12695) 2024-12-09 15:10:17 +00:00
Florian Lefebvre
2b53588772 [ci] format 2024-12-09 12:30:37 +00:00
Florian Lefebvre
a9373c0c9a
fix: do not freeze process.env in dev (#12585)
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
2024-12-09 13:29:44 +01:00
Sarah Rainsberger
e21c7e67fd
[error message] updates docs link (#12653) 2024-12-06 09:14:06 -04:00
Emanuele Stoppa
72c1d5d531 [ci] format 2024-12-06 10:32:09 +00:00
Emanuele Stoppa
8f8f15ca1d
fix(routing): don't attach locals to request (#12647)
* fix(routing): don't attach locals to request

* apply feedback
2024-12-06 10:31:23 +00:00
Bjorn Lu
a71e9b93b3
Fix frontmatter parsing with utf8 bom (#12664) 2024-12-06 18:08:39 +08:00
Bjorn Lu
f13417bfbf
Only parse frontmatter at top of file (#12646) 2024-12-05 22:50:29 +08:00
Sean van Zuidam
87231b1168
Bugfix/extra whitespace in code (#12570)
Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
2024-12-05 22:50:17 +08:00
Houston (Bot)
a5b17359c1
[ci] release (#12617)
* [ci] release

* Update packages/astro/CHANGELOG.md

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
2024-12-05 13:26:19 +00:00
Emanuele Stoppa
e216250146
fix(ssr): duplicate custom headers (#12518)
* fix(ssr): duplicate custom headers

* rebase
2024-12-05 13:18:00 +00:00
Matthew Phillips
d14d967b5f [ci] format 2024-12-05 13:11:43 +00:00
Matthew Phillips
306c9f9a9a
Keep clientAddress on cloned requests (#12613)
* Keep clientAddress on cloned requests

User observed that calling actions resulted in an error about not having
clientRequest available.

This is because the user had a middleware that cloned the request, which
loses all of the symbols.

The fix is to pass the clientAddress directly into the RenderContext.
This deprecates the `clientAddressSymbol`, but we need to keep it for
now because some adapters set the clientAddress that way.

Note that similar fixes should be done for other symbol usage on the
Request object (locals is one).

* changeset

* fix build stuff

* Update packages/astro/src/core/render-context.ts

* Update changeset
2024-12-05 13:10:21 +00:00
Kun Yan
5b9b618183
fix(@astrojs/rss): use standard rss content type, add utf-8 charset (#12644)
* fix(@astrojs/rss): use standard rss content type, add utf-8 charset

* Update .changeset/loud-cobras-rhyme.md

---------

Co-authored-by: Matt Kane <m@mk.gg>
2024-12-05 13:04:18 +00:00
Matt Kane
86abfa5c81 [ci] format 2024-12-05 13:02:20 +00:00
Matt Kane
48ca399788
fix: correctly copy to clipboard in astro info (#12641)
* fix: correctly copy to clipboard on mac

* Add platform-specific clipboard handling for Linux

* Wording

* Update .changeset/angry-pumas-act.md

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

* Use console.info

---------

Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
2024-12-05 13:01:13 +00:00