astro 7.3.0 → 7.3.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.
@@ -94,11 +94,14 @@ const addStaticImageFactory = (settings) => {
94
94
  };
95
95
  const RUNTIME_LOGGER_SETUP = `
96
96
  import { createConsoleLogger as _createConsoleLogger } from "astro/logger/console";
97
- import { astroToRuntimeLogger as _astroToRuntimeLogger } from "astro/_internal/logger";
98
97
  import _loggerDestination, { level as _loggerLevel } from "virtual:astro:logger";
99
98
  const _astroLogger = _createConsoleLogger({ level: _loggerLevel });
100
99
  if (_loggerDestination) _astroLogger.setDestination(_loggerDestination);
101
- const _runtimeLogger = _astroToRuntimeLogger(_astroLogger);
100
+ const _runtimeLogger = {
101
+ info: (message) => _astroLogger.info(null, message),
102
+ warn: (message) => _astroLogger.warn(null, message),
103
+ error: (message) => _astroLogger.error(null, message),
104
+ };
102
105
  `;
103
106
  const CLIENT_RUNTIME_LOGGER_SETUP = `
104
107
  const _runtimeLogger = {
@@ -1,6 +1,6 @@
1
1
  class BuildTimeAstroVersionProvider {
2
2
  // Injected during the build through esbuild define
3
- version = "7.3.0";
3
+ version = "7.3.1";
4
4
  }
5
5
  export {
6
6
  BuildTimeAstroVersionProvider
@@ -196,7 +196,7 @@ ${contentConfig.error.message}`
196
196
  logger.info("Content config changed");
197
197
  shouldClear = true;
198
198
  }
199
- if (previousAstroVersion && previousAstroVersion !== "7.3.0") {
199
+ if (previousAstroVersion && previousAstroVersion !== "7.3.1") {
200
200
  logger.info("Astro version changed");
201
201
  shouldClear = true;
202
202
  }
@@ -204,8 +204,8 @@ ${contentConfig.error.message}`
204
204
  logger.info("Clearing content store");
205
205
  this.#store.clearAll();
206
206
  }
207
- if ("7.3.0") {
208
- this.#store.metaStore().set("astro-version", "7.3.0");
207
+ if ("7.3.1") {
208
+ this.#store.metaStore().set("astro-version", "7.3.1");
209
209
  }
210
210
  if (currentConfigDigest) {
211
211
  this.#store.metaStore().set("content-config-digest", currentConfigDigest);
@@ -1,4 +1,4 @@
1
- const ASTRO_VERSION = "7.3.0";
1
+ const ASTRO_VERSION = "7.3.1";
2
2
  const ASTRO_GENERATOR = `Astro v${ASTRO_VERSION}`;
3
3
  const ASTRO_ERROR_HEADER = "X-Astro-Error";
4
4
  const DEFAULT_404_COMPONENT = "astro-default-404.astro";
@@ -26,7 +26,7 @@ async function dev(inlineConfig) {
26
26
  await telemetry.record([]);
27
27
  const restart = await createContainerWithAutomaticRestart({ inlineConfig, fs });
28
28
  const logger = restart.container.logger;
29
- const currentVersion = "7.3.0";
29
+ const currentVersion = "7.3.1";
30
30
  const isPrerelease = currentVersion.includes("-");
31
31
  if (!isPrerelease) {
32
32
  try {
@@ -270,7 +270,7 @@ function printHelp({
270
270
  message.push(
271
271
  linebreak(),
272
272
  ` ${bgGreen(black(` ${commandName} `))} ${green(
273
- `v${"7.3.0"}`
273
+ `v${"7.3.1"}`
274
274
  )} ${headline}`
275
275
  );
276
276
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "astro",
3
- "version": "7.3.0",
3
+ "version": "7.3.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",
@@ -154,8 +154,8 @@
154
154
  "yargs-parser": "^22.0.0",
155
155
  "zod": "^4.5.4",
156
156
  "@astrojs/internal-helpers": "0.11.0",
157
- "@astrojs/markdown-satteri": "0.4.0",
158
- "@astrojs/telemetry": "3.3.3"
157
+ "@astrojs/telemetry": "3.3.3",
158
+ "@astrojs/markdown-satteri": "0.4.0"
159
159
  },
160
160
  "optionalDependencies": {
161
161
  "sharp": "^0.35.4"
@@ -193,8 +193,8 @@
193
193
  "typescript": "^6.0.3",
194
194
  "undici": "^7.22.0",
195
195
  "vitest": "^4.1.0",
196
- "@astrojs/check": "0.9.10",
197
196
  "@astrojs/markdown-remark": "7.3.0",
197
+ "@astrojs/check": "0.9.10",
198
198
  "astro-scripts": "0.0.14"
199
199
  },
200
200
  "engines": {