Skip to content

improve naming of new adapter api#13253

Merged
florian-lefebvre merged 26 commits intov6from
feat/new-adapter-api-better-naming
Feb 16, 2026
Merged

improve naming of new adapter api#13253
florian-lefebvre merged 26 commits intov6from
feat/new-adapter-api-better-naming

Conversation

@florian-lefebvre
Copy link
Member

Description (required)

Related issues & labels (optional)

  • Closes #
  • Suggested label:

For Astro version: 6.x. See astro PR #15461.

@netlify
Copy link

netlify bot commented Feb 11, 2026

Deploy Preview for astro-docs-2 ready!

Name Link
🔨 Latest commit 8452e19
🔍 Latest deploy log https://app.netlify.com/projects/astro-docs-2/deploys/6993314473411c00075f26a9
😎 Deploy Preview https://deploy-preview-13253--astro-docs-2.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@astrobot-houston
Copy link
Contributor

astrobot-houston commented Feb 11, 2026

Lunaria Status Overview

🌕 This pull request will trigger status changes.

Learn more

By default, every PR changing files present in the Lunaria configuration's files property will be considered and trigger status changes accordingly.

You can change this by adding one of the keywords present in the ignoreKeywords property in your Lunaria configuration file in the PR's title (ignoring all files) or by including a tracker directive in the merged commit's description.

Tracked Files

File Note
en/guides/upgrade-to/v6.mdx Localization changed, will be marked as complete.
en/reference/adapter-reference.mdx Source changed, localizations will be marked as outdated.
Warnings reference
Icon Description
🔄️ The source for this localization has been updated since the creation of this pull request, make sure all changes in the source have been applied.

@florian-lefebvre florian-lefebvre marked this pull request as ready for review February 11, 2026 10:08
Copy link
Member

@ArmandPhilippot ArmandPhilippot left a comment

Choose a reason for hiding this comment

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

This is a quick review because there is something I find confusing (see my long comment...) and I think I need to better understand that before doing a more thorough review! 😄 But, overall, this looks good!

Co-authored-by: Armand Philippot <git@armand.philippot.eu>
Copy link
Member

@ArmandPhilippot ArmandPhilippot left a comment

Choose a reason for hiding this comment

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

Thanks again for the explanation, this is much clearer now! I left a few more suggestions, then this seems in a good shape to me.

I know the deprecation is not yet acted, but if this is deprecated... are we sure this will be removed in Astro 7? I mean this could be deprecated but we decide to wait longer (Astro 8) because some edge cases may arise. (I'm asking this because of all the "Astro 7.0 preview")

@florian-lefebvre
Copy link
Member Author

Matthew approved the code PR so the deprecation is validated

@ArmandPhilippot ArmandPhilippot added improve or update documentation Enhance / update existing documentation (e.g. add example, improve description, update for changes) merge-on-release Don't merge this before the feature is released! (MQ=approved but WAIT for feature release!) 6.0 labels Feb 12, 2026
Copy link
Member

@ArmandPhilippot ArmandPhilippot left a comment

Choose a reason for hiding this comment

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

Looks good to me, I only left suggestions about the asides (cautions instead of tips, and maybe they can be reworded now that args and exports are also deprecated).

Co-authored-by: Armand Philippot <git@armand.philippot.eu>
});
}
```
**Type:** `() => App`
Copy link
Member

Choose a reason for hiding this comment

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

And just a reminder that if/when withastro/astro#15483 is approved, we would need to update that too!

Copy link
Member Author

Choose a reason for hiding this comment

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

I think ideally it would be better to merge this PR (and associated code PR) first, then make another docs PR for streaming

Copy link
Member

@sarah11918 sarah11918 left a comment

Choose a reason for hiding this comment

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

Nice work Florian (and Armand)! I didn't preview e.g. the updates to the line highlighting in favour of simply tackling the text. See what you think of my comments!

florian-lefebvre and others added 2 commits February 13, 2026 08:36
Co-authored-by: Sarah Rainsberger <5098874+sarah11918@users.noreply.github.com>
Co-authored-by: Sarah Rainsberger <5098874+sarah11918@users.noreply.github.com>
@florian-lefebvre
Copy link
Member Author

Bump!

Co-authored-by: Sarah Rainsberger <5098874+sarah11918@users.noreply.github.com>
Co-authored-by: Sarah Rainsberger <5098874+sarah11918@users.noreply.github.com>
Co-authored-by: Sarah Rainsberger <5098874+sarah11918@users.noreply.github.com>
@sarah11918
Copy link
Member

OK, as long as my last change looks good in the deploy preview (visually), this will be fine! Moving on to changesets!

Copy link
Member

@sarah11918 sarah11918 left a comment

Choose a reason for hiding this comment

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

LGTM! 🎉

@sarah11918 sarah11918 added this to the v6.0.0 docs milestone Feb 16, 2026
@florian-lefebvre florian-lefebvre merged commit 2cef977 into v6 Feb 16, 2026
10 checks passed
@florian-lefebvre florian-lefebvre deleted the feat/new-adapter-api-better-naming branch February 16, 2026 15:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

6.0 improve or update documentation Enhance / update existing documentation (e.g. add example, improve description, update for changes) merge-on-release Don't merge this before the feature is released! (MQ=approved but WAIT for feature release!)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants