Version Packages (#285)

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
This commit is contained in:
github-actions[bot] 2021-06-02 12:49:05 -04:00 committed by GitHub
parent b4cc8b096f
commit 436a016408
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
33 changed files with 97 additions and 127 deletions

View file

@ -1,5 +0,0 @@
---
'astro': minor
---
Enable Snowpack's [built-in HMR support](https://www.snowpack.dev/concepts/hot-module-replacement) to enable seamless live updates while editing.

View file

@ -1,7 +0,0 @@
---
'astro': patch
---
Fixed a bug where Astro did not conform to JSX Expressions' [`&&`](https://reactjs.org/docs/conditional-rendering.html#inline-if-with-logical--operator) syntax.
Also fixed a bug where `<span data-attr="" />` would render as `<span data-attr="undefined" />`.

View file

@ -1,5 +0,0 @@
---
'astro': patch
---
Fixed bug where a class attribute was added to the doctype

View file

@ -1,5 +0,0 @@
---
'astro': minor
---
Support for dynamic Markdown through the content attribute.

View file

@ -1,5 +0,0 @@
---
'astro': minor
---
Enabled Snowpack's built-in HMR engine for Astro pages

View file

@ -1,5 +0,0 @@
---
'astro': patch
---
Fixed a number of bugs and re-enabled the `@astrojs/renderer-vue` renderer

View file

@ -1,5 +0,0 @@
---
'astro': patch
---
Temporarily disable `@astrojs/renderer-vue` while we investigate an issue with installation

View file

@ -1,27 +0,0 @@
{
"mode": "exit",
"tag": "next",
"initialVersions": {
"@example/astro-markdown": "0.0.1",
"@example/blog": "0.0.1",
"@example/doc": "0.0.1",
"@example/kitchen-sink": "1.0.0",
"@example/portfolio": "0.0.1",
"@example/remote-markdown": "0.0.1",
"@example/snowpack": "3.0.0",
"@example/tailwindcss": "0.0.1",
"astro": "0.11.0",
"astro-parser": "0.11.0",
"astro-prism": "0.0.2",
"@astrojs/renderer-preact": "0.0.1",
"@astrojs/renderer-react": "0.0.1",
"@astrojs/renderer-svelte": "0.0.1",
"@astrojs/renderer-vue": "0.0.1",
"astro-scripts": "0.0.1",
"astro-languageserver": "0.4.0",
"astro-vscode": "0.4.3",
"prettier-plugin-astro": "0.0.3",
"www": "1.1.0"
},
"changesets": ["brave-panthers-heal", "cold-paws-remember", "khaki-avocados-lie", "nine-buttons-decide", "shaggy-countries-battle", "smooth-toes-tan"]
}

View file

@ -1,19 +0,0 @@
---
'astro': minor
---
**This is a breaking change**
Updated the rendering pipeline for `astro` to truly support any framework.
For the vast majority of use cases, `astro` should _just work_ out of the box. Astro now depends on `@astrojs/renderer-preact`, `@astrojs/renderer-react`, `@astrojs/renderer-svelte`, and `@astrojs/renderer-vue`, rather than these being built into the core library. This opens the door for anyone to contribute additional renderers for Astro to support their favorite framework, as well as the ability for users to control which renderers should be used.
**Features**
- Expose a pluggable interface for controlling server-side rendering and client-side hydration
- Allows components from different frameworks to be nested within each other.
> Note: `svelte` currently does support non-destructive hydration, so components from other frameworks cannot currently be nested inside of a Svelte component. See https://github.com/sveltejs/svelte/issues/4308.
**Breaking Changes**
- To improve compiler performance, improve framework support, and minimize JS payloads, any children passed to hydrated components are automatically wrapped with an `<astro-fragment>` element.

View file

@ -1,8 +0,0 @@
---
'@astrojs/renderer-preact': minor
'@astrojs/renderer-react': minor
'@astrojs/renderer-svelte': minor
'@astrojs/renderer-vue': minor
---
Initial release

View file

@ -1,5 +0,0 @@
---
'astro': patch
---
Rename `astroConfig` to `pages` in config. Docs updated.

View file

@ -1,6 +0,0 @@
---
'astro': patch
'astro-parser': patch
---
Improve error display for missing local files

View file

@ -1,5 +0,0 @@
---
'@astrojs/renderer-svelte': patch
---
Fixed a bug that was preventing SSR from working

View file

@ -8,7 +8,7 @@
"astro-dev": "nodemon --delay 0.5 -w ../../packages/astro/dist -x '../../packages/astro/astro.mjs dev'"
},
"devDependencies": {
"astro": "0.12.0-next.1",
"astro": "0.12.0",
"nodemon": "^2.0.7"
},
"snowpack": {

View file

@ -8,7 +8,7 @@
"astro-dev": "nodemon --delay 0.5 -w ../../packages/astro/dist -x '../../packages/astro/astro.mjs dev'"
},
"devDependencies": {
"astro": "^0.12.0-next.1",
"astro": "^0.12.0",
"nodemon": "^2.0.7"
},
"snowpack": {

View file

@ -8,7 +8,7 @@
"astro-dev": "nodemon --delay 0.5 -w ../../packages/astro/dist -x '../../packages/astro/astro.mjs dev'"
},
"devDependencies": {
"astro": "^0.12.0-next.1",
"astro": "^0.12.0",
"nodemon": "^2.0.7"
},
"snowpack": {

View file

@ -8,7 +8,7 @@
"astro-dev": "nodemon --delay 0.5 -w ../../packages/astro/dist -x '../../packages/astro/astro.mjs dev'"
},
"devDependencies": {
"astro": "^0.12.0-next.1",
"astro": "^0.12.0",
"nodemon": "^2.0.7"
},
"snowpack": {

View file

@ -8,7 +8,7 @@
"astro-dev": "nodemon --delay 0.5 -w ../../packages/astro/dist -x '../../packages/astro/astro.mjs dev'"
},
"devDependencies": {
"astro": "^0.12.0-next.1"
"astro": "^0.12.0"
},
"snowpack": {
"workspaceRoot": "../.."

View file

@ -11,7 +11,7 @@
"lint": "prettier --check \"src/**/*.js\""
},
"dependencies": {
"astro": "^0.12.0-next.1",
"astro": "^0.12.0",
"date-fns": "^2.19.0",
"deepmerge": "^4.2.2",
"docsearch.js": "^2.6.3",
@ -25,7 +25,7 @@
"@11ty/eleventy-plugin-syntaxhighlight": "^3.0.4",
"@contentful/rich-text-html-renderer": "^14.1.2",
"@contentful/rich-text-types": "^14.1.2",
"astro": "^0.12.0-next.1",
"astro": "^0.12.0",
"eleventy-plugin-nesting-toc": "^1.2.0",
"luxon": "^1.25.0",
"markdown-it": "^12.0.2",

View file

@ -8,7 +8,7 @@
"astro-dev": "nodemon --delay 0.5 -w ../../packages/astro/dist -x '../../packages/astro/astro.mjs dev'"
},
"devDependencies": {
"astro": "^0.12.0-next.1",
"astro": "^0.12.0",
"tailwindcss": "^2.1.2"
},
"snowpack": {

View file

@ -1,5 +1,11 @@
# astro-parser
## 0.12.0
### Patch Changes
- d2330a5: Improve error display for missing local files
### 0.12.0-next.0
### Patch Changes

View file

@ -1,6 +1,6 @@
{
"name": "astro-parser",
"version": "0.12.0-next.0",
"version": "0.12.0",
"author": "Skypack",
"license": "MIT",
"type": "commonjs",

View file

@ -1,5 +1,48 @@
# astro
## 0.12.0
### Minor Changes
- 8ff7998: Enable Snowpack's [built-in HMR support](https://www.snowpack.dev/concepts/hot-module-replacement) to enable seamless live updates while editing.
- ffb6380: Support for dynamic Markdown through the content attribute.
- 8ff7998: Enabled Snowpack's built-in HMR engine for Astro pages
- 643c880: **This is a breaking change**
Updated the rendering pipeline for `astro` to truly support any framework.
For the vast majority of use cases, `astro` should _just work_ out of the box. Astro now depends on `@astrojs/renderer-preact`, `@astrojs/renderer-react`, `@astrojs/renderer-svelte`, and `@astrojs/renderer-vue`, rather than these being built into the core library. This opens the door for anyone to contribute additional renderers for Astro to support their favorite framework, as well as the ability for users to control which renderers should be used.
**Features**
- Expose a pluggable interface for controlling server-side rendering and client-side hydration
- Allows components from different frameworks to be nested within each other.
> Note: `svelte` currently does support non-destructive hydration, so components from other frameworks cannot currently be nested inside of a Svelte component. See https://github.com/sveltejs/svelte/issues/4308.
**Breaking Changes**
- To improve compiler performance, improve framework support, and minimize JS payloads, any children passed to hydrated components are automatically wrapped with an `<astro-fragment>` element.
### Patch Changes
- 3d20623: Fixed a bug where Astro did not conform to JSX Expressions' [`&&`](https://reactjs.org/docs/conditional-rendering.html#inline-if-with-logical--operator) syntax.
Also fixed a bug where `<span data-attr="" />` would render as `<span data-attr="undefined" />`.
- 46871d2: Fixed bug where a class attribute was added to the doctype
- c9d833e: Fixed a number of bugs and re-enabled the `@astrojs/renderer-vue` renderer
- ce30bb0: Temporarily disable `@astrojs/renderer-vue` while we investigate an issue with installation
- addd67d: Rename `astroConfig` to `pages` in config. Docs updated.
- d2330a5: Improve error display for missing local files
- Updated dependencies [643c880]
- Updated dependencies [d2330a5]
- Updated dependencies [c9d833e]
- @astrojs/renderer-preact@0.1.0
- @astrojs/renderer-react@0.1.0
- @astrojs/renderer-svelte@0.1.0
- @astrojs/renderer-vue@0.1.0
- astro-parser@0.12.0
## 0.12.0-next.1
### Patch Changes

View file

@ -1,6 +1,6 @@
{
"name": "astro",
"version": "0.12.0-next.1",
"version": "0.12.0",
"author": "Skypack",
"license": "MIT",
"type": "module",
@ -35,10 +35,10 @@
"test": "uvu test -i fixtures -i benchmark -i test-utils.js"
},
"dependencies": {
"@astrojs/renderer-preact": "0.1.0-next.0",
"@astrojs/renderer-react": "0.1.0-next.0",
"@astrojs/renderer-svelte": "0.1.0-next.0",
"@astrojs/renderer-vue": "0.1.0-next.0",
"@astrojs/renderer-preact": "0.1.0",
"@astrojs/renderer-react": "0.1.0",
"@astrojs/renderer-svelte": "0.1.0",
"@astrojs/renderer-vue": "0.1.0",
"@babel/code-frame": "^7.12.13",
"@babel/generator": "^7.13.9",
"@babel/parser": "^7.13.15",
@ -48,7 +48,7 @@
"@snowpack/plugin-sass": "^1.4.0",
"acorn": "^7.4.0",
"astring": "^1.7.4",
"astro-parser": "0.12.0-next.0",
"astro-parser": "0.12.0",
"astro-prism": "0.0.2",
"autoprefixer": "^10.2.5",
"cheerio": "^1.0.0-rc.6",

View file

@ -1,5 +1,11 @@
# @astrojs/renderer-preact
## 0.1.0
### Minor Changes
- 643c880: Initial release
## 0.1.0-next.0
### Minor Changes

View file

@ -1,6 +1,6 @@
{
"name": "@astrojs/renderer-preact",
"version": "0.1.0-next.0",
"version": "0.1.0",
"type": "module",
"exports": {
".": "./index.js",

View file

@ -1,5 +1,11 @@
# @astrojs/renderer-react
## 0.1.0
### Minor Changes
- 643c880: Initial release
## 0.1.0-next.0
### Minor Changes

View file

@ -1,6 +1,6 @@
{
"name": "@astrojs/renderer-react",
"version": "0.1.0-next.0",
"version": "0.1.0",
"type": "module",
"exports": {
".": "./index.js",

View file

@ -1,5 +1,15 @@
# @astrojs/renderer-svelte
## 0.1.0
### Minor Changes
- 643c880: Initial release
### Patch Changes
- c9d833e: Fixed a bug that was preventing SSR from working
## 0.1.0-next.0
### Minor Changes

View file

@ -1,6 +1,6 @@
{
"name": "@astrojs/renderer-svelte",
"version": "0.1.0-next.0",
"version": "0.1.0",
"type": "module",
"exports": {
".": "./index.js",

View file

@ -1,5 +1,11 @@
# @astrojs/renderer-vue
## 0.1.0
### Minor Changes
- 643c880: Initial release
## 0.1.0-next.0
### Minor Changes

View file

@ -1,6 +1,6 @@
{
"name": "@astrojs/renderer-vue",
"version": "0.1.0-next.0",
"version": "0.1.0",
"type": "module",
"exports": {
".": "./index.js",

View file

@ -6,6 +6,6 @@
"build": "astro build ."
},
"devDependencies": {
"astro": "^0.12.0-next.1"
"astro": "^0.12.0"
}
}