Commit graph

6344 commits

Author SHA1 Message Date
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
Matthew Phillips
6011d52d38
RC Release candidate (#8179)
* RC Release candidate

* Use the rc tag
2023-08-21 13:11:26 -04:00
Matthew Phillips
b4ef0b9a8c
Set Markdoc integration version to a minor (#8177) 2023-08-21 12:35:51 -04:00
Emanuele Stoppa
d08c83ee3f
fix(@astrojs/node): handler should work with express (#8176) 2023-08-21 17:29:38 +01:00
Sarah Rainsberger
d44052141b
[docs] deprecate build.split and build.excludeMiddleware in config ref (#8158) 2023-08-21 14:33:32 +01:00
Emanuele Stoppa
1f54deff22 chore: lock file 2023-08-21 14:24:08 +01:00
Emanuele Stoppa
d43ca69c1d Merge remote-tracking branch 'origin/main' into next 2023-08-21 14:21:53 +01:00
natemoo-re
a0500e09a6 [ci] format 2023-08-21 14:17:04 +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