Mads Erik Forberg
f85cb1fab6
[ci] format
2024-01-03 13:21:03 +00:00
Mads Erik Forberg
769826edbd
feat: support setting rootMargin for client:visible
( #9363 )
...
* feat: support setting rootMargin for `client:visible`
This support adding optional `rootMargin` to the `IntersectionObserver` options.
This gives the developer the optional choice to hydrate a bit before the astro-island enters the viewport.
* chore: update type for client:visible
* chore: added changeset
* chore: update types
* fix: check if value is string
* Update stupid-peas-juggle.md
* fix: update .changeset/stupid-peas-juggle.md
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
---------
Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2024-01-03 13:20:07 +00:00
Alex Sherwin
f33fe3190b
Allow setting all cookie package serialize/parse options ( #9063 )
...
* #9062 : allow setting all cookie package serialize/parse options
* 9062: fix scripts to original arrangement
* feat: only add specific properties
* Update tiny-days-dance.md
* Add examples to the changeset
* Update .changeset/tiny-days-dance.md
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
* Update .changeset/tiny-days-dance.md
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
* Update .changeset/tiny-days-dance.md
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
* Update .changeset/tiny-days-dance.md
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
---------
Co-authored-by: Arsh <69170106+lilnasy@users.noreply.github.com>
Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
Co-authored-by: Matthew Phillips <matthew@skypack.dev>
Co-authored-by: Matthew Phillips <matthew@matthewphillips.info>
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
2024-01-03 13:19:41 +00:00
Bjorn Lu
08402ad584
Add limitInputPixels option for sharp image service ( #9546 )
...
* Add limitInputPixels option for sharp image service
* Fix types
* Update docs
Co-authored-by: sarah11918 <sarah11918@users.noreply.github.com>
---------
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
Co-authored-by: sarah11918 <sarah11918@users.noreply.github.com>
2024-01-03 13:19:04 +00:00
简静凡
d239e2cd7c
[ci] format
2024-01-03 13:10:02 +00:00
简静凡
e44f6acf99
enhance(prefetch): Adds a 'load'
prefetch strategy, and ignores 3g
in slow connection detection ( #9513 )
...
* [enhance:prefetch] add global ignoreSlowConnection and add none to defaultStrategy enum
* changeset
* change defaultStrategy enum 'none' to 'all', and fix e2e test
* test:e2e prefetch
* update changeset
* rename defaultStrategy.all to defaultStrategy.load
* fix: remove global ignoreSlowConnection config and ignore 3g in slow connection detection
* fix: Revert variable name changes
* Split changeset
---------
Co-authored-by: bluwy <bjornlu.dev@gmail.com>
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2024-01-03 13:07:58 +00:00
Bjorn Lu
2a8b9c56b9
Support --open with url string ( #9573 )
...
* Support --open with url string
* Update jsdoc
* Fix typo
* Document server.open
* Apply suggestions from code review
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
---------
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2024-01-03 13:07:31 +00:00
Austin Merrick
607303be19
Move create-astro async tasks to end ( #9470 )
...
* Upgrade @astrojs/cli-kit
* Add tasks to context
* Change steps to use tasks
* Do tasks at end
* Add changeset
* Make labels more consistent
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
* Update .changeset/chatty-penguins-sin.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>
2024-01-03 13:06:57 +00:00
Bjorn Lu
b8a6fa8917
Error on preview if outDir missing ( #9544 )
...
* Error on preview if outDir missing
* Update .changeset/four-moles-burn.md
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
---------
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2024-01-03 13:05:51 +00:00
Bjorn Lu
ab6049bd58
Set default NODE_ENV for JS API ( #9575 )
2024-01-03 15:54:30 +08:00
Martin Trapp
98c69b89cc
Fix history usage of PR 9563 ( #9581 )
2024-01-02 22:43:09 +01:00
Martin Trapp
d48ab90fb4
Fix history navigation to hash fragment on Firefox when using view transitions ( #9563 )
...
* Fix history navigation to hash fragment on Firefox when using view transitions
* Edit changeset
* Improve changeset, add co-authors
2024-01-02 22:18:52 +01:00
Houston (Bot)
d854330571
[ci] release ( #9541 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-01-02 10:26:33 -05:00
Bjorn Lu
ec71f03cfd
Remove telemetry for unhandled errors ( #9571 )
2024-01-02 23:14:09 +08:00
Canaris
f192fc3a35
[ci] format
2024-01-02 14:53:17 +00:00
Canaris
67e06f9db1
yarn add
should be used to install packages instead of yarn install
(#9562 )
...
Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
2024-01-02 22:52:22 +08:00
Syg
55e49b3ffb
[ci] format
2024-01-02 12:13:55 +00:00
Syg
8b873bf1f3
Add 'starlight' to displayed options under 'add' option in CLI ( #9559 )
...
* Add 'starlight' to displayed options under 'add' option in CLI
* Create tall-mayflies-deliver.md
* Update tall-mayflies-deliver.md
---------
Co-authored-by: syg <sygint@users.noreply.github.com>
Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
2024-01-02 12:12:58 +00:00
Mati
86b05491f0
[ci] format
2024-01-02 12:09:35 +00:00
Mati
8cc3d6aa46
Implement i18n's getLocaleByPath
function ( #9504 )
...
* Implement getLocaleByPath function
* Fix param naming in getLocaleByPath function for users
* Add changeset
* Change changeset to patch astro
* Add i18n getLocaleByPath e2e test
* Add astro e2e i18n in pnpm-lock.yaml
2024-01-02 12:08:17 +00:00
Bjorn Lu
9f6453cf49
Document --host and --port flag for preview ( #9572 )
2024-01-02 17:45:56 +08:00
Michael Thomas
e496b2e3b8
Fix asynchronous appEntrypoint
support ( #9558 )
2024-01-01 15:44:17 +08:00
Bjorn Lu
22f42d11a4
Prevent render ansi in error overlay ( #9547 )
2023-12-30 18:06:40 +07:00
Bjorn Lu
8049f0cd91
Fix error overlay display on malformed uri ( #9548 )
2023-12-29 23:52:43 +08:00
Arsh
af59b83162
[ci] format
2023-12-29 15:49:10 +00:00
Arsh
7b586a6e23
fix(vercel): prevent build failure with node 21 ( #9550 )
...
* fix(vercel): prevent build failure with node 21
* add changeset
2023-12-29 21:18:15 +05:30
Arsh
48f47b50a0
fix(node): prevent crash on stream error ( #9533 )
...
* fix(node): prevent crash on stream error
* add changeset
* Apply suggestions from code review
2023-12-29 21:17:52 +05:30
Alex Nguyen
ede3f7fef6
Toggle dev toolbar hitbox height when toolbar is visible ( #9446 )
...
* Toggle dev toolbar hitbox height when toolbar is visible
* Add hitbox above height const
---------
Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
2023-12-29 00:59:01 -05:00
Alex Waldron
9021c18a00
[ci] format
2023-12-28 21:24:42 +00:00
Alex Waldron
16e61fcacb
fix: handle srcset local image paths with spaces ( #9537 )
...
* fix: handle srcset local image paths with spaces
* replaced janky 'replaceAll' with encodeURI
* Update .changeset/weak-oranges-relate.md
Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
* fix: encodeURI the returned filepath directly
---------
Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
Co-authored-by: Matthew Phillips <matthew@skypack.dev>
Co-authored-by: Princesseuh <3019731+Princesseuh@users.noreply.github.com>
2023-12-28 16:23:46 -05:00
Matthew Phillips
0fbe26eeb0
[ci] format
2023-12-28 20:08:58 +00:00
Matthew Phillips
7f212f0831
Support remote images with encoded characters ( #9540 )
...
* Support remote images with encoded characters
* Add a changeset
* Update .changeset/small-snakes-build.md
Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
---------
Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
2023-12-28 15:08:04 -05:00
Houston (Bot)
98fa8f02ab
[ci] release ( #9491 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-12-27 13:34:07 -05:00
Arsh
b8cc444461
[ci] format
2023-12-27 17:57:38 +00:00
Arsh
89a2a07c2e
fix(content): helpful message for DuplicateContentEntry ( #9492 )
...
* helpful message for DuplicateContentEntry
* add changeset
2023-12-27 12:56:42 -05:00
Arsh
7f7a7f1aea
qol(routing): warn when api route method doesn't match the casing of an export ( #9497 )
...
* fix(routing): improve messaging for getting the case wrong
* add changeset
* lint: no shadowing
* remove old APIRoute signature
* Apply suggestions from code review
Co-authored-by: Voxel <voxelmc@hotmail.com>
---------
Co-authored-by: Voxel <voxelmc@hotmail.com>
2023-12-27 12:56:10 -05:00
Houston (Bot)
a171c22f37
[ci] format
2023-12-27 17:38:12 +00:00
Houston (Bot)
134367427b
[ci] update lockfile ( #9519 )
...
* [ci] update lockfile
* Fix errors
* Better Vue workaround
---------
Co-authored-by: matthewp <matthewp@users.noreply.github.com>
Co-authored-by: bluwy <bjornlu.dev@gmail.com>
2023-12-27 12:37:04 -05:00
Bjorn Lu
337ca508bd
Forward Svelte client error ( #9530 )
2023-12-27 12:35:36 -05:00
Bjorn Lu
662f06fd9f
Fix duplicated CSS modules inlining ( #9531 )
...
* Fix duplicated CSS modules inlining
* Remove unused mode param
2023-12-27 12:34:59 -05:00
Bjorn Lu
7224809b73
Prevent double uri decoding ( #9532 )
2023-12-27 12:34:28 -05:00
Bjorn Lu
d252fc61b0
Add tailwindcss nesting support ( #9529 )
...
* Add tailwindcss nesting support
* Update lockfile
2023-12-27 12:34:01 -05:00
Nikhil Kothari
cf993bc263
Filter out Svelte's unknown data prop warnings ( #9510 )
2023-12-27 18:08:20 +08:00
Ming-jun Lu
0ee255ae36
[ci] format
2023-12-26 17:02:03 +00:00
Ming-jun Lu
1469e0e5a9
Prevent dev toolbar tooltip from overflowing ( #9512 )
...
* fix: prevent dev toolbar toolip from overflowing
* test: add a test case for dev toolbar toolip position
* Create small-emus-deny.md
---------
Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
2023-12-26 12:01:04 -05:00
Martijn van der Ven
bb1438d20d
Add autocomplete to button JSX type ( #9522 )
...
* Add autocomplete to button JSX type
This is “nonstandard and Firefox-specific” but often required when working with dynamic disabled state.
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#autocomplete
* Run `pnpm exec changeset`
2023-12-25 11:18:42 -05:00
Erika
eb36e95596
feat: export JSX types from jsx-runtime ( #9501 )
...
* feat: export JSX types from jsx-runtime
* fix: i wont make the same mistakes three times
* chore: changeset
2023-12-23 02:52:04 -05:00
Sarah Rainsberger
4660aaa405
[ci] format
2023-12-22 20:16:29 +00:00
Sarah Rainsberger
b20cab1404
[docs] update build.format with note an adapter may set this value ( #9502 )
2023-12-22 16:15:19 -04:00
Alan
05d923db53
Compress banner image ( #9493 )
2023-12-22 16:48:12 +00:00