-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(next): TODOs #11987
feat(next): TODOs #11987
Conversation
🦋 Changeset detectedLatest commit: f79a6a5 The changes in this PR will be included in the next version bump. 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 |
@@ -228,7 +228,6 @@ export function createGetDataEntryById({ | |||
|
|||
const lazyImport = await getEntryImport(collection, id); | |||
|
|||
// TODO: AstroError |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This will be removed in Astro 6.0, not worth doing it now
@@ -12,7 +12,7 @@ export async function emitESMImage( | |||
id: string | undefined, | |||
/** @deprecated */ | |||
_watchMode: boolean, | |||
// FIX: in Astro 5, this function should not be passed in dev mode at all. | |||
// FIX: in Astro 6, this function should not be passed in dev mode at all. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we won't get to this right now, it's.. tough
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This PR is blocked because it contains a major
changeset. A reviewer will merge this at the next release if approved.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! Left some suggestions/questions!
.changeset/blue-sloths-stare.md
Outdated
'astro': patch | ||
--- | ||
|
||
App class now accepts renderOptions |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just checking, does this need updating in the docs here: https://docs.astro.build/en/reference/adapter-reference/#apprenderrequest-request-options-renderoptions and we should mention it in the upgrade guide as a Breaking Change
.changeset/blue-sloths-stare.md
Outdated
'astro': patch | ||
--- | ||
|
||
App class now accepts renderOptions |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
App class now accepts renderOptions | |
Adds a new `renderOptions` object for `App/class` |
Not sure about the syntax for App class, but it likely needs something!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
App is a class, this is for the render
method. I'll update to something.
Co-authored-by: Sarah Rainsberger <[email protected]>
Co-authored-by: Sarah Rainsberger <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This PR is blocked because it contains a major
changeset. A reviewer will merge this at the next release if approved.
Co-authored-by: Sarah Rainsberger <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This PR is blocked because it contains a major
changeset. A reviewer will merge this at the next release if approved.
Changes
app.render()
now takes 2 arguments instead of 3.Testing
Docs
renderOptions
is already the only documented way to useapp.render()
: https://docs.astro.build/en/reference/adapter-reference/#server-entrypoint