Skip to content
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

Remove deprecated features from Astro 3.0 #9168

Merged
merged 7 commits into from
Nov 27, 2023
Merged

Conversation

bluwy
Copy link
Member

@bluwy bluwy commented Nov 22, 2023

Changes

Remove some deprecated features from 3.0. Including:

  • Adapters are now required to pass supportedAstroFeatures.
  • The build.split and build.excludeMiddleware options are removed.
  • The markdown.drafts option and draft feature is removed.
  • Lowercase endpoint names are no longer supported.
  • getHeaders() exported from markdown files is removed.

NOTE: Not all is removed yet, I'll follow up another PR to remove the remaining ones as they're larger and scoped. (done: #9181)

NOTE 2: some diff changes are only formatting changes. the next branch doesn't auto-format but I formatted it locally automatically.

Testing

Ran all tests locally. CI should also pass

Docs

This should be noted in the migration guide.

Copy link

changeset-bot bot commented Nov 22, 2023

🦋 Changeset detected

Latest commit: 894ebe1

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

@github-actions github-actions bot added pkg: astro Related to the core `astro` package (scope) pr: docs A PR that includes documentation for review labels Nov 22, 2023
@github-actions github-actions bot added feat: markdown Related to Markdown (scope) pkg: integration Related to any renderer integration (scope) labels Nov 23, 2023
.changeset/slow-hornets-try.md Outdated Show resolved Hide resolved
.changeset/slow-hornets-try.md Outdated Show resolved Hide resolved
@bluwy bluwy merged commit 153a5ab into next Nov 27, 2023
14 checks passed
@bluwy bluwy deleted the remove-deprecated-stuff branch November 27, 2023 16:44
@astrobot-houston astrobot-houston mentioned this pull request Dec 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feat: markdown Related to Markdown (scope) pkg: astro Related to the core `astro` package (scope) pkg: integration Related to any renderer integration (scope) pr: docs A PR that includes documentation for review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants