0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2025-01-27 22:19:04 -05:00

[ci] release (#10029)

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
This commit is contained in:
Houston (Bot) 2024-02-12 06:25:50 -08:00 committed by GitHub
parent 1b528d2e50
commit 7371e1b5fc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
37 changed files with 114 additions and 119 deletions

View file

@ -1,5 +0,0 @@
---
"astro": patch
---
Moves `shikiji-core` from `devDependencies` to `dependencies` to prevent type errors

View file

@ -1,41 +0,0 @@
---
"@astrojs/markdoc": minor
---
Adds support for using a custom tag (component) for optimized images
Starting from this version, when a tag called `image` is used, its `src` attribute will automatically be resolved if it's a local image. Astro will pass the result `ImageMetadata` object to the underlying component as the `src` prop. For non-local images (i.e. images using URLs or absolute paths), Astro will continue to pass the `src` as a string.
```ts
// markdoc.config.mjs
import { component, defineMarkdocConfig, nodes } from '@astrojs/markdoc/config';
export default defineMarkdocConfig({
tags: {
image: {
attributes: nodes.image.attributes,
render: component('./src/components/MarkdocImage.astro'),
},
},
});
```
```astro
---
// src/components/MarkdocImage.astro
import { Image } from "astro:assets";
interface Props {
src: ImageMetadata | string;
alt: string;
width: number;
height: number;
}
const { src, alt, width, height } = Astro.props;
---
<Image {src} {alt} {width} {height} />
```
```mdoc
{% image src="./astro-logo.png" alt="Astro Logo" width="100" height="100" %}
``````

View file

@ -1,5 +0,0 @@
---
"astro": patch
---
Fixes a regression in the `astro:i18n` module, where the functions `getAbsoluteLocaleUrl` and `getAbsoluteLocaleUrlList` returned a URL with double slash with a certain combination of options.

View file

@ -1,5 +0,0 @@
---
"astro": patch
---
Fixes an issue where custom client directives added by integrations broke builds with a custom root.

View file

@ -1,5 +0,0 @@
---
"astro": patch
---
Increases compatibility with standard browser behavior by changing where view transitions occur on browser back navigation.

View file

@ -11,6 +11,6 @@
"astro": "astro"
},
"dependencies": {
"astro": "^4.3.5"
"astro": "^4.3.6"
}
}

View file

@ -14,6 +14,6 @@
"@astrojs/mdx": "^2.1.1",
"@astrojs/rss": "^4.0.5",
"@astrojs/sitemap": "^3.0.5",
"astro": "^4.3.5"
"astro": "^4.3.6"
}
}

View file

@ -15,7 +15,7 @@
],
"scripts": {},
"devDependencies": {
"astro": "^4.3.5"
"astro": "^4.3.6"
},
"peerDependencies": {
"astro": "^4.0.0"

View file

@ -14,6 +14,6 @@
"@astrojs/alpinejs": "^0.4.0",
"@types/alpinejs": "^3.13.5",
"alpinejs": "^3.13.3",
"astro": "^4.3.5"
"astro": "^4.3.6"
}
}

View file

@ -13,7 +13,7 @@
"dependencies": {
"@astrojs/lit": "^4.0.1",
"@webcomponents/template-shadowroot": "^0.2.1",
"astro": "^4.3.5",
"astro": "^4.3.6",
"lit": "^3.1.2"
}
}

View file

@ -16,7 +16,7 @@
"@astrojs/solid-js": "^4.0.1",
"@astrojs/svelte": "^5.0.3",
"@astrojs/vue": "^4.0.8",
"astro": "^4.3.5",
"astro": "^4.3.6",
"preact": "^10.19.2",
"react": "^18.2.0",
"react-dom": "^18.2.0",

View file

@ -13,7 +13,7 @@
"dependencies": {
"@astrojs/preact": "^3.1.0",
"@preact/signals": "^1.2.1",
"astro": "^4.3.5",
"astro": "^4.3.6",
"preact": "^10.19.2"
}
}

View file

@ -14,7 +14,7 @@
"@astrojs/react": "^3.0.10",
"@types/react": "^18.2.37",
"@types/react-dom": "^18.2.15",
"astro": "^4.3.5",
"astro": "^4.3.6",
"react": "^18.2.0",
"react-dom": "^18.2.0"
}

View file

@ -12,7 +12,7 @@
},
"dependencies": {
"@astrojs/solid-js": "^4.0.1",
"astro": "^4.3.5",
"astro": "^4.3.6",
"solid-js": "^1.8.5"
}
}

View file

@ -12,7 +12,7 @@
},
"dependencies": {
"@astrojs/svelte": "^5.0.3",
"astro": "^4.3.5",
"astro": "^4.3.6",
"svelte": "^4.2.5"
}
}

View file

@ -12,7 +12,7 @@
},
"dependencies": {
"@astrojs/vue": "^4.0.8",
"astro": "^4.3.5",
"astro": "^4.3.6",
"vue": "^3.3.8"
}
}

View file

@ -12,6 +12,6 @@
},
"dependencies": {
"@astrojs/node": "^8.2.0",
"astro": "^4.3.5"
"astro": "^4.3.6"
}
}

View file

@ -15,7 +15,7 @@
],
"scripts": {},
"devDependencies": {
"astro": "^4.3.5"
"astro": "^4.3.6"
},
"peerDependencies": {
"astro": "^4.0.0"

View file

@ -13,7 +13,7 @@
},
"dependencies": {
"@astrojs/node": "^8.2.0",
"astro": "^4.3.5",
"astro": "^4.3.6",
"html-minifier": "^4.0.0"
},
"devDependencies": {

View file

@ -11,6 +11,6 @@
"astro": "astro"
},
"dependencies": {
"astro": "^4.3.5"
"astro": "^4.3.6"
}
}

View file

@ -11,6 +11,6 @@
"astro": "astro"
},
"dependencies": {
"astro": "^4.3.5"
"astro": "^4.3.6"
}
}

View file

@ -11,6 +11,6 @@
"astro": "astro"
},
"dependencies": {
"astro": "^4.3.5"
"astro": "^4.3.6"
}
}

View file

@ -14,7 +14,7 @@
"dependencies": {
"@astrojs/node": "^8.2.0",
"@astrojs/svelte": "^5.0.3",
"astro": "^4.3.5",
"astro": "^4.3.6",
"svelte": "^4.2.5"
}
}

View file

@ -10,7 +10,7 @@
"astro": "astro"
},
"dependencies": {
"astro": "^4.3.5",
"astro": "^4.3.6",
"sass": "^1.69.5",
"sharp": "^0.32.6"
}

View file

@ -12,6 +12,6 @@
"devDependencies": {
"@astrojs/tailwind": "^5.1.0",
"@astrojs/node": "^8.2.0",
"astro": "^4.3.5"
"astro": "^4.3.6"
}
}

View file

@ -11,7 +11,7 @@
"astro": "astro"
},
"dependencies": {
"@astrojs/markdoc": "^0.8.3",
"astro": "^4.3.5"
"@astrojs/markdoc": "^0.9.0",
"astro": "^4.3.6"
}
}

View file

@ -12,7 +12,7 @@
},
"dependencies": {
"@astrojs/markdown-remark": "^4.2.1",
"astro": "^4.3.5",
"astro": "^4.3.6",
"hast-util-select": "^6.0.2",
"rehype-autolink-headings": "^7.1.0",
"rehype-slug": "^6.0.0",

View file

@ -11,6 +11,6 @@
"astro": "astro"
},
"dependencies": {
"astro": "^4.3.5"
"astro": "^4.3.6"
}
}

View file

@ -13,7 +13,7 @@
"dependencies": {
"@astrojs/mdx": "^2.1.1",
"@astrojs/preact": "^3.1.0",
"astro": "^4.3.5",
"astro": "^4.3.6",
"preact": "^10.19.2"
}
}

View file

@ -13,7 +13,7 @@
"dependencies": {
"@astrojs/preact": "^3.1.0",
"@nanostores/preact": "^0.5.0",
"astro": "^4.3.5",
"astro": "^4.3.6",
"nanostores": "^0.9.5",
"preact": "^10.19.2"
}

View file

@ -14,7 +14,7 @@
"@astrojs/mdx": "^2.1.1",
"@astrojs/tailwind": "^5.1.0",
"@types/canvas-confetti": "^1.6.3",
"astro": "^4.3.5",
"astro": "^4.3.6",
"autoprefixer": "^10.4.15",
"canvas-confetti": "^1.9.1",
"postcss": "^8.4.28",

View file

@ -12,7 +12,7 @@
"test": "vitest"
},
"dependencies": {
"astro": "^4.3.5",
"astro": "^4.3.6",
"vitest": "^1.2.1"
}
}

View file

@ -1,5 +1,17 @@
# astro
## 4.3.6
### Patch Changes
- [#10063](https://github.com/withastro/astro/pull/10063) [`dac759798c111494e76affd2c2504d63944871fe`](https://github.com/withastro/astro/commit/dac759798c111494e76affd2c2504d63944871fe) Thanks [@marwan-mohamed12](https://github.com/marwan-mohamed12)! - Moves `shikiji-core` from `devDependencies` to `dependencies` to prevent type errors
- [#10067](https://github.com/withastro/astro/pull/10067) [`989ea63bb2a5a670021541198aa70b8dc7c4bd2f`](https://github.com/withastro/astro/commit/989ea63bb2a5a670021541198aa70b8dc7c4bd2f) Thanks [@ematipico](https://github.com/ematipico)! - Fixes a regression in the `astro:i18n` module, where the functions `getAbsoluteLocaleUrl` and `getAbsoluteLocaleUrlList` returned a URL with double slash with a certain combination of options.
- [#10060](https://github.com/withastro/astro/pull/10060) [`1810309e65c596266355c3b7bb36cdac70f3305e`](https://github.com/withastro/astro/commit/1810309e65c596266355c3b7bb36cdac70f3305e) Thanks [@lilnasy](https://github.com/lilnasy)! - Fixes an issue where custom client directives added by integrations broke builds with a custom root.
- [#9991](https://github.com/withastro/astro/pull/9991) [`8fb67c81bb84530b39df4a1449c0862def0854af`](https://github.com/withastro/astro/commit/8fb67c81bb84530b39df4a1449c0862def0854af) Thanks [@ktym4a](https://github.com/ktym4a)! - Increases compatibility with standard browser behavior by changing where view transitions occur on browser back navigation.
## 4.3.5
### Patch Changes

View file

@ -1,6 +1,6 @@
{
"name": "astro",
"version": "4.3.5",
"version": "4.3.6",
"description": "Astro is a modern site builder with web best practices, performance, and DX front-of-mind.",
"type": "module",
"author": "withastro",

View file

@ -1,5 +1,49 @@
# @astrojs/markdoc
## 0.9.0
### Minor Changes
- [#9958](https://github.com/withastro/astro/pull/9958) [`14ce8a6ebfc9daf951d2dca54737d857c229667c`](https://github.com/withastro/astro/commit/14ce8a6ebfc9daf951d2dca54737d857c229667c) Thanks [@Princesseuh](https://github.com/Princesseuh)! - Adds support for using a custom tag (component) for optimized images
Starting from this version, when a tag called `image` is used, its `src` attribute will automatically be resolved if it's a local image. Astro will pass the result `ImageMetadata` object to the underlying component as the `src` prop. For non-local images (i.e. images using URLs or absolute paths), Astro will continue to pass the `src` as a string.
```ts
// markdoc.config.mjs
import { component, defineMarkdocConfig, nodes } from '@astrojs/markdoc/config';
export default defineMarkdocConfig({
tags: {
image: {
attributes: nodes.image.attributes,
render: component('./src/components/MarkdocImage.astro'),
},
},
});
```
```astro
---
// src/components/MarkdocImage.astro
import { Image } from 'astro:assets';
interface Props {
src: ImageMetadata | string;
alt: string;
width: number;
height: number;
}
const { src, alt, width, height } = Astro.props;
---
<Image {src} {alt} {width} {height} />
```
```mdoc
{% image src="./astro-logo.png" alt="Astro Logo" width="100" height="100" %}
```
## 0.8.3
### Patch Changes

View file

@ -1,7 +1,7 @@
{
"name": "@astrojs/markdoc",
"description": "Add support for Markdoc in your Astro site",
"version": "0.8.3",
"version": "0.9.0",
"type": "module",
"types": "./dist/index.d.ts",
"author": "withastro",

56
pnpm-lock.yaml generated
View file

@ -131,7 +131,7 @@ importers:
examples/basics:
dependencies:
astro:
specifier: ^4.3.5
specifier: ^4.3.6
version: link:../../packages/astro
examples/blog:
@ -146,13 +146,13 @@ importers:
specifier: ^3.0.5
version: link:../../packages/integrations/sitemap
astro:
specifier: ^4.3.5
specifier: ^4.3.6
version: link:../../packages/astro
examples/component:
devDependencies:
astro:
specifier: ^4.3.5
specifier: ^4.3.6
version: link:../../packages/astro
examples/framework-alpine:
@ -167,7 +167,7 @@ importers:
specifier: ^3.13.3
version: 3.13.3
astro:
specifier: ^4.3.5
specifier: ^4.3.6
version: link:../../packages/astro
examples/framework-lit:
@ -179,7 +179,7 @@ importers:
specifier: ^0.2.1
version: 0.2.1
astro:
specifier: ^4.3.5
specifier: ^4.3.6
version: link:../../packages/astro
lit:
specifier: ^3.1.2
@ -203,7 +203,7 @@ importers:
specifier: ^4.0.8
version: link:../../packages/integrations/vue
astro:
specifier: ^4.3.5
specifier: ^4.3.6
version: link:../../packages/astro
preact:
specifier: ^10.19.2
@ -233,7 +233,7 @@ importers:
specifier: ^1.2.1
version: 1.2.1(preact@10.19.3)
astro:
specifier: ^4.3.5
specifier: ^4.3.6
version: link:../../packages/astro
preact:
specifier: ^10.19.2
@ -251,7 +251,7 @@ importers:
specifier: ^18.2.15
version: 18.2.18
astro:
specifier: ^4.3.5
specifier: ^4.3.6
version: link:../../packages/astro
react:
specifier: ^18.2.0
@ -266,7 +266,7 @@ importers:
specifier: ^4.0.1
version: link:../../packages/integrations/solid
astro:
specifier: ^4.3.5
specifier: ^4.3.6
version: link:../../packages/astro
solid-js:
specifier: ^1.8.5
@ -278,7 +278,7 @@ importers:
specifier: ^5.0.3
version: link:../../packages/integrations/svelte
astro:
specifier: ^4.3.5
specifier: ^4.3.6
version: link:../../packages/astro
svelte:
specifier: ^4.2.5
@ -290,7 +290,7 @@ importers:
specifier: ^4.0.8
version: link:../../packages/integrations/vue
astro:
specifier: ^4.3.5
specifier: ^4.3.6
version: link:../../packages/astro
vue:
specifier: ^3.3.8
@ -302,13 +302,13 @@ importers:
specifier: ^8.2.0
version: link:../../packages/integrations/node
astro:
specifier: ^4.3.5
specifier: ^4.3.6
version: link:../../packages/astro
examples/integration:
devDependencies:
astro:
specifier: ^4.3.5
specifier: ^4.3.6
version: link:../../packages/astro
examples/middleware:
@ -317,7 +317,7 @@ importers:
specifier: ^8.2.0
version: link:../../packages/integrations/node
astro:
specifier: ^4.3.5
specifier: ^4.3.6
version: link:../../packages/astro
html-minifier:
specifier: ^4.0.0
@ -330,19 +330,19 @@ importers:
examples/minimal:
dependencies:
astro:
specifier: ^4.3.5
specifier: ^4.3.6
version: link:../../packages/astro
examples/non-html-pages:
dependencies:
astro:
specifier: ^4.3.5
specifier: ^4.3.6
version: link:../../packages/astro
examples/portfolio:
dependencies:
astro:
specifier: ^4.3.5
specifier: ^4.3.6
version: link:../../packages/astro
examples/ssr:
@ -354,7 +354,7 @@ importers:
specifier: ^5.0.3
version: link:../../packages/integrations/svelte
astro:
specifier: ^4.3.5
specifier: ^4.3.6
version: link:../../packages/astro
svelte:
specifier: ^4.2.5
@ -363,7 +363,7 @@ importers:
examples/starlog:
dependencies:
astro:
specifier: ^4.3.5
specifier: ^4.3.6
version: link:../../packages/astro
sass:
specifier: ^1.69.5
@ -381,16 +381,16 @@ importers:
specifier: ^5.1.0
version: link:../../packages/integrations/tailwind
astro:
specifier: ^4.3.5
specifier: ^4.3.6
version: link:../../packages/astro
examples/with-markdoc:
dependencies:
'@astrojs/markdoc':
specifier: ^0.8.3
specifier: ^0.9.0
version: link:../../packages/integrations/markdoc
astro:
specifier: ^4.3.5
specifier: ^4.3.6
version: link:../../packages/astro
examples/with-markdown-plugins:
@ -399,7 +399,7 @@ importers:
specifier: ^4.2.1
version: link:../../packages/markdown/remark
astro:
specifier: ^4.3.5
specifier: ^4.3.6
version: link:../../packages/astro
hast-util-select:
specifier: ^6.0.2
@ -420,7 +420,7 @@ importers:
examples/with-markdown-shiki:
dependencies:
astro:
specifier: ^4.3.5
specifier: ^4.3.6
version: link:../../packages/astro
examples/with-mdx:
@ -432,7 +432,7 @@ importers:
specifier: ^3.1.0
version: link:../../packages/integrations/preact
astro:
specifier: ^4.3.5
specifier: ^4.3.6
version: link:../../packages/astro
preact:
specifier: ^10.19.2
@ -447,7 +447,7 @@ importers:
specifier: ^0.5.0
version: 0.5.0(nanostores@0.9.5)(preact@10.19.3)
astro:
specifier: ^4.3.5
specifier: ^4.3.6
version: link:../../packages/astro
nanostores:
specifier: ^0.9.5
@ -468,7 +468,7 @@ importers:
specifier: ^1.6.3
version: 1.6.4
astro:
specifier: ^4.3.5
specifier: ^4.3.6
version: link:../../packages/astro
autoprefixer:
specifier: ^10.4.15
@ -486,7 +486,7 @@ importers:
examples/with-vitest:
dependencies:
astro:
specifier: ^4.3.5
specifier: ^4.3.6
version: link:../../packages/astro
vitest:
specifier: ^1.2.1