Compare commits

...

4 commits

Author SHA1 Message Date
Houston (Bot)
a7a1d2697c
[ci] release (#8295)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-08-30 11:56:19 -04:00
Matthew Phillips
19b8fbd11c
Image integration deprecation (#8294) 2023-08-30 11:42:09 -04:00
Houston (Bot)
8cea3989cf
[ci] release (#8269)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-08-29 13:28:17 -04:00
Matthew Phillips
3b0d805bda
Prevent ViewTransition script from being added by mistake (#8268)
* Prevent ViewTransition script from being added by mistake

* Add the 2-legacy branch to CI
2023-08-29 13:08:21 -04:00
44 changed files with 88 additions and 67 deletions

View file

@ -5,6 +5,7 @@ on:
branches:
- main
- "1-legacy"
- "2-legacy"
- next
defaults:

View file

@ -11,6 +11,6 @@
"astro": "astro"
},
"dependencies": {
"astro": "^2.10.14"
"astro": "^2.10.15"
}
}

View file

@ -14,6 +14,6 @@
"@astrojs/mdx": "^0.19.7",
"@astrojs/rss": "^2.4.4",
"@astrojs/sitemap": "^2.0.2",
"astro": "^2.10.14"
"astro": "^2.10.15"
}
}

View file

@ -15,7 +15,7 @@
],
"scripts": {},
"devDependencies": {
"astro": "^2.10.14"
"astro": "^2.10.15"
},
"peerDependencies": {
"astro": "^2.0.0-beta.0"

View file

@ -10,7 +10,7 @@
"astro": "astro"
},
"dependencies": {
"astro": "^2.10.14"
"astro": "^2.10.15"
},
"devDependencies": {
"@astrojs/deno": "^4.3.0"

View file

@ -14,6 +14,6 @@
"@astrojs/alpinejs": "^0.2.2",
"@types/alpinejs": "^3.7.1",
"alpinejs": "^3.12.2",
"astro": "^2.10.14"
"astro": "^2.10.15"
}
}

View file

@ -13,7 +13,7 @@
"dependencies": {
"@astrojs/lit": "^2.1.1",
"@webcomponents/template-shadowroot": "^0.2.1",
"astro": "^2.10.14",
"astro": "^2.10.15",
"lit": "^2.7.5"
}
}

View file

@ -16,7 +16,7 @@
"@astrojs/solid-js": "^2.2.1",
"@astrojs/svelte": "^3.1.1",
"@astrojs/vue": "^2.2.1",
"astro": "^2.10.14",
"astro": "^2.10.15",
"preact": "^10.15.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",

View file

@ -13,7 +13,7 @@
"dependencies": {
"@astrojs/preact": "^2.2.2",
"@preact/signals": "^1.1.3",
"astro": "^2.10.14",
"astro": "^2.10.15",
"preact": "^10.15.1"
}
}

View file

@ -14,7 +14,7 @@
"@astrojs/react": "^2.3.2",
"@types/react": "^18.2.13",
"@types/react-dom": "^18.2.6",
"astro": "^2.10.14",
"astro": "^2.10.15",
"react": "^18.2.0",
"react-dom": "^18.2.0"
}

View file

@ -12,7 +12,7 @@
},
"dependencies": {
"@astrojs/solid-js": "^2.2.1",
"astro": "^2.10.14",
"astro": "^2.10.15",
"solid-js": "^1.7.6"
}
}

View file

@ -12,7 +12,7 @@
},
"dependencies": {
"@astrojs/svelte": "^3.1.1",
"astro": "^2.10.14",
"astro": "^2.10.15",
"svelte": "^3.59.1"
}
}

View file

@ -12,7 +12,7 @@
},
"dependencies": {
"@astrojs/vue": "^2.2.1",
"astro": "^2.10.14",
"astro": "^2.10.15",
"vue": "^3.3.4"
}
}

View file

@ -12,6 +12,6 @@
},
"dependencies": {
"@astrojs/node": "^5.3.6",
"astro": "^2.10.14"
"astro": "^2.10.15"
}
}

View file

@ -15,7 +15,7 @@
],
"scripts": {},
"devDependencies": {
"astro": "^2.10.14"
"astro": "^2.10.15"
},
"peerDependencies": {
"astro": "^2.0.0-beta.0"

View file

@ -13,7 +13,7 @@
},
"dependencies": {
"@astrojs/node": "^5.3.6",
"astro": "^2.10.14",
"astro": "^2.10.15",
"html-minifier": "^4.0.0"
}
}

View file

