summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.changeset/pre.json4
-rw-r--r--docs/package.json2
-rw-r--r--examples/blog-multiple-authors/package.json2
-rw-r--r--examples/blog/package.json2
-rw-r--r--examples/docs/package.json2
-rw-r--r--examples/framework-lit/package.json2
-rw-r--r--examples/framework-multiple/package.json2
-rw-r--r--examples/framework-preact/package.json2
-rw-r--r--examples/framework-react/package.json2
-rw-r--r--examples/framework-solid/package.json2
-rw-r--r--examples/framework-svelte/package.json2
-rw-r--r--examples/framework-vue/package.json2
-rw-r--r--examples/portfolio/package.json2
-rw-r--r--examples/snowpack/package.json2
-rw-r--r--examples/starter/package.json2
-rw-r--r--examples/with-markdown-plugins/package.json2
-rw-r--r--examples/with-markdown/package.json2
-rw-r--r--examples/with-nanostores/package.json2
-rw-r--r--examples/with-tailwindcss/package.json2
-rw-r--r--packages/astro/CHANGELOG.md19
-rw-r--r--packages/astro/package.json2
-rw-r--r--tools/language-server/package.json2
-rw-r--r--www/package.json2
23 files changed, 43 insertions, 22 deletions
diff --git a/.changeset/pre.json b/.changeset/pre.json
index 456626817..d0d9fb800 100644
--- a/.changeset/pre.json
+++ b/.changeset/pre.json
@@ -39,5 +39,7 @@
"astro-vscode": "0.6.1",
"www": "1.1.0"
},
- "changesets": []
+ "changesets": [
+ "light-ads-grin"
+ ]
}
diff --git a/docs/package.json b/docs/package.json
index 08801b590..9c372f085 100644
--- a/docs/package.json
+++ b/docs/package.json
@@ -15,7 +15,7 @@
},
"devDependencies": {
"@snowpack/plugin-dotenv": "^2.1.0",
- "astro": "^0.18.10",
+ "astro": "^0.19.0-next.0",
"broken-link-checker": "^0.7.8",
"npm-run-all": "^4.1.5",
"pa11y-ci": "^2.4.2",
diff --git a/examples/blog-multiple-authors/package.json b/examples/blog-multiple-authors/package.json
index c5fc98c18..109c12af1 100644
--- a/examples/blog-multiple-authors/package.json
+++ b/examples/blog-multiple-authors/package.json
@@ -7,7 +7,7 @@
"build": "astro build"
},
"devDependencies": {
- "astro": "^0.18.10"
+ "astro": "^0.19.0-next.0"
},
"snowpack": {
"workspaceRoot": "../.."
diff --git a/examples/blog/package.json b/examples/blog/package.json
index 940270957..526d23642 100644
--- a/examples/blog/package.json
+++ b/examples/blog/package.json
@@ -7,7 +7,7 @@
"build": "astro build"
},
"devDependencies": {
- "astro": "^0.18.10"
+ "astro": "^0.19.0-next.0"
},
"snowpack": {
"workspaceRoot": "../.."
diff --git a/examples/docs/package.json b/examples/docs/package.json
index f58d9cea3..51f167157 100644
--- a/examples/docs/package.json
+++ b/examples/docs/package.json
@@ -7,7 +7,7 @@
"build": "astro build"
},
"devDependencies": {
- "astro": "^0.18.10"
+ "astro": "^0.19.0-next.0"
},
"snowpack": {
"workspaceRoot": "../.."
diff --git a/examples/framework-lit/package.json b/examples/framework-lit/package.json
index 41ff85474..273a57002 100644
--- a/examples/framework-lit/package.json
+++ b/examples/framework-lit/package.json
@@ -8,7 +8,7 @@
},
"devDependencies": {
"@astrojs/renderer-lit": "^0.1.0",
- "astro": "^0.18.10"
+ "astro": "^0.19.0-next.0"
},
"snowpack": {
"workspaceRoot": "../.."
diff --git a/examples/framework-multiple/package.json b/examples/framework-multiple/package.json
index b88237388..5c6467d9c 100644
--- a/examples/framework-multiple/package.json
+++ b/examples/framework-multiple/package.json
@@ -7,7 +7,7 @@
"build": "astro build"
},
"devDependencies": {
- "astro": "^0.18.10"
+ "astro": "^0.19.0-next.0"
},
"snowpack": {
"workspaceRoot": "../.."
diff --git a/examples/framework-preact/package.json b/examples/framework-preact/package.json
index e43d98472..171bd5055 100644
--- a/examples/framework-preact/package.json
+++ b/examples/framework-preact/package.json
@@ -7,7 +7,7 @@
"build": "astro build"
},
"devDependencies": {
- "astro": "^0.18.10"
+ "astro": "^0.19.0-next.0"
},
"snowpack": {
"workspaceRoot": "../.."
diff --git a/examples/framework-react/package.json b/examples/framework-react/package.json
index b5e7d7ac6..4e80decff 100644
--- a/examples/framework-react/package.json
+++ b/examples/framework-react/package.json
@@ -7,7 +7,7 @@
"build": "astro build"
},
"devDependencies": {
- "astro": "^0.18.10"
+ "astro": "^0.19.0-next.0"
},
"snowpack": {
"workspaceRoot": "../.."
diff --git a/examples/framework-solid/package.json b/examples/framework-solid/package.json
index 375bb4ade..69d6c8f47 100644
--- a/examples/framework-solid/package.json
+++ b/examples/framework-solid/package.json
@@ -7,7 +7,7 @@
"build": "astro build"
},
"devDependencies": {
- "astro": "^0.18.10",
+ "astro": "^0.19.0-next.0",
"@astrojs/renderer-solid": "0.1.0"
},
"snowpack": {
diff --git a/examples/framework-svelte/package.json b/examples/framework-svelte/package.json
index afbc47642..fffce5ed3 100644
--- a/examples/framework-svelte/package.json
+++ b/examples/framework-svelte/package.json
@@ -7,7 +7,7 @@
"build": "astro build"
},
"devDependencies": {
- "astro": "^0.18.10"
+ "astro": "^0.19.0-next.0"
},
"snowpack": {
"workspaceRoot": "../.."
diff --git a/examples/framework-vue/package.json b/examples/framework-vue/package.json
index 4fd303edf..e0287ac81 100644
--- a/examples/framework-vue/package.json
+++ b/examples/framework-vue/package.json
@@ -7,7 +7,7 @@
"build": "astro build"
},
"devDependencies": {
- "astro": "^0.18.10"
+ "astro": "^0.19.0-next.0"
},
"snowpack": {
"workspaceRoot": "../.."
diff --git a/examples/portfolio/package.json b/examples/portfolio/package.json
index 51886a785..a9ec32eb1 100644
--- a/examples/portfolio/package.json
+++ b/examples/portfolio/package.json
@@ -7,7 +7,7 @@
"build": "astro build"
},
"devDependencies": {
- "astro": "^0.18.10"
+ "astro": "^0.19.0-next.0"
},
"snowpack": {
"workspaceRoot": "../.."
diff --git a/examples/snowpack/package.json b/examples/snowpack/package.json
index 0741fee7a..b499e8fd4 100644
--- a/examples/snowpack/package.json
+++ b/examples/snowpack/package.json
@@ -18,7 +18,7 @@
"devDependencies": {
"@contentful/rich-text-html-renderer": "^14.1.2",
"@contentful/rich-text-types": "^14.1.2",
- "astro": "^0.18.10"
+ "astro": "^0.19.0-next.0"
},
"snowpack": {
"workspaceRoot": "../.."
diff --git a/examples/starter/package.json b/examples/starter/package.json
index aee0b6c08..6d2339d7f 100644
--- a/examples/starter/package.json
+++ b/examples/starter/package.json
@@ -7,7 +7,7 @@
"build": "astro build"
},
"devDependencies": {
- "astro": "^0.18.10"
+ "astro": "^0.19.0-next.0"
},
"snowpack": {
"workspaceRoot": "../.."
diff --git a/examples/with-markdown-plugins/package.json b/examples/with-markdown-plugins/package.json
index 25879bc80..f62eb1b07 100644
--- a/examples/with-markdown-plugins/package.json
+++ b/examples/with-markdown-plugins/package.json
@@ -7,7 +7,7 @@
"build": "astro build"
},
"devDependencies": {
- "astro": "^0.18.10",
+ "astro": "^0.19.0-next.0",
"rehype-add-classes": "^1.0.0",
"rehype-toc": "^3.0.2",
"remark-autolink-headings": "^6.0.1",
diff --git a/examples/with-markdown/package.json b/examples/with-markdown/package.json
index 158f2e281..ff3ed83b5 100644
--- a/examples/with-markdown/package.json
+++ b/examples/with-markdown/package.json
@@ -7,7 +7,7 @@
"build": "astro build"
},
"devDependencies": {
- "astro": "^0.18.10"
+ "astro": "^0.19.0-next.0"
},
"snowpack": {
"workspaceRoot": "../.."
diff --git a/examples/with-nanostores/package.json b/examples/with-nanostores/package.json
index 948c14860..6b70f7e46 100644
--- a/examples/with-nanostores/package.json
+++ b/examples/with-nanostores/package.json
@@ -7,7 +7,7 @@
"build": "astro build"
},
"devDependencies": {
- "astro": "^0.18.10"
+ "astro": "^0.19.0-next.0"
},
"dependencies": {
"nanostores": "^0.3.3"
diff --git a/examples/with-tailwindcss/package.json b/examples/with-tailwindcss/package.json
index 30be8dde6..714f6482e 100644
--- a/examples/with-tailwindcss/package.json
+++ b/examples/with-tailwindcss/package.json
@@ -8,7 +8,7 @@
},
"devDependencies": {
"tailwindcss": "^2.1.2",
- "astro": "^0.18.10"
+ "astro": "^0.19.0-next.0"
},
"snowpack": {
"workspaceRoot": "../.."
diff --git a/packages/astro/CHANGELOG.md b/packages/astro/CHANGELOG.md
index 6a084d7e2..6d93b59a6 100644
--- a/packages/astro/CHANGELOG.md
+++ b/packages/astro/CHANGELOG.md
@@ -1,5 +1,24 @@
# astro
+## 0.19.0-next.0
+
+### Minor Changes
+
+- 0f0cc2b9: **[BREAKING]** Replace the Collections API with new file-based routing.
+
+ This is a breaking change which impacts collections, pagination, and RSS support.
+ Runtime warnings have been added to help you migrate old code to the new API.
+ If you have trouble upgrading, reach out on https://astro.build/chat
+
+ This change was made due to confusion around our Collection API, which many users found difficult to use. The new file-based routing approach should feel more familiar to anyone who has used Next.js or SvelteKit.
+
+ Documentation added:
+
+ - https://astro-docs-git-main-pikapkg.vercel.app/core-concepts/routing
+ - https://astro-docs-git-main-pikapkg.vercel.app/guides/pagination
+ - https://astro-docs-git-main-pikapkg.vercel.app/guides/rss
+ - https://astro-docs-git-main-pikapkg.vercel.app/reference/api-reference#getstaticpaths
+
## 0.18.10
### Patch Changes
diff --git a/packages/astro/package.json b/packages/astro/package.json
index 130f49041..9e501f83a 100644
--- a/packages/astro/package.json
+++ b/packages/astro/package.json
@@ -1,6 +1,6 @@
{
"name": "astro",
- "version": "0.18.10",
+ "version": "0.19.0-next.0",
"author": "Skypack",
"license": "MIT",
"type": "module",
diff --git a/tools/language-server/package.json b/tools/language-server/package.json
index b12a862c4..bbf4903b8 100644
--- a/tools/language-server/package.json
+++ b/tools/language-server/package.json
@@ -29,7 +29,7 @@
"vscode-languageserver-textdocument": "^1.0.1"
},
"devDependencies": {
- "astro": "0.18.10",
+ "astro": "0.19.0-next.0",
"astro-scripts": "0.0.1"
}
}
diff --git a/www/package.json b/www/package.json
index 40577c392..d4ebe9d66 100644
--- a/www/package.json
+++ b/www/package.json
@@ -7,6 +7,6 @@
"build": "astro build"
},
"devDependencies": {
- "astro": "^0.18.10"
+ "astro": "^0.19.0-next.0"
}
}