[ci] release (#2925)

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
This commit is contained in:
github-actions[bot] 2022-04-02 13:40:46 -06:00 committed by GitHub
parent 3483cc2285
commit 48c9b142cc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
60 changed files with 231 additions and 287 deletions

View file

@ -1,5 +0,0 @@
---
'astro': patch
---
Allow components to return a Response

View file

@ -1,5 +0,0 @@
---
'astro': patch
---
`--experimental-ssr` now is only required when using a 3rd-party adapter

View file

@ -1,16 +0,0 @@
---
"astro": minor
---
Implement RFC [#0017](https://github.com/withastro/rfcs/blob/main/proposals/0017-markdown-content-redesign.md)
- New Markdown API
- New `Astro.glob()` API
- **BREAKING CHANGE:** Removed `Astro.fetchContent()` (replaced by `Astro.glob()`)
```diff
// v0.25
- let allPosts = Astro.fetchContent('./posts/*.md');
// v0.26+
+ let allPosts = await Astro.glob('./posts/*.md');
```

View file

@ -1,5 +0,0 @@
---
'astro': minor
---
Implement [RFC0016](https://github.com/withastro/rfcs/blob/main/proposals/0016-style-script-defaults.md) which changes the default behavior of `script`, introduces `is:inline`, and changes `<style global>` to `<style is:global>`

View file

@ -1,7 +0,0 @@
---
'astro': patch
---
Improve `Astro.slots` API to support passing arguments to function-based slots.
This allows for more ergonomic utility components that accept a callback function as a child.

View file

@ -1,5 +0,0 @@
---
'@astrojs/react': minor
---
Add support for React v18

View file

@ -1,5 +0,0 @@
---
'astro': patch
---
Fixes non-GET API routes in dev with Node 14

View file

@ -1,5 +0,0 @@
---
'astro': minor
---
Implements the Astro.request RFC

View file

@ -1,61 +0,0 @@
{
"mode": "exit",
"tag": "next",
"initialVersions": {
"@example/blog": "0.0.1",
"@example/blog-multiple-authors": "0.0.1",
"@example/component": "0.0.1",
"@example/my-component-demo": "0.0.1",
"@example/my-component": "0.0.1",
"@example/docs": "0.0.1",
"@example/env-vars": "0.0.1",
"@example/framework-alpine": "0.0.1",
"@example/framework-lit": "0.0.1",
"@example/framework-multiple": "0.0.1",
"@example/framework-preact": "0.0.1",
"@example/framework-react": "0.0.1",
"@example/framework-solid": "0.0.1",
"@example/framework-svelte": "0.0.1",
"@example/framework-vue": "0.0.1",
"@example/integrations-playground": "0.0.1",
"@example/minimal": "0.0.1",
"@example/non-html-pages": "0.0.1",
"@example/portfolio": "0.0.1",
"@example/ssr": "0.0.1",
"@example/starter": "0.0.1",
"@example/subpath": "0.0.1",
"@example/with-markdown": "0.0.1",
"@example/with-markdown-plugins": "0.0.2",
"@example/with-markdown-shiki": "0.0.1",
"@example/with-nanostores": "0.0.1",
"@example/with-tailwindcss": "0.0.1",
"@example/with-vite-plugin-pwa": "0.0.1",
"astro": "0.25.4",
"@astrojs/prism": "0.4.1",
"@test/custom-element-renderer": "0.1.0",
"@test/static-build-pkg": "0.0.0",
"create-astro": "0.8.0",
"@astrojs/lit": "0.0.2",
"@astrojs/netlify": "0.0.2",
"@astrojs/node": "0.0.2",
"@astrojs/partytown": "0.0.2",
"@astrojs/preact": "0.0.2",
"@astrojs/react": "0.0.2",
"@astrojs/sitemap": "0.0.2",
"@astrojs/solid-js": "0.0.3",
"@astrojs/svelte": "0.0.2",
"@astrojs/tailwind": "0.0.2",
"@astrojs/turbolinks": "0.0.2",
"@astrojs/vue": "0.0.2",
"@astrojs/markdown-remark": "0.7.0",
"@astrojs/renderer-lit": "0.4.0",
"@astrojs/renderer-preact": "0.5.0",
"@astrojs/renderer-react": "0.5.0",
"@astrojs/renderer-solid": "0.4.0",
"@astrojs/renderer-svelte": "0.5.2",
"@astrojs/renderer-vue": "0.4.0",
"@astrojs/webapi": "0.11.0",
"astro-scripts": "0.0.2"
},
"changesets": []
}

View file

@ -1,5 +0,0 @@
---
'astro': patch
---
Update CLI error format and style

View file

@ -1,5 +0,0 @@
---
'astro': patch
---
Update `@astrojs/compiler`, fixing some bugs related to RegExp usage in frontmatter

View file

@ -1,6 +0,0 @@
---
'astro': patch
'@astrojs/deno': patch
---
Add a Deno adapter for SSR

View file

@ -1,5 +0,0 @@
---
'astro': patch
---
Fix for copying public when using SSR and not client JS

View file

@ -1,7 +0,0 @@
---
'@astrojs/sitemap': patch
---
Add new sitemap configuration options:
- `filter`: filter pages to include in your sitemap
- `canonicalURL`: override your astro.config `site` with a custom base URL

View file

@ -1,5 +0,0 @@
---
'@astrojs/tailwind': patch
---
Adds an option to opt-out of the default base styles for the Tailwind integration

View file

@ -1,11 +0,0 @@
---
'astro': minor
'@astrojs/deno': minor
'@astrojs/netlify': minor
'@astrojs/partytown': minor
'@astrojs/sitemap': minor
'@astrojs/tailwind': minor
'@astrojs/markdown-remark': minor
---
Update config options to resepect [RFC0019](https://github.com/withastro/rfcs/blob/main/proposals/0019-config-finalization.md)

View file

@ -10,7 +10,7 @@
}, },
"devDependencies": { "devDependencies": {
"@astrojs/preact": "^0.0.2", "@astrojs/preact": "^0.0.2",
"astro": "^0.25.4", "astro": "^0.26.0",
"sass": "^1.49.11" "sass": "^1.49.11"
}, },
"dependencies": { "dependencies": {

View file

@ -10,7 +10,7 @@
}, },
"devDependencies": { "devDependencies": {
"@astrojs/preact": "^0.0.2", "@astrojs/preact": "^0.0.2",
"astro": "^0.25.4" "astro": "^0.26.0"
}, },
"dependencies": { "dependencies": {
"preact": "^10.7.0" "preact": "^10.7.0"

View file

@ -10,6 +10,6 @@
}, },
"devDependencies": { "devDependencies": {
"@example/my-component": "workspace:*", "@example/my-component": "workspace:*",
"astro": "^0.25.4" "astro": "^0.26.0"
} }
} }