@ -11,6 +11,6 @@
"astro": "astro"
},
"dependencies": {
"astro": "^2.10.14"
"astro": "^2.10.15"
}
}

View file

@ -11,6 +11,6 @@
"astro": "astro"
},
"dependencies": {
"astro": "^2.10.14"
"astro": "^2.10.15"
}
}

View file

@ -11,6 +11,6 @@
"astro": "astro"
},
"dependencies": {
"astro": "^2.10.14"
"astro": "^2.10.15"
}
}

View file

@ -14,7 +14,7 @@
"dependencies": {
"@astrojs/node": "^5.3.6",
"@astrojs/svelte": "^3.1.1",
"astro": "^2.10.14",
"astro": "^2.10.15",
"svelte": "^3.59.1"
}
}

View file

@ -12,6 +12,6 @@
},
"dependencies": {
"@astrojs/markdoc": "^0.4.4",
"astro": "^2.10.14"
"astro": "^2.10.15"
}
}

View file

@ -12,7 +12,7 @@
},
"dependencies": {
"@astrojs/markdown-remark": "^2.2.1",
"astro": "^2.10.14",
"astro": "^2.10.15",
"hast-util-select": "^5.0.5",
"rehype-autolink-headings": "^6.1.1",
"rehype-slug": "^5.1.0",

View file

@ -11,6 +11,6 @@
"astro": "astro"
},
"dependencies": {
"astro": "^2.10.14"
"astro": "^2.10.15"
}
}

View file

@ -13,7 +13,7 @@
"dependencies": {
"@astrojs/mdx": "^0.19.7",
"@astrojs/preact": "^2.2.2",
"astro": "^2.10.14",
"astro": "^2.10.15",
"preact": "^10.15.1"
}
}

View file

@ -13,7 +13,7 @@
"dependencies": {
"@astrojs/preact": "^2.2.2",
"@nanostores/preact": "^0.4.1",
"astro": "^2.10.14",
"astro": "^2.10.15",
"nanostores": "^0.8.1",
"preact": "^10.15.1"
}

View file

@ -13,7 +13,7 @@
"dependencies": {
"@astrojs/tailwind": "^4.0.0",
"@types/canvas-confetti": "^1.6.0",
"astro": "^2.10.14",
"astro": "^2.10.15",
"autoprefixer": "^10.4.14",
"canvas-confetti": "^1.6.0",
"postcss": "^8.4.24",

View file

@ -11,7 +11,7 @@
"astro": "astro"
},
"dependencies": {
"astro": "^2.10.14",
"astro": "^2.10.15",
"vite-plugin-pwa": "0.14.7",
"workbox-window": "^6.6.0"
}

View file

@ -12,7 +12,7 @@
"test": "vitest"
},
"dependencies": {
"astro": "^2.10.14",
"astro": "^2.10.15",
"vitest": "^0.31.4"
}
}

View file

@ -1,5 +1,11 @@
# astro
## 2.10.15
### Patch Changes
- [#8268](https://github.com/withastro/astro/pull/8268) [`3b0d805bd`](https://github.com/withastro/astro/commit/3b0d805bdabcbc75f26b1d29890b689b40fab220) Thanks [@matthewp](https://github.com/matthewp)! - Prevent ViewTransition script from being added by mistake
## 2.10.14
### Patch Changes

View file

@ -1,3 +1,2 @@
export { default as Code } from './Code.astro';
export { default as Debug } from './Debug.astro';
export { default as ViewTransitions } from './ViewTransitions.astro';

View file

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

View file

@ -23,4 +23,11 @@ describe('Code component', () => {
let $ = cheerio.load(html);
expect($('pre').attr('is:raw')).to.equal(undefined);
});
// ViewTransitions bug
it('No script should be added to the page', async () => {
let html = await fixture.readFile('/index.html');
let $ = cheerio.load(html);
expect($('script')).to.have.a.lengthOf(0);
});
});

View file

