astro 1.7.0 → 1.7.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -114,9 +114,7 @@ async function render({
114
114
  propagation: "self"
115
115
  });
116
116
  if (!mod._internal && id.endsWith(".mdx")) {
117
- throw new Error(
118
- `[Content] Failed to render MDX entry. Try installing @astrojs/mdx@next--content-schemas`
119
- );
117
+ throw new Error(`[Content] Failed to render MDX entry. Try installing @astrojs/mdx@latest`);
120
118
  }
121
119
  return {
122
120
  Content,
@@ -1,4 +1,4 @@
1
- const ASTRO_VERSION = "1.7.0";
1
+ const ASTRO_VERSION = "1.7.1";
2
2
  const SUPPORTED_MARKDOWN_FILE_EXTENSIONS = [
3
3
  ".markdown",
4
4
  ".mdown",
@@ -30,7 +30,7 @@ async function dev(settings, options) {
30
30
  isRestart: options.isRestart
31
31
  })
32
32
  );
33
- const currentVersion = "1.7.0";
33
+ const currentVersion = "1.7.1";
34
34
  if (currentVersion.includes("-")) {
35
35
  warn(options.logging, null, msg.prerelease({ currentVersion }));
36
36
  }
@@ -49,7 +49,7 @@ function serverStart({
49
49
  site,
50
50
  isRestart = false
51
51
  }) {
52
- const version = "1.7.0";
52
+ const version = "1.7.1";
53
53
  const rootPath = site ? site.pathname : "/";
54
54
  const localPrefix = `${dim("\u2503")} Local `;
55
55
  const networkPrefix = `${dim("\u2503")} Network `;
@@ -272,7 +272,7 @@ function printHelp({
272
272
  message.push(
273
273
  linebreak(),
274
274
  ` ${bgGreen(black(` ${commandName} `))} ${green(
275
- `v${"1.7.0"}`
275
+ `v${"1.7.1"}`
276
276
  )} ${headline}`
277
277
  );
278
278
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "astro",
3
- "version": "1.7.0",
3
+ "version": "1.7.1",
4
4
  "description": "Astro is a modern site builder with web best practices, performance, and DX front-of-mind.",
5
5
  "type": "module",
6
6
  "author": "withastro",