View file

@ -8,6 +8,6 @@
"serve": "astro --root demo preview" "serve": "astro --root demo preview"
}, },
"devDependencies": { "devDependencies": {
"astro": "^0.25.4" "astro": "^0.26.0"
} }
} }

View file

@ -19,7 +19,7 @@
}, },
"devDependencies": { "devDependencies": {
"@astrojs/preact": "^0.0.2", "@astrojs/preact": "^0.0.2",
"@astrojs/react": "^0.0.2", "@astrojs/react": "^0.1.0",
"astro": "^0.25.4" "astro": "^0.26.0"
} }
} }

View file

@ -9,6 +9,6 @@
"preview": "astro preview" "preview": "astro preview"
}, },
"devDependencies": { "devDependencies": {
"astro": "^0.25.4" "astro": "^0.26.0"
} }
} }

View file

@ -9,6 +9,6 @@
"preview": "astro preview" "preview": "astro preview"
}, },
"devDependencies": { "devDependencies": {
"astro": "^0.25.4" "astro": "^0.26.0"
} }
} }

View file

@ -10,7 +10,7 @@
}, },
"devDependencies": { "devDependencies": {
"@astrojs/lit": "^0.0.2", "@astrojs/lit": "^0.0.2",
"astro": "^0.25.4" "astro": "^0.26.0"
}, },
"dependencies": { "dependencies": {
"@webcomponents/template-shadowroot": "^0.1.0", "@webcomponents/template-shadowroot": "^0.1.0",

View file

@ -11,11 +11,11 @@
"devDependencies": { "devDependencies": {
"@astrojs/lit": "^0.0.2", "@astrojs/lit": "^0.0.2",
"@astrojs/preact": "^0.0.2", "@astrojs/preact": "^0.0.2",
"@astrojs/react": "^0.0.2", "@astrojs/react": "^0.1.0",
"@astrojs/solid-js": "^0.0.3", "@astrojs/solid-js": "^0.0.3",
"@astrojs/svelte": "^0.0.2", "@astrojs/svelte": "^0.0.2",
"@astrojs/vue": "^0.0.2", "@astrojs/vue": "^0.0.2",
"astro": "^0.25.4" "astro": "^0.26.0"
}, },
"dependencies": { "dependencies": {
"@webcomponents/template-shadowroot": "^0.1.0", "@webcomponents/template-shadowroot": "^0.1.0",

View file

@ -10,7 +10,7 @@
}, },
"devDependencies": { "devDependencies": {
"@astrojs/preact": "^0.0.2", "@astrojs/preact": "^0.0.2",
"astro": "^0.25.4" "astro": "^0.26.0"
}, },
"dependencies": { "dependencies": {
"preact": "^10.7.0" "preact": "^10.7.0"

View file

@ -9,8 +9,8 @@
"preview": "astro preview" "preview": "astro preview"
}, },
"devDependencies": { "devDependencies": {
"@astrojs/react": "^0.0.2", "@astrojs/react": "^0.1.0",
"astro": "^0.25.4" "astro": "^0.26.0"
}, },
"dependencies": { "dependencies": {
"react": "^18.0.0", "react": "^18.0.0",

View file

@ -10,7 +10,7 @@
}, },
"devDependencies": { "devDependencies": {
"@astrojs/solid-js": "^0.0.3", "@astrojs/solid-js": "^0.0.3",
"astro": "^0.25.4" "astro": "^0.26.0"
}, },
"dependencies": { "dependencies": {
"solid-js": "^1.3.13" "solid-js": "^1.3.13"

View file

@ -10,7 +10,7 @@
}, },
"devDependencies": { "devDependencies": {
"@astrojs/svelte": "^0.0.2", "@astrojs/svelte": "^0.0.2",
"astro": "^0.25.4" "astro": "^0.26.0"
}, },
"dependencies": { "dependencies": {
"svelte": "^3.46.6" "svelte": "^3.46.6"

View file

@ -10,7 +10,7 @@
}, },
"devDependencies": { "devDependencies": {
"@astrojs/vue": "^0.0.2", "@astrojs/vue": "^0.0.2",
"astro": "^0.25.4" "astro": "^0.26.0"
}, },
"dependencies": { "dependencies": {
"vue": "^3.2.31" "vue": "^3.2.31"

View file

@ -10,12 +10,12 @@
}, },
"devDependencies": { "devDependencies": {
"@astrojs/lit": "^0.0.2", "@astrojs/lit": "^0.0.2",
"@astrojs/partytown": "^0.0.2", "@astrojs/partytown": "^0.1.0",
"@astrojs/react": "^0.0.2", "@astrojs/react": "^0.1.0",
"@astrojs/sitemap": "^0.0.2", "@astrojs/sitemap": "^0.1.0",
"@astrojs/tailwind": "^0.0.2", "@astrojs/tailwind": "^0.1.0",
"@astrojs/turbolinks": "^0.0.2", "@astrojs/turbolinks": "^0.0.2",
"astro": "^0.25.4" "astro": "^0.26.0"
}, },
"dependencies": { "dependencies": {
"@webcomponents/template-shadowroot": "^0.1.0", "@webcomponents/template-shadowroot": "^0.1.0",

View file

@ -9,6 +9,6 @@
"preview": "astro preview" "preview": "astro preview"
}, },
"devDependencies": { "devDependencies": {
"astro": "^0.25.4" "astro": "^0.26.0"
} }
} }

View file

@ -9,6 +9,6 @@
"preview": "astro preview" "preview": "astro preview"
}, },
"devDependencies": { "devDependencies": {
"astro": "^0.25.4" "astro": "^0.26.0"
} }
} }

