Emanuele Stoppa
27d3e86e4c
refactor(i18n): breakdown routing strategy ( #9236 )
...
* refactor(i18n): breakdown routing strategy
* changelog
* changeset
* chore: fix rebase
* fix changeset
* chore: update test
* Apply suggestions from code review
Co-authored-by: Chris Swithinbank <swithinbank@gmail.com>
* Update packages/astro/test/i18n-routing.test.js
Co-authored-by: Chris Swithinbank <swithinbank@gmail.com>
---------
Co-authored-by: Chris Swithinbank <swithinbank@gmail.com>
2023-11-30 05:58:37 -05:00
Arsh
3f28336d9a
fix(rendering): prevent error when slots is keyed into ( #9179 )
...
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2023-11-29 15:47:48 -06:00
evelyn masso
8f8a40e93d
[i18n] During fallback, only remove locale if prefix-always is false ( #9226 )
...
* i18n: During fallback, only remove locale if prefix-always is false
* add test
* add changeset
2023-11-29 13:46:51 -05:00
Nate Moore
067a65f5b4
fix( #9216 ): fix style HMR in certain cases ( #9219 )
2023-11-29 09:12:43 -06:00
Houston (Bot)
1e8d28de7f
[ci] release ( #9217 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-11-28 15:31:12 -06:00
Nate Moore
54e57fe9d7
fix(upgrade): Remove semver parse ( #9213 )
2023-11-28 15:20:16 -06:00
Florian Lefebvre
0dc99c9a28
feat(astro): use plaintext lang if lang does not exist ( #9193 )
...
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2023-11-28 12:14:22 -06:00
Houston (Bot)
d0d5ff78c9
[ci] release ( #9202 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-11-28 10:07:52 -06:00
Matthew Phillips
6e0292a1fa
[ci] format
2023-11-28 13:48:11 +00:00
Matthew Phillips
8f1d509574
Support immutable cache headers for _astro assets ( #9125 )
...
* Support immutable cache headers for _astro assets
* Update .changeset/twelve-fishes-fail.md
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
* Update packages/integrations/node/src/http-server.ts
* Update expected max-age
* Add teh docs
* Update .changeset/twelve-fishes-fail.md
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
* Update packages/integrations/node/README.md
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
---------
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2023-11-28 08:46:26 -05:00
Spencer Whitehead
d90714fc3d
fix: links with same path but different search params not prefetched ( #9189 )
...
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2023-11-28 17:13:18 +08:00
Nate Moore
e7ce779ff8
[ci] format
2023-11-27 23:02:46 +00:00
Nate Moore
5a38750188
Add @astrojs/upgrade
package for automatic package upgrades ( #8525 )
...
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2023-11-27 17:00:59 -06:00
Bjorn Lu
328d999999
Clean up tests ( #9183 )
2023-11-28 00:33:10 +08:00
Houston (Bot)
2ef75fe752
[ci] release ( #9180 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-11-27 21:04:52 +05:30
Guspan Tanadi
ae29fad70b
[ci] format
2023-11-24 07:07:45 +00:00
Guspan Tanadi
ecbb5ed799
style: highlight markdown Tip Note section CONTRIBUTING ( #9123 )
2023-11-24 15:06:11 +08:00
Martin Trapp
607542c7cf
fix scroll restoration issue on webKit browsers ( #9186 )
...
* fix scroll restoration issue on webKit browsers
* add changeset
* Update .changeset/shaggy-socks-glow.md
* Update .changeset/shaggy-socks-glow.md
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
---------
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2023-11-23 19:08:37 +01:00
Arsh
04fdc1c613
fix(middleware): rename internal middleware id ( #9173 )
...
* rename internal middleware id
* add changeset
2023-11-23 07:13:18 +05:30
Martin Trapp
481c13a08c
fix: Changelog formatting for 3.6.0 View Transition events ( #9176 )
...
Co-authored-by: Eva Decker <itsevadecker@gmail.com>
2023-11-23 00:20:33 +01:00
Eva Decker
ae4d949e7d
[ci] format
2023-11-22 21:49:55 +00:00
Eva Decker
7c485ffc86
Fix View Transitions code block formatting ( #9174 )
2023-11-22 16:48:15 -05: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
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
0970fd635c
[ci] format
2023-11-22 12:55:48 +00: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
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
4aca47beca
[ci] format
2023-11-21 17:21:41 +00: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
Emanuele Stoppa
7ab5137ba7
fix: test case for #9095 ( #9127 )
2023-11-20 14:11:26 -06: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
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
Emanuele Stoppa
e3dce215a5
feat(i18n): add Astro.currentLocale
( #9101 )
2023-11-16 08:54:10 -06: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
1862fb44eb
[ci] format
2023-11-15 23:41:21 +00: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
eeac288551
[ci] format
2023-11-15 18:45:38 +00:00
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
6e4dd54cfa
[ci] format
2023-11-15 15:42:17 +00: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
bluwy
0aee43fc16
[ci] format
2023-11-14 15:01:58 +00:00
Bjorn Lu
4537ecf0d0
Refactor shikiji syntax highlighting code ( #9083 )
2023-11-14 23:00:17 +08:00