diff --git a/.changeset/afraid-crabs-heal.md b/.changeset/afraid-crabs-heal.md deleted file mode 100644 index 90aa3cc3d4c5..000000000000 --- a/.changeset/afraid-crabs-heal.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'astro': patch ---- - -Fix for the static build when project contains a space diff --git a/.changeset/afraid-moles-hunt.md b/.changeset/afraid-moles-hunt.md deleted file mode 100644 index 241931dbfdbb..000000000000 --- a/.changeset/afraid-moles-hunt.md +++ /dev/null @@ -1,10 +0,0 @@ ---- -'@astrojs/renderer-lit': minor -'@astrojs/renderer-preact': minor -'@astrojs/renderer-react': minor -'@astrojs/renderer-solid': minor -'@astrojs/renderer-svelte': minor -'@astrojs/renderer-vue': minor ---- - -Upgrade renderer dependencies for `vite@2.8.x` diff --git a/.changeset/angry-apricots-invite.md b/.changeset/angry-apricots-invite.md deleted file mode 100644 index 18db7ab25249..000000000000 --- a/.changeset/angry-apricots-invite.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'astro': patch ---- - -Fixes HMR of CSS that is imported from astro, when using the static build flag diff --git a/.changeset/brown-dancers-perform.md b/.changeset/brown-dancers-perform.md deleted file mode 100644 index 23591a3d5f01..000000000000 --- a/.changeset/brown-dancers-perform.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'astro': patch ---- - -Fix for CSS superset support and HMR in the static build diff --git a/.changeset/calm-suns-give.md b/.changeset/calm-suns-give.md deleted file mode 100644 index 246b9ed49cbe..000000000000 --- a/.changeset/calm-suns-give.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'astro': patch ---- - -Fix an issue rendering content within HTMLElement diff --git a/.changeset/chatty-spies-wink.md b/.changeset/chatty-spies-wink.md deleted file mode 100644 index 869a5297222c..000000000000 --- a/.changeset/chatty-spies-wink.md +++ /dev/null @@ -1,8 +0,0 @@ ---- -'astro': minor ---- - -Add support for the `set:html` and `set:text` directives. - -With the introduction of these directives, unescaped HTML content in expressions is now deprecated. Please migrate to `set:html` in order to continue injecting unescaped HTML in future versions of Astro—you can use `` to avoid a wrapper element. `set:text` allows you to opt-in to escaping now, but it will soon become the default. - diff --git a/.changeset/cool-months-deliver.md b/.changeset/cool-months-deliver.md deleted file mode 100644 index 48c265c0af77..000000000000 --- a/.changeset/cool-months-deliver.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'astro': patch ---- - -Fixes 404 to HMR script in the static build diff --git a/.changeset/curly-wasps-sin.md b/.changeset/curly-wasps-sin.md deleted file mode 100644 index 274738d66bca..000000000000 --- a/.changeset/curly-wasps-sin.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@astrojs/markdown-remark': patch ---- - -Now you can use local plugins by passing a function instead of an `import` diff --git a/.changeset/eighty-cows-wink.md b/.changeset/eighty-cows-wink.md deleted file mode 100644 index 77381ecc9874..000000000000 --- a/.changeset/eighty-cows-wink.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'astro': patch ---- - -Update `@astrojs/compiler` to [`v0.11.0`](https://github.com/withastro/compiler/blob/main/lib/compiler/CHANGELOG.md#0110), which moves from TinyGo to Go's built-in WASM output. This will be a significant improvement for stability and memory safety. diff --git a/.changeset/empty-snails-allow.md b/.changeset/empty-snails-allow.md deleted file mode 100644 index 261629367b57..000000000000 --- a/.changeset/empty-snails-allow.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -'astro': minor ---- - -Refactor dev server to use vite server internally. - -This should be an invisible change, and no breaking changes are expected from this change. However, it is a big enough refactor that some unexpected changes may occur. If you've experienced a regression in the dev server, it is most likely a bug! diff --git a/.changeset/few-coats-warn.md b/.changeset/few-coats-warn.md deleted file mode 100644 index b1599802c544..000000000000 --- a/.changeset/few-coats-warn.md +++ /dev/null @@ -1,44 +0,0 @@ ---- -'astro': minor ---- - -Support for non-HTML pages - -> ⚠️ This feature is currently only supported with the `--experimental-static-build` CLI flag. This feature may be refined over the next few weeks/months as SSR support is finalized. - -This adds support for generating non-HTML pages form `.js` and `.ts` pages during the build. Built file and extensions are based on the source file's name, ex: `src/pages/data.json.ts` will be built to `dist/data.json`. - -**Is this different from SSR?** Yes! This feature allows JSON, XML, etc. files to be output at build time. Keep an eye out for full SSR support if you need to build similar files when requested, for example as a serverless function in your deployment host. - -## Examples - -```typescript -// src/pages/company.json.ts -export async function get() { - return { - body: JSON.stringify({ - name: 'Astro Technology Company', - url: 'https://astro.build/' - }) - } -} -``` - -What about `getStaticPaths()`? It **just works**™. - -```typescript -export async function getStaticPaths() { - return [ - { params: { slug: 'thing1' }}, - { params: { slug: 'thing2' }} - ] -} - -export async function get(params) { - const { slug } = params - - return { - body: // ...JSON.stringify() - } -} -``` \ No newline at end of file diff --git a/.changeset/four-mirrors-wonder.md b/.changeset/four-mirrors-wonder.md deleted file mode 100644 index 901fbf523820..000000000000 --- a/.changeset/four-mirrors-wonder.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'astro': patch ---- - -Fixes HMR of .astro modules in astro@next diff --git a/.changeset/fresh-moose-compare.md b/.changeset/fresh-moose-compare.md deleted file mode 100644 index 4dfd6fcde505..000000000000 --- a/.changeset/fresh-moose-compare.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -'astro': patch ---- - -Fixes build slowness on large apps - -This fixes slowness on large apps, particularly during the static build. Fix is to prevent the Vite dev server plugin from being run during build, as it is not needed. diff --git a/.changeset/fuzzy-drinks-drop.md b/.changeset/fuzzy-drinks-drop.md deleted file mode 100644 index 5c59ae2673ed..000000000000 --- a/.changeset/fuzzy-drinks-drop.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'astro': patch ---- - -Fixes Astro style resolution in the static build diff --git a/.changeset/gold-kangaroos-notice.md b/.changeset/gold-kangaroos-notice.md deleted file mode 100644 index 4d487285ea91..000000000000 --- a/.changeset/gold-kangaroos-notice.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'astro': patch ---- - -Fixes pageUrlFormat: 'file' in the static build diff --git a/.changeset/great-suns-pump.md b/.changeset/great-suns-pump.md deleted file mode 100644 index 0d4a2541eefe..000000000000 --- a/.changeset/great-suns-pump.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'astro': patch ---- - -Fix for passing children to client component when the component does not render them diff --git a/.changeset/grumpy-chefs-judge.md b/.changeset/grumpy-chefs-judge.md deleted file mode 100644 index a3a7d22f2165..000000000000 --- a/.changeset/grumpy-chefs-judge.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'astro': patch ---- - -Fix issue where hostname was not passed to dev server diff --git a/.changeset/loud-seals-camp.md b/.changeset/loud-seals-camp.md deleted file mode 100644 index 894cb3c0da25..000000000000 --- a/.changeset/loud-seals-camp.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -'astro': minor ---- - -Upgrade `vite` to `2.8.x`, unvendoring `vite` and bringing Astro's dependencies up-to-date. - -This is a low-level change that you shouldn't have to worry about too much, but it should fix many, many issues with CJS/ESM interoperability. It also allows Astro to stay up-to-date with the `vite` ecosystem. If you run into any unexpected problems, please let us know by opening an issue. diff --git a/.changeset/many-oranges-retire.md b/.changeset/many-oranges-retire.md deleted file mode 100644 index 40b099fb1f16..000000000000 --- a/.changeset/many-oranges-retire.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'astro': patch ---- - -Improve debug logs diff --git a/.changeset/mighty-lamps-drive.md b/.changeset/mighty-lamps-drive.md deleted file mode 100644 index 8a992457bf9e..000000000000 --- a/.changeset/mighty-lamps-drive.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'astro': patch ---- - -Bug fix for `define:vars` with the --experimental-static-build flag diff --git a/.changeset/nasty-lions-exist.md b/.changeset/nasty-lions-exist.md deleted file mode 100644 index 88af7820f54f..000000000000 --- a/.changeset/nasty-lions-exist.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -'astro': patch -'@astrojs/markdown-remark': patch ---- - -Added the ability to use custom themes and langs with Shiki (`` and `@astrojs/markdown-remark`) diff --git a/.changeset/nine-donuts-confess.md b/.changeset/nine-donuts-confess.md deleted file mode 100644 index 7ae040c23760..000000000000 --- a/.changeset/nine-donuts-confess.md +++ /dev/null @@ -1,9 +0,0 @@ ---- -'astro': patch ---- - -Improve suppport for `import.meta.env`. - -Prior to this change, all variables defined in `.env` files had to include the `PUBLIC_` prefix, meaning that they could potentially be visible to the client if referenced. - -Now, Astro includes _any_ referenced variables defined in `.env` files on `import.meta.env` during server-side rendering, but only referenced `PUBLIC_` variables on the client. diff --git a/.changeset/old-parents-obey.md b/.changeset/old-parents-obey.md deleted file mode 100644 index 0e54404da839..000000000000 --- a/.changeset/old-parents-obey.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -'astro': patch ---- - -Respect subpath URL paths in the fetchContent url property. - -This fixes an issue where fetchContent() URL property did not include the buildOptions.site path in it. diff --git a/.changeset/pre.json b/.changeset/pre.json deleted file mode 100644 index afd439b59bcb..000000000000 --- a/.changeset/pre.json +++ /dev/null @@ -1,83 +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/fast-build": "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/minimal": "0.0.1", - "@example/portfolio": "0.0.1", - "@example/portfolio-svelte": "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-nanostores": "0.0.1", - "@example/with-tailwindcss": "0.0.1", - "@example/with-vite-plugin-pwa": "0.0.1", - "astro": "0.22.20", - "@astrojs/parser": "0.22.0", - "@astrojs/prism": "0.4.0", - "@astrojs/astro-test-builtins-dep": "0.1.0", - "@astrojs/test-custom-element-renderer": "0.1.0", - "@astrojs/test-static-build-pkg": "0.0.2", - "create-astro": "0.7.1", - "@astrojs/markdown-remark": "0.6.0", - "@astrojs/renderer-lit": "0.3.1", - "@astrojs/renderer-preact": "0.4.0", - "@astrojs/renderer-react": "0.4.1", - "@astrojs/renderer-solid": "0.3.1", - "@astrojs/renderer-svelte": "0.3.1", - "@astrojs/renderer-vue": "0.3.0", - "astro-scripts": "0.0.1", - "@example/with-markdown-shiki": "0.0.1", - "@example/ssr": "0.0.1" - }, - "changesets": [ - "afraid-crabs-heal", - "afraid-moles-hunt", - "angry-apricots-invite", - "brown-dancers-perform", - "calm-suns-give", - "chatty-spies-wink", - "cool-months-deliver", - "curly-wasps-sin", - "eighty-cows-wink", - "empty-snails-allow", - "few-coats-warn", - "four-mirrors-wonder", - "fresh-moose-compare", - "fuzzy-drinks-drop", - "gold-kangaroos-notice", - "great-suns-pump", - "grumpy-chefs-judge", - "loud-seals-camp", - "many-oranges-retire", - "mighty-lamps-drive", - "nasty-lions-exist", - "old-parents-obey", - "rotten-planets-love", - "serious-glasses-taste", - "shaggy-shoes-leave", - "shy-brooms-tell", - "six-ants-hunt", - "slow-islands-fix", - "soft-mayflies-warn", - "sour-rabbits-sing", - "sweet-spoons-cheer", - "tiny-owls-dress", - "warm-drinks-design" - ] -} diff --git a/.changeset/rotten-planets-love.md b/.changeset/rotten-planets-love.md deleted file mode 100644 index aa67307ebf34..000000000000 --- a/.changeset/rotten-planets-love.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@astrojs/markdown-remark': patch ---- - -Add Shiki as an alternative to Prism diff --git a/.changeset/serious-glasses-taste.md b/.changeset/serious-glasses-taste.md deleted file mode 100644 index 8d2c254497ce..000000000000 --- a/.changeset/serious-glasses-taste.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@astrojs/markdown-remark': patch ---- - -Added `wrap` to Shiki config diff --git a/.changeset/shaggy-shoes-leave.md b/.changeset/shaggy-shoes-leave.md deleted file mode 100644 index a92abed9f4c3..000000000000 --- a/.changeset/shaggy-shoes-leave.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -'astro': minor ---- - -Standardize trailing subpath behavior in config. - -Most users are not aware of the subtle differences between `/foo` and `/foo/`. Internally, we have to handle both which means that we are constantly worrying about the format of the URL, needing to add/remove trailing slashes when we go to work with this property, etc. This change transforms all `site` values to use a trailing slash internally, which should help reduce bugs for both users and maintainers. \ No newline at end of file diff --git a/.changeset/shy-brooms-tell.md b/.changeset/shy-brooms-tell.md deleted file mode 100644 index 022423d3a4b2..000000000000 --- a/.changeset/shy-brooms-tell.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -'astro': patch ---- - -Fix rendering of HTML boolean attributes like `open` and `async`. - -Fix rendering of HTML and SVG enumerated attributes like `contenteditable` and `spellcheck`. diff --git a/.changeset/six-ants-hunt.md b/.changeset/six-ants-hunt.md deleted file mode 100644 index 17b3fb653ed8..000000000000 --- a/.changeset/six-ants-hunt.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@astrojs/markdown-remark': patch ---- - -Fixed curly braces inside Shiki codeblocks diff --git a/.changeset/slow-islands-fix.md b/.changeset/slow-islands-fix.md deleted file mode 100644 index af51c2177b35..000000000000 --- a/.changeset/slow-islands-fix.md +++ /dev/null @@ -1,29 +0,0 @@ ---- -'astro': minor ---- - -Experimental SSR Support - -> ⚠️ If you are a user of Astro and see this PR and think that you can start deploying your app to a server and get SSR, slow down a second! This is only the initial flag and **very basic support**. Styles are not loading correctly at this point, for example. Like we did with the `--experimental-static-build` flag, this feature will be refined over the next few weeks/months and we'll let you know when its ready for community testing. - -## Changes - -- This adds a new `--experimental-ssr` flag to `astro build` which will result in `dist/server/` and `dist/client/` directories. -- SSR can be used through this API: - ```js - import { createServer } from 'http'; - import { loadApp } from 'astro/app/node'; - - const app = await loadApp(new URL('./dist/server/', import.meta.url)); - - createServer((req, res) => { - const route = app.match(req); - if(route) { - let html = await app.render(req, route); - } - - }).listen(8080); - ``` -- This API will be refined over time. -- This only works in Node.js at the moment. -- Many features will likely not work correctly, but rendering HTML at least should. diff --git a/.changeset/soft-mayflies-warn.md b/.changeset/soft-mayflies-warn.md deleted file mode 100644 index 0031f6b46cab..000000000000 --- a/.changeset/soft-mayflies-warn.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'astro': patch ---- - -Fixes bug with astro/components not loading in the next release diff --git a/.changeset/sour-rabbits-sing.md b/.changeset/sour-rabbits-sing.md deleted file mode 100644 index 07e0dc956c3d..000000000000 --- a/.changeset/sour-rabbits-sing.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'astro': patch ---- - -Fix for resolving relative imports from hoisted scripts in the static build. diff --git a/.changeset/sweet-spoons-cheer.md b/.changeset/sweet-spoons-cheer.md deleted file mode 100644 index 48060f063893..000000000000 --- a/.changeset/sweet-spoons-cheer.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'astro': patch ---- - -Dynamic route params should ignore param order when matching paths diff --git a/.changeset/tiny-owls-dress.md b/.changeset/tiny-owls-dress.md deleted file mode 100644 index 82e35f3a2694..000000000000 --- a/.changeset/tiny-owls-dress.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'astro': patch ---- - -Bumped Shiki version diff --git a/.changeset/warm-drinks-design.md b/.changeset/warm-drinks-design.md deleted file mode 100644 index a51fdff774a3..000000000000 --- a/.changeset/warm-drinks-design.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'astro': patch ---- - -Upgrade `@astrojs/compiler` to `v0.10.2` diff --git a/examples/blog-multiple-authors/package.json b/examples/blog-multiple-authors/package.json index 1a27f0776e9a..207f9bc7bfdb 100644 --- a/examples/blog-multiple-authors/package.json +++ b/examples/blog-multiple-authors/package.json @@ -9,6 +9,6 @@ "preview": "astro preview" }, "devDependencies": { - "astro": "^0.23.0-next.10" + "astro": "^0.23.0" } } diff --git a/examples/blog/package.json b/examples/blog/package.json index 4c9683f7af30..5b94d6e3c282 100644 --- a/examples/blog/package.json +++ b/examples/blog/package.json @@ -9,6 +9,6 @@ "preview": "astro preview" }, "devDependencies": { - "astro": "^0.23.0-next.10" + "astro": "^0.23.0" } } diff --git a/examples/component/demo/package.json b/examples/component/demo/package.json index 9ddd702483d7..ce2ed7e32237 100644 --- a/examples/component/demo/package.json +++ b/examples/component/demo/package.json @@ -9,6 +9,6 @@ "preview": "astro preview" }, "devDependencies": { - "astro": "^0.23.0-next.10" + "astro": "^0.23.0" } } diff --git a/examples/component/package.json b/examples/component/package.json index d422e770d1f0..b503c0c084fe 100644 --- a/examples/component/package.json +++ b/examples/component/package.json @@ -12,6 +12,6 @@ "serve": "astro --project-root demo preview" }, "devDependencies": { - "astro": "^0.23.0-next.10" + "astro": "^0.23.0" } } diff --git a/examples/docs/package.json b/examples/docs/package.json index 5ff03fd1b29d..0b47675a5345 100644 --- a/examples/docs/package.json +++ b/examples/docs/package.json @@ -12,6 +12,6 @@ "@docsearch/react": "^1.0.0-alpha.28" }, "devDependencies": { - "astro": "^0.23.0-next.10" + "astro": "^0.23.0" } } diff --git a/examples/env-vars/package.json b/examples/env-vars/package.json index 4a633216d591..553c7deba1f5 100644 --- a/examples/env-vars/package.json +++ b/examples/env-vars/package.json @@ -9,6 +9,6 @@ "preview": "astro preview" }, "devDependencies": { - "astro": "^0.23.0-next.10" + "astro": "^0.23.0" } } diff --git a/examples/fast-build/package.json b/examples/fast-build/package.json index a4a02853bc2c..ac85a9a70895 100644 --- a/examples/fast-build/package.json +++ b/examples/fast-build/package.json @@ -10,7 +10,7 @@ "preview": "astro preview" }, "devDependencies": { - "astro": "^0.23.0-next.10", + "astro": "^0.23.0", "preact": "~10.6.5", "unocss": "^0.15.5", "vite-imagetools": "^4.0.1" diff --git a/examples/framework-alpine/package.json b/examples/framework-alpine/package.json index ebe7be9bf7d1..3e09b77d93cc 100644 --- a/examples/framework-alpine/package.json +++ b/examples/framework-alpine/package.json @@ -9,6 +9,6 @@ "preview": "astro preview" }, "devDependencies": { - "astro": "^0.23.0-next.10" + "astro": "^0.23.0" } } diff --git a/examples/framework-lit/package.json b/examples/framework-lit/package.json index c9ebed141c78..8fff750d6943 100644 --- a/examples/framework-lit/package.json +++ b/examples/framework-lit/package.json @@ -9,7 +9,7 @@ "preview": "astro preview" }, "devDependencies": { - "@astrojs/renderer-lit": "^0.4.0-next.0", - "astro": "^0.23.0-next.10" + "@astrojs/renderer-lit": "^0.4.0", + "astro": "^0.23.0" } } diff --git a/examples/framework-multiple/package.json b/examples/framework-multiple/package.json index d6f2fa416e23..b54bb9553479 100644 --- a/examples/framework-multiple/package.json +++ b/examples/framework-multiple/package.json @@ -9,7 +9,7 @@ "preview": "astro preview" }, "devDependencies": { - "@astrojs/renderer-solid": "^0.4.0-next.0", - "astro": "^0.23.0-next.10" + "@astrojs/renderer-solid": "^0.4.0", + "astro": "^0.23.0" } } diff --git a/examples/framework-preact/package.json b/examples/framework-preact/package.json index 4aee5c39d4ce..216b390640a6 100644 --- a/examples/framework-preact/package.json +++ b/examples/framework-preact/package.json @@ -9,6 +9,6 @@ "preview": "astro preview" }, "devDependencies": { - "astro": "^0.23.0-next.10" + "astro": "^0.23.0" } } diff --git a/examples/framework-react/package.json b/examples/framework-react/package.json index 01c97ff34eb0..aabb2e07473e 100644 --- a/examples/framework-react/package.json +++ b/examples/framework-react/package.json @@ -9,6 +9,6 @@ "preview": "astro preview" }, "devDependencies": { - "astro": "^0.23.0-next.10" + "astro": "^0.23.0" } } diff --git a/examples/framework-solid/package.json b/examples/framework-solid/package.json index 07b705bab247..888514c0b231 100644 --- a/examples/framework-solid/package.json +++ b/examples/framework-solid/package.json @@ -9,7 +9,7 @@ "preview": "astro preview" }, "devDependencies": { - "@astrojs/renderer-solid": "^0.4.0-next.0", - "astro": "^0.23.0-next.10" + "@astrojs/renderer-solid": "^0.4.0", + "astro": "^0.23.0" } } diff --git a/examples/framework-svelte/package.json b/examples/framework-svelte/package.json index 238d620e412d..aefca560231b 100644 --- a/examples/framework-svelte/package.json +++ b/examples/framework-svelte/package.json @@ -9,6 +9,6 @@ "preview": "astro preview" }, "devDependencies": { - "astro": "^0.23.0-next.10" + "astro": "^0.23.0" } } diff --git a/examples/framework-vue/package.json b/examples/framework-vue/package.json index 59263cef8ecf..d810012fdf6b 100644 --- a/examples/framework-vue/package.json +++ b/examples/framework-vue/package.json @@ -9,6 +9,6 @@ "preview": "astro preview" }, "devDependencies": { - "astro": "^0.23.0-next.10" + "astro": "^0.23.0" } } diff --git a/examples/minimal/package.json b/examples/minimal/package.json index a4e9434bd799..0ba1688e4c4c 100644 --- a/examples/minimal/package.json +++ b/examples/minimal/package.json @@ -9,6 +9,6 @@ "preview": "astro preview" }, "devDependencies": { - "astro": "^0.23.0-next.10" + "astro": "^0.23.0" } } diff --git a/examples/portfolio-svelte/package.json b/examples/portfolio-svelte/package.json index d827d86c36e2..6ca896ff118a 100644 --- a/examples/portfolio-svelte/package.json +++ b/examples/portfolio-svelte/package.json @@ -9,6 +9,6 @@ "preview": "astro preview" }, "devDependencies": { - "astro": "^0.23.0-next.10" + "astro": "^0.23.0" } } diff --git a/examples/portfolio/package.json b/examples/portfolio/package.json index 719770dc9669..c130c9232578 100644 --- a/examples/portfolio/package.json +++ b/examples/portfolio/package.json @@ -9,6 +9,6 @@ "preview": "astro preview" }, "devDependencies": { - "astro": "^0.23.0-next.10" + "astro": "^0.23.0" } } diff --git a/examples/ssr/package.json b/examples/ssr/package.json index 4b7ad752fe24..58294c847d79 100644 --- a/examples/ssr/package.json +++ b/examples/ssr/package.json @@ -11,7 +11,7 @@ "server": "node server/server.mjs" }, "devDependencies": { - "astro": "^0.23.0-next.10", + "astro": "^0.23.0", "unocss": "^0.15.5", "vite-imagetools": "^4.0.1" }, diff --git a/examples/starter/package.json b/examples/starter/package.json index 3c7545e20a50..389dae883edc 100644 --- a/examples/starter/package.json +++ b/examples/starter/package.json @@ -9,6 +9,6 @@ "preview": "astro preview" }, "devDependencies": { - "astro": "^0.23.0-next.10" + "astro": "^0.23.0" } } diff --git a/examples/subpath/package.json b/examples/subpath/package.json index 8b6c2788f562..10f97d497481 100644 --- a/examples/subpath/package.json +++ b/examples/subpath/package.json @@ -9,6 +9,6 @@ "preview": "astro preview" }, "devDependencies": { - "astro": "^0.23.0-next.10" + "astro": "^0.23.0" } } diff --git a/examples/with-markdown-plugins/package.json b/examples/with-markdown-plugins/package.json index 1bc399ad0e4a..70ffaba7cf08 100644 --- a/examples/with-markdown-plugins/package.json +++ b/examples/with-markdown-plugins/package.json @@ -9,7 +9,7 @@ "preview": "astro preview" }, "devDependencies": { - "astro": "^0.23.0-next.10", + "astro": "^0.23.0", "hast-util-select": "5.0.1", "rehype-autolink-headings": "^6.1.0", "rehype-slug": "^5.0.0", diff --git a/examples/with-markdown-shiki/package.json b/examples/with-markdown-shiki/package.json index 275671a04d32..c10a042829be 100644 --- a/examples/with-markdown-shiki/package.json +++ b/examples/with-markdown-shiki/package.json @@ -9,6 +9,6 @@ "preview": "astro preview" }, "devDependencies": { - "astro": "^0.23.0-next.10" + "astro": "^0.23.0" } } diff --git a/examples/with-markdown/package.json b/examples/with-markdown/package.json index c9d76a909341..66594e35f2a8 100644 --- a/examples/with-markdown/package.json +++ b/examples/with-markdown/package.json @@ -9,6 +9,6 @@ "preview": "astro preview" }, "devDependencies": { - "astro": "^0.23.0-next.10" + "astro": "^0.23.0" } } diff --git a/examples/with-nanostores/package.json b/examples/with-nanostores/package.json index 55ef133f72f4..67c5bf87d906 100644 --- a/examples/with-nanostores/package.json +++ b/examples/with-nanostores/package.json @@ -16,7 +16,7 @@ "solid-nanostores": "0.0.6" }, "devDependencies": { - "@astrojs/renderer-solid": "^0.4.0-next.0", - "astro": "^0.23.0-next.10" + "@astrojs/renderer-solid": "^0.4.0", + "astro": "^0.23.0" } } diff --git a/examples/with-tailwindcss/package.json b/examples/with-tailwindcss/package.json index 959eb84b4fde..3a24b8007704 100644 --- a/examples/with-tailwindcss/package.json +++ b/examples/with-tailwindcss/package.json @@ -9,7 +9,7 @@ "preview": "astro preview" }, "devDependencies": { - "astro": "^0.23.0-next.10", + "astro": "^0.23.0", "autoprefixer": "^10.4.0", "tailwindcss": "^3.0.5" } diff --git a/examples/with-vite-plugin-pwa/package.json b/examples/with-vite-plugin-pwa/package.json index 19563f813271..8651c91ee350 100644 --- a/examples/with-vite-plugin-pwa/package.json +++ b/examples/with-vite-plugin-pwa/package.json @@ -9,7 +9,7 @@ "preview": "astro preview" }, "devDependencies": { - "astro": "^0.23.0-next.10", + "astro": "^0.23.0", "vite-plugin-pwa": "0.11.5" } } diff --git a/packages/astro-parser/CHANGELOG.md b/packages/astro-parser/CHANGELOG.md index 0bec5dc02f82..c59c8b69dcb1 100644 --- a/packages/astro-parser/CHANGELOG.md +++ b/packages/astro-parser/CHANGELOG.md @@ -1,5 +1,7 @@ # @astrojs/parser +## 0.22.1 + ## 0.22.0 ### Minor Changes diff --git a/packages/astro-parser/package.json b/packages/astro-parser/package.json index 6fd3e3df0f3b..40e67286b85b 100644 --- a/packages/astro-parser/package.json +++ b/packages/astro-parser/package.json @@ -1,6 +1,6 @@ { "name": "@astrojs/parser", - "version": "0.22.0", + "version": "0.22.1", "type": "commonjs", "author": "withastro", "license": "MIT", diff --git a/packages/astro/CHANGELOG.md b/packages/astro/CHANGELOG.md index 8ed58a3c8978..8e359868dc18 100644 --- a/packages/astro/CHANGELOG.md +++ b/packages/astro/CHANGELOG.md @@ -1,5 +1,159 @@ # astro +## 0.23.0 + +### Minor Changes + +- [#2489](https://github.com/withastro/astro/pull/2489) [`618a16f5`](https://github.com/withastro/astro/commit/618a16f59d4037cff1665110f0ed111a96a96437) Thanks [@natemoo-re](https://github.com/natemoo-re)! - Add support for the `set:html` and `set:text` directives. + + With the introduction of these directives, unescaped HTML content in expressions is now deprecated. Please migrate to `set:html` in order to continue injecting unescaped HTML in future versions of Astro—you can use `` to avoid a wrapper element. `set:text` allows you to opt-in to escaping now, but it will soon become the default. + +* [#2494](https://github.com/withastro/astro/pull/2494) [`d7149f9b`](https://github.com/withastro/astro/commit/d7149f9b2f9a9092b33fa56cedecc446247faf64) Thanks [@FredKSchott](https://github.com/FredKSchott)! - Refactor dev server to use vite server internally. + + This should be an invisible change, and no breaking changes are expected from this change. However, it is a big enough refactor that some unexpected changes may occur. If you've experienced a regression in the dev server, it is most likely a bug! + +- [#2586](https://github.com/withastro/astro/pull/2586) [`d6d35bca`](https://github.com/withastro/astro/commit/d6d35bcafcbe216caa1d9e8410bf2925a4d57467) Thanks [@tony-sull](https://github.com/tony-sull)! - Support for non-HTML pages + + > ⚠️ This feature is currently only supported with the `--experimental-static-build` CLI flag. This feature may be refined over the next few weeks/months as SSR support is finalized. + + This adds support for generating non-HTML pages form `.js` and `.ts` pages during the build. Built file and extensions are based on the source file's name, ex: `src/pages/data.json.ts` will be built to `dist/data.json`. + + **Is this different from SSR?** Yes! This feature allows JSON, XML, etc. files to be output at build time. Keep an eye out for full SSR support if you need to build similar files when requested, for example as a serverless function in your deployment host. + + ## Examples + + ```typescript + // src/pages/company.json.ts + export async function get() { + return { + body: JSON.stringify({ + name: 'Astro Technology Company', + url: 'https://astro.build/', + }), + }; + } + ``` + + What about `getStaticPaths()`? It **just works**™. + + ```typescript + export async function getStaticPaths() { + return [ + { params: { slug: 'thing1' }}, + { params: { slug: 'thing2' }} + ] + } + + export async function get(params) { + const { slug } = params + + return { + body: // ...JSON.stringify() + } + } + ``` + +* [#2424](https://github.com/withastro/astro/pull/2424) [`1abb9ed0`](https://github.com/withastro/astro/commit/1abb9ed0800989f47351cc916f19fd8e0672e2c0) Thanks [@natemoo-re](https://github.com/natemoo-re)! - Upgrade `vite` to `2.8.x`, unvendoring `vite` and bringing Astro's dependencies up-to-date. + + This is a low-level change that you shouldn't have to worry about too much, but it should fix many, many issues with CJS/ESM interoperability. It also allows Astro to stay up-to-date with the `vite` ecosystem. If you run into any unexpected problems, please let us know by opening an issue. + +- [#2471](https://github.com/withastro/astro/pull/2471) [`c9bb1147`](https://github.com/withastro/astro/commit/c9bb1147cbfae20e3ecdf29ef2866a183b3b18e3) Thanks [@FredKSchott](https://github.com/FredKSchott)! - Standardize trailing subpath behavior in config. + + Most users are not aware of the subtle differences between `/foo` and `/foo/`. Internally, we have to handle both which means that we are constantly worrying about the format of the URL, needing to add/remove trailing slashes when we go to work with this property, etc. This change transforms all `site` values to use a trailing slash internally, which should help reduce bugs for both users and maintainers. + +* [#2548](https://github.com/withastro/astro/pull/2548) [`ba5e2b5e`](https://github.com/withastro/astro/commit/ba5e2b5e6c20207955991775dc4aa8879331542c) Thanks [@matthewp](https://github.com/matthewp)! - Experimental SSR Support + + > ⚠️ If you are a user of Astro and see this PR and think that you can start deploying your app to a server and get SSR, slow down a second! This is only the initial flag and **very basic support**. Styles are not loading correctly at this point, for example. Like we did with the `--experimental-static-build` flag, this feature will be refined over the next few weeks/months and we'll let you know when its ready for community testing. + + ## Changes + + - This adds a new `--experimental-ssr` flag to `astro build` which will result in `dist/server/` and `dist/client/` directories. + - SSR can be used through this API: + + ```js + import { createServer } from 'http'; + import { loadApp } from 'astro/app/node'; + + const app = await loadApp(new URL('./dist/server/', import.meta.url)); + + createServer((req, res) => { + const route = app.match(req); + if(route) { + let html = await app.render(req, route); + } + + }).listen(8080); + ``` + + - This API will be refined over time. + - This only works in Node.js at the moment. + - Many features will likely not work correctly, but rendering HTML at least should. + +### Patch Changes + +- [#2486](https://github.com/withastro/astro/pull/2486) [`6bd165f8`](https://github.com/withastro/astro/commit/6bd165f84cd3a1550b29fec539af814360c87f54) Thanks [@matthewp](https://github.com/matthewp)! - Fix for the static build when project contains a space + +* [#2424](https://github.com/withastro/astro/pull/2424) [`1abb9ed0`](https://github.com/withastro/astro/commit/1abb9ed0800989f47351cc916f19fd8e0672e2c0) Thanks [@natemoo-re](https://github.com/natemoo-re)! - Fixes HMR of CSS that is imported from astro, when using the static build flag + +- [#2522](https://github.com/withastro/astro/pull/2522) [`3e8844fa`](https://github.com/withastro/astro/commit/3e8844fa871fa477026375db6d921beb4b23b0dc) Thanks [@matthewp](https://github.com/matthewp)! - Fix for CSS superset support and HMR in the static build + +* [#2506](https://github.com/withastro/astro/pull/2506) [`187d5128`](https://github.com/withastro/astro/commit/187d5128af9ea388589f12e7b062b1e6a38ac67a) Thanks [@jonathantneal](https://github.com/jonathantneal)! - Fix an issue rendering content within HTMLElement + +- [#2606](https://github.com/withastro/astro/pull/2606) [`96609d4c`](https://github.com/withastro/astro/commit/96609d4c9ef66ef6852e590fa439a2177e9ae847) Thanks [@matthewp](https://github.com/matthewp)! - Fixes 404 to HMR script in the static build + +* [#2599](https://github.com/withastro/astro/pull/2599) [`929fae68`](https://github.com/withastro/astro/commit/929fae684f2e375bfae2dd2b69d440abcf944378) Thanks [@natemoo-re](https://github.com/natemoo-re)! - Update `@astrojs/compiler` to [`v0.11.0`](https://github.com/withastro/compiler/blob/main/lib/compiler/CHANGELOG.md#0110), which moves from TinyGo to Go's built-in WASM output. This will be a significant improvement for stability and memory safety. + +- [#2532](https://github.com/withastro/astro/pull/2532) [`b210fd00`](https://github.com/withastro/astro/commit/b210fd008b9253f0c755c21e157cd7fb069c8445) Thanks [@matthewp](https://github.com/matthewp)! - Fixes HMR of .astro modules in astro@next + +* [#2552](https://github.com/withastro/astro/pull/2552) [`e81bc3cf`](https://github.com/withastro/astro/commit/e81bc3cf14d9516a76a3328d277eb2e4db9d7279) Thanks [@matthewp](https://github.com/matthewp)! - Fixes build slowness on large apps + + This fixes slowness on large apps, particularly during the static build. Fix is to prevent the Vite dev server plugin from being run during build, as it is not needed. + +- [#2605](https://github.com/withastro/astro/pull/2605) [`87762410`](https://github.com/withastro/astro/commit/87762410f3c2b887e049422d61a17e9c0fdabd88) Thanks [@matthewp](https://github.com/matthewp)! - Fixes Astro style resolution in the static build + +* [#2569](https://github.com/withastro/astro/pull/2569) [`82544e41`](https://github.com/withastro/astro/commit/82544e413406a62ecf3e408ca1aac5c8c15b7453) Thanks [@matthewp](https://github.com/matthewp)! - Fixes pageUrlFormat: 'file' in the static build + +- [#2588](https://github.com/withastro/astro/pull/2588) [`10216176`](https://github.com/withastro/astro/commit/102161761de629fe1bfee7d151d4956c57ea2f42) Thanks [@matthewp](https://github.com/matthewp)! - Fix for passing children to client component when the component does not render them + +* [#2531](https://github.com/withastro/astro/pull/2531) [`ef1d81ef`](https://github.com/withastro/astro/commit/ef1d81effd4e0c420c6eb2e5e500cfaac3106ea8) Thanks [@FredKSchott](https://github.com/FredKSchott)! - Fix issue where hostname was not passed to dev server + +- [#2537](https://github.com/withastro/astro/pull/2537) [`b0666286`](https://github.com/withastro/astro/commit/b066628693d9d9a526b3e8ab2a2d493aad38a722) Thanks [@FredKSchott](https://github.com/FredKSchott)! - Improve debug logs + +* [#2511](https://github.com/withastro/astro/pull/2511) [`3d2c1849`](https://github.com/withastro/astro/commit/3d2c184962925300ca75c96b8115f88e68140ec7) Thanks [@matthewp](https://github.com/matthewp)! - Bug fix for `define:vars` with the --experimental-static-build flag + +- [#2518](https://github.com/withastro/astro/pull/2518) [`2bc91543`](https://github.com/withastro/astro/commit/2bc91543ceeb5f3dd45e201bf75d79f186e85141) Thanks [@JuanM04](https://github.com/JuanM04)! - Added the ability to use custom themes and langs with Shiki (`` and `@astrojs/markdown-remark`) + +* [#2612](https://github.com/withastro/astro/pull/2612) [`39cbe500`](https://github.com/withastro/astro/commit/39cbe5008549517d9360bc7c473793523c0c9207) Thanks [@natemoo-re](https://github.com/natemoo-re)! - Improve suppport for `import.meta.env`. + + Prior to this change, all variables defined in `.env` files had to include the `PUBLIC_` prefix, meaning that they could potentially be visible to the client if referenced. + + Now, Astro includes _any_ referenced variables defined in `.env` files on `import.meta.env` during server-side rendering, but only referenced `PUBLIC_` variables on the client. + +- [#2471](https://github.com/withastro/astro/pull/2471) [`c9bb1147`](https://github.com/withastro/astro/commit/c9bb1147cbfae20e3ecdf29ef2866a183b3b18e3) Thanks [@FredKSchott](https://github.com/FredKSchott)! - Respect subpath URL paths in the fetchContent url property. + + This fixes an issue where fetchContent() URL property did not include the buildOptions.site path in it. + +* [#2538](https://github.com/withastro/astro/pull/2538) [`16d532fe`](https://github.com/withastro/astro/commit/16d532fe1772a2c0880beda0f49883efb2469e44) Thanks [@natemoo-re](https://github.com/natemoo-re)! - Fix rendering of HTML boolean attributes like `open` and `async`. + + Fix rendering of HTML and SVG enumerated attributes like `contenteditable` and `spellcheck`. + +- [#2570](https://github.com/withastro/astro/pull/2570) [`34317bc0`](https://github.com/withastro/astro/commit/34317bc05c707179af0be6c9fe743c1fd1299532) Thanks [@matthewp](https://github.com/matthewp)! - Fixes bug with astro/components not loading in the next release + +* [#2581](https://github.com/withastro/astro/pull/2581) [`ec6f148f`](https://github.com/withastro/astro/commit/ec6f148fc8623c6549885af70512839c08905fdb) Thanks [@matthewp](https://github.com/matthewp)! - Fix for resolving relative imports from hoisted scripts in the static build. + +- [#2593](https://github.com/withastro/astro/pull/2593) [`40c0e2b3`](https://github.com/withastro/astro/commit/40c0e2b3f69e81cd7bb3fc2d8d0b3448c11b6ed8) Thanks [@tony-sull](https://github.com/tony-sull)! - Dynamic route params should ignore param order when matching paths + +* [#2497](https://github.com/withastro/astro/pull/2497) [`6fe1b027`](https://github.com/withastro/astro/commit/6fe1b0279fce5a7a0e90ff79746ea0b641da3e21) Thanks [@JuanM04](https://github.com/JuanM04)! - Bumped Shiki version + +- [#2594](https://github.com/withastro/astro/pull/2594) [`085468e9`](https://github.com/withastro/astro/commit/085468e949f1d6e9e19bd7039574b586a78e7601) Thanks [@natemoo-re](https://github.com/natemoo-re)! - Upgrade `@astrojs/compiler` to `v0.10.2` + +- Updated dependencies [[`a907a73b`](https://github.com/withastro/astro/commit/a907a73b8cd14726d158ea460932f9cd8891923a), [`cfeaa941`](https://github.com/withastro/astro/commit/cfeaa9414acdecec6f5d66ee0e33fe4fde574eee), [`2bc91543`](https://github.com/withastro/astro/commit/2bc91543ceeb5f3dd45e201bf75d79f186e85141), [`6fe1b027`](https://github.com/withastro/astro/commit/6fe1b0279fce5a7a0e90ff79746ea0b641da3e21), [`2bc91543`](https://github.com/withastro/astro/commit/2bc91543ceeb5f3dd45e201bf75d79f186e85141), [`d71c4620`](https://github.com/withastro/astro/commit/d71c46207af40de6811596ca4f5e10aa9006377b)]: + - @astrojs/renderer-preact@0.5.0 + - @astrojs/renderer-react@0.5.0 + - @astrojs/renderer-svelte@0.4.0 + - @astrojs/renderer-vue@0.4.0 + - @astrojs/markdown-remark@0.6.1 + ## 0.23.0-next.10 ### Patch Changes @@ -39,12 +193,12 @@ ```typescript // src/pages/company.json.ts export async function get() { - return { - body: JSON.stringify({ - name: 'Astro Technology Company', - url: 'https://astro.build/', - }), - }; + return { + body: JSON.stringify({ + name: 'Astro Technology Company', + url: 'https://astro.build/', + }), + }; } ``` @@ -1399,10 +1553,10 @@ For convenience, you may now also move your `astro.config.js` file to a top-leve ```js export default { - markdownOptions: { - remarkPlugins: ['remark-slug', ['remark-autolink-headings', { behavior: 'prepend' }]], - rehypePlugins: ['rehype-slug', ['rehype-autolink-headings', { behavior: 'prepend' }]], - }, + markdownOptions: { + remarkPlugins: ['remark-slug', ['remark-autolink-headings', { behavior: 'prepend' }]], + rehypePlugins: ['rehype-slug', ['rehype-autolink-headings', { behavior: 'prepend' }]], + }, }; ``` @@ -1422,10 +1576,10 @@ For convenience, you may now also move your `astro.config.js` file to a top-leve ```js export default { - name: '@matthewp/my-renderer', - server: './server.js', - client: './client.js', - hydrationPolyfills: ['./my-polyfill.js'], + name: '@matthewp/my-renderer', + server: './server.js', + client: './client.js', + hydrationPolyfills: ['./my-polyfill.js'], }; ``` diff --git a/packages/astro/package.json b/packages/astro/package.json index e2f4d9b4da29..d87eec1a5111 100644 --- a/packages/astro/package.json +++ b/packages/astro/package.json @@ -1,6 +1,6 @@ { "name": "astro", - "version": "0.23.0-next.10", + "version": "0.23.0", "description": "Astro is a modern site builder with web best practices, performance, and DX front-of-mind.", "type": "module", "author": "withastro", @@ -58,12 +58,12 @@ "dependencies": { "@astrojs/compiler": "^0.11.3", "@astrojs/language-server": "^0.8.6", - "@astrojs/markdown-remark": "^0.6.1-next.2", + "@astrojs/markdown-remark": "^0.6.1", "@astrojs/prism": "0.4.0", - "@astrojs/renderer-preact": "^0.5.0-next.0", - "@astrojs/renderer-react": "0.5.0-next.0", - "@astrojs/renderer-svelte": "0.4.0-next.0", - "@astrojs/renderer-vue": "0.4.0-next.0", + "@astrojs/renderer-preact": "^0.5.0", + "@astrojs/renderer-react": "0.5.0", + "@astrojs/renderer-svelte": "0.4.0", + "@astrojs/renderer-vue": "0.4.0", "@astropub/webapi": "^0.10.1", "@babel/core": "^7.15.8", "@babel/traverse": "^7.15.4", @@ -110,7 +110,7 @@ "zod": "^3.8.1" }, "devDependencies": { - "@astrojs/parser": "^0.22.0", + "@astrojs/parser": "^0.22.1", "@babel/types": "^7.15.6", "@types/chai": "^4.2.22", "@types/common-ancestor-path": "^1.0.0", diff --git a/packages/markdown/remark/CHANGELOG.md b/packages/markdown/remark/CHANGELOG.md index 1029e78cd76d..a148f87fdf52 100644 --- a/packages/markdown/remark/CHANGELOG.md +++ b/packages/markdown/remark/CHANGELOG.md @@ -1,5 +1,19 @@ # @astrojs/markdown-remark +## 0.6.1 + +### Patch Changes + +- [#2534](https://github.com/withastro/astro/pull/2534) [`cfeaa941`](https://github.com/withastro/astro/commit/cfeaa9414acdecec6f5d66ee0e33fe4fde574eee) Thanks [@JuanM04](https://github.com/JuanM04)! - Now you can use local plugins by passing a function instead of an `import` + +* [#2518](https://github.com/withastro/astro/pull/2518) [`2bc91543`](https://github.com/withastro/astro/commit/2bc91543ceeb5f3dd45e201bf75d79f186e85141) Thanks [@JuanM04](https://github.com/JuanM04)! - Added the ability to use custom themes and langs with Shiki (`` and `@astrojs/markdown-remark`) + +- [#2497](https://github.com/withastro/astro/pull/2497) [`6fe1b027`](https://github.com/withastro/astro/commit/6fe1b0279fce5a7a0e90ff79746ea0b641da3e21) Thanks [@JuanM04](https://github.com/JuanM04)! - Add Shiki as an alternative to Prism + +* [#2518](https://github.com/withastro/astro/pull/2518) [`2bc91543`](https://github.com/withastro/astro/commit/2bc91543ceeb5f3dd45e201bf75d79f186e85141) Thanks [@JuanM04](https://github.com/JuanM04)! - Added `wrap` to Shiki config + +- [#2564](https://github.com/withastro/astro/pull/2564) [`d71c4620`](https://github.com/withastro/astro/commit/d71c46207af40de6811596ca4f5e10aa9006377b) Thanks [@JuanM04](https://github.com/JuanM04)! - Fixed curly braces inside Shiki codeblocks + ## 0.6.1-next.2 ### Patch Changes @@ -127,10 +141,10 @@ ```js export default { - markdownOptions: { - remarkPlugins: ['remark-slug', ['remark-autolink-headings', { behavior: 'prepend' }]], - rehypePlugins: ['rehype-slug', ['rehype-autolink-headings', { behavior: 'prepend' }]], - }, + markdownOptions: { + remarkPlugins: ['remark-slug', ['remark-autolink-headings', { behavior: 'prepend' }]], + rehypePlugins: ['rehype-slug', ['rehype-autolink-headings', { behavior: 'prepend' }]], + }, }; ``` diff --git a/packages/markdown/remark/package.json b/packages/markdown/remark/package.json index 2db3fc01f28d..74015416ac88 100644 --- a/packages/markdown/remark/package.json +++ b/packages/markdown/remark/package.json @@ -1,6 +1,6 @@ { "name": "@astrojs/markdown-remark", - "version": "0.6.1-next.2", + "version": "0.6.1", "type": "module", "author": "withastro", "license": "MIT", diff --git a/packages/renderers/renderer-lit/CHANGELOG.md b/packages/renderers/renderer-lit/CHANGELOG.md index 17e73367e1cd..6918ff8b617f 100644 --- a/packages/renderers/renderer-lit/CHANGELOG.md +++ b/packages/renderers/renderer-lit/CHANGELOG.md @@ -1,5 +1,11 @@ # @astrojs/renderer-lit +## 0.4.0 + +### Minor Changes + +- [#2563](https://github.com/withastro/astro/pull/2563) [`a907a73b`](https://github.com/withastro/astro/commit/a907a73b8cd14726d158ea460932f9cd8891923a) Thanks [@natemoo-re](https://github.com/natemoo-re)! - Upgrade renderer dependencies for `vite@2.8.x` + ## 0.4.0-next.0 ### Minor Changes diff --git a/packages/renderers/renderer-lit/package.json b/packages/renderers/renderer-lit/package.json index 2fedba789395..b126f8fb6f07 100644 --- a/packages/renderers/renderer-lit/package.json +++ b/packages/renderers/renderer-lit/package.json @@ -1,6 +1,6 @@ { "name": "@astrojs/renderer-lit", - "version": "0.4.0-next.0", + "version": "0.4.0", "description": "Use Lit components within Astro", "type": "module", "author": "withastro", diff --git a/packages/renderers/renderer-preact/CHANGELOG.md b/packages/renderers/renderer-preact/CHANGELOG.md index dbba1380b365..39179799ac62 100644 --- a/packages/renderers/renderer-preact/CHANGELOG.md +++ b/packages/renderers/renderer-preact/CHANGELOG.md @@ -1,5 +1,11 @@ # @astrojs/renderer-preact +## 0.5.0 + +### Minor Changes + +- [#2563](https://github.com/withastro/astro/pull/2563) [`a907a73b`](https://github.com/withastro/astro/commit/a907a73b8cd14726d158ea460932f9cd8891923a) Thanks [@natemoo-re](https://github.com/natemoo-re)! - Upgrade renderer dependencies for `vite@2.8.x` + ## 0.5.0-next.0 ### Minor Changes diff --git a/packages/renderers/renderer-preact/package.json b/packages/renderers/renderer-preact/package.json index 14ea0f9d4aa7..7ad7d9392f6a 100644 --- a/packages/renderers/renderer-preact/package.json +++ b/packages/renderers/renderer-preact/package.json @@ -1,7 +1,7 @@ { "name": "@astrojs/renderer-preact", "description": "Use Preact components within Astro", - "version": "0.5.0-next.0", + "version": "0.5.0", "type": "module", "author": "withastro", "license": "MIT", diff --git a/packages/renderers/renderer-react/CHANGELOG.md b/packages/renderers/renderer-react/CHANGELOG.md index 6d4cc64c2de3..199740b38285 100644 --- a/packages/renderers/renderer-react/CHANGELOG.md +++ b/packages/renderers/renderer-react/CHANGELOG.md @@ -1,5 +1,11 @@ # @astrojs/renderer-react +## 0.5.0 + +### Minor Changes + +- [#2563](https://github.com/withastro/astro/pull/2563) [`a907a73b`](https://github.com/withastro/astro/commit/a907a73b8cd14726d158ea460932f9cd8891923a) Thanks [@natemoo-re](https://github.com/natemoo-re)! - Upgrade renderer dependencies for `vite@2.8.x` + ## 0.5.0-next.0 ### Minor Changes diff --git a/packages/renderers/renderer-react/package.json b/packages/renderers/renderer-react/package.json index 2e3c32d7c80b..fc4378fbcfd6 100644 --- a/packages/renderers/renderer-react/package.json +++ b/packages/renderers/renderer-react/package.json @@ -1,7 +1,7 @@ { "name": "@astrojs/renderer-react", "description": "Use React components within Astro", - "version": "0.5.0-next.0", + "version": "0.5.0", "type": "module", "author": "withastro", "license": "MIT", diff --git a/packages/renderers/renderer-solid/CHANGELOG.md b/packages/renderers/renderer-solid/CHANGELOG.md index 5c8d22b08ed4..a711d362119c 100644 --- a/packages/renderers/renderer-solid/CHANGELOG.md +++ b/packages/renderers/renderer-solid/CHANGELOG.md @@ -1,5 +1,11 @@ # @astrojs/renderer-solid +## 0.4.0 + +### Minor Changes + +- [#2563](https://github.com/withastro/astro/pull/2563) [`a907a73b`](https://github.com/withastro/astro/commit/a907a73b8cd14726d158ea460932f9cd8891923a) Thanks [@natemoo-re](https://github.com/natemoo-re)! - Upgrade renderer dependencies for `vite@2.8.x` + ## 0.4.0-next.0 ### Minor Changes diff --git a/packages/renderers/renderer-solid/package.json b/packages/renderers/renderer-solid/package.json index 011f3bd9e1e0..6191c74dd7cc 100644 --- a/packages/renderers/renderer-solid/package.json +++ b/packages/renderers/renderer-solid/package.json @@ -1,6 +1,6 @@ { "name": "@astrojs/renderer-solid", - "version": "0.4.0-next.0", + "version": "0.4.0", "description": "Use Solid components within Astro", "type": "module", "author": "withastro", diff --git a/packages/renderers/renderer-svelte/CHANGELOG.md b/packages/renderers/renderer-svelte/CHANGELOG.md index 0e555a4cfc13..0e2c42604847 100644 --- a/packages/renderers/renderer-svelte/CHANGELOG.md +++ b/packages/renderers/renderer-svelte/CHANGELOG.md @@ -1,5 +1,11 @@ # @astrojs/renderer-svelte +## 0.4.0 + +### Minor Changes + +- [#2563](https://github.com/withastro/astro/pull/2563) [`a907a73b`](https://github.com/withastro/astro/commit/a907a73b8cd14726d158ea460932f9cd8891923a) Thanks [@natemoo-re](https://github.com/natemoo-re)! - Upgrade renderer dependencies for `vite@2.8.x` + ## 0.4.0-next.0 ### Minor Changes diff --git a/packages/renderers/renderer-svelte/package.json b/packages/renderers/renderer-svelte/package.json index 8543256e28e5..29385d54d096 100644 --- a/packages/renderers/renderer-svelte/package.json +++ b/packages/renderers/renderer-svelte/package.json @@ -1,6 +1,6 @@ { "name": "@astrojs/renderer-svelte", - "version": "0.4.0-next.0", + "version": "0.4.0", "description": "Use Svelte components within Astro", "type": "module", "author": "withastro", diff --git a/packages/renderers/renderer-vue/CHANGELOG.md b/packages/renderers/renderer-vue/CHANGELOG.md index 2716cc451b84..96639066e497 100644 --- a/packages/renderers/renderer-vue/CHANGELOG.md +++ b/packages/renderers/renderer-vue/CHANGELOG.md @@ -1,5 +1,11 @@ # @astrojs/renderer-vue +## 0.4.0 + +### Minor Changes + +- [#2563](https://github.com/withastro/astro/pull/2563) [`a907a73b`](https://github.com/withastro/astro/commit/a907a73b8cd14726d158ea460932f9cd8891923a) Thanks [@natemoo-re](https://github.com/natemoo-re)! - Upgrade renderer dependencies for `vite@2.8.x` + ## 0.4.0-next.0 ### Minor Changes diff --git a/packages/renderers/renderer-vue/package.json b/packages/renderers/renderer-vue/package.json index dc4e008184ab..f031a6c8dd04 100644 --- a/packages/renderers/renderer-vue/package.json +++ b/packages/renderers/renderer-vue/package.json @@ -1,6 +1,6 @@ { "name": "@astrojs/renderer-vue", - "version": "0.4.0-next.0", + "version": "0.4.0", "description": "Use Vue components within Astro", "type": "module", "author": "withastro",