View file

@ -10,7 +10,7 @@
}, },
"devDependencies": { "devDependencies": {
"@astrojs/preact": "^0.0.2", "@astrojs/preact": "^0.0.2",
"astro": "^0.25.4", "astro": "^0.26.0",
"sass": "^1.49.11" "sass": "^1.49.11"
}, },
"dependencies": { "dependencies": {

View file

@ -11,7 +11,7 @@
"devDependencies": { "devDependencies": {
"@astrojs/node": "^0.0.2", "@astrojs/node": "^0.0.2",
"@astrojs/svelte": "^0.0.2", "@astrojs/svelte": "^0.0.2",
"astro": "^0.25.4", "astro": "^0.26.0",
"concurrently": "^7.1.0", "concurrently": "^7.1.0",
"lightcookie": "^1.0.25", "lightcookie": "^1.0.25",
"unocss": "^0.15.6", "unocss": "^0.15.6",

View file

@ -9,6 +9,6 @@
"preview": "astro preview" "preview": "astro preview"
}, },
"devDependencies": { "devDependencies": {
"astro": "^0.25.4" "astro": "^0.26.0"
} }
} }

View file

@ -9,8 +9,8 @@
"preview": "astro preview" "preview": "astro preview"
}, },
"devDependencies": { "devDependencies": {
"@astrojs/react": "^0.0.2", "@astrojs/react": "^0.1.0",
"astro": "^0.25.4", "astro": "^0.26.0",
"sass": "^1.49.11" "sass": "^1.49.11"
}, },
"dependencies": { "dependencies": {

View file

@ -9,8 +9,8 @@
"preview": "astro preview" "preview": "astro preview"
}, },
"devDependencies": { "devDependencies": {
"@astrojs/markdown-remark": "^0.7.0", "@astrojs/markdown-remark": "^0.8.0",
"astro": "^0.25.4", "astro": "^0.26.0",
"hast-util-select": "5.0.1", "hast-util-select": "5.0.1",
"rehype-autolink-headings": "^6.1.1", "rehype-autolink-headings": "^6.1.1",
"rehype-slug": "^5.0.1", "rehype-slug": "^5.0.1",

View file

@ -9,7 +9,7 @@
"preview": "astro preview" "preview": "astro preview"
}, },
"devDependencies": { "devDependencies": {
"@astrojs/markdown-remark": "^0.7.0", "@astrojs/markdown-remark": "^0.8.0",
"astro": "^0.25.4" "astro": "^0.26.0"
} }
} }

View file

@ -9,12 +9,12 @@
"preview": "astro preview" "preview": "astro preview"
}, },
"devDependencies": { "devDependencies": {
"@astrojs/markdown-remark": "^0.7.0", "@astrojs/markdown-remark": "^0.8.0",
"@astrojs/preact": "^0.0.2", "@astrojs/preact": "^0.0.2",
"@astrojs/react": "^0.0.2", "@astrojs/react": "^0.1.0",
"@astrojs/svelte": "^0.0.2", "@astrojs/svelte": "^0.0.2",
"@astrojs/vue": "^0.0.2", "@astrojs/vue": "^0.0.2",
"astro": "^0.25.4" "astro": "^0.26.0"
}, },
"dependencies": { "dependencies": {
"preact": "^10.7.0", "preact": "^10.7.0",

View file

@ -21,10 +21,10 @@
}, },
"devDependencies": { "devDependencies": {
"@astrojs/preact": "^0.0.2", "@astrojs/preact": "^0.0.2",
"@astrojs/react": "^0.0.2", "@astrojs/react": "^0.1.0",
"@astrojs/solid-js": "^0.0.3", "@astrojs/solid-js": "^0.0.3",
"@astrojs/svelte": "^0.0.2", "@astrojs/svelte": "^0.0.2",
"@astrojs/vue": "^0.0.2", "@astrojs/vue": "^0.0.2",
"astro": "^0.25.4" "astro": "^0.26.0"
} }
} }

View file

@ -9,8 +9,8 @@
"preview": "astro preview" "preview": "astro preview"
}, },
"devDependencies": { "devDependencies": {
"@astrojs/tailwind": "^0.0.2", "@astrojs/tailwind": "^0.1.0",
"astro": "^0.25.4", "astro": "^0.26.0",
"autoprefixer": "^10.4.4", "autoprefixer": "^10.4.4",
"canvas-confetti": "^1.5.1", "canvas-confetti": "^1.5.1",
"postcss": "^8.4.12", "postcss": "^8.4.12",

View file

@ -9,7 +9,7 @@
"preview": "astro preview" "preview": "astro preview"
}, },
"devDependencies": { "devDependencies": {
"astro": "^0.25.4", "astro": "^0.26.0",
"vite-plugin-pwa": "0.11.11", "vite-plugin-pwa": "0.11.11",
"workbox-window": "^6.5.2" "workbox-window": "^6.5.2"
} }

View file

