[ci] release (#2802)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
This commit is contained in:
parent
86419d9ed7
commit
b36d16eb8f
32 changed files with 77 additions and 85 deletions
|
@ -1,5 +0,0 @@
|
||||||
---
|
|
||||||
"astro": patch
|
|
||||||
---
|
|
||||||
|
|
||||||
Fix: Handle CLI output in a cross-compat way
|
|
|
@ -1,5 +0,0 @@
|
||||||
---
|
|
||||||
'astro': patch
|
|
||||||
---
|
|
||||||
|
|
||||||
Fix HTML double-escaping issue
|
|
|
@ -1,15 +0,0 @@
|
||||||
---
|
|
||||||
'astro': patch
|
|
||||||
---
|
|
||||||
|
|
||||||
Add an `astro/config` entrypoint with a `defineConfig` utility.
|
|
||||||
|
|
||||||
Config files can now be easily benefit from Intellisense using the following approach:
|
|
||||||
|
|
||||||
```js
|
|
||||||
import { defineConfig } from 'astro/config';
|
|
||||||
|
|
||||||
export default defineConfig({
|
|
||||||
renderers: []
|
|
||||||
})
|
|
||||||
```
|
|
|
@ -1,5 +0,0 @@
|
||||||
---
|
|
||||||
'astro': patch
|
|
||||||
---
|
|
||||||
|
|
||||||
Fix missing styles on initial dev server load (ex. Tailwind styles)
|
|
|
@ -10,7 +10,7 @@
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@astrojs/renderer-preact": "^0.5.0",
|
"@astrojs/renderer-preact": "^0.5.0",
|
||||||
"astro": "^0.24.1",
|
"astro": "^0.24.2",
|
||||||
"sass": "^1.49.9"
|
"sass": "^1.49.9"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -9,7 +9,7 @@
|
||||||
"preview": "astro preview"
|
"preview": "astro preview"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"astro": "^0.24.1",
|
"astro": "^0.24.2",
|
||||||
"@astrojs/renderer-preact": "^0.5.0"
|
"@astrojs/renderer-preact": "^0.5.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -10,6 +10,6 @@
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@example/my-component": "workspace:*",
|
"@example/my-component": "workspace:*",
|
||||||
"astro": "^0.24.1"
|
"astro": "^0.24.2"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -8,6 +8,6 @@
|
||||||
"serve": "astro --project-root demo preview"
|
"serve": "astro --project-root demo preview"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"astro": "^0.24.1"
|
"astro": "^0.24.2"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -19,6 +19,6 @@
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@astrojs/renderer-preact": "^0.5.0",
|
"@astrojs/renderer-preact": "^0.5.0",
|
||||||
"@astrojs/renderer-react": "^0.5.0",
|
"@astrojs/renderer-react": "^0.5.0",
|
||||||
"astro": "^0.24.1"
|
"astro": "^0.24.2"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -9,6 +9,6 @@
|
||||||
"preview": "astro preview"
|
"preview": "astro preview"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"astro": "^0.24.1"
|
"astro": "^0.24.2"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -9,6 +9,6 @@
|
||||||
"preview": "astro preview"
|
"preview": "astro preview"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"astro": "^0.24.1"
|
"astro": "^0.24.2"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -10,6 +10,6 @@
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@astrojs/renderer-lit": "^0.4.0",
|
"@astrojs/renderer-lit": "^0.4.0",
|
||||||
"astro": "^0.24.1"
|
"astro": "^0.24.2"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -15,6 +15,6 @@
|
||||||
"@astrojs/renderer-solid": "^0.4.0",
|
"@astrojs/renderer-solid": "^0.4.0",
|
||||||
"@astrojs/renderer-svelte": "^0.5.1",
|
"@astrojs/renderer-svelte": "^0.5.1",
|
||||||
"@astrojs/renderer-vue": "^0.4.0",
|
"@astrojs/renderer-vue": "^0.4.0",
|
||||||
"astro": "^0.24.1"
|
"astro": "^0.24.2"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -10,6 +10,6 @@
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@astrojs/renderer-preact": "^0.5.0",
|
"@astrojs/renderer-preact": "^0.5.0",
|
||||||
"astro": "^0.24.1"
|
"astro": "^0.24.2"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -10,6 +10,6 @@
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@astrojs/renderer-react": "^0.5.0",
|
"@astrojs/renderer-react": "^0.5.0",
|
||||||
"astro": "^0.24.1"
|
"astro": "^0.24.2"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -10,6 +10,6 @@
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@astrojs/renderer-solid": "^0.4.0",
|
"@astrojs/renderer-solid": "^0.4.0",
|
||||||
"astro": "^0.24.1"
|
"astro": "^0.24.2"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -10,6 +10,6 @@
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@astrojs/renderer-svelte": "^0.5.1",
|
"@astrojs/renderer-svelte": "^0.5.1",
|
||||||
"astro": "^0.24.1"
|
"astro": "^0.24.2"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -10,6 +10,6 @@
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@astrojs/renderer-vue": "^0.4.0",
|
"@astrojs/renderer-vue": "^0.4.0",
|
||||||
"astro": "^0.24.1"
|
"astro": "^0.24.2"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -9,6 +9,6 @@
|
||||||
"preview": "astro preview"
|
"preview": "astro preview"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"astro": "^0.24.1"
|
"astro": "^0.24.2"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -9,6 +9,6 @@
|
||||||
"preview": "astro preview"
|
"preview": "astro preview"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"astro": "^0.24.1"
|
"astro": "^0.24.2"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@astrojs/renderer-preact": "^0.5.0",
|
"@astrojs/renderer-preact": "^0.5.0",
|
||||||
"astro": "^0.24.1",
|
"astro": "^0.24.2",
|
||||||
"sass": "^1.49.9"
|
"sass": "^1.49.9"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@astrojs/renderer-svelte": "^0.5.1",
|
"@astrojs/renderer-svelte": "^0.5.1",
|
||||||
"astro": "^0.24.1",
|
"astro": "^0.24.2",
|
||||||
"unocss": "^0.15.6",
|
"unocss": "^0.15.6",
|
||||||
"vite-imagetools": "^4.0.3"
|
"vite-imagetools": "^4.0.3"
|
||||||
}
|
}
|
||||||
|
|
|
@ -9,6 +9,6 @@
|
||||||
"preview": "astro preview"
|
"preview": "astro preview"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"astro": "^0.24.1"
|
"astro": "^0.24.2"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@astrojs/renderer-react": "^0.5.0",
|
"@astrojs/renderer-react": "^0.5.0",
|
||||||
"astro": "^0.24.1",
|
"astro": "^0.24.2",
|
||||||
"sass": "^1.49.9"
|
"sass": "^1.49.9"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@astrojs/markdown-remark": "^0.6.4",
|
"@astrojs/markdown-remark": "^0.6.4",
|
||||||
"astro": "^0.24.1",
|
"astro": "^0.24.2",
|
||||||
"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",
|
||||||
|
|
|
@ -10,6 +10,6 @@
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@astrojs/markdown-remark": "^0.6.4",
|
"@astrojs/markdown-remark": "^0.6.4",
|
||||||
"astro": "^0.24.1"
|
"astro": "^0.24.2"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -14,6 +14,6 @@
|
||||||
"@astrojs/renderer-react": "^0.5.0",
|
"@astrojs/renderer-react": "^0.5.0",
|
||||||
"@astrojs/renderer-svelte": "^0.5.1",
|
"@astrojs/renderer-svelte": "^0.5.1",
|
||||||
"@astrojs/renderer-vue": "^0.4.0",
|
"@astrojs/renderer-vue": "^0.4.0",
|
||||||
"astro": "^0.24.1"
|
"astro": "^0.24.2"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -25,6 +25,6 @@
|
||||||
"@astrojs/renderer-solid": "^0.4.0",
|
"@astrojs/renderer-solid": "^0.4.0",
|
||||||
"@astrojs/renderer-svelte": "^0.5.1",
|
"@astrojs/renderer-svelte": "^0.5.1",
|
||||||
"@astrojs/renderer-vue": "^0.4.0",
|
"@astrojs/renderer-vue": "^0.4.0",
|
||||||
"astro": "^0.24.1"
|
"astro": "^0.24.2"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@astrojs/renderer-preact": "^0.5.0",
|
"@astrojs/renderer-preact": "^0.5.0",
|
||||||
"astro": "^0.24.1",
|
"astro": "^0.24.2",
|
||||||
"autoprefixer": "^10.4.2",
|
"autoprefixer": "^10.4.2",
|
||||||
"postcss": "^8.4.8",
|
"postcss": "^8.4.8",
|
||||||
"tailwindcss": "^3.0.23"
|
"tailwindcss": "^3.0.23"
|
||||||
|
|
|
@ -9,7 +9,7 @@
|
||||||
"preview": "astro preview"
|
"preview": "astro preview"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"astro": "^0.24.1",
|
"astro": "^0.24.2",
|
||||||
"vite-plugin-pwa": "0.11.11",
|
"vite-plugin-pwa": "0.11.11",
|
||||||
"workbox-window": "^6.5.1"
|
"workbox-window": "^6.5.1"
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,5 +1,27 @@
|
||||||
# astro
|
# astro
|
||||||
|
|
||||||
|
## 0.24.2
|
||||||
|
|
||||||
|
### Patch Changes
|
||||||
|
|
||||||
|
- [#2801](https://github.com/withastro/astro/pull/2801) [`11fb3745`](https://github.com/withastro/astro/commit/11fb3745dd548c6a8fa94c6a29e0ee89bac591aa) Thanks [@FredKSchott](https://github.com/FredKSchott)! - Fix: Handle CLI output in a cross-compat way
|
||||||
|
|
||||||
|
* [#2793](https://github.com/withastro/astro/pull/2793) [`6eb49479`](https://github.com/withastro/astro/commit/6eb494796e5144a4f2c12a6cce3fb2345c9b4e4e) Thanks [@FredKSchott](https://github.com/FredKSchott)! - Fix HTML double-escaping issue
|
||||||
|
|
||||||
|
- [#2803](https://github.com/withastro/astro/pull/2803) [`2b76ee8d`](https://github.com/withastro/astro/commit/2b76ee8d75d44492af18b9ead35293da7178930a) Thanks [@natemoo-re](https://github.com/natemoo-re)! - Add an `astro/config` entrypoint with a `defineConfig` utility.
|
||||||
|
|
||||||
|
Config files can now be easily benefit from Intellisense using the following approach:
|
||||||
|
|
||||||
|
```js
|
||||||
|
import { defineConfig } from 'astro/config';
|
||||||
|
|
||||||
|
export default defineConfig({
|
||||||
|
renderers: [],
|
||||||
|
});
|
||||||
|
```
|
||||||
|
|
||||||
|
* [#2791](https://github.com/withastro/astro/pull/2791) [`2d95541b`](https://github.com/withastro/astro/commit/2d95541b52118f787144720cb28cdd64644b903a) Thanks [@bholmesdev](https://github.com/bholmesdev)! - Fix missing styles on initial dev server load (ex. Tailwind styles)
|
||||||
|
|
||||||
## 0.24.1
|
## 0.24.1
|
||||||
|
|
||||||
### Patch Changes
|
### Patch Changes
|
||||||
|
@ -32,9 +54,9 @@
|
||||||
|
|
||||||
```json
|
```json
|
||||||
{
|
{
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "astro build --legacy-build"
|
"build": "astro build --legacy-build"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -54,7 +76,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');
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -138,7 +160,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');
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -162,9 +184,9 @@
|
||||||
|
|
||||||
```json
|
```json
|
||||||
{
|
{
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "astro build --legacy-build"
|
"build": "astro build --legacy-build"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -276,12 +298,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/',
|
||||||
}),
|
}),
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -443,12 +465,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/',
|
||||||
}),
|
}),
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -1803,10 +1825,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' }]],
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -1826,10 +1848,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'],
|
||||||
};
|
};
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "astro",
|
"name": "astro",
|
||||||
"version": "0.24.1",
|
"version": "0.24.2",
|
||||||
"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",
|
||||||
|
|
Loading…
Add table
Reference in a new issue