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

2916 commits

Author SHA1 Message Date
Bjorn Lu
cdabf6ef02
Remove support for simple objects in endpoints (#9181)
* Deprecate simple object from endpoints

* Update changeset

* Add missing Response return

Co-authored-by: Happydev <81974850+MoustaphaDev@users.noreply.github.com>

* Update .changeset/clever-beds-notice.md

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

---------

Co-authored-by: Happydev <81974850+MoustaphaDev@users.noreply.github.com>
Co-authored-by: Matthew Phillips <matthew@skypack.dev>
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2023-11-27 12:51:57 -05:00
Bjorn Lu
37697a2c55
Remove shiki lang path property support (#9196) 2023-11-28 00:46:46 +08:00
Bjorn Lu
153a5abb90
Remove deprecated features from Astro 3.0 (#9168) 2023-11-28 00:44:20 +08:00
Bjorn Lu
c7953645ee
Remove deprecated markdown-remark APIs (#9182) 2023-11-28 00:32:39 +08:00
Bjorn Lu
a145ac07e7
Remove vercel deprecated analytics option (#9184) 2023-11-24 22:00:03 +08:00
Bjorn Lu
bd0c2e9ae3
Rename entryPoint to entrypoint (#9161)
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2023-11-22 23:05:19 +08:00
bluwy
19fd19f393 Merge branch 'main' into next 2023-11-22 22:37:18 +08:00
Houston (Bot)
4d1274c479
[ci] release (#9165)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-11-22 09:14:05 -05:00
Matthew Phillips
cba6cf32d9
Move the Picture component out of experimental (#9166)
* Move the Picture component out of experimental

* Update .changeset/pretty-ducks-hang.md

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

---------

Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2023-11-22 09:09:25 -05:00
Bjorn Lu
710be505c9
Refactor virtual modules exports (#9150)
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2023-11-22 21:11:57 +08:00
Smit Barmase
0ea4bd47e0
Fallback to tap prefetch strategy on slow connection (#9092)
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
2023-11-22 21:10:09 +08:00
Martin Trapp
c87223c21a
New events for Astro's view transition API (#9090)
* draft new view transition events

* initial state for PR

* remove intraPageTransitions flag based on review comments

* add createAnimationScope after review comments

* remove style elements from styles after review comments

* remove quotes from animation css to enable set:text

* added changeset

* move scrollRestoration call from popstate handler to scroll update

* Update .changeset/few-keys-heal.md

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

* Less confusing after following review comments

* Less confusing after following review comments

---------

Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2023-11-22 07:54:09 -05:00
Bjorn Lu
addb57c8e8
Fix RemarkRehype types (#9147) 2023-11-22 11:17:29 +08:00
Bjorn Lu
0fe3a7ed5d
Remove vendored Vite importMeta.d.ts (#9149) 2023-11-22 11:17:21 +08:00
Houston (Bot)
ac908b7839
[ci] release (#9155)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-11-21 16:44:16 -05:00
Emanuele Stoppa
7ff8d62bf8
Revert "fix(i18n): fallback should create consistent directories (#9142… (#9157) 2023-11-21 15:40:59 -06:00
Arsh
af43fb5172
fix(react): make children undefined with experimentalReactChildren (#9141)
* add test script

* make children `undefined` with self-closing tags

* add changeset

* refactor: simplify
2023-11-21 22:49:43 +05:30
Houston (Bot)
d9e72cea39
[ci] release (#9116)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-11-21 22:52:08 +08:00
Bjorn Lu
abf601233f
Update all dependencies (#9138)
Co-authored-by: delucis <delucis@users.noreply.github.com>
2023-11-21 12:09:19 +08:00
Martin Trapp
7742fd7dc2
Extend the 'click' listener of view transitions to handle links in SVGs and areas in image maps (#9140)
* handle clicks on SVGAElements and image maps

* add changeset
2023-11-20 21:10:35 +01:00
Emanuele Stoppa
7d55cf68d8
fix(i18n): fallback should create consistent directories (#9142) 2023-11-20 12:23:52 -06:00
Fred K. Schott
6201bbe96c
Logging rewrite 2 (#9105)
* update logging

add back warning for header access

improve labels and formatting

improve error logging

remove outdated error

fix build

new error messages and hints

new error messages and hints

* walk back error message changes

* fix rebase issues

* add changeset

* Remove accidental log

* revert bad env change

* Update index.ts

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

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

---------

Co-authored-by: Erika <3019731+Princesseuh@users.noreply.github.com>
2023-11-18 00:38:54 -08:00
Emanuele Stoppa
306781795d
fix(i18n): review fallback system (#9119) 2023-11-17 13:18:40 -06:00
Zhang Zhipeng
f4efd1c808
Warn if astro add fetch failed with non 404 status (#9121)
Co-authored-by: bluwy <bjornlu.dev@gmail.com>
2023-11-17 22:28:47 +08:00
Bjorn Lu
1c48ed2865
Support Vite 5 (#9122) 2023-11-17 22:02:05 +08:00
Emanuele Stoppa
e3dce215a5
feat(i18n): add Astro.currentLocale (#9101) 2023-11-16 08:54:10 -06:00
bluwy
cd08787518 Enter pre mode for Astro 4 beta 2023-11-16 21:53:20 +08:00
Houston (Bot)
8366cd7775
[ci] release (#9107)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-11-16 21:50:47 +08:00
brandonsdebt
ac5633b8f6
Add compatibility with cloudflare node (#8925) 2023-11-16 21:47:46 +08:00
pilcrowOnPaper
c9487138d6
Cancel response stream when connection closes (#9071)
* cancel stream on close

* add changeset

* add test

* Update .changeset/modern-ways-develop.md

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

---------

Co-authored-by: lilnasy <69170106+lilnasy@users.noreply.github.com>
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2023-11-16 05:09:41 +05:30
Emanuele Stoppa
536c6c9fd3
feat(i18n): apply specific routing logic only to pages (#9091) 2023-11-15 13:43:57 -05:00
Erika
60e8210b0c
feat(dev-overlay): Hide plugins into a separate menu when there's too many enabled (#9102) 2023-11-15 16:50:11 +01:00
Bjorn Lu
a600c14837
Support Svelte 5 (experimental) (#9098)
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2023-11-15 23:40:23 +08:00
Houston (Bot)
e63aac94ca
[ci] release (#9078)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-11-14 23:20:35 +08:00
Bjorn Lu
4537ecf0d0
Refactor shikiji syntax highlighting code (#9083) 2023-11-14 23:00:17 +08:00
Rishi Raj Jain
84312f24f8
fix: Query params trigger the trailingSlash error in preview mode (#9045) 2023-11-14 17:39:37 +08:00
Alexander Niebuhr
b895113a0a
fix(assets): bundling regression for specific config on non-Node runtimes (#9087) 2023-11-14 07:53:14 +01:00
Emanuele Stoppa
fc66ecff18
fix(i18n): middleware should consider trailing slash when redirecting (#9085) 2023-11-13 14:12:46 -05:00
Matthew Phillips
045e5ec979
Support formmethod and formaction in ViewTransitions (#9084)
* Support formmethod and formaction in ViewTransitions

* Adding a changeset

* Update .changeset/new-pets-fail.md

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

* Be less clever

---------

Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
2023-11-13 14:03:07 -05:00
Erika
5ef89ef33e
feat(overlay): Add a settings panel (#9058) 2023-11-13 13:09:32 +01:00
Erika
c5dc8f2ec9
fix(assets): Only use src to hash files generated by the passthrough service (#9075)
* fix(assets): Only use src to hash files generated by the passthrough service

* chore: changeset
2023-11-13 10:58:58 +01:00
Daniel Hajduk
c6e449c5b3
fix(logger): namespace label in debug logger (#9067) 2023-11-13 17:07:46 +08:00
Houston (Bot)
5f2db426ce
[ci] release (#9070)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-11-11 22:39:47 -06:00
Nate Moore
50164f5e37
Fix asset propagation regression in 3.5 (#9069) 2023-11-11 22:31:34 -06:00
Houston (Bot)
13ca6d989b
[ci] release (#9054)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-11-10 11:37:35 -05:00
Emanuele Stoppa
1bc3319686
fix(middleware): do not import user middleware if not preset (#9057) 2023-11-10 11:11:15 -05:00
Sergii Kirianov
1e97708cda
fix: added onError functionality to spinner (#9048)
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2023-11-10 14:15:59 +00:00
Houston (Bot)
5db28e90d0
[ci] release (#9038)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-11-10 09:10:04 -05:00
Emanuele Stoppa
15b84ccb98
fix: regression when calculating params and pattern (#9051)
* fix: regression when calculating params and pattern

* changeset
2023-11-10 13:49:27 +00:00
Rishi Raj Jain
7dedd17fc4
fix: Astro info throws when xclip is not available (#9042)
* Update index.ts

* Create hot-teachers-wave.md

* Update .changeset/hot-teachers-wave.md

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

---------

Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
2023-11-10 08:28:47 -05:00