Commit graph

6352 commits

Author SHA1 Message Date
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
Emanuele Stoppa
46d0a0b006
fix(ssr): correctly call the middleware when rendering error pages (#8200) 2023-08-25 12:23:58 +01:00
matthewp
660e6f80f4 [ci] format 2023-08-24 18:46:59 +00:00
Matthew Phillips
a8f35777e7
Finalize View Transition event names (#8181)
* Finalize View Transition event names

* Use hyphenated names
2023-08-24 14:44:48 -04:00
natemoo-re
d87837e32b [ci] format 2023-08-24 18:44:16 +00:00
Nate Moore
e45f302934
Update built-in view transitions (#8207)
* feat: rename morph => initial

* feat: update slide, fade animations, add none

* chore: add changeset

* fix: bump compiler

* feat: disable root transition by default

* chore: update changeset

* chore: fix build

* feat(transitions): crossfade => fade

* feat(transitions): remove opinionated default

* chore: update changeset

* feat(transitions): set root to fade

* feat: remove opinionated root style

* chore: remove unused easings

* feat: refactor transition logic, ensure defaults are wrapped in @layer

* Update .changeset/five-geese-crash.md

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

* Update .changeset/five-geese-crash.md

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

* Update .changeset/five-geese-crash.md

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

* Update five-geese-crash.md

---------

Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2023-08-24 13:42:12 -05:00
Martin Trapp
c37632a20d
View Transitions: adding data-astro-reload to anchor element forces browser default behavior for navigation (#8217) 2023-08-24 13:36:58 -04:00
matthewp
4bbcbac0b7 [ci] format 2023-08-24 14:40:44 +00:00
Matthew Phillips
f1c610636a
Merge pull request #8188 from withastro/next
Astro 3.0
2023-08-24 10:38:14 -04:00
Matthew Phillips
ebaccf8c1a Revert "Revert "View Transition: swap attributes of document's root element (#8206)""
This reverts commit e942855329.
2023-08-24 10:23:44 -04:00
Matthew Phillips
e942855329 Revert "View Transition: swap attributes of document's root element (#8206)"
This reverts commit 52606a3909.
2023-08-24 10:23:01 -04:00
Emanuele Stoppa
fd5fa86e9c Merge remote-tracking branch 'origin/main' into next 2023-08-24 15:05:39 +01:00
Houston (Bot)
608b2d732d
[ci] release (#8205)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-08-24 10:04:16 -04:00
Emanuele Stoppa
df568b3efc
chore: update @astrojs/language-server (#8213) 2023-08-24 10:04:01 -04:00
Erika
55c10d1d56
fix: add back code to update user's env.d.ts with proper types (#8214) 2023-08-24 15:55:11 +02:00
Martin Trapp
52606a3909
View Transition: swap attributes of document's root element (#8206)
* swap attributes of the root element

* + changeset
2023-08-24 09:09:22 -04:00
Emanuele Stoppa
44bd0cd825 Merge remote-tracking branch 'origin/main' into next 2023-08-24 13:02:27 +01:00
Bjorn Lu
048846fd53
Update breaking dependencies (#8201) 2023-08-24 16:34:33 +08:00
Arjun
85f2c2464c
refactor: replace header with div (#8204)
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2023-08-23 14:44:52 -05:00
ematipico
0eb7f19729 [ci] format 2023-08-23 15:03:12 +00:00
Emanuele Stoppa
0be8d9bfa9
docs: better documentation for runtime (#8190) 2023-08-23 16:00:56 +01:00
Houston (Bot)
ee06c4fe5c
[ci] release (#8172)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-08-23 22:12:09 +08:00
Bjorn Lu
cb95aa5f8e
Update rss package to return a response (#8198) 2023-08-23 21:09:11 +08:00
bluwy
17d9aab39a [ci] format 2023-08-23 12:31:38 +00:00
Bjorn Lu
273335cb01
Fix Astro components parent-child render order (#8187) 2023-08-23 20:29:34 +08:00
Bjorn Lu
353dcb23e8
Update non-major dependencies (#8199) 2023-08-23 19:52:13 +08:00
Jothish JJ
1e8942c438
Add h3 for Installing dependencies manually (#8155) 2023-08-23 11:40:19 +01:00
Bjorn Lu
632579dc20
Prevent bundling sharp (#8196) 2023-08-23 17:52:53 +08:00
Paul Valladares
a571a1ac07
Fix(examples): changed inline-style to regular selector (#8185)
* fix: changed inline-style to a regular selector

* fix: fixed typo

* fix: removed styles from noscript tags
2023-08-23 07:11:12 +05:30
Martin Trapp
9142178b11
Mt scroll behavior (#8184)
* The scrolling behavior of ViewTransition is now more similar to the expected browser behavior

* format

* removed browser detection
2023-08-22 13:33:49 -04:00
Martin Trapp
fddd4dc71a
Fixes in the client-side router (#8166)
* Fixes in the client-side router

* reverted function declaration after review (#8166)

---------

Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2023-08-22 12:59:17 -04:00
Martin Trapp
cfc465ddeb
fix: self link does not trigger page reload (#8182) 2023-08-22 11:17:30 -04:00
Houston (Bot)
9f1881455a
[ci] release (rc) (#8147)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-08-22 10:19:18 -04:00
bluwy
a93e061cfb Fix turbolink changeset 2023-08-22 21:03:40 +08:00
Emanuele Stoppa
9751f01817 chore: update lock file 2023-08-22 14:02:37 +01:00
Emanuele Stoppa
2d50d50b6a Merge remote-tracking branch 'origin/main' into next 2023-08-22 14:02:15 +01:00
Emanuele Stoppa
ad245897f6
chore: update bug report to use the astro info command (#8175)
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2023-08-22 14:01:29 +01:00
Bjorn Lu
b8ad9a2499
Remove turbolinks integration (#8186) 2023-08-22 20:23:34 +08:00
ematipico
f224c539c8 [ci] format 2023-08-22 10:19:52 +00:00
André Alves
5821323285
add: config error if outDir is inside publicDir (#8152)
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2023-08-22 11:17:47 +01:00
Bjorn Lu
732111cdce
Deprecate drafts feature (#8099)
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2023-08-22 16:11:59 +08:00
Chris Swithinbank
179796405e
Use more permissive type for defineCollection schema option (#8163)
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2023-08-21 19:48:50 +02:00
Emanuele Stoppa
f003e73643
feat: style scoped hash is lowercase (#8180) 2023-08-21 13:43:48 -04:00