diff options
Diffstat (limited to '.changeset')
35 files changed, 0 insertions, 341 deletions
diff --git a/.changeset/afraid-crabs-heal.md b/.changeset/afraid-crabs-heal.md deleted file mode 100644 index 90aa3cc3d..000000000 --- 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 241931dbf..000000000 --- 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 18db7ab25..000000000 --- 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 23591a3d5..000000000 --- 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 246b9ed49..000000000 --- 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 869a52972..000000000 --- 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 `<Fragment set:html={content}>` 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 48c265c0a..000000000 --- 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 274738d66..000000000 --- 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 77381ecc9..000000000 --- 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 261629367..000000000 --- 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 b1599802c..000000000 --- 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 901fbf523..000000000 --- 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 4dfd6fcde..000000000 --- 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 5c59ae267..000000000 --- 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 4d487285e..000000000 --- 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 0d4a2541e..000000000 --- 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 a3a7d22f2..000000000 --- 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 894cb3c0d..000000000 --- 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 40b099fb1..000000000 --- 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 8a992457b..000000000 --- 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 88af7820f..000000000 --- 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 (`<Code />` and `@astrojs/markdown-remark`) diff --git a/.changeset/nine-donuts-confess.md b/.changeset/nine-donuts-confess.md deleted file mode 100644 index 7ae040c23..000000000 --- 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 0e54404da..000000000 --- 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 afd439b59..000000000 --- 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 aa67307eb..000000000 --- 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 8d2c25449..000000000 --- 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 a92abed9f..000000000 --- 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 022423d3a..000000000 --- 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 17b3fb653..000000000 --- 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 af51c2177..000000000 --- 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 0031f6b46..000000000 --- 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 07e0dc956..000000000 --- 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 48060f063..000000000 --- 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 82e35f3a2..000000000 --- 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 a51fdff77..000000000 --- a/.changeset/warm-drinks-design.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'astro': patch ---- - -Upgrade `@astrojs/compiler` to `v0.10.2` |