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

2957 commits

Author SHA1 Message Date
Houston (Bot)
023860bded
[ci] release (beta) (#9251)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-12-01 14:12:49 -05:00
Martin Trapp
43ddb52176
Adds missing name/value of the submit button to the form data of a view transition (#9248)
* Adds missing name/value of the submit button to the form data of a view transition

* Update .changeset/ninety-weeks-juggle.md

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

---------

Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2023-12-01 18:55:22 +01:00
Bjorn Lu
3cbd8ea753
Remove remaining deprecated APIs (#9263)
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2023-12-02 00:59:22 +08:00
Bjorn Lu
d83991ae8b
Remove @astrojs/prefetch integration (#9241) 2023-12-01 10:50:15 -05:00
Bjorn Lu
459b264366
Rework Vite and Astro logger for HMR messages (#9139) 2023-12-01 16:58:05 +08:00
Matthew Phillips
b750a161e0
Use fixed positioning on x-ray when inside of fixed containers (#9254)
* Improve highlight/tooltip positioning

* add changeset

* Explain the perf issue
2023-11-30 17:04:34 -05:00
Matthew Phillips
9ea3e0b94f
Add instructions on how to hide the dev overlay (#9255)
* Add instructions on how to hide the dev overlay

* Add missing link
2023-11-30 16:40:32 -05:00
Emanuele Stoppa
b4b851f5a4
feat(i18n): refined locales (#9200)
* feat(i18n): refined locales

* feat: support granular locales inside the virtual module

* feat: expose new function to retrieve the path by locale

* chore: update fallback logic

* chore: fix other broken cases inside source code

* chore: add new test cases

* maybe fix the type for codegen

* changelog

* Apply suggestions from code review

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

* chore: apply suggestions

* Apply suggestions from code review

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

* Update packages/astro/src/@types/astro.ts

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

* Update packages/astro/src/@types/astro.ts

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

* fix: merge

---------

Co-authored-by: Happydev <81974850+MoustaphaDev@users.noreply.github.com>
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2023-11-30 16:13:58 -05:00
Emanuele Stoppa
7b74ec4ba4
fix(i18n): create fallback pages for page routes correctly (#9252)
* add test case

* fix(i18n): fallback should create consistent directories (#9142)

* fix: index can be 0!!

* tests should have the correct configuration
2023-11-30 13:54:15 -05:00
bluwy
05628aaa3c Merge branch 'main' into next 2023-11-30 22:42:29 +08:00
Zach Cardoza
ff8eadb95d
(feat) return updated config in integration hooks (#9013) 2023-11-30 22:28:15 +08:00
Houston (Bot)
349afeeb16
[ci] release (#9233)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-11-30 22:24:51 +08:00
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
Erika
9c2342c327
fix(overlay): Fix SVG icons not showing properly in the overflow menu (#9235) 2023-11-30 11:27:26 +01:00
Fred K. Schott
60cfa49e44
Overlay look-and-feel polish (#9230)
* dev overlay polish

* increase size a bit
2023-11-29 14:18:01 -08: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
Houston (Bot)
c495f1ac17
[ci] release (beta) (#9228)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-11-29 13:50:18 -05: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
3b77889b47
Add new preferences module (#9115) 2023-11-29 12:43:40 -06:00
Fred K. Schott
8bfc205119
update error logging (#9129)
Co-authored-by: Matthew Phillips <matthew@skypack.dev>
2023-11-29 12:43:32 -05:00
Matthew Phillips
f4401c8c1f
Improve high contrast mode with the dev overlay (#9218)
* Improve high contrast mode with the dev overlay

* Update packages/astro/src/runtime/client/dev-overlay/overlay.ts

---------

Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2023-11-29 11:08:16 -05:00
Matthew Phillips
279e3c1b3d
Ensure dev-overlay-window is anchored to the bottom (#9222) 2023-11-29 11:07:46 -05:00
Arsh
49aa215a01
Switch app.render signature (#9199)
* feat(app): app.render optional object

* tests

* update vercel and node

* update changeset

* deprecation notice and loggin

* clarify changeset

* add node, vercel changeset

* deduplicate code
2023-11-29 21:08:42 +05:30
Nate Moore
067a65f5b4
fix(#9216): fix style HMR in certain cases (#9219) 2023-11-29 09:12:43 -06:00
Nate Moore
c421a3d179
Unflag view transitions form handling (#9225) 2023-11-29 09:06:38 -06:00
Matthew Phillips
4b8a42406b
Ensure dev overlay x-ray highlight goes over the island (#9227)
* Ensure dev overlay x-ray highlight goes over the island

* oops
2023-11-29 08:46:35 -05:00
Erika
4fe523b006
Small polish to the overlay (#9214) 2023-11-29 13:52:11 +01:00
Alexander Niebuhr
c0383ea0c1
chore: remove deprecated matchNotFound options (#9212)
Co-authored-by: Matthew Phillips <matthew@skypack.dev>
2023-11-29 08:23:23 +01: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
Houston (Bot)
4ded9cd1bc
[ci] release (beta) (#9211)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-11-28 09:53:42 -05:00
Erika
000e8f4654
feat: implement overlay main screen redesign (#9118)
* feat: implement redesign

* fix: make it build

* feat: visual tweaks

* feat(overlay): update styling, integration endpoint

* feat: add fallback icons

* Clean up tests (#9183)

* Add `@astrojs/upgrade` package for automatic package upgrades (#8525)

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

* [ci] format

* fix: links with same path but different search params not prefetched (#9189)

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

* fix: discord icon

* chore: changeset

---------

Co-authored-by: Nate Moore <nate@astro.build>
Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
Co-authored-by: Spencer Whitehead <35475068+SpencerWhitehead7@users.noreply.github.com>
Co-authored-by: Matthew Phillips <matthew@skypack.dev>
2023-11-28 09:39:38 -05: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
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
Houston (Bot)
415fec54f8
[ci] release (beta) (#9114)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-11-27 12:59:31 -05:00
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
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
Bjorn Lu
a145ac07e7
Remove vercel deprecated analytics option (#9184) 2023-11-24 22:00:03 +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
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