Skip to content

Await the result of renderTransition() after it was made async in Astro 5.9.#1080

Merged
ascorbic merged 4 commits intomainfrom
mt/awaitRenderTransition
Jun 7, 2025
Merged

Await the result of renderTransition() after it was made async in Astro 5.9.#1080
ascorbic merged 4 commits intomainfrom
mt/awaitRenderTransition

Conversation

@martrapp
Copy link
Copy Markdown
Member

@martrapp martrapp commented Jun 6, 2025

Changes

Fixes #1079

Awaits the result of renderTransition() and extend the heuristic for async function definition.

Testing

adapted existing tests

Docs

bug fix only

@changeset-bot
Copy link
Copy Markdown

changeset-bot bot commented Jun 6, 2025

🦋 Changeset detected

Latest commit: 0928150

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@astrojs/compiler Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@martrapp martrapp changed the title Await the result of renderTransition()´ after it was made async` in Astro 5.9. Await the result of renderTransition() after it was made async in Astro 5.9. Jun 6, 2025
@martrapp
Copy link
Copy Markdown
Member Author

martrapp commented Jun 6, 2025

Timeout of linter seems to be expected / also occurred in earlier releases?

Copy link
Copy Markdown
Contributor

@ascorbic ascorbic left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks

@ascorbic ascorbic merged commit 4a967ab into main Jun 7, 2025
4 of 5 checks passed
@ascorbic ascorbic deleted the mt/awaitRenderTransition branch June 7, 2025 05:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

View Transitions Name broken in Astro 5.9.0

2 participants