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

Astro 3.0 #8188

Merged
merged 116 commits into from
Aug 24, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
116 commits
Select commit Hold shift + click to select a range
d0679a6
Remove support for Node 16 (#7780)
Princesseuh Jul 24, 2023
42fc57e
chore: fix rebase problems
ematipico Jul 25, 2023
0f06255
feat: upper case the name of the endpoints (#7783)
ematipico Jul 26, 2023
96beb88
Update `tsconfig.json` presets for TS 5.0 (#7785)
Princesseuh Jul 26, 2023
9a01cc6
Remove support for Node 16 (#7780) (#7820)
ematipico Jul 26, 2023
7d2f311
feat: remove support for old API routes syntax (#7822)
ematipico Jul 27, 2023
148e61d
feat: remove webapi in favor of a smaller polyfill (#7840)
Princesseuh Jul 27, 2023
364d861
feat: remove automatic flattening of `getStaticPaths` result (#7845)
Princesseuh Jul 27, 2023
036388f
feat: pass logger to integrations (#7816)
ematipico Jul 28, 2023
80f1494
feat: adapter features, deprecate astro configs (#7839)
ematipico Jul 28, 2023
cd2d7e7
feat: astro features (#7815)
ematipico Jul 28, 2023
e204270
Tweak adapter config CHANGELOG (#7853)
delucis Jul 28, 2023
84af8ed
Move MDX plugin re-ordering hack to MDX integration (#7872)
bluwy Jul 31, 2023
c335881
chore: enter pre release mode (#7883)
ematipico Jul 31, 2023
c69c347
chore: remove deleted package
ematipico Aug 1, 2023
e1ae56e
Make Astro.cookies.get(key) return undefined (#7888)
matthewp Aug 1, 2023
32002c2
chore: use workspace packages (#7894)
ematipico Aug 1, 2023
2777e7c
chore: use workspace packages (#7896)
ematipico Aug 1, 2023
41390c2
ci: change release tag name (#7898)
ematipico Aug 1, 2023
dc13687
fix: update examples to use the new API of cookies (#7899)
ematipico Aug 1, 2023
f01eb58
feat: change default port to 4321 (#7874)
ematipico Aug 1, 2023
c0de7a7
feat: make Sharp the default image service (#7908)
Princesseuh Aug 1, 2023
32669cd
Refactor MDX components exports handling (#7904)
bluwy Aug 2, 2023
997a0db
feat: use external @astrojs/check (#7892)
Princesseuh Aug 2, 2023
7511a49
feat: add noop service and make integrations that needs it use it (#7…
Princesseuh Aug 2, 2023
f32d093
feat: change `compressHTML` default value to `true` (#7918)
ematipico Aug 3, 2023
2ac1c1e
[ci] release (beta) (#7897)
astrobot-houston Aug 3, 2023
6333651
Fix node test fail (#7950)
bluwy Aug 4, 2023
3c31008
Remove markdown component (#7931)
bluwy Aug 4, 2023
b675acb
Remove undici dep (#7980)
bluwy Aug 8, 2023
70f34f5
Remove StreamingCompatibleResponse polyfill (#7981)
bluwy Aug 8, 2023
ba73dea
chore: fix rebase issue
ematipico Aug 8, 2023
7bd1b86
feat: new attribute scope style strategy (#7893)
ematipico Aug 8, 2023
0f1e9d8
chore: update prettier to `3.0` (#7957)
ematipico Aug 8, 2023
0f637c7
Preserve base slash when trailingSlash ignore (#7878)
bluwy Aug 9, 2023
65c3549
Fix examples check hang (#7998)
bluwy Aug 9, 2023
670ef10
Merge remote-tracking branch 'origin/main' into next
ematipico Aug 9, 2023
a6a16a6
chore: merge from main
ematipico Aug 9, 2023
08c3afb
feat: remove @astrojs/image completely (#7922)
Princesseuh Aug 9, 2023
14b0626
Merge remote-tracking branch 'origin/main' into next
ematipico Aug 10, 2023
924bef9
chore: update after merge
ematipico Aug 10, 2023
a39ff7e
refactor: add pipeline concept (#8020)
ematipico Aug 10, 2023
34cb200
Clear todos and remove css kebab handling (#8019)
bluwy Aug 10, 2023
9cc4e48
Remove the Vercel Edge adapter (#8015)
matthewp Aug 10, 2023
2ee418e
Remove the Nelify Edge adapter (#8029)
matthewp Aug 10, 2023
519a1c4
JSX refactor (#7924)
matthewp Aug 11, 2023
866ed40
feat: expose user astro error (#8012)
ematipico Aug 11, 2023
40efae6
[ci] release (beta) (#7952)
astrobot-houston Aug 11, 2023
2aa6d8a
Add changeset for internal helper package (#8062)
bluwy Aug 14, 2023
19f9edf
[ci] release (beta) (#8067)
astrobot-houston Aug 14, 2023
5208a3c
fix: remove ./dist/jsx/* exports (#8030)
natemoo-re Aug 14, 2023
4477bb4
Update types to specify that compress defaults to true (#8072)
matthewp Aug 14, 2023
7b77b34
fix(@astrojs/cloudflare): unsynced astro asset support flag (#8079)
alexanderniebuhr Aug 14, 2023
68efd4a
Export astro/compiler-runtime and cleanup exports (#8085)
bluwy Aug 15, 2023
7530d56
Merge remote-tracking branch 'origin/main' into next
ematipico Aug 15, 2023
e12a101
chore: merge
ematipico Aug 15, 2023
b76c166
feat: unflag experimental.assets (#7921)
Princesseuh Aug 16, 2023
788825b
Refactor dependency usage (#8076)
bluwy Aug 16, 2023
ca4cf01
refactor: build pipeline (#8088)
ematipico Aug 16, 2023
7a625d9
chore: update codesamples for Netlify v3 adapter (#8112)
ElianCodes Aug 17, 2023
4967c69
chore: update codesamples for Vercel v3 adapter (#8111)
ElianCodes Aug 17, 2023
2484dc4
config: remove ~/assets alias (#8113)
Princesseuh Aug 17, 2023
cbb77af
Merge branch 'main' into next
matthewp Aug 17, 2023
4843bff
Fix more conflicts
matthewp Aug 17, 2023
ea7ff51
`astro:` namespace for middleware and components (#8101)
matthewp Aug 17, 2023
cdebbde
Fix cloudflare test (#8117)
bluwy Aug 17, 2023
bbf0b74
refactor: use pipeline in Development mode (#8115)
ematipico Aug 17, 2023
2540fee
feature(@astrojs/cloudflare): port functionPerRoute (#8078)
alexanderniebuhr Aug 17, 2023
8a5b0c1
Switch `build.inlineStylesheets` default to auto (#8118)
lilnasy Aug 18, 2023
dbc97b1
Export experimental JS API (#7979)
bluwy Aug 18, 2023
c2c71d9
fix: better error when Sharp can't be resolved (ex: pnpm) (#8128)
Princesseuh Aug 18, 2023
43140b8
Add missing mdx changeset (#8131)
matthewp Aug 18, 2023
3e83429
feat: add polyfills for stackblitz (#8130)
Princesseuh Aug 18, 2023
f50d02c
changeset(next): inlineStylesheets default switch is major (#8133)
lilnasy Aug 18, 2023
e5c1388
[ci] release (beta) (#8073)
astrobot-houston Aug 18, 2023
db39206
fix: polyfill File using undici instead of node:buffer (#8139)
Princesseuh Aug 18, 2023
632d1b6
fix(polyfills): Use object shape for Stackblitz polyfill list
Princesseuh Aug 18, 2023
a7b7b10
[error messages] Update image errors-data.ts (#8126)
sarah11918 Aug 18, 2023
5e6bd6a
[ci] release (beta) (#8140)
astrobot-houston Aug 18, 2023
8154519
Replace `class:list` implementation with `clsx` (#8142)
natemoo-re Aug 18, 2023
fd6261d
[docs] update scopedStyleStragegy default and description (#8148)
sarah11918 Aug 18, 2023
767eb68
Deprecate simple objects from endpoints (#8132)
bluwy Aug 21, 2023
15471e6
[docs] JSX framework integration READMEs (#8151)
sarah11918 Aug 21, 2023
e79e377
Remove pre-shiki v0.14 theme names (#8169)
bluwy Aug 21, 2023
be6bbd2
Remove deprecated APIs (#8170)
bluwy Aug 21, 2023
a87cbe4
fix: reinsert attribute to specify direction of ViewTransition (forwa…
martrapp Aug 17, 2023
33b8910
only update our own history entires during back navigation through vi…
martrapp Aug 17, 2023
42785c7
fix(#6965): fix build stats (#8122)
natemoo-re Aug 17, 2023
31a280e
chore(gitpod): resolve potential globbing and word splitting issue (#…
benelan Aug 17, 2023
2ae9d37
fix(dev): open to base path (#8123)
natemoo-re Aug 17, 2023
bae5e46
[ci] format
natemoo-re Aug 17, 2023
adf9fcc
Stringify shouldn't throw on user object during rendering (#8127)
natemoo-re Aug 18, 2023
a0500e0
[ci] format
natemoo-re Aug 18, 2023
d43ca69
Merge remote-tracking branch 'origin/main' into next
ematipico Aug 21, 2023
1f54def
chore: lock file
ematipico Aug 21, 2023
d440521
[docs] deprecate build.split and build.excludeMiddleware in config re…
sarah11918 Aug 21, 2023
b4ef0b9
Set Markdoc integration version to a minor (#8177)
matthewp Aug 21, 2023
6011d52
RC Release candidate (#8179)
matthewp Aug 21, 2023
f003e73
feat: style scoped hash is lowercase (#8180)
ematipico Aug 21, 2023
732111c
Deprecate drafts feature (#8099)
bluwy Aug 22, 2023
b8ad9a2
Remove turbolinks integration (#8186)
bluwy Aug 22, 2023
ad24589
chore: update bug report to use the `astro info` command (#8175)
ematipico Aug 22, 2023
2d50d50
Merge remote-tracking branch 'origin/main' into next
ematipico Aug 22, 2023
9751f01
chore: update lock file
ematipico Aug 22, 2023
a93e061
Fix turbolink changeset
bluwy Aug 22, 2023
9f18814
[ci] release (rc) (#8147)
astrobot-houston Aug 22, 2023
632579d
Prevent bundling sharp (#8196)
bluwy Aug 23, 2023
353dcb2
Update non-major dependencies (#8199)
bluwy Aug 23, 2023
cb95aa5
Update rss package to return a response (#8198)
bluwy Aug 23, 2023
048846f
Update breaking dependencies (#8201)
bluwy Aug 24, 2023
44bd0cd
Merge remote-tracking branch 'origin/main' into next
ematipico Aug 24, 2023
55c10d1
fix: add back code to update user's env.d.ts with proper types (#8214)
Princesseuh Aug 24, 2023
df568b3
chore: update `@astrojs/language-server` (#8213)
ematipico Aug 24, 2023
fd5fa86
Merge remote-tracking branch 'origin/main' into next
ematipico Aug 24, 2023
e942855
Revert "View Transition: swap attributes of document's root element (…
matthewp Aug 24, 2023
ebaccf8
Revert "Revert "View Transition: swap attributes of document's root e…
matthewp Aug 24, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
29 changes: 29 additions & 0 deletions .changeset/afraid-dots-whisper.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
---
'@astrojs/cloudflare': major
'@astrojs/partytown': major
'@astrojs/tailwind': major
'@astrojs/netlify': major
'@astrojs/sitemap': major
'@astrojs/preact': major
'@astrojs/svelte': major
'@astrojs/vercel': major
'@astrojs/react': major
'@astrojs/solid-js': major
'@astrojs/deno': major
'@astrojs/node': major
'@astrojs/lit': major
'@astrojs/vue': major
'create-astro': major
'@astrojs/prism': major
'@astrojs/rss': major
'@astrojs/telemetry': major
'astro': major
'@astrojs/alpinejs': minor
'@astrojs/prefetch': minor
'@astrojs/markdoc': minor
'@astrojs/underscore-redirects': minor
'@astrojs/mdx': minor
'@astrojs/internal-helpers': minor
---

Remove support for Node 16. The lowest supported version by Astro and all integrations is now v18.14.1. As a reminder, Node 16 will be deprecated on the 11th September 2023.
5 changes: 5 additions & 0 deletions .changeset/angry-dogs-shake.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'astro': patch
---

Use `undici` for File changeset for Node 16 compatibility
5 changes: 5 additions & 0 deletions .changeset/big-tips-whisper.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@astrojs/internal-helpers': patch
---

Trigger re-release to fix `collapseDuplicateSlashes` export
5 changes: 5 additions & 0 deletions .changeset/brave-cheetahs-float.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'astro': patch
---

Do not throw Error when users pass an object with a "type" property
5 changes: 5 additions & 0 deletions .changeset/chilled-ducks-grin.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'astro': major
---

Removed automatic flattening of `getStaticPaths` result. `.flatMap` and `.flat` should now be used to ensure that you're returning a flat array.
13 changes: 13 additions & 0 deletions .changeset/clever-bats-breathe.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
'astro': major
---

This import alias is no longer included by default with astro:assets. If you were using this alias with experimental assets, you must convert them to relative file paths, or create your own [import aliases](https://docs.astro.build/en/guides/aliases/).

```diff
---
// src/pages/posts/post-1.astro
- import rocket from '~/assets/rocket.png'
+ import rocket from '../../assets/rocket.png';
---
```
7 changes: 7 additions & 0 deletions .changeset/cool-feet-rest.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
'@astrojs/solid-js': major
---

New `include` and `exclude` config options

The Solid integration now has new `include` and `exclude` config options. Use these if you want to use Solid alongside another JSX framework; include specifies files to be compiled for Solid and `exclude` does the opposite.
11 changes: 11 additions & 0 deletions .changeset/cool-jokes-clap.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
'astro': major
---

Fixes for the `class:list` directive

- Previously, `class:list` would ocassionally not be merged the `class` prop when passed to Astro components. Now, `class:list` is always converted to a `class` prop (as a string value).
- Previously, `class:list` diverged from [`clsx`](https://github.com/lukeed/clsx) in a few edge cases. Now, `class:list` uses [`clsx`](https://github.com/lukeed/clsx) directly.
- `class:list` used to deduplicate matching values, but it no longer does
- `class:list` used to sort individual values, but it no longer does
- `class:list` used to support `Set` and other iterables, but it no longer does
30 changes: 30 additions & 0 deletions .changeset/curvy-experts-jog.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
---
'@astrojs/cloudflare': major
'@astrojs/partytown': major
'@astrojs/tailwind': major
'@astrojs/netlify': major
'@astrojs/sitemap': major
'@astrojs/preact': major
'@astrojs/svelte': major
'@astrojs/vercel': major
'@astrojs/react': major
'@astrojs/solid-js': major
'@astrojs/deno': major
'@astrojs/node': major
'@astrojs/lit': major
'@astrojs/mdx': major
'@astrojs/vue': major
'@astrojs/markdown-remark': major
'create-astro': major
'@astrojs/prism': major
'@astrojs/rss': major
'@astrojs/telemetry': major
'astro': major
'@astrojs/alpinejs': minor
'@astrojs/prefetch': minor
'@astrojs/markdoc': minor
'@astrojs/underscore-redirects': minor
'@astrojs/internal-helpers': minor
---

Astro 3.0 Release Candidate
5 changes: 5 additions & 0 deletions .changeset/cyan-carrots-stare.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'astro': patch
---

Update error message when Sharp couldn't be found (tends to happen on pnpm notably)
32 changes: 32 additions & 0 deletions .changeset/dirty-lies-cover.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
---
'@astrojs/cloudflare': minor
'@astrojs/netlify': minor
'@astrojs/vercel': minor
'@astrojs/deno': minor
'@astrojs/node': minor
'astro': minor
---

Introduced the concept of feature map. A feature map is a list of features that are built-in in Astro, and an Adapter
can tell Astro if it can support it.

```ts
import {AstroIntegration} from "./astro";

function myIntegration(): AstroIntegration {
return {
name: 'astro-awesome-list',
// new feature map
supportedAstroFeatures: {
hybridOutput: 'experimental',
staticOutput: 'stable',
serverOutput: 'stable',
assets: {
supportKind: 'stable',
isSharpCompatible: false,
isSquooshCompatible: false,
},
}
}
}
```
39 changes: 39 additions & 0 deletions .changeset/fair-emus-divide.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
---
'astro': major
'@astrojs/netlify': minor
---

The `build.split` and `build.excludeMiddleware` configuration options are deprecated and have been replaced by options in the adapter config.

If your config includes the `build.excludeMiddleware` option, replace it with `edgeMiddleware` in your adapter options:

```diff
import { defineConfig } from "astro/config";
import netlify from "@astrojs/netlify/functions";

export default defineConfig({
build: {
- excludeMiddleware: true
},
adapter: netlify({
+ edgeMiddleware: true
}),
});
```

If your config includes the `build.split` option, replace it with `functionPerRoute` in your adapter options:

```diff
import { defineConfig } from "astro/config";
import netlify from "@astrojs/netlify/functions";

export default defineConfig({
build: {
- split: true
},
adapter: netlify({
+ functionPerRoute: true
}),
});
```

7 changes: 7 additions & 0 deletions .changeset/fair-eyes-promise.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
'@astrojs/mdx': major
---

Support Astro 3 JSX format

This upgrades the MDX plugin to correctly work with the new JSX render API in Astro 3.
5 changes: 5 additions & 0 deletions .changeset/famous-queens-itch.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@astrojs/mdx': patch
---

Re-orders the MDX plugin to run before Astro's JSX plugin
18 changes: 18 additions & 0 deletions .changeset/four-houses-compete.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
---
'astro': major
---

Sharp is now the default image service used for `astro:assets`. If you would prefer to still use Squoosh, you can update your config with the following:

```ts
import { defineConfig, squooshImageService } from "astro/config";

// https://astro.build/config
export default defineConfig({
image: {
service: squooshImageService(),
}
})
```

However, not only do we recommend using Sharp as it is faster and more reliable, it is also highly likely that the Squoosh service will be removed in a future release.
5 changes: 5 additions & 0 deletions .changeset/gentle-deers-yawn.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'astro': patch
---

Call `astro sync` once before calling `astro check`
9 changes: 9 additions & 0 deletions .changeset/gentle-meals-crash.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
'astro': major
---

Remove support for `Astro.__renderMarkdown` which is used by `@astrojs/markdown-component`.

The `<Markdown />` component was deprecated in Astro v1 and is completely removed in v3. This integration must now be removed from your project.

As an alternative, you can use community packages that provide a similar component like https://github.com/natemoo-re/astro-remote instead.
29 changes: 29 additions & 0 deletions .changeset/giant-plants-sip.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
---
'astro': major
---

Remove backwards-compatible kebab-case transform for camelCase CSS variable names passed to the `style` attribute. If you were relying on the kebab-case transform in your styles, make sure to use the camelCase version to prevent missing styles. For example:

```astro
---
const myValue = "red"
---
<!-- input -->
<div style={{ "--myValue": myValue }}></div>
<!-- output (before) -->
<div style="--my-value:var(--myValue);--myValue:red"></div>
<!-- output (after) -->
<div style="--myValue:red"></div>
```

```diff
<style>
div {
- color: var(--my-value);
+ color: var(--myValue);
}
</style>
```
5 changes: 5 additions & 0 deletions .changeset/happy-penguins-hug.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'astro': major
---

Remove deprecated config option types, deprecated script/style attributes, and deprecated `image` export from `astro:content`
8 changes: 8 additions & 0 deletions .changeset/heavy-walls-arrive.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
'@astrojs/cloudflare': major
'@astrojs/netlify': major
'@astrojs/vercel': major
'astro': major
---

When using an adapter that supports neither Squoosh or Sharp, Astro will now automatically use an image service that does not support processing, but still provides the other benefits of `astro:assets` such as enforcing `alt`, no CLS etc to users
25 changes: 25 additions & 0 deletions .changeset/honest-houses-deny.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
---
'@astrojs/rss': major
---

Update the `rss()` default export to return a `Response` instead of a simple object, which is deprecated in Astro 3.0. If you were directly returning the `rss()` result from an endpoint before, this breaking change should not affect you.

You can also import `getRssString()` to get the RSS string directly and use it to return your own Response:

```ts
// src/pages/rss.xml.js
import { getRssString } from '@astrojs/rss';

export async function get(context) {
const rssString = await getRssString({
title: 'Buzz’s Blog',
...
});

return new Response(rssString, {
headers: {
'Content-Type': 'application/xml',
},
});
}
```
7 changes: 7 additions & 0 deletions .changeset/large-countries-share.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
'@astrojs/preact': major
---

New `include` and `exclude` config options

The Preact integration now has new `include` and `exclude` config options. Use these if you want to use Preact alongside another JSX framework; include specifies files to be compiled for Preact and `exclude` does the opposite.
5 changes: 5 additions & 0 deletions .changeset/loud-candles-admire.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@astrojs/mdx': patch
---

Handle `components` exports handling itself
5 changes: 5 additions & 0 deletions .changeset/lovely-walls-call.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'astro': patch
---

Improve fidelity of time stats when running `astro build`
35 changes: 35 additions & 0 deletions .changeset/many-pears-explode.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
---
'astro': major
---

Export experimental `dev`, `build`, `preview`, and `sync` APIs from `astro`. These APIs allow you to run Astro's commands programmatically, and replaces the previous entry point that runs the Astro CLI.

While these APIs are experimental, the inline config parameter is relatively stable without foreseeable changes. However, the returned results of these APIs are more likely to change in the future.

```ts
import { dev, build, preview, sync, type AstroInlineConfig } from 'astro';

// Inline Astro config object.
// Provide a path to a configuration file to load or set options directly inline.
const inlineConfig: AstroInlineConfig = {
// Inline-specific options...
configFile: './astro.config.mjs',
logLevel: 'info',
// Standard Astro config options...
site: 'https://example.com',
};

// Start the Astro dev server
const devServer = await dev(inlineConfig);
await devServer.stop();

// Build your Astro project
await build(inlineConfig);

// Preview your built project
const previewServer = await preview(inlineConfig);
await previewServer.stop();

// Generate types for your Astro project
await sync(inlineConfig);
```
5 changes: 5 additions & 0 deletions .changeset/mighty-dancers-lay.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'astro': major
---

Removed support for old syntax of the API routes.
5 changes: 5 additions & 0 deletions .changeset/nasty-garlics-listen.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'astro': patch
---

Reimplement https://github.com/withastro/astro/pull/7509 to correctly emit pre-rendered pages now that `build.split` is deprecated and this configuration has been moved to `functionPerRoute` inside the adapter.
8 changes: 8 additions & 0 deletions .changeset/neat-mugs-end.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
'astro': minor
---


`astro:`namespace aliases for middleware and components

This adds aliases of `astro:middleware` and `astro:components` for the middleware and components modules. This is to make our documentation consistent between are various modules, where some are virtual modules and others are not. Going forward new built-in modules will use this namespace.
Loading
Loading