@ -1,5 +1,51 @@
# astro # astro
## 0.26.0
### Minor Changes
- [#2862](https://github.com/withastro/astro/pull/2862) [`4299ab30`](https://github.com/withastro/astro/commit/4299ab303b0743349fbd01f85340bea61a1c16a8) Thanks [@FredKSchott](https://github.com/FredKSchott)! - Implement RFC [#0017](https://github.com/withastro/rfcs/blob/main/proposals/0017-markdown-content-redesign.md)
- New Markdown API
- New `Astro.glob()` API
- **BREAKING CHANGE:** Removed `Astro.fetchContent()` (replaced by `Astro.glob()`)
```diff
// v0.25
- let allPosts = Astro.fetchContent('./posts/*.md');
// v0.26+
+ let allPosts = await Astro.glob('./posts/*.md');
```
* [#2961](https://github.com/withastro/astro/pull/2961) [`d55658f0`](https://github.com/withastro/astro/commit/d55658f061bc4d95efa53e658cfbe407d94af284) Thanks [@natemoo-re](https://github.com/natemoo-re)! - Implement [RFC0016](https://github.com/withastro/rfcs/blob/main/proposals/0016-style-script-defaults.md) which changes the default behavior of `script`, introduces `is:inline`, and changes `<style global>` to `<style is:global>`
- [#2913](https://github.com/withastro/astro/pull/2913) [`ecc6a483`](https://github.com/withastro/astro/commit/ecc6a4833f68eaf78bd5d619ff7c54b952c96b15) Thanks [@matthewp](https://github.com/matthewp)! - Implements the Astro.request RFC
* [#2962](https://github.com/withastro/astro/pull/2962) [`17c02925`](https://github.com/withastro/astro/commit/17c02925c52027246000305cea1f9a7b6f484b00) Thanks [@natemoo-re](https://github.com/natemoo-re)! - Update config options to resepect [RFC0019](https://github.com/withastro/rfcs/blob/main/proposals/0019-config-finalization.md)
### Patch Changes
- [#2944](https://github.com/withastro/astro/pull/2944) [`c989f106`](https://github.com/withastro/astro/commit/c989f106f914126e82b2b2b995bd49f022b3a99b) Thanks [@matthewp](https://github.com/matthewp)! - Allow components to return a Response
* [#2937](https://github.com/withastro/astro/pull/2937) [`d10c3dea`](https://github.com/withastro/astro/commit/d10c3dea215bf0c7a4bfd037908c147d0cdffd05) Thanks [@JuanM04](https://github.com/JuanM04)! - `--experimental-ssr` now is only required when using a 3rd-party adapter
- [#2954](https://github.com/withastro/astro/pull/2954) [`d81b6d9e`](https://github.com/withastro/astro/commit/d81b6d9ebc2176690aac3f538e84b5566acbdff4) Thanks [@natemoo-re](https://github.com/natemoo-re)! - Improve `Astro.slots` API to support passing arguments to function-based slots.
This allows for more ergonomic utility components that accept a callback function as a child.
* [#2936](https://github.com/withastro/astro/pull/2936) [`f048cdff`](https://github.com/withastro/astro/commit/f048cdff7011871c89b936e33c336690689e0fbb) Thanks [@matthewp](https://github.com/matthewp)! - Fixes non-GET API routes in dev with Node 14
- [#2902](https://github.com/withastro/astro/pull/2902) [`f7020708`](https://github.com/withastro/astro/commit/f70207082abf369390a01882a85a7e057843fddd) Thanks [@FredKSchott](https://github.com/FredKSchott)! - Update CLI error format and style
* [#2957](https://github.com/withastro/astro/pull/2957) [`80e6e759`](https://github.com/withastro/astro/commit/80e6e759e2b8a0bf5510f050a3e04a53b97d180c) Thanks [@natemoo-re](https://github.com/natemoo-re)! - Update `@astrojs/compiler`, fixing some bugs related to RegExp usage in frontmatter
- [#2934](https://github.com/withastro/astro/pull/2934) [`13b271bc`](https://github.com/withastro/astro/commit/13b271bc7d032f5f3749a9868532d12d442a09ef) Thanks [@matthewp](https://github.com/matthewp)! - Add a Deno adapter for SSR
* [#2955](https://github.com/withastro/astro/pull/2955) [`cebdc854`](https://github.com/withastro/astro/commit/cebdc85428d0ed367c049a3ef5d9b0c77d78ad2e) Thanks [@matthewp](https://github.com/matthewp)! - Fix for copying public when using SSR and not client JS
* Updated dependencies [[`17c02925`](https://github.com/withastro/astro/commit/17c02925c52027246000305cea1f9a7b6f484b00)]:
- @astrojs/markdown-remark@0.8.0
## 0.25.4 ## 0.25.4
### Patch Changes ### Patch Changes
@ -53,7 +99,7 @@
import netlify from '@astrojs/netlify/functions'; import netlify from '@astrojs/netlify/functions';
export default defineConfig({ export default defineConfig({
adapter: netlify(), adapter: netlify(),
}); });
``` ```
@ -73,7 +119,7 @@
import nodejs from '@astrojs/node'; import nodejs from '@astrojs/node';
export default { export default {
adapter: nodejs(), adapter: nodejs(),
}; };
``` ```
@ -133,7 +179,7 @@
import nodejs from '@astrojs/node'; import nodejs from '@astrojs/node';
export default { export default {
adapter: nodejs(), adapter: nodejs(),
}; };
``` ```
@ -229,7 +275,7 @@
import { defineConfig } from 'astro/config'; import { defineConfig } from 'astro/config';
export default defineConfig({ export default defineConfig({
renderers: [], renderers: [],
}); });
``` ```
@ -267,9 +313,9 @@
```json ```json
{ {
"scripts": { "scripts": {
"build": "astro build --legacy-build" "build": "astro build --legacy-build"
} }
} }
``` ```
@ -289,7 +335,7 @@
```ts ```ts
if (Astro.slots.has('default')) { if (Astro.slots.has('default')) {
const content = await Astro.slots.render('default'); const content = await Astro.slots.render('default');
} }
``` ```
@ -373,7 +419,7 @@
```ts ```ts
if (Astro.slots.has('default')) { if (Astro.slots.has('default')) {
const content = await Astro.slots.render('default'); const content = await Astro.slots.render('default');
} }
``` ```
@ -397,9 +443,9 @@
```json ```json
{ {
"scripts": { "scripts": {
"build": "astro build --legacy-build" "build": "astro build --legacy-build"
} }
} }
``` ```
@ -511,12 +557,12 @@
```typescript ```typescript
// src/pages/company.json.ts // src/pages/company.json.ts
export async function get() { export async function get() {
return { return {
body: JSON.stringify({ body: JSON.stringify({
name: 'Astro Technology Company', name: 'Astro Technology Company',
url: 'https://astro.build/', url: 'https://astro.build/',
}), }),
}; };
} }
``` ```
@ -678,12 +724,12 @@
```typescript ```typescript
// src/pages/company.json.ts // src/pages/company.json.ts
export async function get() { export async function get() {
return { return {
body: JSON.stringify({ body: JSON.stringify({
name: 'Astro Technology Company', name: 'Astro Technology Company',
url: 'https://astro.build/', url: 'https://astro.build/',
}), }),
}; };
} }
``` ```
@ -2038,10 +2084,10 @@ For convenience, you may now also move your `astro.config.js` file to a top-leve
```js ```js
export default { export default {
markdownOptions: { markdownOptions: {
remarkPlugins: ['remark-slug', ['remark-autolink-headings', { behavior: 'prepend' }]], remarkPlugins: ['remark-slug', ['remark-autolink-headings', { behavior: 'prepend' }]],
rehypePlugins: ['rehype-slug', ['rehype-autolink-headings', { behavior: 'prepend' }]], rehypePlugins: ['rehype-slug', ['rehype-autolink-headings', { behavior: 'prepend' }]],
}, },
}; };
``` ```
@ -2061,10 +2107,10 @@ For convenience, you may now also move your `astro.config.js` file to a top-leve
```js ```js
export default { export default {
name: '@matthewp/my-renderer', name: '@matthewp/my-renderer',
server: './server.js', server: './server.js',
client: './client.js', client: './client.js',
hydrationPolyfills: ['./my-polyfill.js'], hydrationPolyfills: ['./my-polyfill.js'],
}; };
``` ```

View file

@ -1,6 +1,6 @@
{ {
"name": "astro", "name": "astro",
"version": "0.25.4", "version": "0.26.0",
"description": "Astro is a modern site builder with web best practices, performance, and DX front-of-mind.", "description": "Astro is a modern site builder with web best practices, performance, and DX front-of-mind.",
"type": "module", "type": "module",
"author": "withastro", "author": "withastro",
@ -75,7 +75,7 @@
"dependencies": { "dependencies": {
"@astrojs/compiler": "^0.14.1", "@astrojs/compiler": "^0.14.1",
"@astrojs/language-server": "^0.13.3", "@astrojs/language-server": "^0.13.3",
"@astrojs/markdown-remark": "^0.7.0", "@astrojs/markdown-remark": "^0.8.0",
"@astrojs/prism": "0.4.1", "@astrojs/prism": "0.4.1",
"@astrojs/webapi": "^0.11.0", "@astrojs/webapi": "^0.11.0",
"@babel/core": "^7.17.8", "@babel/core": "^7.17.8",

View file

@ -1,5 +1,15 @@
# @astrojs/node # @astrojs/node
## 0.1.0
### Minor Changes
- [#2962](https://github.com/withastro/astro/pull/2962) [`17c02925`](https://github.com/withastro/astro/commit/17c02925c52027246000305cea1f9a7b6f484b00) Thanks [@natemoo-re](https://github.com/natemoo-re)! - Update config options to resepect [RFC0019](https://github.com/withastro/rfcs/blob/main/proposals/0019-config-finalization.md)
### Patch Changes
- [#2934](https://github.com/withastro/astro/pull/2934) [`13b271bc`](https://github.com/withastro/astro/commit/13b271bc7d032f5f3749a9868532d12d442a09ef) Thanks [@matthewp](https://github.com/matthewp)! - Add a Deno adapter for SSR
## 0.0.2-next.0 ## 0.0.2-next.0
### Patch Changes ### Patch Changes

View file

@ -1,7 +1,7 @@
{ {
"name": "@astrojs/deno", "name": "@astrojs/deno",
"description": "Deploy your site to a Deno server", "description": "Deploy your site to a Deno server",
"version": "0.0.2-next.0", "version": "0.1.0",
"type": "module", "type": "module",
"types": "./dist/index.d.ts", "types": "./dist/index.d.ts",
"author": "withastro", "author": "withastro",

View file

@ -1,5 +1,11 @@
# @astrojs/netlify # @astrojs/netlify
## 0.1.0
### Minor Changes
- [#2962](https://github.com/withastro/astro/pull/2962) [`17c02925`](https://github.com/withastro/astro/commit/17c02925c52027246000305cea1f9a7b6f484b00) Thanks [@natemoo-re](https://github.com/natemoo-re)! - Update config options to resepect [RFC0019](https://github.com/withastro/rfcs/blob/main/proposals/0019-config-finalization.md)
## 0.0.2 ## 0.0.2
### Patch Changes ### Patch Changes
@ -13,6 +19,6 @@
import netlify from '@astrojs/netlify/functions'; import netlify from '@astrojs/netlify/functions';
export default defineConfig({ export default defineConfig({
adapter: netlify(), adapter: netlify(),
}); });
``` ```

View file

@ -1,7 +1,7 @@
{ {
"name": "@astrojs/netlify", "name": "@astrojs/netlify",
"description": "Deploy your site to Netlify", "description": "Deploy your site to Netlify",
"version": "0.0.2", "version": "0.1.0",
"type": "module", "type": "module",
"types": "./dist/index.d.ts", "types": "./dist/index.d.ts",
"author": "withastro", "author": "withastro",

View file

@ -1,5 +1,11 @@
# @astrojs/partytown # @astrojs/partytown
## 0.1.0
### Minor Changes
- [#2962](https://github.com/withastro/astro/pull/2962) [`17c02925`](https://github.com/withastro/astro/commit/17c02925c52027246000305cea1f9a7b6f484b00) Thanks [@natemoo-re](https://github.com/natemoo-re)! - Update config options to resepect [RFC0019](https://github.com/withastro/rfcs/blob/main/proposals/0019-config-finalization.md)
## 0.0.2 ## 0.0.2
### Patch Changes ### Patch Changes

View file

@ -1,7 +1,7 @@
{ {
"name": "@astrojs/partytown", "name": "@astrojs/partytown",
"description": "Astro + Partytown integration", "description": "Astro + Partytown integration",
"version": "0.0.2", "version": "0.1.0",
"type": "module", "type": "module",
"types": "./dist/index.d.ts", "types": "./dist/index.d.ts",
"author": "withastro", "author": "withastro",

View file

@ -1,5 +1,11 @@
# @astrojs/react # @astrojs/react
## 0.1.0
### Minor Changes
- [#2947](https://github.com/withastro/astro/pull/2947) [`57f48b27`](https://github.com/withastro/astro/commit/57f48b27019bbad5c8d61808291dc8bc6cdedb52) Thanks [@FredKSchott](https://github.com/FredKSchott)! - Add support for React v18
## 0.0.2 ## 0.0.2
### Patch Changes ### Patch Changes

View file

@ -1,7 +1,7 @@
{ {
"name": "@astrojs/react", "name": "@astrojs/react",
"description": "Use React components within Astro", "description": "Use React components within Astro",
"version": "0.0.2", "version": "0.1.0",
"type": "module", "type": "module",
"types": "./dist/index.d.ts", "types": "./dist/index.d.ts",
"author": "withastro", "author": "withastro",

View file

@ -1,5 +1,17 @@
# @astrojs/sitemap # @astrojs/sitemap
## 0.1.0
### Minor Changes
- [#2962](https://github.com/withastro/astro/pull/2962) [`17c02925`](https://github.com/withastro/astro/commit/17c02925c52027246000305cea1f9a7b6f484b00) Thanks [@natemoo-re](https://github.com/natemoo-re)! - Update config options to resepect [RFC0019](https://github.com/withastro/rfcs/blob/main/proposals/0019-config-finalization.md)
### Patch Changes
- [#2962](https://github.com/withastro/astro/pull/2962) [`17c02925`](https://github.com/withastro/astro/commit/17c02925c52027246000305cea1f9a7b6f484b00) Thanks [@natemoo-re](https://github.com/natemoo-re)! - Add new sitemap configuration options:
- `filter`: filter pages to include in your sitemap
- `canonicalURL`: override your astro.config `site` with a custom base URL
## 0.0.2 ## 0.0.2
### Patch Changes ### Patch Changes

View file

@ -1,7 +1,7 @@
{ {
"name": "@astrojs/sitemap", "name": "@astrojs/sitemap",
"description": "Generate a sitemap for Astro", "description": "Generate a sitemap for Astro",
"version": "0.0.2", "version": "0.1.0",
"type": "module", "type": "module",
"types": "./dist/index.d.ts", "types": "./dist/index.d.ts",
"author": "withastro", "author": "withastro",

View file

@ -1,5 +1,15 @@
# @astrojs/tailwind # @astrojs/tailwind
## 0.1.0
### Minor Changes
- [#2962](https://github.com/withastro/astro/pull/2962) [`17c02925`](https://github.com/withastro/astro/commit/17c02925c52027246000305cea1f9a7b6f484b00) Thanks [@natemoo-re](https://github.com/natemoo-re)! - Update config options to resepect [RFC0019](https://github.com/withastro/rfcs/blob/main/proposals/0019-config-finalization.md)
### Patch Changes
- [#2959](https://github.com/withastro/astro/pull/2959) [`226822cb`](https://github.com/withastro/astro/commit/226822cbbf0b04288a60d05977e7f74fa4698e9e) Thanks [@tony-sull](https://github.com/tony-sull)! - Adds an option to opt-out of the default base styles for the Tailwind integration
## 0.0.2 ## 0.0.2
### Patch Changes ### Patch Changes

View file

@ -1,7 +1,7 @@
{ {
"name": "@astrojs/tailwind", "name": "@astrojs/tailwind",
"description": "Tailwind + Astro Integrations", "description": "Tailwind + Astro Integrations",
"version": "0.0.2", "version": "0.1.0",
"type": "module", "type": "module",
"types": "./dist/index.d.ts", "types": "./dist/index.d.ts",
"author": "withastro", "author": "withastro",

View file

@ -1,5 +1,11 @@
# @astrojs/markdown-remark # @astrojs/markdown-remark
## 0.8.0
### Minor Changes
- [#2962](https://github.com/withastro/astro/pull/2962) [`17c02925`](https://github.com/withastro/astro/commit/17c02925c52027246000305cea1f9a7b6f484b00) Thanks [@natemoo-re](https://github.com/natemoo-re)! - Update config options to resepect [RFC0019](https://github.com/withastro/rfcs/blob/main/proposals/0019-config-finalization.md)
## 0.7.0 ## 0.7.0
### Minor Changes ### Minor Changes
@ -187,10 +193,10 @@
```js ```js
export default { export default {
markdownOptions: { markdownOptions: {
remarkPlugins: ['remark-slug', ['remark-autolink-headings', { behavior: 'prepend' }]], remarkPlugins: ['remark-slug', ['remark-autolink-headings', { behavior: 'prepend' }]],
rehypePlugins: ['rehype-slug', ['rehype-autolink-headings', { behavior: 'prepend' }]], rehypePlugins: ['rehype-slug', ['rehype-autolink-headings', { behavior: 'prepend' }]],
}, },
}; };
``` ```

View file

@ -1,6 +1,6 @@
{ {
"name": "@astrojs/markdown-remark", "name": "@astrojs/markdown-remark",
"version": "0.7.0", "version": "0.8.0",
"type": "module", "type": "module",
"author": "withastro", "author": "withastro",
"license": "MIT", "license": "MIT",

View file

@ -44,7 +44,7 @@ importers:
examples/blog: examples/blog:
specifiers: specifiers:
'@astrojs/preact': ^0.0.2 '@astrojs/preact': ^0.0.2
astro: ^0.25.4 astro: ^0.26.0
preact: ^10.7.0 preact: ^10.7.0
dependencies: dependencies:
preact: 10.7.0 preact: 10.7.0
@ -55,7 +55,7 @@ importers:
examples/blog-multiple-authors: examples/blog-multiple-authors:
specifiers: specifiers:
'@astrojs/preact': ^0.0.2 '@astrojs/preact': ^0.0.2
astro: ^0.25.4 astro: ^0.26.0
preact: ^10.7.0 preact: ^10.7.0
sass: ^1.49.11 sass: ^1.49.11
dependencies: dependencies:
@ -67,14 +67,14 @@ importers:
examples/component: examples/component:
specifiers: specifiers:
astro: ^0.25.4 astro: ^0.26.0
devDependencies: devDependencies:
astro: link:../../packages/astro astro: link:../../packages/astro
examples/component/demo: examples/component/demo:
specifiers: specifiers:
'@example/my-component': workspace:* '@example/my-component': workspace:*
astro: ^0.25.4 astro: ^0.26.0
devDependencies: devDependencies:
'@example/my-component': link:../packages/my-component '@example/my-component': link:../packages/my-component
astro: link:../../../packages/astro astro: link:../../../packages/astro
@ -86,11 +86,11 @@ importers:
specifiers: specifiers:
'@algolia/client-search': ^4.13.0 '@algolia/client-search': ^4.13.0
'@astrojs/preact': ^0.0.2 '@astrojs/preact': ^0.0.2
'@astrojs/react': ^0.0.2 '@astrojs/react': ^0.1.0
'@docsearch/css': ^3.0.0 '@docsearch/css': ^3.0.0
'@docsearch/react': ^3.0.0 '@docsearch/react': ^3.0.0
'@types/react': ^17.0.43 '@types/react': ^17.0.43
astro: ^0.25.4 astro: ^0.26.0
preact: ^10.7.0 preact: ^10.7.0
react: ^18.0.0 react: ^18.0.0
react-dom: ^18.0.0 react-dom: ^18.0.0
@ -109,13 +109,13 @@ importers:
examples/env-vars: examples/env-vars:
specifiers: specifiers:
astro: ^0.25.4 astro: ^0.26.0
devDependencies: devDependencies:
astro: link:../../packages/astro astro: link:../../packages/astro
examples/framework-alpine: examples/framework-alpine:
specifiers: specifiers:
astro: ^0.25.4 astro: ^0.26.0
devDependencies: devDependencies:
astro: link:../../packages/astro astro: link:../../packages/astro
@ -123,7 +123,7 @@ importers:
specifiers: specifiers:
'@astrojs/lit': ^0.0.2 '@astrojs/lit': ^0.0.2
'@webcomponents/template-shadowroot': ^0.1.0 '@webcomponents/template-shadowroot': ^0.1.0
astro: ^0.25.4 astro: ^0.26.0
lit: ^2.2.1 lit: ^2.2.1
dependencies: dependencies:
'@webcomponents/template-shadowroot': 0.1.0 '@webcomponents/template-shadowroot': 0.1.0
@ -136,12 +136,12 @@ importers:
specifiers: specifiers:
'@astrojs/lit': ^0.0.2 '@astrojs/lit': ^0.0.2
'@astrojs/preact': ^0.0.2 '@astrojs/preact': ^0.0.2
'@astrojs/react': ^0.0.2 '@astrojs/react': ^0.1.0
'@astrojs/solid-js': ^0.0.3 '@astrojs/solid-js': ^0.0.3
'@astrojs/svelte': ^0.0.2 '@astrojs/svelte': ^0.0.2
'@astrojs/vue': ^0.0.2 '@astrojs/vue': ^0.0.2
'@webcomponents/template-shadowroot': ^0.1.0 '@webcomponents/template-shadowroot': ^0.1.0
astro: ^0.25.4 astro: ^0.26.0
lit: ^2.2.1 lit: ^2.2.1
preact: ^10.7.0 preact: ^10.7.0
react: ^18.0.0 react: ^18.0.0
@ -170,7 +170,7 @@ importers:
examples/framework-preact: examples/framework-preact:
specifiers: specifiers:
'@astrojs/preact': ^0.0.2 '@astrojs/preact': ^0.0.2
astro: ^0.25.4 astro: ^0.26.0
preact: ^10.7.0 preact: ^10.7.0
dependencies: dependencies:
preact: 10.7.0 preact: 10.7.0
@ -180,8 +180,8 @@ importers:
examples/framework-react: examples/framework-react:
specifiers: specifiers:
'@astrojs/react': ^0.0.2 '@astrojs/react': ^0.1.0
astro: ^0.25.4 astro: ^0.26.0
react: ^18.0.0 react: ^18.0.0
react-dom: ^18.0.0 react-dom: ^18.0.0
dependencies: dependencies:
@ -194,7 +194,7 @@ importers:
examples/framework-solid: examples/framework-solid:
specifiers: specifiers:
'@astrojs/solid-js': ^0.0.3 '@astrojs/solid-js': ^0.0.3
astro: ^0.25.4 astro: ^0.26.0
solid-js: ^1.3.13 solid-js: ^1.3.13
dependencies: dependencies:
solid-js: 1.3.13 solid-js: 1.3.13
@ -205,7 +205,7 @@ importers:
examples/framework-svelte: examples/framework-svelte:
specifiers: specifiers:
'@astrojs/svelte': ^0.0.2 '@astrojs/svelte': ^0.0.2
astro: ^0.25.4 astro: ^0.26.0
svelte: ^3.46.6 svelte: ^3.46.6
dependencies: dependencies:
svelte: 3.46.6 svelte: 3.46.6
@ -216,7 +216,7 @@ importers:
examples/framework-vue: examples/framework-vue:
specifiers: specifiers:
'@astrojs/vue': ^0.0.2 '@astrojs/vue': ^0.0.2
astro: ^0.25.4 astro: ^0.26.0
vue: ^3.2.31 vue: ^3.2.31
dependencies: dependencies:
vue: 3.2.31 vue: 3.2.31
@ -227,13 +227,13 @@ importers:
examples/integrations-playground: examples/integrations-playground:
specifiers: specifiers:
'@astrojs/lit': ^0.0.2 '@astrojs/lit': ^0.0.2
'@astrojs/partytown': ^0.0.2 '@astrojs/partytown': ^0.1.0
'@astrojs/react': ^0.0.2 '@astrojs/react': ^0.1.0
'@astrojs/sitemap': ^0.0.2 '@astrojs/sitemap': ^0.1.0
'@astrojs/tailwind': ^0.0.2 '@astrojs/tailwind': ^0.1.0
'@astrojs/turbolinks': ^0.0.2 '@astrojs/turbolinks': ^0.0.2
'@webcomponents/template-shadowroot': ^0.1.0 '@webcomponents/template-shadowroot': ^0.1.0
astro: ^0.25.4 astro: ^0.26.0
lit: ^2.2.1 lit: ^2.2.1
preact: ^10.7.0 preact: ^10.7.0
react: ^18.0.0 react: ^18.0.0
@ -261,20 +261,20 @@ importers:
examples/minimal: examples/minimal:
specifiers: specifiers:
astro: ^0.25.4 astro: ^0.26.0
devDependencies: devDependencies:
astro: link:../../packages/astro astro: link:../../packages/astro
examples/non-html-pages: examples/non-html-pages:
specifiers: specifiers:
astro: ^0.25.4 astro: ^0.26.0
devDependencies: devDependencies:
astro: link:../../packages/astro astro: link:../../packages/astro
examples/portfolio: examples/portfolio:
specifiers: specifiers:
'@astrojs/preact': ^0.0.2 '@astrojs/preact': ^0.0.2
astro: ^0.25.4 astro: ^0.26.0
preact: ^10.7.0 preact: ^10.7.0
sass: ^1.49.11 sass: ^1.49.11
dependencies: dependencies:
@ -288,7 +288,7 @@ importers:
specifiers: specifiers:
'@astrojs/node': ^0.0.2 '@astrojs/node': ^0.0.2
'@astrojs/svelte': ^0.0.2 '@astrojs/svelte': ^0.0.2
astro: ^0.25.4 astro: ^0.26.0
concurrently: ^7.1.0 concurrently: ^7.1.0
lightcookie: ^1.0.25 lightcookie: ^1.0.25
svelte: ^3.46.6 svelte: ^3.46.6
@ -307,14 +307,14 @@ importers:
examples/starter: examples/starter:
specifiers: specifiers:
astro: ^0.25.4 astro: ^0.26.0
devDependencies: devDependencies:
astro: link:../../packages/astro astro: link:../../packages/astro
examples/subpath: examples/subpath:
specifiers: specifiers:
'@astrojs/react': ^0.0.2 '@astrojs/react': ^0.1.0
astro: ^0.25.4 astro: ^0.26.0
react: ^18.0.0 react: ^18.0.0
react-dom: ^18.0.0 react-dom: ^18.0.0
sass: ^1.49.11 sass: ^1.49.11
@ -328,12 +328,12 @@ importers:
examples/with-markdown: examples/with-markdown:
specifiers: specifiers:
'@astrojs/markdown-remark': ^0.7.0 '@astrojs/markdown-remark': ^0.8.0
'@astrojs/preact': ^0.0.2 '@astrojs/preact': ^0.0.2
'@astrojs/react': ^0.0.2 '@astrojs/react': ^0.1.0
'@astrojs/svelte': ^0.0.2 '@astrojs/svelte': ^0.0.2
'@astrojs/vue': ^0.0.2 '@astrojs/vue': ^0.0.2
astro: ^0.25.4 astro: ^0.26.0
preact: ^10.7.0 preact: ^10.7.0
react: ^18.0.0 react: ^18.0.0
react-dom: ^18.0.0 react-dom: ^18.0.0
@ -355,8 +355,8 @@ importers:
examples/with-markdown-plugins: examples/with-markdown-plugins:
specifiers: specifiers:
'@astrojs/markdown-remark': ^0.7.0 '@astrojs/markdown-remark': ^0.8.0
astro: ^0.25.4 astro: ^0.26.0
hast-util-select: 5.0.1 hast-util-select: 5.0.1
rehype-autolink-headings: ^6.1.1 rehype-autolink-headings: ^6.1.1
rehype-slug: ^5.0.1 rehype-slug: ^5.0.1
@ -373,8 +373,8 @@ importers:
examples/with-markdown-shiki: examples/with-markdown-shiki:
specifiers: specifiers:
'@astrojs/markdown-remark': ^0.7.0 '@astrojs/markdown-remark': ^0.8.0
astro: ^0.25.4 astro: ^0.26.0
devDependencies: devDependencies:
'@astrojs/markdown-remark': link:../../packages/markdown/remark '@astrojs/markdown-remark': link:../../packages/markdown/remark
astro: link:../../packages/astro astro: link:../../packages/astro
@ -382,14 +382,14 @@ importers:
examples/with-nanostores: examples/with-nanostores:
specifiers: specifiers:
'@astrojs/preact': ^0.0.2 '@astrojs/preact': ^0.0.2
'@astrojs/react': ^0.0.2 '@astrojs/react': ^0.1.0
'@astrojs/solid-js': ^0.0.3 '@astrojs/solid-js': ^0.0.3
'@astrojs/svelte': ^0.0.2 '@astrojs/svelte': ^0.0.2
'@astrojs/vue': ^0.0.2 '@astrojs/vue': ^0.0.2
'@nanostores/preact': ^0.1.3 '@nanostores/preact': ^0.1.3
'@nanostores/react': ^0.1.5 '@nanostores/react': ^0.1.5
'@nanostores/vue': ^0.4.1 '@nanostores/vue': ^0.4.1
astro: ^0.25.4 astro: ^0.26.0
nanostores: ^0.5.12 nanostores: ^0.5.12
preact: ^10.7.0 preact: ^10.7.0
react: ^18.0.0 react: ^18.0.0
@ -416,8 +416,8 @@ importers:
examples/with-tailwindcss: examples/with-tailwindcss:
specifiers: specifiers:
'@astrojs/tailwind': ^0.0.2 '@astrojs/tailwind': ^0.1.0
astro: ^0.25.4 astro: ^0.26.0
autoprefixer: ^10.4.4 autoprefixer: ^10.4.4
canvas-confetti: ^1.5.1 canvas-confetti: ^1.5.1
postcss: ^8.4.12 postcss: ^8.4.12
@ -432,7 +432,7 @@ importers:
examples/with-vite-plugin-pwa: examples/with-vite-plugin-pwa:
specifiers: specifiers:
astro: ^0.25.4 astro: ^0.26.0
vite-plugin-pwa: 0.11.11 vite-plugin-pwa: 0.11.11
workbox-window: ^6.5.2 workbox-window: ^6.5.2
devDependencies: devDependencies:
@ -444,7 +444,7 @@ importers:
specifiers: specifiers:
'@astrojs/compiler': ^0.14.1 '@astrojs/compiler': ^0.14.1
'@astrojs/language-server': ^0.13.3 '@astrojs/language-server': ^0.13.3
'@astrojs/markdown-remark': ^0.7.0 '@astrojs/markdown-remark': ^0.8.0
'@astrojs/prism': 0.4.1 '@astrojs/prism': 0.4.1
'@astrojs/webapi': ^0.11.0 '@astrojs/webapi': ^0.11.0
'@babel/core': ^7.17.8 '@babel/core': ^7.17.8