summaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
Diffstat (limited to 'packages')
-rw-r--r--packages/astro/CHANGELOG.md110
-rw-r--r--packages/astro/package.json4
-rw-r--r--packages/integrations/deno/CHANGELOG.md10
-rw-r--r--packages/integrations/deno/package.json2
-rw-r--r--packages/integrations/netlify/CHANGELOG.md8
-rw-r--r--packages/integrations/netlify/package.json2
-rw-r--r--packages/integrations/partytown/CHANGELOG.md6
-rw-r--r--packages/integrations/partytown/package.json2
-rw-r--r--packages/integrations/react/CHANGELOG.md6
-rw-r--r--packages/integrations/react/package.json2
-rw-r--r--packages/integrations/sitemap/CHANGELOG.md12
-rw-r--r--packages/integrations/sitemap/package.json2
-rw-r--r--packages/integrations/tailwind/CHANGELOG.md10
-rw-r--r--packages/integrations/tailwind/package.json2
-rw-r--r--packages/markdown/remark/CHANGELOG.md14
-rw-r--r--packages/markdown/remark/package.json2
16 files changed, 148 insertions, 46 deletions
diff --git a/packages/astro/CHANGELOG.md b/packages/astro/CHANGELOG.md
index 7b86e33b4..ed6c9f90c 100644
--- a/packages/astro/CHANGELOG.md
+++ b/packages/astro/CHANGELOG.md
@@ -1,5 +1,51 @@
# astro
+## 0.26.0
+
+### Minor Changes
+
+- [`e425f896`](https://github.com/withastro/astro/commit/e425f896b668d98033ad3b998b50c1f28bc7f6ee) Thanks [@FredKSchott](https://github.com/FredKSchott)! - Implement RFC [#0017](https://github.com/withastro/rfcs/blob/main/proposals/0017-markdown-content-redesign.md)
+
+ - New Markdown API
+ - New `Astro.glob()` API
+ - **BREAKING CHANGE:** Removed `Astro.fetchContent()` (replaced by `Astro.glob()`)
+
+ ```diff
+ // v0.25
+ - let allPosts = Astro.fetchContent('./posts/*.md');
+ // v0.26+
+ + let allPosts = await Astro.glob('./posts/*.md');
+ ```
+
+* [`e425f896`](https://github.com/withastro/astro/commit/e425f896b668d98033ad3b998b50c1f28bc7f6ee) Thanks [@FredKSchott](https://github.com/FredKSchott)! - Implement [RFC0016](https://github.com/withastro/rfcs/blob/main/proposals/0016-style-script-defaults.md) which changes the default behavior of `script`, introduces `is:inline`, and changes `<style global>` to `<style is:global>`
+
+- [`e425f896`](https://github.com/withastro/astro/commit/e425f896b668d98033ad3b998b50c1f28bc7f6ee) Thanks [@FredKSchott](https://github.com/FredKSchott)! - Implements the Astro.request RFC
+
+* [`e425f896`](https://github.com/withastro/astro/commit/e425f896b668d98033ad3b998b50c1f28bc7f6ee) Thanks [@FredKSchott](https://github.com/FredKSchott)! - Update config options to resepect [RFC0019](https://github.com/withastro/rfcs/blob/main/proposals/0019-config-finalization.md)
+
+### Patch Changes
+
+- [`e425f896`](https://github.com/withastro/astro/commit/e425f896b668d98033ad3b998b50c1f28bc7f6ee) Thanks [@FredKSchott](https://github.com/FredKSchott)! - Allow components to return a Response
+
+* [`e425f896`](https://github.com/withastro/astro/commit/e425f896b668d98033ad3b998b50c1f28bc7f6ee) Thanks [@FredKSchott](https://github.com/FredKSchott)! - `--experimental-ssr` now is only required when using a 3rd-party adapter
+
+- [`e425f896`](https://github.com/withastro/astro/commit/e425f896b668d98033ad3b998b50c1f28bc7f6ee) Thanks [@FredKSchott](https://github.com/FredKSchott)! - Improve `Astro.slots` API to support passing arguments to function-based slots.
+
+ This allows for more ergonomic utility components that accept a callback function as a child.
+
+* [`e425f896`](https://github.com/withastro/astro/commit/e425f896b668d98033ad3b998b50c1f28bc7f6ee) Thanks [@FredKSchott](https://github.com/FredKSchott)! - Fixes non-GET API routes in dev with Node 14
+
+- [`e425f896`](https://github.com/withastro/astro/commit/e425f896b668d98033ad3b998b50c1f28bc7f6ee) Thanks [@FredKSchott](https://github.com/FredKSchott)! - Update CLI error format and style
+
+* [`e425f896`](https://github.com/withastro/astro/commit/e425f896b668d98033ad3b998b50c1f28bc7f6ee) Thanks [@FredKSchott](https://github.com/FredKSchott)! - Update `@astrojs/compiler`, fixing some bugs related to RegExp usage in frontmatter
+
+- [`e425f896`](https://github.com/withastro/astro/commit/e425f896b668d98033ad3b998b50c1f28bc7f6ee) Thanks [@FredKSchott](https://github.com/FredKSchott)! - Add a Deno adapter for SSR
+
+* [`e425f896`](https://github.com/withastro/astro/commit/e425f896b668d98033ad3b998b50c1f28bc7f6ee) Thanks [@FredKSchott](https://github.com/FredKSchott)! - Fix for copying public when using SSR and not client JS
+
+* Updated dependencies [[`e425f896`](https://github.com/withastro/astro/commit/e425f896b668d98033ad3b998b50c1f28bc7f6ee)]:
+ - @astrojs/markdown-remark@0.8.0
+
## 0.25.4
### Patch Changes
@@ -53,7 +99,7 @@
import netlify from '@astrojs/netlify/functions';
export default defineConfig({
- adapter: netlify(),
+ adapter: netlify(),
});
```
@@ -73,7 +119,7 @@
import nodejs from '@astrojs/node';
export default {
- adapter: nodejs(),
+ adapter: nodejs(),
};
```
@@ -133,7 +179,7 @@
import nodejs from '@astrojs/node';
export default {
- adapter: nodejs(),
+ adapter: nodejs(),
};
```
@@ -229,7 +275,7 @@
import { defineConfig } from 'astro/config';
export default defineConfig({
- renderers: [],
+ renderers: [],
});
```
@@ -267,9 +313,9 @@
```json
{
- "scripts": {
- "build": "astro build --legacy-build"
- }
+ "scripts": {
+ "build": "astro build --legacy-build"
+ }
}
```
@@ -289,7 +335,7 @@
```ts
if (Astro.slots.has('default')) {
- const content = await Astro.slots.render('default');
+ const content = await Astro.slots.render('default');
}
```
@@ -373,7 +419,7 @@
```ts
if (Astro.slots.has('default')) {
- const content = await Astro.slots.render('default');
+ const content = await Astro.slots.render('default');
}
```
@@ -397,9 +443,9 @@
```json
{
- "scripts": {
- "build": "astro build --legacy-build"
- }
+ "scripts": {
+ "build": "astro build --legacy-build"
+ }
}
```
@@ -511,12 +557,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/',
+ }),
+ };
}
```
@@ -678,12 +724,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/',
+ }),
+ };
}
```
@@ -2038,10 +2084,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' }]],
+ },
};
```
@@ -2061,10 +2107,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 0bb17e5f4..649081130 100644
--- a/packages/astro/package.json
+++ b/packages/astro/package.json
@@ -1,6 +1,6 @@
{
"name": "astro",
- "version": "0.25.4",
+ "version": "0.26.0",
"description": "Astro is a modern site builder with web best practices, performance, and DX front-of-mind.",
"type": "module",
"author": "withastro",
@@ -75,7 +75,7 @@
"dependencies": {
"@astrojs/compiler": "^0.14.1",
"@astrojs/language-server": "^0.13.3",
- "@astrojs/markdown-remark": "^0.7.0",
+ "@astrojs/markdown-remark": "^0.8.0",
"@astrojs/prism": "0.4.1",
"@astrojs/webapi": "^0.11.0",
"@babel/core": "^7.17.8",
diff --git a/packages/integrations/deno/CHANGELOG.md b/packages/integrations/deno/CHANGELOG.md
index 31593ed2b..0e7aa5fb6 100644
--- a/packages/integrations/deno/CHANGELOG.md
+++ b/packages/integrations/deno/CHANGELOG.md
@@ -1,5 +1,15 @@
# @astrojs/node
+## 0.1.0
+
+### Minor Changes
+
+- [`e425f896`](https://github.com/withastro/astro/commit/e425f896b668d98033ad3b998b50c1f28bc7f6ee) Thanks [@FredKSchott](https://github.com/FredKSchott)! - Update config options to resepect [RFC0019](https://github.com/withastro/rfcs/blob/main/proposals/0019-config-finalization.md)
+
+### Patch Changes
+
+- [`e425f896`](https://github.com/withastro/astro/commit/e425f896b668d98033ad3b998b50c1f28bc7f6ee) Thanks [@FredKSchott](https://github.com/FredKSchott)! - Add a Deno adapter for SSR
+
## 0.0.2-next.0
### Patch Changes
diff --git a/packages/integrations/deno/package.json b/packages/integrations/deno/package.json
index 6fd86ab71..db93d8098 100644
--- a/packages/integrations/deno/package.json
+++ b/packages/integrations/deno/package.json
@@ -1,7 +1,7 @@
{
"name": "@astrojs/deno",
"description": "Deploy your site to a Deno server",
- "version": "0.0.2-next.0",
+ "version": "0.1.0",
"type": "module",
"types": "./dist/index.d.ts",
"author": "withastro",
diff --git a/packages/integrations/netlify/CHANGELOG.md b/packages/integrations/netlify/CHANGELOG.md
index 49efea64e..b9da1917c 100644
--- a/packages/integrations/netlify/CHANGELOG.md
+++ b/packages/integrations/netlify/CHANGELOG.md
@@ -1,5 +1,11 @@
# @astrojs/netlify
+## 0.1.0
+
+### Minor Changes
+
+- [`e425f896`](https://github.com/withastro/astro/commit/e425f896b668d98033ad3b998b50c1f28bc7f6ee) Thanks [@FredKSchott](https://github.com/FredKSchott)! - Update config options to resepect [RFC0019](https://github.com/withastro/rfcs/blob/main/proposals/0019-config-finalization.md)
+
## 0.0.2
### Patch Changes
@@ -13,6 +19,6 @@
import netlify from '@astrojs/netlify/functions';
export default defineConfig({
- adapter: netlify(),
+ adapter: netlify(),
});
```
diff --git a/packages/integrations/netlify/package.json b/packages/integrations/netlify/package.json
index 7fbeac138..80b0565ad 100644
--- a/packages/integrations/netlify/package.json
+++ b/packages/integrations/netlify/package.json
@@ -1,7 +1,7 @@
{
"name": "@astrojs/netlify",
"description": "Deploy your site to Netlify",
- "version": "0.0.2",
+ "version": "0.1.0",
"type": "module",
"types": "./dist/index.d.ts",
"author": "withastro",
diff --git a/packages/integrations/partytown/CHANGELOG.md b/packages/integrations/partytown/CHANGELOG.md
index 52c5ed511..db57a46ad 100644
--- a/packages/integrations/partytown/CHANGELOG.md
+++ b/packages/integrations/partytown/CHANGELOG.md
@@ -1,5 +1,11 @@
# @astrojs/partytown
+## 0.1.0
+
+### Minor Changes
+
+- [`e425f896`](https://github.com/withastro/astro/commit/e425f896b668d98033ad3b998b50c1f28bc7f6ee) Thanks [@FredKSchott](https://github.com/FredKSchott)! - Update config options to resepect [RFC0019](https://github.com/withastro/rfcs/blob/main/proposals/0019-config-finalization.md)
+
## 0.0.2
### Patch Changes
diff --git a/packages/integrations/partytown/package.json b/packages/integrations/partytown/package.json
index 3e9a4d79f..7b3186543 100644
--- a/packages/integrations/partytown/package.json
+++ b/packages/integrations/partytown/package.json
@@ -1,7 +1,7 @@
{
"name": "@astrojs/partytown",
"description": "Astro + Partytown integration",
- "version": "0.0.2",
+ "version": "0.1.0",
"type": "module",
"types": "./dist/index.d.ts",
"author": "withastro",
diff --git a/packages/integrations/react/CHANGELOG.md b/packages/integrations/react/CHANGELOG.md
index 3fc5d0350..8a20e5c9d 100644
--- a/packages/integrations/react/CHANGELOG.md
+++ b/packages/integrations/react/CHANGELOG.md
@@ -1,5 +1,11 @@
# @astrojs/react
+## 0.1.0
+
+### Minor Changes
+
+- [`e425f896`](https://github.com/withastro/astro/commit/e425f896b668d98033ad3b998b50c1f28bc7f6ee) Thanks [@FredKSchott](https://github.com/FredKSchott)! - Add support for React v18
+
## 0.0.2
### Patch Changes
diff --git a/packages/integrations/react/package.json b/packages/integrations/react/package.json
index 1184ce8d3..359ad1c30 100644
--- a/packages/integrations/react/package.json
+++ b/packages/integrations/react/package.json
@@ -1,7 +1,7 @@
{
"name": "@astrojs/react",
"description": "Use React components within Astro",
- "version": "0.0.2",
+ "version": "0.1.0",
"type": "module",
"types": "./dist/index.d.ts",
"author": "withastro",
diff --git a/packages/integrations/sitemap/CHANGELOG.md b/packages/integrations/sitemap/CHANGELOG.md
index 0ad92093d..5cab73553 100644
--- a/packages/integrations/sitemap/CHANGELOG.md
+++ b/packages/integrations/sitemap/CHANGELOG.md
@@ -1,5 +1,17 @@
# @astrojs/sitemap
+## 0.1.0
+
+### Minor Changes
+
+- [`e425f896`](https://github.com/withastro/astro/commit/e425f896b668d98033ad3b998b50c1f28bc7f6ee) Thanks [@FredKSchott](https://github.com/FredKSchott)! - Update config options to resepect [RFC0019](https://github.com/withastro/rfcs/blob/main/proposals/0019-config-finalization.md)
+
+### Patch Changes
+
+- [`e425f896`](https://github.com/withastro/astro/commit/e425f896b668d98033ad3b998b50c1f28bc7f6ee) Thanks [@FredKSchott](https://github.com/FredKSchott)! - Add new sitemap configuration options:
+ - `filter`: filter pages to include in your sitemap
+ - `canonicalURL`: override your astro.config `site` with a custom base URL
+
## 0.0.2
### Patch Changes
diff --git a/packages/integrations/sitemap/package.json b/packages/integrations/sitemap/package.json
index 857322859..26d517b40 100644
--- a/packages/integrations/sitemap/package.json
+++ b/packages/integrations/sitemap/package.json
@@ -1,7 +1,7 @@
{
"name": "@astrojs/sitemap",
"description": "Generate a sitemap for Astro",
- "version": "0.0.2",
+ "version": "0.1.0",
"type": "module",
"types": "./dist/index.d.ts",
"author": "withastro",
diff --git a/packages/integrations/tailwind/CHANGELOG.md b/packages/integrations/tailwind/CHANGELOG.md
index 0d8ce6c98..3f0a1bb4e 100644
--- a/packages/integrations/tailwind/CHANGELOG.md
+++ b/packages/integrations/tailwind/CHANGELOG.md
@@ -1,5 +1,15 @@
# @astrojs/tailwind
+## 0.1.0
+
+### Minor Changes
+
+- [`e425f896`](https://github.com/withastro/astro/commit/e425f896b668d98033ad3b998b50c1f28bc7f6ee) Thanks [@FredKSchott](https://github.com/FredKSchott)! - Update config options to resepect [RFC0019](https://github.com/withastro/rfcs/blob/main/proposals/0019-config-finalization.md)
+
+### Patch Changes
+
+- [`e425f896`](https://github.com/withastro/astro/commit/e425f896b668d98033ad3b998b50c1f28bc7f6ee) Thanks [@FredKSchott](https://github.com/FredKSchott)! - Adds an option to opt-out of the default base styles for the Tailwind integration
+
## 0.0.2
### Patch Changes
diff --git a/packages/integrations/tailwind/package.json b/packages/integrations/tailwind/package.json
index b500180f4..0d9fb62a2 100644
--- a/packages/integrations/tailwind/package.json
+++ b/packages/integrations/tailwind/package.json
@@ -1,7 +1,7 @@
{
"name": "@astrojs/tailwind",
"description": "Tailwind + Astro Integrations",
- "version": "0.0.2",
+ "version": "0.1.0",
"type": "module",
"types": "./dist/index.d.ts",
"author": "withastro",
diff --git a/packages/markdown/remark/CHANGELOG.md b/packages/markdown/remark/CHANGELOG.md
index 3a35a1b89..ec33d3af7 100644
--- a/packages/markdown/remark/CHANGELOG.md
+++ b/packages/markdown/remark/CHANGELOG.md
@@ -1,5 +1,11 @@
# @astrojs/markdown-remark
+## 0.8.0
+
+### Minor Changes
+
+- [`e425f896`](https://github.com/withastro/astro/commit/e425f896b668d98033ad3b998b50c1f28bc7f6ee) Thanks [@FredKSchott](https://github.com/FredKSchott)! - Update config options to resepect [RFC0019](https://github.com/withastro/rfcs/blob/main/proposals/0019-config-finalization.md)
+
## 0.7.0
### Minor Changes
@@ -187,10 +193,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 cfee47f76..799be8dbf 100644
--- a/packages/markdown/remark/package.json
+++ b/packages/markdown/remark/package.json
@@ -1,6 +1,6 @@
{
"name": "@astrojs/markdown-remark",
- "version": "0.7.0",
+ "version": "0.8.0",
"type": "module",
"author": "withastro",
"license": "MIT",