Version Packages (#882)

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
This commit is contained in:
github-actions[bot] 2021-07-27 12:41:42 -04:00 committed by GitHub
parent f919443688
commit 509c69627b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
59 changed files with 167 additions and 280 deletions

View file

@ -1,5 +0,0 @@
---
'astro': patch
---
This includes the props passed to a hydration component when generating the hash/id. This prevents multiple instances of the same component with differing props to be treated as the same component when hydrated by Astro.

View file

@ -1,5 +0,0 @@
---
'astro': patch
---
Added sass support

View file

@ -1,5 +0,0 @@
---
'@astrojs/renderer-solid': minor
---
Initial release

View file

@ -1,7 +0,0 @@
---
'astro': patch
'@astrojs/parser': patch
'create-astro': patch
---
compile javascript to target Node v12.x

View file

@ -1,5 +0,0 @@
---
'astro': patch
---
Allow multiple Astro servers to be running simultaneously by choosing random ports if the defaults are taken.

View file

@ -1,8 +0,0 @@
---
'astro': patch
'@astrojs/parser': patch
---
Adds support for global style blocks via `<style global>`
Be careful with this escape hatch! This is best reserved for uses like importing styling libraries like Tailwind, or changing global CSS variables.

View file

@ -1,10 +0,0 @@
---
'@astrojs/renderer-preact': minor
'@astrojs/renderer-react': minor
---
Switches to [the new JSX Transform](https://reactjs.org/blog/2020/09/22/introducing-the-new-jsx-transform.html) originally introduced for React v17. This also leverages the new `jsxTransformOptions` options for renderers.
This change also removes the need for importing your Framework's `jsxFactory` directly, which means you can wave goodbye to `import React from "react";` and `import { h } from "preact";`.
> **If you are using mutliple frameworks** and a file doesn't reference `react` or `preact`, Astro might not be able to locate the correct renderer! You can add a pragma comment like `/** @jsxImportSource preact */` to the top of your file. Alternatively, just import the JSX pragma as you traditionally would have.

View file

@ -1,7 +0,0 @@
---
'astro': patch
---
Improve slot support, adding support for named slots and fallback content within `slot` elements.
See the new [Slots documentation](https://docs.astro.build/core-concepts/astro-components/#slots) for more information.

View file

@ -1,9 +0,0 @@
---
'astro': minor
---
New Collections API (createCollection)
BREAKING CHANGE: The expected return format from createCollection() has been changed. Visit https://docs.astro.build/core-concepts/collections to learn the new API.
This feature was implemented with backwards-compatible deprecation warnings, to help you find and update pages that are using the legacy API.

View file

@ -1,5 +0,0 @@
---
'create-astro': patch
---
Add support for [Solid](https://www.solidjs.com/)

View file

@ -1,5 +0,0 @@
---
'astro': patch
---
Restores the ability to use Fragment in astro components

View file

@ -1,5 +0,0 @@
---
'@astrojs/renderer-solid': patch
---
Uses Solid's `render` function to render our components on the client.

View file

@ -1,5 +0,0 @@
---
'astro': minor
---
Fix url to find page with "index" at the end file name

View file

@ -1,5 +0,0 @@
---
'astro': patch
---
Add ability to specify hostname in devOptions

View file

@ -1,5 +0,0 @@
---
'astro': patch
---
Fix for `false` being rendered in conditionals

View file

@ -1,5 +0,0 @@
---
'astro': patch
---
Adds a missing dependency

View file

@ -1,5 +0,0 @@
---
'@astrojs/renderer-preact': patch
---
Update `check` logic to exclude false-positives from SolidJS

View file

@ -1,5 +0,0 @@
---
'astro': patch
---
Fix error when no renderers are passed

View file

@ -1,5 +0,0 @@
---
'create-astro': patch
---
create-astro does not fail when removing subdirectories

View file

@ -1,71 +0,0 @@
{
"mode": "exit",
"tag": "next",
"initialVersions": {
"@example/blog": "0.0.1",
"@example/blog-multiple-authors": "0.0.1",
"@example/docs": "0.0.1",
"@example/framework-multiple": "0.0.1",
"@example/framework-preact": "0.0.1",
"@example/framework-react": "0.0.1",
"@example/framework-svelte": "0.0.1",
"@example/framework-vue": "0.0.1",
"@example/portfolio": "0.0.1",
"@example/snowpack": "0.0.1",
"@example/starter": "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",
"astro": "0.17.2",
"@astrojs/parser": "0.15.4",
"@astrojs/prism": "0.2.2",
"@astrojs/astro-test-builtins-polyfillnode": "1.2.0",
"@astrojs/astro-test-builtins-dep": "0.0.1",
"@astrojs/test-custom-element-renderer": "0.0.1",
"create-astro": "0.5.0",
"@astrojs/markdown-support": "0.2.0",
"@astrojs/renderer-preact": "0.1.3",
"@astrojs/renderer-react": "0.1.5",
"@astrojs/renderer-svelte": "0.1.1",
"@astrojs/renderer-vue": "0.1.3",
"astro-scripts": "0.0.1",
"@astrojs/language-server": "0.5.0",
"astro-vscode": "0.5.0",
"www": "1.1.0",
"@example/framework-lit": "0.0.1",
"@astrojs/renderer-lit": "0.1.0",
"docs": "0.0.2",
"@example/framework-solid": "0.0.1",
"@astrojs/renderer-solid": "0.0.1"
},
"changesets": [
"chilly-gorillas-wash",
"cold-bikes-float",
"dull-queens-melt",
"eight-mangos-pretend",
"empty-otters-smell",
"empty-trainers-chew",
"fair-cats-count",
"fair-flowers-sleep",
"famous-bees-fry",
"five-bobcats-joke",
"flat-apes-pump",
"friendly-tigers-smoke",
"funny-beers-knock",
"good-teachers-relax",
"healthy-pants-rule",
"heavy-pumas-cross",
"lemon-jars-poke",
"lemon-yaks-dream",
"lovely-cats-sin",
"odd-cameras-wave",
"seven-shoes-stare",
"shy-seahorses-clean",
"silver-goats-repeat",
"strange-kids-sing",
"tender-paws-smash",
"two-squids-film",
"wicked-gifts-cover"
]
}

View file

@ -1,5 +0,0 @@
---
"@astrojs/renderer-vue": patch
---
Exclude @vue/runtime-core from processing to fix Vue SSR for nested components

View file

@ -1,5 +0,0 @@
---
'astro': patch
---
Fixes cases where buildOptions.site is not respected

View file

@ -1,5 +0,0 @@
---
'astro': patch
---
Fix unfound ./snowpack-plugin-jsx.cjs error

View file

@ -1,5 +0,0 @@
---
'astro': patch
---
Remove custom Astro.fetchContent() glob implementation, use `import.meta.globEager` internally instead.

View file

@ -1,5 +0,0 @@
---
'astro': patch
---
Correcting typo in ReadMe

View file

@ -1,6 +0,0 @@
---
'astro': patch
'@astrojs/parser': patch
---
Fixes case where custom elements are not handled within JSX expressions

View file

@ -1,37 +0,0 @@
---
'astro': minor
---
Adds support for the client:media hydrator
The new `client:media` hydrator allows you to define a component that should only be loaded when a media query matches. An example usage:
```jsx
---
import Sidebar from '../components/Sidebar.jsx';
---
<Sidebar client:media="(max-width: 700px)" />
```
This allows you to define components which, for example, only run on mobile devices. A common example is a slide-in sidebar that is needed to add navigation to a mobile app, but is never displayed in desktop view.
Since Astro components can have expressions, you can move common media queries to a module for sharing. For example here are defining:
**media.js**
```js
export const MOBILE = '(max-width: 700px)';
```
And then you can reference this in your page:
**index.astro**
```jsx
import Sidebar from '../components/Sidebar.jsx';
import { MOBILE } from '../media.js';
---
<Sidebar client:media={MOBILE} />
```

View file

@ -7,7 +7,7 @@
"build": "astro build"
},
"devDependencies": {
"astro": "^0.18.0-next.7"
"astro": "^0.18.0"
},
"snowpack": {
"workspaceRoot": "../.."

View file

@ -7,7 +7,7 @@
"build": "astro build"
},
"devDependencies": {
"astro": "^0.18.0-next.7"
"astro": "^0.18.0"
},
"snowpack": {
"workspaceRoot": "../.."

View file

@ -7,7 +7,7 @@
"build": "astro build"
},
"devDependencies": {
"astro": "^0.18.0-next.7"
"astro": "^0.18.0"
},
"snowpack": {
"workspaceRoot": "../.."

View file

@ -8,7 +8,7 @@
},
"devDependencies": {
"@astrojs/renderer-lit": "^0.1.0",
"astro": "^0.18.0-next.7"
"astro": "^0.18.0"
},
"snowpack": {
"workspaceRoot": "../.."

View file

@ -7,7 +7,7 @@
"build": "astro build"
},
"devDependencies": {
"astro": "^0.18.0-next.7"
"astro": "^0.18.0"
},
"snowpack": {
"workspaceRoot": "../.."

View file

@ -7,7 +7,7 @@
"build": "astro build"
},
"devDependencies": {
"astro": "^0.18.0-next.7"
"astro": "^0.18.0"
},
"snowpack": {
"workspaceRoot": "../.."

View file

@ -7,7 +7,7 @@
"build": "astro build"
},
"devDependencies": {
"astro": "^0.18.0-next.7"
"astro": "^0.18.0"
},
"snowpack": {
"workspaceRoot": "../.."

View file

@ -7,8 +7,8 @@
"build": "astro build"
},
"devDependencies": {
"astro": "^0.18.0-next.7",
"@astrojs/renderer-solid": "0.1.0-next.1"
"astro": "^0.18.0",
"@astrojs/renderer-solid": "0.1.0"
},
"snowpack": {
"workspaceRoot": "../.."

View file

@ -7,7 +7,7 @@
"build": "astro build"
},
"devDependencies": {
"astro": "^0.18.0-next.7"
"astro": "^0.18.0"
},
"snowpack": {
"workspaceRoot": "../.."

View file

@ -7,7 +7,7 @@
"build": "astro build"
},
"devDependencies": {
"astro": "^0.18.0-next.7"
"astro": "^0.18.0"
},
"snowpack": {
"workspaceRoot": "../.."

View file

@ -7,7 +7,7 @@
"build": "astro build"
},
"devDependencies": {
"astro": "^0.18.0-next.7"
"astro": "^0.18.0"
},
"snowpack": {
"workspaceRoot": "../.."

View file

@ -18,7 +18,7 @@
"devDependencies": {
"@contentful/rich-text-html-renderer": "^14.1.2",
"@contentful/rich-text-types": "^14.1.2",
"astro": "^0.18.0-next.7"
"astro": "^0.18.0"
},
"snowpack": {
"workspaceRoot": "../.."

View file

@ -7,7 +7,7 @@
"build": "astro build"
},
"devDependencies": {
"astro": "^0.18.0-next.7"
"astro": "^0.18.0"
},
"snowpack": {
"workspaceRoot": "../.."

View file

@ -7,7 +7,7 @@
"build": "astro build"
},
"devDependencies": {
"astro": "^0.18.0-next.7",
"astro": "^0.18.0",
"rehype-add-classes": "^1.0.0",
"rehype-toc": "^3.0.2",
"remark-autolink-headings": "^6.0.1",

View file

@ -7,7 +7,7 @@
"build": "astro build"
},
"devDependencies": {
"astro": "^0.18.0-next.7"
"astro": "^0.18.0"
},
"snowpack": {
"workspaceRoot": "../.."

View file

@ -7,7 +7,7 @@
"build": "astro build"
},
"devDependencies": {
"astro": "^0.18.0-next.7"
"astro": "^0.18.0"
},
"dependencies": {
"nanostores": "^0.3.3"

View file

@ -8,7 +8,7 @@
},
"devDependencies": {
"tailwindcss": "^2.1.2",
"astro": "^0.18.0-next.7"
"astro": "^0.18.0"
},
"snowpack": {
"workspaceRoot": "../.."

View file

@ -1,5 +1,16 @@
# @astrojs/parser
## 0.18.0
### Patch Changes
- a7e6666: compile javascript to target Node v12.x
- 294a656: Adds support for global style blocks via `<style global>`
Be careful with this escape hatch! This is best reserved for uses like importing styling libraries like Tailwind, or changing global CSS variables.
- b85e68a: Fixes case where custom elements are not handled within JSX expressions
## 0.18.0-next.5
### Patch Changes

View file

@ -1,6 +1,6 @@
{
"name": "@astrojs/parser",
"version": "0.18.0-next.5",
"version": "0.18.0",
"author": "Skypack",
"license": "MIT",
"type": "commonjs",

View file

@ -1,5 +1,83 @@
# astro
## 0.18.0
### Minor Changes
- f67e8f5: New Collections API (createCollection)
BREAKING CHANGE: The expected return format from createCollection() has been changed. Visit https://docs.astro.build/core-concepts/collections to learn the new API.
This feature was implemented with backwards-compatible deprecation warnings, to help you find and update pages that are using the legacy API.
- 40c882a: Fix url to find page with "index" at the end file name
- 0340b0f: Adds support for the client:media hydrator
The new `client:media` hydrator allows you to define a component that should only be loaded when a media query matches. An example usage:
```jsx
---
import Sidebar from '../components/Sidebar.jsx';
---
<Sidebar client:media="(max-width: 700px)" />
```
This allows you to define components which, for example, only run on mobile devices. A common example is a slide-in sidebar that is needed to add navigation to a mobile app, but is never displayed in desktop view.
Since Astro components can have expressions, you can move common media queries to a module for sharing. For example here are defining:
**media.js**
```js
export const MOBILE = '(max-width: 700px)';
```
And then you can reference this in your page:
**index.astro**
```jsx
import Sidebar from '../components/Sidebar.jsx';
import { MOBILE } from '../media.js';
---(<Sidebar client:media={MOBILE} />);
```
### Patch Changes
- e89a99f: This includes the props passed to a hydration component when generating the hash/id. This prevents multiple instances of the same component with differing props to be treated as the same component when hydrated by Astro.
- b8af49f: Added sass support
- a7e6666: compile javascript to target Node v12.x
- fb8bf7e: Allow multiple Astro servers to be running simultaneously by choosing random ports if the defaults are taken.
- 294a656: Adds support for global style blocks via `<style global>`
Be careful with this escape hatch! This is best reserved for uses like importing styling libraries like Tailwind, or changing global CSS variables.
- 8f4562a: Improve slot support, adding support for named slots and fallback content within `slot` elements.
See the new [Slots documentation](https://docs.astro.build/core-concepts/astro-components/#slots) for more information.
- 4a601ad: Restores the ability to use Fragment in astro components
- 0e761b9: Add ability to specify hostname in devOptions
- 164489f: Fix for `false` being rendered in conditionals
- e3182c7: Adds a missing dependency
- af935c1: Fix error when no renderers are passed
- 4726e34: Fixes cases where buildOptions.site is not respected
- c82e6be: Fix unfound ./snowpack-plugin-jsx.cjs error
- 007c220: Remove custom Astro.fetchContent() glob implementation, use `import.meta.globEager` internally instead.
- 9859f53: Correcting typo in ReadMe
- b85e68a: Fixes case where custom elements are not handled within JSX expressions
- Updated dependencies [a7e6666]
- Updated dependencies [294a656]
- Updated dependencies [bd18e14]
- Updated dependencies [bd18e14]
- Updated dependencies [1f79144]
- Updated dependencies [b85e68a]
- @astrojs/parser@0.18.0
- @astrojs/renderer-preact@0.2.0
- @astrojs/renderer-react@0.2.0
- @astrojs/renderer-vue@0.1.4
## 0.18.0-next.7
### Patch Changes

View file

@ -1,6 +1,6 @@
{
"name": "astro",
"version": "0.18.0-next.7",
"version": "0.18.0",
"author": "Skypack",
"license": "MIT",
"type": "module",
@ -44,12 +44,12 @@
},
"dependencies": {
"@astrojs/markdown-support": "0.2.0",
"@astrojs/parser": "0.18.0-next.5",
"@astrojs/parser": "0.18.0",
"@astrojs/prism": "0.2.2",
"@astrojs/renderer-preact": "0.2.0-next.0",
"@astrojs/renderer-react": "0.2.0-next.0",
"@astrojs/renderer-preact": "0.2.0",
"@astrojs/renderer-react": "0.2.0",
"@astrojs/renderer-svelte": "0.1.1",
"@astrojs/renderer-vue": "0.1.4-next.0",
"@astrojs/renderer-vue": "0.1.4",
"@babel/code-frame": "^7.12.13",
"@babel/core": "^7.14.6",
"@babel/generator": "^7.13.9",

View file

@ -1,5 +1,13 @@
# create-astro
## 0.5.1
### Patch Changes
- a7e6666: compile javascript to target Node v12.x
- bd18e14: Add support for [Solid](https://www.solidjs.com/)
- d45431d: create-astro does not fail when removing subdirectories
## 0.5.1-next.1
### Patch Changes

View file

@ -1,6 +1,6 @@
{
"name": "create-astro",
"version": "0.5.1-next.1",
"version": "0.5.1",
"type": "module",
"repository": {
"type": "git",

View file

@ -1,5 +1,19 @@
# @astrojs/renderer-preact
## 0.2.0
### Minor Changes
- bd18e14: Switches to [the new JSX Transform](https://reactjs.org/blog/2020/09/22/introducing-the-new-jsx-transform.html) originally introduced for React v17. This also leverages the new `jsxTransformOptions` options for renderers.
This change also removes the need for importing your Framework's `jsxFactory` directly, which means you can wave goodbye to `import React from "react";` and `import { h } from "preact";`.
> **If you are using mutliple frameworks** and a file doesn't reference `react` or `preact`, Astro might not be able to locate the correct renderer! You can add a pragma comment like `/** @jsxImportSource preact */` to the top of your file. Alternatively, just import the JSX pragma as you traditionally would have.
### Patch Changes
- bd18e14: Update `check` logic to exclude false-positives from SolidJS
## 0.2.0-next.0
### Minor Changes

View file

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

View file

@ -1,5 +1,15 @@
# @astrojs/renderer-react
## 0.2.0
### Minor Changes
- bd18e14: Switches to [the new JSX Transform](https://reactjs.org/blog/2020/09/22/introducing-the-new-jsx-transform.html) originally introduced for React v17. This also leverages the new `jsxTransformOptions` options for renderers.
This change also removes the need for importing your Framework's `jsxFactory` directly, which means you can wave goodbye to `import React from "react";` and `import { h } from "preact";`.
> **If you are using mutliple frameworks** and a file doesn't reference `react` or `preact`, Astro might not be able to locate the correct renderer! You can add a pragma comment like `/** @jsxImportSource preact */` to the top of your file. Alternatively, just import the JSX pragma as you traditionally would have.
## 0.2.0-next.0
### Minor Changes

View file

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

View file

@ -1,5 +1,15 @@
# @astrojs/renderer-solid
## 0.1.0
### Minor Changes
- bd18e14: Initial release
### Patch Changes
- bef5103: Uses Solid's `render` function to render our components on the client.
## 0.1.0-next.1
### Patch Changes

View file

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

View file

@ -1,5 +1,11 @@
# @astrojs/renderer-vue
## 0.1.4
### Patch Changes
- 1f79144: Exclude @vue/runtime-core from processing to fix Vue SSR for nested components
## 0.1.4-next.0
### Patch Changes

View file

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

View file

@ -7,6 +7,6 @@
"build": "astro build"
},
"devDependencies": {
"astro": "^0.18.0-next.7"
"astro": "^0.18.0"
}
}