@ -45,7 +45,7 @@
"tiny-glob": "^0.2.9"
},
"peerDependencies": {
"astro": "workspace:^2.10.14"
"astro": "workspace:^2.10.15"
},
"devDependencies": {
"astro": "workspace:*",

View file

@ -36,7 +36,7 @@
"esbuild": "^0.15.18"
},
"peerDependencies": {
"astro": "workspace:^2.10.14"
"astro": "workspace:^2.10.15"
},
"devDependencies": {
"astro": "workspace:*",

View file

@ -1,5 +1,13 @@
# @astrojs/image
## 0.18.0
### Minor Changes
- [#8294](https://github.com/withastro/astro/pull/8294) [`19b8fbd11`](https://github.com/withastro/astro/commit/19b8fbd11cfda1311d966a5510ed9807821240f3) Thanks [@matthewp](https://github.com/matthewp)! - @astrojs/image deprecation
The `@astrojs/image` package is deprecated in favor of using `astro:assets`. If you are using Astro 3 you should start using the Assets package. See [the upgrade guide](https://docs.astro.build/en/guides/upgrade-to/v3/#removed-astrojsimage) for more information.
## 0.17.3
### Patch Changes

View file

@ -1,7 +1,7 @@
{
"name": "@astrojs/image",
"description": "Load and transform images in your Astro site",
"version": "0.17.3",
"version": "0.18.0",
"type": "module",
"types": "./dist/index.d.ts",
"author": "withastro",
@ -63,7 +63,7 @@
"vite": "^4.4.6"
},
"peerDependencies": {
"astro": "workspace:^2.10.14",
"astro": "workspace:^2.10.15",
"sharp": ">=0.31.0"
},
"peerDependenciesMeta": {

View file

@ -75,7 +75,7 @@
"zod": "^3.17.3"
},
"peerDependencies": {
"astro": "workspace:^2.10.14"
"astro": "workspace:^2.10.15"
},
"devDependencies": {
"@astrojs/markdown-remark": "^2.2.1",

View file

@ -45,7 +45,7 @@
"esbuild": "^0.15.18"
},
"peerDependencies": {
"astro": "workspace:^2.10.14"
"astro": "workspace:^2.10.15"
},
"devDependencies": {
"@netlify/edge-functions": "^2.0.0",

View file

@ -38,7 +38,7 @@
"server-destroy": "^1.0.1"
},
"peerDependencies": {
"astro": "workspace:^2.10.14"
"astro": "workspace:^2.10.15"
},
"devDependencies": {
"@types/node": "^18.16.18",

View file

@ -48,7 +48,7 @@
"vite": "^4.4.6"
},
"peerDependencies": {
"astro": "workspace:^2.10.14",
"astro": "workspace:^2.10.15",
"svelte": "^3.55.0 || ^4.0.0"
},
"engines": {

View file

@ -43,7 +43,7 @@
"vite": "^4.4.6"
},
"peerDependencies": {
"astro": "workspace:^2.10.14",
"astro": "workspace:^2.10.15",
"tailwindcss": "^3.0.24"
}
}

View file

@ -61,7 +61,7 @@
"web-vitals": "^3.3.2"
},
"peerDependencies": {
"astro": "workspace:^2.10.14"
"astro": "workspace:^2.10.15"
},
"devDependencies": {
"@types/set-cookie-parser": "^2.4.2",

View file

@ -56,7 +56,7 @@
"vue": "^3.3.4"
},
"peerDependencies": {
"astro": "workspace:^2.10.14",
"astro": "workspace:^2.10.15",
"vue": "^3.2.30"
},
"engines": {

View file

@ -128,7 +128,7 @@ importers:
examples/basics:
dependencies:
astro:
specifier: ^2.10.14
specifier: ^2.10.15
version: link:../../packages/astro
examples/blog:
@ -143,19 +143,19 @@ importers:
specifier: ^2.0.2
version: link:../../packages/integrations/sitemap
astro:
specifier: ^2.10.14
specifier: ^2.10.15
version: link:../../packages/astro
examples/component:
devDependencies:
astro:
specifier: ^2.10.14
specifier: ^2.10.15
version: link:../../packages/astro
examples/deno:
dependencies:
astro:
specifier: ^2.10.14
specifier: ^2.10.15
version: link:../../packages/astro
devDependencies:
'@astrojs/deno':
@ -174,7 +174,7 @@ importers:
specifier: ^3.12.2
version: 3.12.2
astro:
specifier: ^2.10.14
specifier: ^2.10.15
version: link:../../packages/astro
examples/framework-lit:
@ -186,7 +186,7 @@ importers:
specifier: ^0.2.1
version: 0.2.1
astro:
specifier: ^2.10.14
specifier: ^2.10.15
version: link:../../packages/astro
lit:
specifier: ^2.7.5
@ -210,7 +210,7 @@ importers:
specifier: ^2.2.1
version: link:../../packages/integrations/vue
astro:
specifier: ^2.10.14
specifier: ^2.10.15
version: link:../../packages/astro
preact:
specifier: ^10.15.1
@ -240,7 +240,7 @@ importers:
specifier: ^1.1.3
version: 1.1.3(preact@10.15.1)
astro:
specifier: ^2.10.14
specifier: ^2.10.15
version: link:../../packages/astro
preact:
specifier: ^10.15.1
@ -258,7 +258,7 @@ importers:
specifier: ^18.2.6
version: 18.2.6
astro:
specifier: ^2.10.14
specifier: ^2.10.15
version: link:../../packages/astro
react:
specifier: ^18.2.0
@ -273,7 +273,7 @@ importers:
specifier: ^2.2.1
version: link:../../packages/integrations/solid
astro:
specifier: ^2.10.14
specifier: ^2.10.15
version: link:../../packages/astro
solid-js:
specifier: ^1.7.6
@ -285,7 +285,7 @@ importers:
specifier: ^3.1.1
version: link:../../packages/integrations/svelte
astro:
specifier: ^2.10.14
specifier: ^2.10.15
version: link:../../packages/astro
svelte:
specifier: ^3.59.1
@ -297,7 +297,7 @@ importers:
specifier: ^2.2.1
version: link:../../packages/integrations/vue
astro:
specifier: ^2.10.14
specifier: ^2.10.15
version: link:../../packages/astro
vue:
specifier: ^3.3.4
@ -309,13 +309,13 @@ importers:
specifier: ^5.3.6
version: link:../../packages/integrations/node
astro:
specifier: ^2.10.14
specifier: ^2.10.15
version: link:../../packages/astro
examples/integration:
devDependencies:
astro:
specifier: ^2.10.14
specifier: ^2.10.15
version: link:../../packages/astro
examples/middleware:
@ -324,7 +324,7 @@ importers:
specifier: ^5.3.6
version: link:../../packages/integrations/node
astro:
specifier: ^2.10.14
specifier: ^2.10.15
version: link:../../packages/astro
html-minifier:
specifier: ^4.0.0
@ -333,19 +333,19 @@ importers:
examples/minimal:
dependencies:
astro:
specifier: ^2.10.14
specifier: ^2.10.15
version: link:../../packages/astro
examples/non-html-pages:
dependencies:
astro:
specifier: ^2.10.14
specifier: ^2.10.15
version: link:../../packages/astro
examples/portfolio:
dependencies:
astro:
specifier: ^2.10.14
specifier: ^2.10.15
version: link:../../packages/astro
examples/ssr:
@ -357,7 +357,7 @@ importers:
specifier: ^3.1.1
version: link:../../packages/integrations/svelte
astro:
specifier: ^2.10.14
specifier: ^2.10.15
version: link:../../packages/astro
svelte:
specifier: ^3.59.1
@ -369,7 +369,7 @@ importers:
specifier: ^0.4.4
version: link:../../packages/integrations/markdoc
astro:
specifier: ^2.10.14
specifier: ^2.10.15
version: link:../../packages/astro
examples/with-markdown-plugins:
@ -378,7 +378,7 @@ importers:
specifier: ^2.2.1
version: link:../../packages/markdown/remark
astro:
specifier: ^2.10.14
specifier: ^2.10.15
version: link:../../packages/astro
hast-util-select:
specifier: ^5.0.5
@ -399,7 +399,7 @@ importers:
examples/with-markdown-shiki:
dependencies:
astro:
specifier: ^2.10.14
specifier: ^2.10.15
version: link:../../packages/astro
examples/with-mdx:
@ -411,7 +411,7 @@ importers:
specifier: ^2.2.2
version: link:../../packages/integrations/preact
astro:
specifier: ^2.10.14
specifier: ^2.10.15
version: link:../../packages/astro
preact:
specifier: ^10.15.1
@ -426,7 +426,7 @@ importers:
specifier: ^0.4.1
version: 0.4.1(nanostores@0.8.1)(preact@10.15.1)
astro:
specifier: ^2.10.14
specifier: ^2.10.15
version: link:../../packages/astro
nanostores:
specifier: ^0.8.1
@ -444,7 +444,7 @@ importers:
specifier: ^1.6.0
version: 1.6.0
astro:
specifier: ^2.10.14
specifier: ^2.10.15
version: link:../../packages/astro
autoprefixer:
specifier: ^10.4.14
@ -462,7 +462,7 @@ importers:
examples/with-vite-plugin-pwa:
dependencies:
astro:
specifier: ^2.10.14
specifier: ^2.10.15
version: link:../../packages/astro
vite-plugin-pwa:
specifier: 0.14.7
@ -474,7 +474,7 @@ importers:
examples/with-vitest:
dependencies:
astro:
specifier: ^2.10.14
specifier: ^2.10.15
version: link:../../packages/astro
vitest:
specifier: ^0.31.4