Version Packages (next) (#227)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
This commit is contained in:
parent
2e99dc574f
commit
092d201aee
21 changed files with 85 additions and 21 deletions
|
@ -23,5 +23,11 @@
|
|||
"prettier-plugin-astro": "0.0.3",
|
||||
"www": "1.1.0"
|
||||
},
|
||||
"changesets": []
|
||||
"changesets": [
|
||||
"brave-panthers-heal",
|
||||
"cold-paws-remember",
|
||||
"khaki-avocados-lie",
|
||||
"shaggy-countries-battle",
|
||||
"smooth-toes-tan"
|
||||
]
|
||||
}
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
"astro-dev": "nodemon --delay 0.5 -w ../../packages/astro/dist -x '../../packages/astro/astro.mjs dev'"
|
||||
},
|
||||
"devDependencies": {
|
||||
"astro": "0.11.0",
|
||||
"astro": "0.12.0-next.0",
|
||||
"nodemon": "^2.0.7"
|
||||
},
|
||||
"snowpack": {
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
"astro-dev": "nodemon --delay 0.5 -w ../../packages/astro/dist -x '../../packages/astro/astro.mjs dev'"
|
||||
},
|
||||
"devDependencies": {
|
||||
"astro": "^0.11.0",
|
||||
"astro": "^0.12.0-next.0",
|
||||
"nodemon": "^2.0.7"
|
||||
},
|
||||
"snowpack": {
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
"astro-dev": "nodemon --delay 0.5 -w ../../packages/astro/dist -x '../../packages/astro/astro.mjs dev'"
|
||||
},
|
||||
"devDependencies": {
|
||||
"astro": "^0.11.0",
|
||||
"astro": "^0.12.0-next.0",
|
||||
"nodemon": "^2.0.7"
|
||||
},
|
||||
"snowpack": {
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
"astro-dev": "nodemon --delay 0.5 -w ../../packages/astro/dist -x '../../packages/astro/astro.mjs dev'"
|
||||
},
|
||||
"devDependencies": {
|
||||
"astro": "^0.11.0",
|
||||
"astro": "^0.12.0-next.0",
|
||||
"nodemon": "^2.0.7"
|
||||
},
|
||||
"snowpack": {
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
"astro-dev": "nodemon --delay 0.5 -w ../../packages/astro/dist -x '../../packages/astro/astro.mjs dev'"
|
||||
},
|
||||
"devDependencies": {
|
||||
"astro": "^0.11.0"
|
||||
"astro": "^0.12.0-next.0"
|
||||
},
|
||||
"snowpack": {
|
||||
"workspaceRoot": "../.."
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
"astro-dev": "nodemon --delay 0.5 -w ../../packages/astro/dist -x '../../packages/astro/astro.mjs dev'"
|
||||
},
|
||||
"devDependencies": {
|
||||
"astro": "0.11.0",
|
||||
"astro": "0.12.0-next.0",
|
||||
"nodemon": "^2.0.7"
|
||||
},
|
||||
"snowpack": {
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
"lint": "prettier --check \"src/**/*.js\""
|
||||
},
|
||||
"dependencies": {
|
||||
"astro": "^0.11.0",
|
||||
"astro": "^0.12.0-next.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.11.0",
|
||||
"astro": "^0.12.0-next.0",
|
||||
"eleventy-plugin-nesting-toc": "^1.2.0",
|
||||
"luxon": "^1.25.0",
|
||||
"markdown-it": "^12.0.2",
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
"astro-dev": "nodemon --delay 0.5 -w ../../packages/astro/dist -x '../../packages/astro/astro.mjs dev'"
|
||||
},
|
||||
"devDependencies": {
|
||||
"astro": "^0.11.0",
|
||||
"astro": "^0.12.0-next.0",
|
||||
"tailwindcss": "^2.1.2"
|
||||
},
|
||||
"snowpack": {
|
||||
|
|
|
@ -1,5 +1,39 @@
|
|||
# astro
|
||||
|
||||
## 0.12.0-next.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.
|
||||
- 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" />`.
|
||||
|
||||
- Updated dependencies [643c880]
|
||||
- @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
|
||||
|
||||
## 0.11.0
|
||||
|
||||
### Minor Changes
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "astro",
|
||||
"version": "0.11.0",
|
||||
"version": "0.12.0-next.0",
|
||||
"author": "Skypack",
|
||||
"license": "MIT",
|
||||
"type": "module",
|
||||
|
@ -32,10 +32,10 @@
|
|||
"test": "uvu test -i fixtures -i benchmark -i test-utils.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@astrojs/renderer-preact": "0.0.1",
|
||||
"@astrojs/renderer-react": "0.0.1",
|
||||
"@astrojs/renderer-svelte": "0.0.1",
|
||||
"@astrojs/renderer-vue": "0.0.1",
|
||||
"@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",
|
||||
"@babel/code-frame": "^7.12.13",
|
||||
"@babel/generator": "^7.13.9",
|
||||
"@babel/parser": "^7.13.15",
|
||||
|
|
6
packages/renderers/renderer-preact/CHANGELOG.md
Normal file
6
packages/renderers/renderer-preact/CHANGELOG.md
Normal file
|
@ -0,0 +1,6 @@
|
|||
# @astrojs/renderer-preact
|
||||
|
||||
## 0.1.0-next.0
|
||||
### Minor Changes
|
||||
|
||||
- 643c880: Initial release
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "@astrojs/renderer-preact",
|
||||
"version": "0.0.1",
|
||||
"version": "0.1.0-next.0",
|
||||
"type": "module",
|
||||
"exports": {
|
||||
".": "./index.js",
|
||||
|
|
6
packages/renderers/renderer-react/CHANGELOG.md
Normal file
6
packages/renderers/renderer-react/CHANGELOG.md
Normal file
|
@ -0,0 +1,6 @@
|
|||
# @astrojs/renderer-react
|
||||
|
||||
## 0.1.0-next.0
|
||||
### Minor Changes
|
||||
|
||||
- 643c880: Initial release
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "@astrojs/renderer-react",
|
||||
"version": "0.0.1",
|
||||
"version": "0.1.0-next.0",
|
||||
"type": "module",
|
||||
"exports": {
|
||||
".": "./index.js",
|
||||
|
|
6
packages/renderers/renderer-svelte/CHANGELOG.md
Normal file
6
packages/renderers/renderer-svelte/CHANGELOG.md
Normal file
|
@ -0,0 +1,6 @@
|
|||
# @astrojs/renderer-svelte
|
||||
|
||||
## 0.1.0-next.0
|
||||
### Minor Changes
|
||||
|
||||
- 643c880: Initial release
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "@astrojs/renderer-svelte",
|
||||
"version": "0.0.1",
|
||||
"version": "0.1.0-next.0",
|
||||
"type": "module",
|
||||
"exports": {
|
||||
".": "./index.js",
|
||||
|
|
6
packages/renderers/renderer-vue/CHANGELOG.md
Normal file
6
packages/renderers/renderer-vue/CHANGELOG.md
Normal file
|
@ -0,0 +1,6 @@
|
|||
# @astrojs/renderer-vue
|
||||
|
||||
## 0.1.0-next.0
|
||||
### Minor Changes
|
||||
|
||||
- 643c880: Initial release
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "@astrojs/renderer-vue",
|
||||
"version": "0.0.1",
|
||||
"version": "0.1.0-next.0",
|
||||
"type": "module",
|
||||
"exports": {
|
||||
".": "./index.js",
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
"dev": "astro-scripts dev 'src/index.ts'"
|
||||
},
|
||||
"devDependencies": {
|
||||
"astro": "^0.11.0",
|
||||
"astro": "^0.12.0-next.0",
|
||||
"astro-scripts": "0.0.1",
|
||||
"source-map": "^0.7.3",
|
||||
"typescript": "^4.3.1-rc",
|
||||
|
|
|
@ -6,6 +6,6 @@
|
|||
"build": "astro build ."
|
||||
},
|
||||
"devDependencies": {
|
||||
"astro": "^0.11.0"
|
||||
"astro": "^0.12.0-next.0"
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue