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
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
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
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
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
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
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
Bjorn Lu
273335cb01
Fix Astro components parent-child render order ( #8187 )
2023-08-23 20:29:34 +08:00
Bjorn Lu
632579dc20
Prevent bundling sharp ( #8196 )
2023-08-23 17:52:53 +08:00
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
2d50d50b6a
Merge remote-tracking branch 'origin/main' into next
2023-08-22 14:02:15 +01: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
Matthew Phillips
6011d52d38
RC Release candidate ( #8179 )
...
* RC Release candidate
* Use the rc tag
2023-08-21 13:11:26 -04:00
Emanuele Stoppa
d08c83ee3f
fix(@astrojs/node): handler should work with express
( #8176 )
2023-08-21 17:29:38 +01:00
Emanuele Stoppa
d43ca69c1d
Merge remote-tracking branch 'origin/main' into next
2023-08-21 14:21:53 +01:00
Nate Moore
adf9fccfdd
Stringify shouldn't throw on user object during rendering ( #8127 )
...
* fix(#7923 ): do not throw on user { type } object
* chore: remove unused type export
* chore: guess it wasn't unused
2023-08-21 14:17:04 +01:00
Nate Moore
2ae9d37f0a
fix(dev): open to base path ( #8123 )
2023-08-21 14:17:04 +01:00
Nate Moore
42785c7b78
fix( #6965 ): fix build stats ( #8122 )
2023-08-21 14:17:03 +01:00
Martin Trapp
33b8910cfd
only update our own history entires during back navigation through view transitions ( #8116 )
2023-08-21 14:16:36 +01:00
Martin Trapp
a87cbe4003
fix: reinsert attribute to specify direction of ViewTransition (forward / back) ( #8109 )
2023-08-21 14:16:36 +01:00
Bjorn Lu
be6bbd2c86
Remove deprecated APIs ( #8170 )
2023-08-21 21:04:15 +08:00
Bjorn Lu
e79e3779df
Remove pre-shiki v0.14 theme names ( #8169 )
2023-08-21 21:02:30 +08:00
Erika
95120efbe8
fix(assets): Add missing type for imageConfig export ( #8171 )
2023-08-21 12:35:49 +02:00
Bjorn Lu
767eb68666
Deprecate simple objects from endpoints ( #8132 )
2023-08-21 13:55:56 +08:00
Houston (Bot)
34c39a0c96
[ci] release ( #8145 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-08-18 17:13:25 -04:00
Matthew Phillips
531cc3e490
Fix missing package file regression ( #8149 )
2023-08-18 17:08:18 -04:00
Arsh
4c15c06969
fix(node): delegate preview's not found and error handling to core/app ( #8141 )
...
* fix(node): delegate preview's not found and error handling to core/app
* add changeset
---------
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2023-08-18 15:51:46 -05:00
Nate Moore
81545197a3
Replace class:list
implementation with clsx
( #8142 )
...
* chore: replace `class:list` implementation with `clsx`
* chore: remove Set support from `class:list` test
* chore: better class:list test
* Update packages/astro/src/runtime/server/render/component.ts
2023-08-18 15:25:57 -05:00
Arsh
04caa99c48
fix(data collections): normalize file paths for DataEntry.id ( #8144 )
...
* normalize file paths for DataEntry.id
* add changeset
2023-08-18 15:42:53 -04:00
Houston (Bot)
5e6bd6ab5d
[ci] release (beta) ( #8140 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-08-18 18:49:34 +02:00
Erika
db39206cbb
fix: polyfill File using undici instead of node:buffer ( #8139 )
...
* fix: polyfill File using undici instead of node:buffer
* chore: changeset
2023-08-18 18:23:51 +02:00
Houston (Bot)
e5c13881f1
[ci] release (beta) ( #8073 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-08-18 11:46:47 -04:00
Houston (Bot)
e3c030e5d3
[ci] release ( #8138 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-08-18 10:36:25 -05:00
André Alves
97c8760d78
Fix 404 response leading to an infinite loop when there is no 404 page ( #8136 )
...
* fix: 404 response leads to infinite loop
* chore: changeset
---------
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2023-08-18 10:27:44 -05:00
Nate Moore
8c0a4ed106
fix(react): add missing export ( #8137 )
2023-08-18 10:26:07 -05:00
Houston (Bot)
5c190d06f1
[ci] release ( #8096 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-08-18 10:31:52 -04:00