Commit graph

6344 commits

Author SHA1 Message Date
Houston (Bot)
b4e67a0b1b
[ci] release (#8285)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-08-30 10:13:29 -04:00
Emanuele Stoppa
c32f52a624
chore: add warnings to console for deprecated options (#8283) 2023-08-30 10:10:28 -04:00
matthewp
f206bde0ff [ci] format 2023-08-30 14:09:54 +00:00
Matthew Phillips
1d2389cb6f
Fix astro check failure on first try (#8287) 2023-08-30 10:08:06 -04:00
Sarah Rainsberger
a0955f769f
[docs] remove experimental from image configs (#8282) 2023-08-30 10:12:45 -03:00
Houston (Bot)
5598feb718
[ci] release (#8279)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-08-30 13:38:28 +02:00
Yan Thomas
e33d951af1
Remove draft pages info from mdx integration guide (#8281) 2023-08-30 07:25:29 -04:00
Emanuele Stoppa
c2d92dc293
chore: exit from next mode (#8278) 2023-08-30 09:20:49 +01:00
Yan Thomas
264bbba4e0
Add missing backtics to scopedStyleStrategy value (#8275) 2023-08-29 18:36:28 -04:00
Houston (Bot)
28a49f8e0d
[ci] release (rc) (#8272)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-08-29 15:50:45 -04:00
matthewp
b0e021d41b [ci] format 2023-08-29 19:47:49 +00:00
Matthew Phillips
16f09dfff7
Fix video persistence regression (#8271)
* Fix video persistence regression

* Adding a changeset
2023-08-29 15:46:06 -04:00
Houston (Bot)
834a00d2d3
[ci] release (rc) (#8267)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-08-29 14:18:54 -04:00
Matthew Phillips
e7f872e91e
Prevent ViewTransition script from being added by mistake (#8268) (#8270)
* Prevent ViewTransition script from being added by mistake

* Add the 2-legacy branch to CI
2023-08-29 14:00:47 -04:00
Erika
8450379db8
fix: settings requiring service to be set when settings domains or remotePatterns (#8266) 2023-08-29 17:54:24 +02:00
Martin Trapp
a78175c1b8
added e2e tests for history navigation to fragment positions (#8265) 2023-08-29 11:30:52 -04:00
Houston (Bot)
6f47c6c919
[ci] release (rc) (#8256)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-08-29 10:58:09 -04:00
natemoo-re
51e67e0ab0 [ci] format 2023-08-29 14:32:02 +00:00
Nate Moore
1f58a7a1be
Unmount framework components when islands are destroyed (#8264)
* fix(view-transitions): update persistence logic for improved unmount behavior

* feat(astro): add `astro:unmount` event

* feat(vue): automatically unmount islands

* feat(react): automatically unmount islands

* feat(react): automatically unmount islands

* feat(solid): automatically dispose of islands

* feat(svelte): automatically destroy of islands

* feat(svelte): automatically destroy of islands

* feat(solid): automatically dispose of islands

* feat(preact): automatically unmount islands

* chore: update changeset

* fix: rebase issue

* chore: add clarifying comment

* chore: remove duplicate changeset

* chore: add changeset
2023-08-29 09:30:11 -05:00
Erika
9e021a91c5
feat: add generic to type params to Astro global (#8263)
* feat: add generic to type params to Astro global

* chore: changeset
2023-08-29 16:04:25 +02:00
natemoo-re
04fa5a1453 [ci] format 2023-08-28 21:05:20 +00:00
Nate Moore
0c7b42dc67
Update telemetry notice (#8234)
* chore: enable telemetry notice

* chore: update telemetry date, notify

* chore(telemetry): refactor telemetry notices

* chore: add changeset

* chore: improve debugging

* chore: update debug

* fix: logical error

* chore(lint): remove unused input

* chore: improve telemetry debug

* chore: improve telemetry tests

* chore: allow isCI to be stubbed

* chore: stub process.env

* chore: stub process.env

* chore: add env to class

* chore: act like we're not on CI

* test: didn't commit the env stub properly

* chore: tweak wording
2023-08-28 16:03:01 -05:00
Matthew Phillips
1db4e92c12
Allow fallback animations on html element (#8258)
* Allow fallback animations on html element

* Add fallback attr after swap

* Break apart addModern and addFallback into separate functions
2023-08-28 14:41:00 -04:00
Houston (Bot)
0a97524e38
[ci] release (rc) (#8238)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-08-28 12:23:04 -04:00
ematipico
ba7b23b9e0 [ci] format 2023-08-28 16:21:11 +00:00
Emanuele Stoppa
c7921e9e1b
refactor: use new Astro internals (#8254)
* refactor: use new Astro internals

* chore: update tests

---------

Co-authored-by: Matthew Phillips <matthew@skypack.dev>
2023-08-28 17:19:04 +01:00
Matthew Phillips
52f0837bde
Vercel adapter default changes (#8239)
* Vercel adapter default changes

* Update .changeset/silly-dolphins-try.md

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

* Fix tests

* chore: correctly export `pageModule` when using `functionPerRoute`

* Update .changeset/silly-dolphins-try.md

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

* Update .changeset/silly-dolphins-try.md

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

* Make throw be the entrypoint

---------

Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
2023-08-28 12:10:28 -04:00
Erika
ffc9e2d3de
feat(paginate): Return exact types from paginate() (#8229)
* feat(paginate): Return exact types from paginate()

* chore: changeset

* fix(types): Fix infer utils while I'm here

---------

Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2023-08-28 12:02:05 -04:00
matthewp
57e9a28063 [ci] format 2023-08-28 15:59:37 +00:00
Matthew Phillips
1048aca550
Lazily initialize ResponseWithEncoding (#8253)
* Lazily initialize ResponseWithEncoding

* Fix things

* Add a TODO about removing the workaround

* Remove unused lint ignore

* Use canplaythrough instead

* Use an inline script

* Check the readystate first

* Download the video locally

* Capture consoles

* More debugging

* Use autoplay instead of a ready event
2023-08-28 11:57:21 -04:00
Erika
46c4c0e053
feat(cli): Add docs error link to errors in the CLI (#8251) 2023-08-28 15:15:14 +02:00
Florian Lefebvre
ed39fbf168
fix(deno): add start to options interface and extract to new file (close #8221) (#8245)
* fix(deno): add start to options and extract to new file

* Reword changeset

---------

Co-authored-by: Arsh <69170106+lilnasy@users.noreply.github.com>
2023-08-28 02:51:28 +05:30
Mainak Das
cc740fb103
docs: Fix typo in react integration README (#8243) 2023-08-27 16:35:29 +02:00
Erika
3674584e02
fix: require.resolve call not finding @astrojs/check (#8237) 2023-08-26 11:26:20 +02:00
natemoo-re
3ad5a2a287 [ci] format 2023-08-25 23:11:22 +00:00
Nate Moore
2bdce4c4a0
feat(create-astro): --fancy (#8235) 2023-08-25 18:09:30 -05:00
Houston (Bot)
23096dbee8
[ci] release (rc) (#8233)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-08-25 14:10:30 -04:00
Matthew Phillips
a824863ab1
Use .js to import logger' (#8232) 2023-08-25 14:06:53 -04:00
ElianCodes
cd69aa7347 [ci] format 2023-08-25 17:08:19 +00:00
shelton louis
6cfaf75af9
chore: Write read me for the Markdoc config. (#7989)
Co-authored-by: Elian ️ <hello@elian.codes>
Co-authored-by: Ben Holmes <hey@bholmes.dev>
2023-08-25 19:06:04 +02:00
Houston (Bot)
2b5d739bd9
[ci] release (rc) (#8215)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-08-25 12:52:51 -04:00
Bjorn Lu
4bd2fac8da
Publish missing react vnode-children.js file (#8228) 2023-08-25 23:28:23 +08:00
Matthew Phillips
44f7a28728
Unflag View Transition support (#8218)
* Unflag View Transition support

* Add a changeset

* Update .changeset/grumpy-pens-melt.md

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

---------

Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2023-08-25 11:20:17 -04:00
ematipico
3bae77dde1 [ci] format 2023-08-25 14:59:35 +00:00
Emanuele Stoppa
f91acd8fca
refactor: internal refactor to use the Logger (#8227) 2023-08-25 15:57:47 +01:00
André Alves
2c07656c8d
Update config error message for outDir infinity loop error (#8220)
Co-authored-by: Elian ️ <hello@elian.codes>
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
2023-08-25 15:25:59 +01:00
bluwy
6606245b35 [ci] format 2023-08-25 13:02:36 +00:00
Bjorn Lu
0ae3b7a7ba
Improve stress test benchmark (#8225) 2023-08-25 21:00:51 +08:00
Jacob Groß
acf652fc1d
feat(ViewTransitions): use scrollend instead of scroll where supported (#8156)
* feat(ViewTransitions): use `scrollend` instead of `scroll` where supported

The [scrollend](https://developer.chrome.com/blog/scrollend-a-new-javascript-event/#event-details) mechanism seems like a better way to record the scroll position compared to throttling, so we could use it whenever a browser supports it.

Additionally, I've removed the `{passive}` flag from the `scroll` event, as it does nothing ([source](https://developer.mozilla.org/en-US/docs/Web/API/EventTarget/addEventListener?retiredLocale=de#improving_scrolling_performance_with_passive_listeners:~:text=You%20don%27t%20need%20to%20worry%20about%20the%20value%20of%20passive%20for%20the%20basic%20scroll%20event.%20Since%20it%20can%27t%20be%20canceled%2C%20event%20listeners%20can%27t%20block%20page%20rendering%20anyway.)).

* Create long-chefs-jump.md

* fix typo / update comment
2023-08-25 08:43:52 -04:00
ematipico
a35c21cfc8 [ci] format 2023-08-25 11:25:46 +00:00