[ci] release (#3972)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
This commit is contained in:
parent
c7e117ce32
commit
d790eabd98
111 changed files with 642 additions and 431 deletions
|
@ -1,5 +0,0 @@
|
||||||
---
|
|
||||||
'astro': patch
|
|
||||||
---
|
|
||||||
|
|
||||||
Fix certain characters showing incorrectly in `astro check`
|
|
|
@ -1,5 +0,0 @@
|
||||||
---
|
|
||||||
'astro': patch
|
|
||||||
---
|
|
||||||
|
|
||||||
public assets should always take priority over page routes in SSR deployments
|
|
|
@ -1,5 +0,0 @@
|
||||||
---
|
|
||||||
'@astrojs/image': patch
|
|
||||||
---
|
|
||||||
|
|
||||||
Updates the <Picture /> component to pass the `alt` attribute down to the <img> element
|
|
|
@ -1,5 +0,0 @@
|
||||||
---
|
|
||||||
"@astrojs/sitemap": patch
|
|
||||||
---
|
|
||||||
|
|
||||||
Update README to reflect `@astrojs/sitemap@0.2.0` changes
|
|
|
@ -1,5 +0,0 @@
|
||||||
---
|
|
||||||
'astro': patch
|
|
||||||
---
|
|
||||||
|
|
||||||
Ensure the before-hydration scripts are built
|
|
|
@ -1,5 +0,0 @@
|
||||||
---
|
|
||||||
'@astrojs/markdown-remark': minor
|
|
||||||
---
|
|
||||||
|
|
||||||
fixed generated slugs in markdown that ends with a dash
|
|
|
@ -1,5 +0,0 @@
|
||||||
---
|
|
||||||
'astro': patch
|
|
||||||
---
|
|
||||||
|
|
||||||
Add export keyword to astro config file stub created by add cli command
|
|
|
@ -1,5 +0,0 @@
|
||||||
---
|
|
||||||
'astro': patch
|
|
||||||
---
|
|
||||||
|
|
||||||
Use a base middleware for better base path handling in dev.
|
|
|
@ -1,33 +0,0 @@
|
||||||
---
|
|
||||||
'astro': minor
|
|
||||||
'@astrojs/cloudflare': minor
|
|
||||||
'@astrojs/deno': minor
|
|
||||||
'@astrojs/image': minor
|
|
||||||
'@astrojs/netlify': minor
|
|
||||||
'@astrojs/node': minor
|
|
||||||
'@astrojs/sitemap': minor
|
|
||||||
'@astrojs/vercel': minor
|
|
||||||
---
|
|
||||||
|
|
||||||
New `output` configuration option
|
|
||||||
|
|
||||||
This change introduces a new "output target" configuration option (`output`). Setting the output target lets you decide the format of your final build, either:
|
|
||||||
|
|
||||||
* `"static"` (default): A static site. Your final build will be a collection of static assets (HTML, CSS, JS) that you can deploy to any static site host.
|
|
||||||
* `"server"`: A dynamic server application. Your final build will be an application that will run in a hosted server environment, generating HTML dynamically for different requests.
|
|
||||||
|
|
||||||
If `output` is omitted from your config, the default value `"static"` will be used.
|
|
||||||
|
|
||||||
When using the `"server"` output target, you must also include a runtime adapter via the `adapter` configuration. An adapter will *adapt* your final build to run on the deployed platform of your choice (Netlify, Vercel, Node.js, Deno, etc).
|
|
||||||
|
|
||||||
To migrate: No action is required for most users. If you currently define an `adapter`, you will need to also add `output: 'server'` to your config file to make it explicit that you are building a server. Here is an example of what that change would look like for someone deploying to Netlify:
|
|
||||||
|
|
||||||
```diff
|
|
||||||
import { defineConfig } from 'astro/config';
|
|
||||||
import netlify from '@astrojs/netlify/functions';
|
|
||||||
|
|
||||||
export default defineConfig({
|
|
||||||
adapter: netlify(),
|
|
||||||
+ output: 'server',
|
|
||||||
});
|
|
||||||
```
|
|
|
@ -1,5 +0,0 @@
|
||||||
---
|
|
||||||
'astro': patch
|
|
||||||
---
|
|
||||||
|
|
||||||
[#3859](https://github.com/withastro/astro/pull/3859) Overhaul Astro error handling, using Vite's built-in error overlay when possible
|
|
|
@ -1,9 +0,0 @@
|
||||||
---
|
|
||||||
'astro': patch
|
|
||||||
---
|
|
||||||
|
|
||||||
**BREAKING** Implement [RFC0012](https://github.com/withastro/rfcs/blob/main/proposals/0012-scoped-css-with-preserved-specificity.md) to preserve authored specificity for Astro scoped styles.
|
|
||||||
|
|
||||||
If you use a mix of global styles and Astro scoped styles, **please visually inspect your site** after upgrading to confirm that styles are working as expected.
|
|
||||||
|
|
||||||
If you previously relied on Astro's scoped styles to increase the specificity of your selectors, please update your selectors to use an additional class. For example, updating `div` to `div.my-class` will match the previous behavior.
|
|
|
@ -1,5 +0,0 @@
|
||||||
---
|
|
||||||
"@astrojs/image": patch
|
|
||||||
---
|
|
||||||
|
|
||||||
Handle EXIF orientation flag
|
|
|
@ -1,5 +0,0 @@
|
||||||
---
|
|
||||||
'@astrojs/mdx': patch
|
|
||||||
---
|
|
||||||
|
|
||||||
Add support for injected "page-ssr" scripts
|
|
|
@ -1,8 +0,0 @@
|
||||||
---
|
|
||||||
'astro': minor
|
|
||||||
'@astrojs/cloudflare': minor
|
|
||||||
'@astrojs/netlify': minor
|
|
||||||
'@astrojs/vercel': minor
|
|
||||||
---
|
|
||||||
|
|
||||||
Support for 404 and 500 pages in SSR
|
|
|
@ -1,5 +0,0 @@
|
||||||
---
|
|
||||||
'@astrojs/image': patch
|
|
||||||
---
|
|
||||||
|
|
||||||
Removes Node's `fileURLToPath` dependency in the production SSR endpoint
|
|
|
@ -1,5 +0,0 @@
|
||||||
---
|
|
||||||
'astro': patch
|
|
||||||
---
|
|
||||||
|
|
||||||
Adds warnings for legacy markdown behavior
|
|
|
@ -1,5 +0,0 @@
|
||||||
---
|
|
||||||
'create-astro': patch
|
|
||||||
---
|
|
||||||
|
|
||||||
Fixes support for using templates from any GitHub repository
|
|
|
@ -1,5 +0,0 @@
|
||||||
---
|
|
||||||
'astro': minor
|
|
||||||
---
|
|
||||||
|
|
||||||
Removes warnings for integrations/ssr
|
|
|
@ -1,5 +0,0 @@
|
||||||
---
|
|
||||||
'@astrojs/svelte': patch
|
|
||||||
---
|
|
||||||
|
|
||||||
Fix optional props not being recognized properly in the editor
|
|
|
@ -1,6 +0,0 @@
|
||||||
---
|
|
||||||
'astro': patch
|
|
||||||
'@astrojs/lit': patch
|
|
||||||
---
|
|
||||||
|
|
||||||
Fixes Lit compat with Vite 3.0.1
|
|
|
@ -1,6 +0,0 @@
|
||||||
---
|
|
||||||
'astro': patch
|
|
||||||
'@astrojs/markdown-remark': patch
|
|
||||||
---
|
|
||||||
|
|
||||||
Avoid parsing JSX, components, and Astro islands when using "plain" md mode. This brings `markdown.mode: 'md'` in-line with our docs description.
|
|
|
@ -1,9 +0,0 @@
|
||||||
---
|
|
||||||
"@astrojs/image": patch
|
|
||||||
"@astrojs/partytown": patch
|
|
||||||
"@astrojs/prefetch": patch
|
|
||||||
"@astrojs/sitemap": patch
|
|
||||||
"@astrojs/tailwind": patch
|
|
||||||
---
|
|
||||||
|
|
||||||
[READMEs] removed "experimental" from astro add instructions
|
|
|
@ -1,5 +0,0 @@
|
||||||
---
|
|
||||||
'@astrojs/mdx': minor
|
|
||||||
---
|
|
||||||
|
|
||||||
Add remarkPlugins and rehypePlugins to config, with the same default plugins as our standard Markdown parser
|
|
|
@ -1,5 +0,0 @@
|
||||||
---
|
|
||||||
'astro': patch
|
|
||||||
---
|
|
||||||
|
|
||||||
Perf: move getStaticPaths call during the build to during page generation
|
|
|
@ -1,5 +0,0 @@
|
||||||
---
|
|
||||||
'astro': patch
|
|
||||||
---
|
|
||||||
|
|
||||||
Added missing `media` attributes from the JSX definitions for the `meta` element
|
|
|
@ -1,18 +0,0 @@
|
||||||
---
|
|
||||||
'astro': minor
|
|
||||||
'@astrojs/cloudflare': minor
|
|
||||||
'@astrojs/deno': minor
|
|
||||||
'@astrojs/netlify': minor
|
|
||||||
'@astrojs/vercel': minor
|
|
||||||
'@astrojs/node': minor
|
|
||||||
---
|
|
||||||
|
|
||||||
Adds support for Astro.clientAddress
|
|
||||||
|
|
||||||
The new `Astro.clientAddress` property allows you to get the IP address of the requested user.
|
|
||||||
|
|
||||||
```astro
|
|
||||||
<div>Your address { Astro.clientAddress }</div>
|
|
||||||
```
|
|
||||||
|
|
||||||
This property is only available when building for SSR, and only if the adapter you are using supports providing the IP address. If you attempt to access the property in a SSG app it will throw an error.
|
|
|
@ -1,5 +0,0 @@
|
||||||
---
|
|
||||||
'@astrojs/image': patch
|
|
||||||
---
|
|
||||||
|
|
||||||
Fixing TypeScript definition exports for image components
|
|
|
@ -1,5 +0,0 @@
|
||||||
---
|
|
||||||
'astro': patch
|
|
||||||
---
|
|
||||||
|
|
||||||
Overhaul HMR handling for more stable live reload behavior
|
|
|
@ -1,5 +0,0 @@
|
||||||
---
|
|
||||||
'@astrojs/mdx': minor
|
|
||||||
---
|
|
||||||
|
|
||||||
Support Prism and Shiki syntax highlighting based on project config
|
|
|
@ -1,5 +0,0 @@
|
||||||
---
|
|
||||||
'@astrojs/vercel': minor
|
|
||||||
---
|
|
||||||
|
|
||||||
Removed requirement for `ENABLE_VC_BUILD=1`, since Build Output v3 is now stable. [Learn more](https://vercel.com/blog/build-output-api).
|
|
|
@ -1,5 +0,0 @@
|
||||||
---
|
|
||||||
'astro': patch
|
|
||||||
---
|
|
||||||
|
|
||||||
Added missing "loading" attribute to IFrameHTMLAttributes
|
|
|
@ -1,5 +0,0 @@
|
||||||
---
|
|
||||||
'@astrojs/mdx': patch
|
|
||||||
---
|
|
||||||
|
|
||||||
Include page url in MDX glob result
|
|
|
@ -1,6 +0,0 @@
|
||||||
---
|
|
||||||
'@astrojs/mdx': minor
|
|
||||||
'astro': patch
|
|
||||||
---
|
|
||||||
|
|
||||||
Support YAML frontmatter in MDX files
|
|
|
@ -1,5 +0,0 @@
|
||||||
---
|
|
||||||
'astro': patch
|
|
||||||
---
|
|
||||||
|
|
||||||
Fix `define:vars` bugs with both `style` and `script`
|
|
|
@ -1,6 +0,0 @@
|
||||||
---
|
|
||||||
'astro': patch
|
|
||||||
'@astrojs/node': patch
|
|
||||||
---
|
|
||||||
|
|
||||||
Fixes Node adapter to accept a request body
|
|
|
@ -1,5 +0,0 @@
|
||||||
---
|
|
||||||
'astro': patch
|
|
||||||
---
|
|
||||||
|
|
||||||
Allow defining aliases with tsconfig
|
|
|
@ -1,5 +0,0 @@
|
||||||
---
|
|
||||||
'astro': patch
|
|
||||||
---
|
|
||||||
|
|
||||||
Fix: find a hosting network differently based on Node version -- adjusted for Node v18.4+
|
|
|
@ -1,5 +0,0 @@
|
||||||
---
|
|
||||||
'astro': patch
|
|
||||||
---
|
|
||||||
|
|
||||||
Add support for `.html` components and pages
|
|
|
@ -1,8 +0,0 @@
|
||||||
---
|
|
||||||
'astro': minor
|
|
||||||
'@astrojs/image': minor
|
|
||||||
'@astrojs/svelte': minor
|
|
||||||
'@astrojs/vue': minor
|
|
||||||
---
|
|
||||||
|
|
||||||
Bump to Vite 3!
|
|
|
@ -1,6 +0,0 @@
|
||||||
---
|
|
||||||
'@astrojs/image': minor
|
|
||||||
---
|
|
||||||
|
|
||||||
- Fixes two bugs that were blocking SSR support when deployed to a hosting service
|
|
||||||
- The built-in `sharp` service now automatically rotates images based on EXIF data
|
|
|
@ -1,20 +0,0 @@
|
||||||
---
|
|
||||||
'astro': minor
|
|
||||||
'@astrojs/markdown-component': minor
|
|
||||||
'@astrojs/markdown-remark': minor
|
|
||||||
---
|
|
||||||
|
|
||||||
The use of components and JSX expressions in Markdown are no longer supported by default.
|
|
||||||
|
|
||||||
For long term support, migrate to the `@astrojs/mdx` integration for MDX support (including `.mdx` pages!).
|
|
||||||
|
|
||||||
Not ready to migrate to MDX? Add the legacy flag to your Astro config to re-enable the previous Markdown support.
|
|
||||||
|
|
||||||
```js
|
|
||||||
// https://astro.build/config
|
|
||||||
export default defineConfig({
|
|
||||||
legacy: {
|
|
||||||
astroFlavoredMarkdown: true,
|
|
||||||
}
|
|
||||||
});
|
|
||||||
```
|
|
|
@ -1,5 +0,0 @@
|
||||||
---
|
|
||||||
'astro': patch
|
|
||||||
---
|
|
||||||
|
|
||||||
Deprecate Astro.canonicalURL, in favor of Astro.url instead.
|
|
|
@ -1,5 +0,0 @@
|
||||||
---
|
|
||||||
'astro': patch
|
|
||||||
---
|
|
||||||
|
|
||||||
Improve warning logs on astro.config change
|
|
|
@ -1,22 +0,0 @@
|
||||||
---
|
|
||||||
'astro': minor
|
|
||||||
'@astrojs/markdown-component': minor
|
|
||||||
---
|
|
||||||
|
|
||||||
Move the Markdown component to its own package
|
|
||||||
|
|
||||||
This change moves the Markdown component into its own package where it will be maintained separately. All that needs to change from a user's perspective is the import statement:
|
|
||||||
|
|
||||||
```astro
|
|
||||||
---
|
|
||||||
import { Markdown } from 'astro/components';
|
|
||||||
---
|
|
||||||
```
|
|
||||||
|
|
||||||
Becomes:
|
|
||||||
|
|
||||||
```astro
|
|
||||||
---
|
|
||||||
import Markdown from '@astrojs/markdown-component';
|
|
||||||
---
|
|
||||||
```
|
|
|
@ -1,5 +0,0 @@
|
||||||
---
|
|
||||||
'astro': patch
|
|
||||||
---
|
|
||||||
|
|
||||||
Add Astro.url helper for getting the request URL
|
|
|
@ -1,6 +0,0 @@
|
||||||
---
|
|
||||||
'astro': patch
|
|
||||||
'@astrojs/markdown-remark': minor
|
|
||||||
---
|
|
||||||
|
|
||||||
**BREAKING** Renamed Markdown utility function `getHeaders()` to `getHeadings()`.
|
|
|
@ -9,6 +9,6 @@
|
||||||
"preview": "astro preview"
|
"preview": "astro preview"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"astro": "^1.0.0-rc.0"
|
"astro": "^1.0.0-rc.1"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@astrojs/preact": "^0.5.2",
|
"@astrojs/preact": "^0.5.2",
|
||||||
"astro": "^1.0.0-rc.0",
|
"astro": "^1.0.0-rc.1",
|
||||||
"sass": "^1.52.2"
|
"sass": "^1.52.2"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@astrojs/preact": "^0.5.2",
|
"@astrojs/preact": "^0.5.2",
|
||||||
"astro": "^1.0.0-rc.0"
|
"astro": "^1.0.0-rc.1"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"preact": "^10.7.3"
|
"preact": "^10.7.3"
|
||||||
|
|
|
@ -10,6 +10,6 @@
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@example/my-component": "workspace:*",
|
"@example/my-component": "workspace:*",
|
||||||
"astro": "^1.0.0-rc.0"
|
"astro": "^1.0.0-rc.1"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -8,6 +8,6 @@
|
||||||
"serve": "astro --root demo preview"
|
"serve": "astro --root demo preview"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"astro": "^1.0.0-rc.0"
|
"astro": "^1.0.0-rc.1"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -20,6 +20,6 @@
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@astrojs/preact": "^0.5.2",
|
"@astrojs/preact": "^0.5.2",
|
||||||
"@astrojs/react": "^0.4.2",
|
"@astrojs/react": "^0.4.2",
|
||||||
"astro": "^1.0.0-rc.0"
|
"astro": "^1.0.0-rc.1"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -9,6 +9,6 @@
|
||||||
"preview": "astro preview"
|
"preview": "astro preview"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"astro": "^1.0.0-rc.0"
|
"astro": "^1.0.0-rc.1"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -9,7 +9,7 @@
|
||||||
"preview": "astro preview"
|
"preview": "astro preview"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"astro": "^1.0.0-rc.0"
|
"astro": "^1.0.0-rc.1"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"alpinejs": "^3.10.2"
|
"alpinejs": "^3.10.2"
|
||||||
|
|
|
@ -9,8 +9,8 @@
|
||||||
"preview": "astro preview"
|
"preview": "astro preview"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@astrojs/lit": "^0.3.1",
|
"@astrojs/lit": "^0.3.2",
|
||||||
"astro": "^1.0.0-rc.0"
|
"astro": "^1.0.0-rc.1"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@webcomponents/template-shadowroot": "^0.1.0",
|
"@webcomponents/template-shadowroot": "^0.1.0",
|
||||||
|
|
|
@ -9,13 +9,13 @@
|
||||||
"preview": "astro preview"
|
"preview": "astro preview"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@astrojs/lit": "^0.3.1",
|
"@astrojs/lit": "^0.3.2",
|
||||||
"@astrojs/preact": "^0.5.2",
|
"@astrojs/preact": "^0.5.2",
|
||||||
"@astrojs/react": "^0.4.2",
|
"@astrojs/react": "^0.4.2",
|
||||||
"@astrojs/solid-js": "^0.4.1",
|
"@astrojs/solid-js": "^0.4.1",
|
||||||
"@astrojs/svelte": "^0.4.1",
|
"@astrojs/svelte": "^0.5.0",
|
||||||
"@astrojs/vue": "^0.4.1",
|
"@astrojs/vue": "^0.5.0",
|
||||||
"astro": "^1.0.0-rc.0"
|
"astro": "^1.0.0-rc.1"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@webcomponents/template-shadowroot": "^0.1.0",
|
"@webcomponents/template-shadowroot": "^0.1.0",
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@astrojs/preact": "^0.5.2",
|
"@astrojs/preact": "^0.5.2",
|
||||||
"astro": "^1.0.0-rc.0"
|
"astro": "^1.0.0-rc.1"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"preact": "^10.7.3"
|
"preact": "^10.7.3"
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
"@astrojs/react": "^0.4.2",
|
"@astrojs/react": "^0.4.2",
|
||||||
"@types/react": "^18.0.10",
|
"@types/react": "^18.0.10",
|
||||||
"@types/react-dom": "^18.0.5",
|
"@types/react-dom": "^18.0.5",
|
||||||
"astro": "^1.0.0-rc.0"
|
"astro": "^1.0.0-rc.1"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"react": "^18.1.0",
|
"react": "^18.1.0",
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@astrojs/solid-js": "^0.4.1",
|
"@astrojs/solid-js": "^0.4.1",
|
||||||
"astro": "^1.0.0-rc.0"
|
"astro": "^1.0.0-rc.1"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"solid-js": "^1.4.3"
|
"solid-js": "^1.4.3"
|
||||||
|
|
|
@ -9,8 +9,8 @@
|
||||||
"preview": "astro preview"
|
"preview": "astro preview"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@astrojs/svelte": "^0.4.1",
|
"@astrojs/svelte": "^0.5.0",
|
||||||
"astro": "^1.0.0-rc.0"
|
"astro": "^1.0.0-rc.1"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"svelte": "^3.48.0"
|
"svelte": "^3.48.0"
|
||||||
|
|
|
@ -9,8 +9,8 @@
|
||||||
"preview": "astro preview"
|
"preview": "astro preview"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@astrojs/vue": "^0.4.1",
|
"@astrojs/vue": "^0.5.0",
|
||||||
"astro": "^1.0.0-rc.0"
|
"astro": "^1.0.0-rc.1"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"vue": "^3.2.37"
|
"vue": "^3.2.37"
|
||||||
|
|
|
@ -9,14 +9,14 @@
|
||||||
"preview": "astro preview"
|
"preview": "astro preview"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@astrojs/lit": "^0.3.1",
|
"@astrojs/lit": "^0.3.2",
|
||||||
"@astrojs/partytown": "^0.1.8",
|
"@astrojs/partytown": "^0.1.9",
|
||||||
"@astrojs/react": "^0.4.2",
|
"@astrojs/react": "^0.4.2",
|
||||||
"@astrojs/sitemap": "^0.2.6",
|
"@astrojs/sitemap": "^0.3.0",
|
||||||
"@astrojs/solid-js": "0.4.1",
|
"@astrojs/solid-js": "0.4.1",
|
||||||
"@astrojs/tailwind": "^0.2.4",
|
"@astrojs/tailwind": "^0.2.5",
|
||||||
"@astrojs/turbolinks": "^0.1.4",
|
"@astrojs/turbolinks": "^0.1.4",
|
||||||
"astro": "^1.0.0-rc.0",
|
"astro": "^1.0.0-rc.1",
|
||||||
"solid-js": "^1.4.3"
|
"solid-js": "^1.4.3"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
|
|
@ -9,6 +9,6 @@
|
||||||
"preview": "astro preview"
|
"preview": "astro preview"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"astro": "^1.0.0-rc.0"
|
"astro": "^1.0.0-rc.1"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -9,6 +9,6 @@
|
||||||
"preview": "astro preview"
|
"preview": "astro preview"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"astro": "^1.0.0-rc.0"
|
"astro": "^1.0.0-rc.1"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@astrojs/preact": "^0.5.2",
|
"@astrojs/preact": "^0.5.2",
|
||||||
"astro": "^1.0.0-rc.0",
|
"astro": "^1.0.0-rc.1",
|
||||||
"sass": "^1.52.2"
|
"sass": "^1.52.2"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
|
|
@ -9,9 +9,9 @@
|
||||||
"server": "node server/server.mjs"
|
"server": "node server/server.mjs"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@astrojs/node": "^0.1.6",
|
"@astrojs/node": "^0.2.0",
|
||||||
"@astrojs/svelte": "^0.4.1",
|
"@astrojs/svelte": "^0.5.0",
|
||||||
"astro": "^1.0.0-rc.0",
|
"astro": "^1.0.0-rc.1",
|
||||||
"concurrently": "^7.2.1",
|
"concurrently": "^7.2.1",
|
||||||
"lightcookie": "^1.0.25",
|
"lightcookie": "^1.0.25",
|
||||||
"unocss": "^0.15.6",
|
"unocss": "^0.15.6",
|
||||||
|
|
|
@ -9,6 +9,6 @@
|
||||||
"preview": "astro preview"
|
"preview": "astro preview"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"astro": "^1.0.0-rc.0"
|
"astro": "^1.0.0-rc.1"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@astrojs/react": "^0.4.2",
|
"@astrojs/react": "^0.4.2",
|
||||||
"astro": "^1.0.0-rc.0",
|
"astro": "^1.0.0-rc.1",
|
||||||
"sass": "^1.52.2"
|
"sass": "^1.52.2"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
|
|
@ -9,8 +9,8 @@
|
||||||
"preview": "astro preview"
|
"preview": "astro preview"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@astrojs/markdown-remark": "^0.12.0",
|
"@astrojs/markdown-remark": "^0.13.0",
|
||||||
"astro": "^1.0.0-rc.0",
|
"astro": "^1.0.0-rc.1",
|
||||||
"hast-util-select": "5.0.1",
|
"hast-util-select": "5.0.1",
|
||||||
"rehype-autolink-headings": "^6.1.1",
|
"rehype-autolink-headings": "^6.1.1",
|
||||||
"rehype-slug": "^5.0.1",
|
"rehype-slug": "^5.0.1",
|
||||||
|
|
|
@ -9,7 +9,7 @@
|
||||||
"preview": "astro preview"
|
"preview": "astro preview"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@astrojs/markdown-remark": "^0.12.0",
|
"@astrojs/markdown-remark": "^0.13.0",
|
||||||
"astro": "^1.0.0-rc.0"
|
"astro": "^1.0.0-rc.1"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -9,9 +9,9 @@
|
||||||
"preview": "astro preview"
|
"preview": "astro preview"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@astrojs/mdx": "^0.2.1",
|
"@astrojs/mdx": "^0.3.0",
|
||||||
"@astrojs/preact": "^0.5.2",
|
"@astrojs/preact": "^0.5.2",
|
||||||
"astro": "^1.0.0-rc.0",
|
"astro": "^1.0.0-rc.1",
|
||||||
"preact": "^10.6.5"
|
"preact": "^10.6.5"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -15,6 +15,6 @@
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@astrojs/preact": "^0.5.2",
|
"@astrojs/preact": "^0.5.2",
|
||||||
"astro": "^1.0.0-rc.0"
|
"astro": "^1.0.0-rc.1"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -9,8 +9,8 @@
|
||||||
"preview": "astro preview"
|
"preview": "astro preview"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@astrojs/tailwind": "^0.2.4",
|
"@astrojs/tailwind": "^0.2.5",
|
||||||
"astro": "^1.0.0-rc.0",
|
"astro": "^1.0.0-rc.1",
|
||||||
"autoprefixer": "^10.4.7",
|
"autoprefixer": "^10.4.7",
|
||||||
"canvas-confetti": "^1.5.1",
|
"canvas-confetti": "^1.5.1",
|
||||||
"postcss": "^8.4.14",
|
"postcss": "^8.4.14",
|
||||||
|
|
|
@ -9,7 +9,7 @@
|
||||||
"preview": "astro preview"
|
"preview": "astro preview"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"astro": "^1.0.0-rc.0",
|
"astro": "^1.0.0-rc.1",
|
||||||
"vite-plugin-pwa": "0.11.11",
|
"vite-plugin-pwa": "0.11.11",
|
||||||
"workbox-window": "^6.5.3"
|
"workbox-window": "^6.5.3"
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,5 +1,138 @@
|
||||||
# astro
|
# astro
|
||||||
|
|
||||||
|
## 1.0.0-rc.1
|
||||||
|
|
||||||
|
### Minor Changes
|
||||||
|
|
||||||
|
- [#4015](https://github.com/withastro/astro/pull/4015) [`6fd161d76`](https://github.com/withastro/astro/commit/6fd161d7691cbf9d3ffa4646e46059dfd0940010) Thanks [@matthewp](https://github.com/matthewp)! - New `output` configuration option
|
||||||
|
|
||||||
|
This change introduces a new "output target" configuration option (`output`). Setting the output target lets you decide the format of your final build, either:
|
||||||
|
|
||||||
|
- `"static"` (default): A static site. Your final build will be a collection of static assets (HTML, CSS, JS) that you can deploy to any static site host.
|
||||||
|
- `"server"`: A dynamic server application. Your final build will be an application that will run in a hosted server environment, generating HTML dynamically for different requests.
|
||||||
|
|
||||||
|
If `output` is omitted from your config, the default value `"static"` will be used.
|
||||||
|
|
||||||
|
When using the `"server"` output target, you must also include a runtime adapter via the `adapter` configuration. An adapter will _adapt_ your final build to run on the deployed platform of your choice (Netlify, Vercel, Node.js, Deno, etc).
|
||||||
|
|
||||||
|
To migrate: No action is required for most users. If you currently define an `adapter`, you will need to also add `output: 'server'` to your config file to make it explicit that you are building a server. Here is an example of what that change would look like for someone deploying to Netlify:
|
||||||
|
|
||||||
|
```diff
|
||||||
|
import { defineConfig } from 'astro/config';
|
||||||
|
import netlify from '@astrojs/netlify/functions';
|
||||||
|
|
||||||
|
export default defineConfig({
|
||||||
|
adapter: netlify(),
|
||||||
|
+ output: 'server',
|
||||||
|
});
|
||||||
|
```
|
||||||
|
|
||||||
|
* [#4018](https://github.com/withastro/astro/pull/4018) [`0cc6ede36`](https://github.com/withastro/astro/commit/0cc6ede362996b9faba57481a790d6eb7fba2045) Thanks [@okikio](https://github.com/okikio)! - Support for 404 and 500 pages in SSR
|
||||||
|
|
||||||
|
- [#3992](https://github.com/withastro/astro/pull/3992) [`ccae43142`](https://github.com/withastro/astro/commit/ccae43142619cedd479c9879a9c0fcee92263213) Thanks [@matthewp](https://github.com/matthewp)! - Removes warnings for integrations/ssr
|
||||||
|
|
||||||
|
* [#3973](https://github.com/withastro/astro/pull/3973) [`5a23483ef`](https://github.com/withastro/astro/commit/5a23483efb3ba614b05a00064f84415620605204) Thanks [@matthewp](https://github.com/matthewp)! - Adds support for Astro.clientAddress
|
||||||
|
|
||||||
|
The new `Astro.clientAddress` property allows you to get the IP address of the requested user.
|
||||||
|
|
||||||
|
```astro
|
||||||
|
<div>Your address { Astro.clientAddress }</div>
|
||||||
|
```
|
||||||
|
|
||||||
|
This property is only available when building for SSR, and only if the adapter you are using supports providing the IP address. If you attempt to access the property in a SSG app it will throw an error.
|
||||||
|
|
||||||
|
- [#3570](https://github.com/withastro/astro/pull/3570) [`04070c0c1`](https://github.com/withastro/astro/commit/04070c0c12c00a3e17842ce48e36edc3f2c890a3) Thanks [@matthewp](https://github.com/matthewp)! - Bump to Vite 3!
|
||||||
|
|
||||||
|
* [#4016](https://github.com/withastro/astro/pull/4016) [`00fab4ce1`](https://github.com/withastro/astro/commit/00fab4ce135eb799cac69140403d7724686733d6) Thanks [@bholmesdev](https://github.com/bholmesdev)! - The use of components and JSX expressions in Markdown are no longer supported by default.
|
||||||
|
|
||||||
|
For long term support, migrate to the `@astrojs/mdx` integration for MDX support (including `.mdx` pages!).
|
||||||
|
|
||||||
|
Not ready to migrate to MDX? Add the legacy flag to your Astro config to re-enable the previous Markdown support.
|
||||||
|
|
||||||
|
```js
|
||||||
|
// https://astro.build/config
|
||||||
|
export default defineConfig({
|
||||||
|
legacy: {
|
||||||
|
astroFlavoredMarkdown: true,
|
||||||
|
},
|
||||||
|
});
|
||||||
|
```
|
||||||
|
|
||||||
|
- [#3986](https://github.com/withastro/astro/pull/3986) [`bccd88f0e`](https://github.com/withastro/astro/commit/bccd88f0ebe1fbf383c0cee4b27a4c24c72dea72) Thanks [@matthewp](https://github.com/matthewp)! - Move the Markdown component to its own package
|
||||||
|
|
||||||
|
This change moves the Markdown component into its own package where it will be maintained separately. All that needs to change from a user's perspective is the import statement:
|
||||||
|
|
||||||
|
```astro
|
||||||
|
---
|
||||||
|
import { Markdown } from 'astro/components';
|
||||||
|
---
|
||||||
|
```
|
||||||
|
|
||||||
|
Becomes:
|
||||||
|
|
||||||
|
```astro
|
||||||
|
---
|
||||||
|
import Markdown from '@astrojs/markdown-component';
|
||||||
|
---
|
||||||
|
```
|
||||||
|
|
||||||
|
### Patch Changes
|
||||||
|
|
||||||
|
- [#3988](https://github.com/withastro/astro/pull/3988) [`9841c21e8`](https://github.com/withastro/astro/commit/9841c21e8ecc1ed2dbf46648355871800ac0b172) Thanks [@Princesseuh](https://github.com/Princesseuh)! - Fix certain characters showing incorrectly in `astro check`
|
||||||
|
|
||||||
|
* [#4000](https://github.com/withastro/astro/pull/4000) [`1c1b9da62`](https://github.com/withastro/astro/commit/1c1b9da624ec811e3e4a34b63f07bce61d2dcd04) Thanks [@tony-sull](https://github.com/tony-sull)! - public assets should always take priority over page routes in SSR deployments
|
||||||
|
|
||||||
|
- [#4042](https://github.com/withastro/astro/pull/4042) [`7e5ac1f45`](https://github.com/withastro/astro/commit/7e5ac1f45c4865cfc04c658d18e70aedbae38772) Thanks [@matthewp](https://github.com/matthewp)! - Ensure the before-hydration scripts are built
|
||||||
|
|
||||||
|
* [#3944](https://github.com/withastro/astro/pull/3944) [`e82ff13f1`](https://github.com/withastro/astro/commit/e82ff13f18e8776844555fe3acd2b366cf8f1e11) Thanks [@mihkeleidast](https://github.com/mihkeleidast)! - Add export keyword to astro config file stub created by add cli command
|
||||||
|
|
||||||
|
- [#3942](https://github.com/withastro/astro/pull/3942) [`21462feb4`](https://github.com/withastro/astro/commit/21462feb4a27c1d9a9c29647daf2ea0de986ddf0) Thanks [@AllanChain](https://github.com/AllanChain)! - Use a base middleware for better base path handling in dev.
|
||||||
|
|
||||||
|
* [#3991](https://github.com/withastro/astro/pull/3991) [`4dd341c8a`](https://github.com/withastro/astro/commit/4dd341c8a1a3ffe00916bb6c4d7cea7000c9d254) Thanks [@natemoo-re](https://github.com/natemoo-re)! - [#3859](https://github.com/withastro/astro/pull/3859) Overhaul Astro error handling, using Vite's built-in error overlay when possible
|
||||||
|
|
||||||
|
- [#4024](https://github.com/withastro/astro/pull/4024) [`1215e731b`](https://github.com/withastro/astro/commit/1215e731b8a334fce364aca77bda1085f3679e57) Thanks [@natemoo-re](https://github.com/natemoo-re)! - **BREAKING** Implement [RFC0012](https://github.com/withastro/rfcs/blob/main/proposals/0012-scoped-css-with-preserved-specificity.md) to preserve authored specificity for Astro scoped styles.
|
||||||
|
|
||||||
|
If you use a mix of global styles and Astro scoped styles, **please visually inspect your site** after upgrading to confirm that styles are working as expected.
|
||||||
|
|
||||||
|
If you previously relied on Astro's scoped styles to increase the specificity of your selectors, please update your selectors to use an additional class. For example, updating `div` to `div.my-class` will match the previous behavior.
|
||||||
|
|
||||||
|
* [#4046](https://github.com/withastro/astro/pull/4046) [`c811be49a`](https://github.com/withastro/astro/commit/c811be49abf17b151e04b9a63126267065f53b3f) Thanks [@matthewp](https://github.com/matthewp)! - Adds warnings for legacy markdown behavior
|
||||||
|
|
||||||
|
- [#4009](https://github.com/withastro/astro/pull/4009) [`01ba07d8f`](https://github.com/withastro/astro/commit/01ba07d8fa7eb67530b47b8530d65906f1aebf6e) Thanks [@matthewp](https://github.com/matthewp)! - Fixes Lit compat with Vite 3.0.1
|
||||||
|
|
||||||
|
* [#4008](https://github.com/withastro/astro/pull/4008) [`399d7e269`](https://github.com/withastro/astro/commit/399d7e269834d11c046b390705a9a53d3738f3cf) Thanks [@bholmesdev](https://github.com/bholmesdev)! - Avoid parsing JSX, components, and Astro islands when using "plain" md mode. This brings `markdown.mode: 'md'` in-line with our docs description.
|
||||||
|
|
||||||
|
- [#4047](https://github.com/withastro/astro/pull/4047) [`453c026aa`](https://github.com/withastro/astro/commit/453c026aa7f7825516e5816efc443fd9b0b6d74a) Thanks [@matthewp](https://github.com/matthewp)! - Perf: move getStaticPaths call during the build to during page generation
|
||||||
|
|
||||||
|
* [#3974](https://github.com/withastro/astro/pull/3974) [`54865612e`](https://github.com/withastro/astro/commit/54865612ea412f3d6d9a986d9dc6d4bebb7c8a63) Thanks [@Princesseuh](https://github.com/Princesseuh)! - Added missing `media` attributes from the JSX definitions for the `meta` element
|
||||||
|
|
||||||
|
- [#3932](https://github.com/withastro/astro/pull/3932) [`27ee8b97a`](https://github.com/withastro/astro/commit/27ee8b97ae3868d93bcd6c9302a401901394018f) Thanks [@natemoo-re](https://github.com/natemoo-re)! - Overhaul HMR handling for more stable live reload behavior
|
||||||
|
|
||||||
|
* [#4044](https://github.com/withastro/astro/pull/4044) [`6f88597c3`](https://github.com/withastro/astro/commit/6f88597c36339a8c7760023f530293a2dceaf493) Thanks [@lostra01](https://github.com/lostra01)! - Added missing "loading" attribute to IFrameHTMLAttributes
|
||||||
|
|
||||||
|
- [#3995](https://github.com/withastro/astro/pull/3995) [`b2b367c96`](https://github.com/withastro/astro/commit/b2b367c969493aaf21c974064beb241d05228066) Thanks [@bholmesdev](https://github.com/bholmesdev)! - Support YAML frontmatter in MDX files
|
||||||
|
|
||||||
|
* [#3976](https://github.com/withastro/astro/pull/3976) [`fbef6a7f7`](https://github.com/withastro/astro/commit/fbef6a7f720d12697362d3f74c8c026c726d2ba3) Thanks [@natemoo-re](https://github.com/natemoo-re)! - Fix `define:vars` bugs with both `style` and `script`
|
||||||
|
|
||||||
|
- [#4023](https://github.com/withastro/astro/pull/4023) [`4ca6a0933`](https://github.com/withastro/astro/commit/4ca6a0933d92dd559327dd46a28712d918caebf7) Thanks [@matthewp](https://github.com/matthewp)! - Fixes Node adapter to accept a request body
|
||||||
|
|
||||||
|
* [#4010](https://github.com/withastro/astro/pull/4010) [`d503c5bf3`](https://github.com/withastro/astro/commit/d503c5bf3db39afeecb28522861ac5d78c919408) Thanks [@matthewp](https://github.com/matthewp)! - Allow defining aliases with tsconfig
|
||||||
|
|
||||||
|
- [#4032](https://github.com/withastro/astro/pull/4032) [`beddf073b`](https://github.com/withastro/astro/commit/beddf073b5222b92da172475f5b8a578bffa73a0) Thanks [@arimgibson](https://github.com/arimgibson)! - Fix: find a hosting network differently based on Node version -- adjusted for Node v18.4+
|
||||||
|
|
||||||
|
* [#3867](https://github.com/withastro/astro/pull/3867) [`7250e4e86`](https://github.com/withastro/astro/commit/7250e4e86da41e7c662afa4b67f7cefc7da15e69) Thanks [@natemoo-re](https://github.com/natemoo-re)! - Add support for `.html` components and pages
|
||||||
|
|
||||||
|
- [#3959](https://github.com/withastro/astro/pull/3959) [`ddefb172f`](https://github.com/withastro/astro/commit/ddefb172f66bcd646dd0b75a7ea8360157dd2ba0) Thanks [@FredKSchott](https://github.com/FredKSchott)! - Deprecate Astro.canonicalURL, in favor of Astro.url instead.
|
||||||
|
|
||||||
|
* [#3968](https://github.com/withastro/astro/pull/3968) [`95eaa207d`](https://github.com/withastro/astro/commit/95eaa207d8bd4cb5ca2cc1c6279a9bd4096b33d7) Thanks [@bholmesdev](https://github.com/bholmesdev)! - Improve warning logs on astro.config change
|
||||||
|
|
||||||
|
- [#3959](https://github.com/withastro/astro/pull/3959) [`ddefb172f`](https://github.com/withastro/astro/commit/ddefb172f66bcd646dd0b75a7ea8360157dd2ba0) Thanks [@FredKSchott](https://github.com/FredKSchott)! - Add Astro.url helper for getting the request URL
|
||||||
|
|
||||||
|
* [#4031](https://github.com/withastro/astro/pull/4031) [`6e27a5fdc`](https://github.com/withastro/astro/commit/6e27a5fdc21276cad26cd50e16a2709a40a7cbac) Thanks [@natemoo-re](https://github.com/natemoo-re)! - **BREAKING** Renamed Markdown utility function `getHeaders()` to `getHeadings()`.
|
||||||
|
|
||||||
|
* Updated dependencies [[`ba11b3399`](https://github.com/withastro/astro/commit/ba11b33996d79c32da947986edb0f32dbcc04aaf), [`399d7e269`](https://github.com/withastro/astro/commit/399d7e269834d11c046b390705a9a53d3738f3cf), [`00fab4ce1`](https://github.com/withastro/astro/commit/00fab4ce135eb799cac69140403d7724686733d6), [`6e27a5fdc`](https://github.com/withastro/astro/commit/6e27a5fdc21276cad26cd50e16a2709a40a7cbac)]:
|
||||||
|
- @astrojs/markdown-remark@0.13.0
|
||||||
|
|
||||||
## 1.0.0-beta.73
|
## 1.0.0-beta.73
|
||||||
|
|
||||||
### Patch Changes
|
### Patch Changes
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "astro",
|
"name": "astro",
|
||||||
"version": "1.0.0-rc.0",
|
"version": "1.0.0-rc.1",
|
||||||
"description": "Astro is a modern site builder with web best practices, performance, and DX front-of-mind.",
|
"description": "Astro is a modern site builder with web best practices, performance, and DX front-of-mind.",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"author": "withastro",
|
"author": "withastro",
|
||||||
|
@ -84,7 +84,7 @@
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@astrojs/compiler": "^0.22.0",
|
"@astrojs/compiler": "^0.22.0",
|
||||||
"@astrojs/language-server": "^0.20.0",
|
"@astrojs/language-server": "^0.20.0",
|
||||||
"@astrojs/markdown-remark": "^0.12.0",
|
"@astrojs/markdown-remark": "^0.13.0",
|
||||||
"@astrojs/prism": "0.6.1",
|
"@astrojs/prism": "0.6.1",
|
||||||
"@astrojs/telemetry": "^0.4.1",
|
"@astrojs/telemetry": "^0.4.1",
|
||||||
"@astrojs/webapi": "^0.12.0",
|
"@astrojs/webapi": "^0.12.0",
|
||||||
|
|
|
@ -1,5 +1,11 @@
|
||||||
# create-astro
|
# create-astro
|
||||||
|
|
||||||
|
## 0.14.2
|
||||||
|
|
||||||
|
### Patch Changes
|
||||||
|
|
||||||
|
- [#3971](https://github.com/withastro/astro/pull/3971) [`e6e216061`](https://github.com/withastro/astro/commit/e6e2160614c9af320419a599c42211d0147760f4) Thanks [@tony-sull](https://github.com/tony-sull)! - Fixes support for using templates from any GitHub repository
|
||||||
|
|
||||||
## 0.14.1
|
## 0.14.1
|
||||||
|
|
||||||
### Patch Changes
|
### Patch Changes
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "create-astro",
|
"name": "create-astro",
|
||||||
"version": "0.14.1",
|
"version": "0.14.2",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"author": "withastro",
|
"author": "withastro",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
|
|
|
@ -1,5 +1,44 @@
|
||||||
# @astrojs/cloudflare
|
# @astrojs/cloudflare
|
||||||
|
|
||||||
|
## 0.3.0
|
||||||
|
|
||||||
|
### Minor Changes
|
||||||
|
|
||||||
|
- [#4015](https://github.com/withastro/astro/pull/4015) [`6fd161d76`](https://github.com/withastro/astro/commit/6fd161d7691cbf9d3ffa4646e46059dfd0940010) Thanks [@matthewp](https://github.com/matthewp)! - New `output` configuration option
|
||||||
|
|
||||||
|
This change introduces a new "output target" configuration option (`output`). Setting the output target lets you decide the format of your final build, either:
|
||||||
|
|
||||||
|
- `"static"` (default): A static site. Your final build will be a collection of static assets (HTML, CSS, JS) that you can deploy to any static site host.
|
||||||
|
- `"server"`: A dynamic server application. Your final build will be an application that will run in a hosted server environment, generating HTML dynamically for different requests.
|
||||||
|
|
||||||
|
If `output` is omitted from your config, the default value `"static"` will be used.
|
||||||
|
|
||||||
|
When using the `"server"` output target, you must also include a runtime adapter via the `adapter` configuration. An adapter will _adapt_ your final build to run on the deployed platform of your choice (Netlify, Vercel, Node.js, Deno, etc).
|
||||||
|
|
||||||
|
To migrate: No action is required for most users. If you currently define an `adapter`, you will need to also add `output: 'server'` to your config file to make it explicit that you are building a server. Here is an example of what that change would look like for someone deploying to Netlify:
|
||||||
|
|
||||||
|
```diff
|
||||||
|
import { defineConfig } from 'astro/config';
|
||||||
|
import netlify from '@astrojs/netlify/functions';
|
||||||
|
|
||||||
|
export default defineConfig({
|
||||||
|
adapter: netlify(),
|
||||||
|
+ output: 'server',
|
||||||
|
});
|
||||||
|
```
|
||||||
|
|
||||||
|
* [#4018](https://github.com/withastro/astro/pull/4018) [`0cc6ede36`](https://github.com/withastro/astro/commit/0cc6ede362996b9faba57481a790d6eb7fba2045) Thanks [@okikio](https://github.com/okikio)! - Support for 404 and 500 pages in SSR
|
||||||
|
|
||||||
|
- [#3973](https://github.com/withastro/astro/pull/3973) [`5a23483ef`](https://github.com/withastro/astro/commit/5a23483efb3ba614b05a00064f84415620605204) Thanks [@matthewp](https://github.com/matthewp)! - Adds support for Astro.clientAddress
|
||||||
|
|
||||||
|
The new `Astro.clientAddress` property allows you to get the IP address of the requested user.
|
||||||
|
|
||||||
|
```astro
|
||||||
|
<div>Your address { Astro.clientAddress }</div>
|
||||||
|
```
|
||||||
|
|
||||||
|
This property is only available when building for SSR, and only if the adapter you are using supports providing the IP address. If you attempt to access the property in a SSG app it will throw an error.
|
||||||
|
|
||||||
## 0.2.4
|
## 0.2.4
|
||||||
|
|
||||||
### Patch Changes
|
### Patch Changes
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
"name": "@astrojs/cloudflare",
|
"name": "@astrojs/cloudflare",
|
||||||
"description": "Deploy your site to cloudflare pages functions",
|
"description": "Deploy your site to cloudflare pages functions",
|
||||||
"version": "0.2.4",
|
"version": "0.3.0",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"types": "./dist/index.d.ts",
|
"types": "./dist/index.d.ts",
|
||||||
"author": "withastro",
|
"author": "withastro",
|
||||||
|
|
|
@ -1,5 +1,42 @@
|
||||||
# @astrojs/node
|
# @astrojs/node
|
||||||
|
|
||||||
|
## 0.2.0
|
||||||
|
|
||||||
|
### Minor Changes
|
||||||
|
|
||||||
|
- [#4015](https://github.com/withastro/astro/pull/4015) [`6fd161d76`](https://github.com/withastro/astro/commit/6fd161d7691cbf9d3ffa4646e46059dfd0940010) Thanks [@matthewp](https://github.com/matthewp)! - New `output` configuration option
|
||||||
|
|
||||||
|
This change introduces a new "output target" configuration option (`output`). Setting the output target lets you decide the format of your final build, either:
|
||||||
|
|
||||||
|
- `"static"` (default): A static site. Your final build will be a collection of static assets (HTML, CSS, JS) that you can deploy to any static site host.
|
||||||
|
- `"server"`: A dynamic server application. Your final build will be an application that will run in a hosted server environment, generating HTML dynamically for different requests.
|
||||||
|
|
||||||
|
If `output` is omitted from your config, the default value `"static"` will be used.
|
||||||
|
|
||||||
|
When using the `"server"` output target, you must also include a runtime adapter via the `adapter` configuration. An adapter will _adapt_ your final build to run on the deployed platform of your choice (Netlify, Vercel, Node.js, Deno, etc).
|
||||||
|
|
||||||
|
To migrate: No action is required for most users. If you currently define an `adapter`, you will need to also add `output: 'server'` to your config file to make it explicit that you are building a server. Here is an example of what that change would look like for someone deploying to Netlify:
|
||||||
|
|
||||||
|
```diff
|
||||||
|
import { defineConfig } from 'astro/config';
|
||||||
|
import netlify from '@astrojs/netlify/functions';
|
||||||
|
|
||||||
|
export default defineConfig({
|
||||||
|
adapter: netlify(),
|
||||||
|
+ output: 'server',
|
||||||
|
});
|
||||||
|
```
|
||||||
|
|
||||||
|
* [#3973](https://github.com/withastro/astro/pull/3973) [`5a23483ef`](https://github.com/withastro/astro/commit/5a23483efb3ba614b05a00064f84415620605204) Thanks [@matthewp](https://github.com/matthewp)! - Adds support for Astro.clientAddress
|
||||||
|
|
||||||
|
The new `Astro.clientAddress` property allows you to get the IP address of the requested user.
|
||||||
|
|
||||||
|
```astro
|
||||||
|
<div>Your address { Astro.clientAddress }</div>
|
||||||
|
```
|
||||||
|
|
||||||
|
This property is only available when building for SSR, and only if the adapter you are using supports providing the IP address. If you attempt to access the property in a SSG app it will throw an error.
|
||||||
|
|
||||||
## 0.1.10
|
## 0.1.10
|
||||||
|
|
||||||
### Patch Changes
|
### Patch Changes
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
"name": "@astrojs/deno",
|
"name": "@astrojs/deno",
|
||||||
"description": "Deploy your site to a Deno server",
|
"description": "Deploy your site to a Deno server",
|
||||||
"version": "0.1.10",
|
"version": "0.2.0",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"types": "./dist/index.d.ts",
|
"types": "./dist/index.d.ts",
|
||||||
"author": "withastro",
|
"author": "withastro",
|
||||||
|
|
|
@ -1,5 +1,49 @@
|
||||||
# @astrojs/image
|
# @astrojs/image
|
||||||
|
|
||||||
|
## 0.2.0
|
||||||
|
|
||||||
|
### Minor Changes
|
||||||
|
|
||||||
|
- [#4015](https://github.com/withastro/astro/pull/4015) [`6fd161d76`](https://github.com/withastro/astro/commit/6fd161d7691cbf9d3ffa4646e46059dfd0940010) Thanks [@matthewp](https://github.com/matthewp)! - New `output` configuration option
|
||||||
|
|
||||||
|
This change introduces a new "output target" configuration option (`output`). Setting the output target lets you decide the format of your final build, either:
|
||||||
|
|
||||||
|
- `"static"` (default): A static site. Your final build will be a collection of static assets (HTML, CSS, JS) that you can deploy to any static site host.
|
||||||
|
- `"server"`: A dynamic server application. Your final build will be an application that will run in a hosted server environment, generating HTML dynamically for different requests.
|
||||||
|
|
||||||
|
If `output` is omitted from your config, the default value `"static"` will be used.
|
||||||
|
|
||||||
|
When using the `"server"` output target, you must also include a runtime adapter via the `adapter` configuration. An adapter will _adapt_ your final build to run on the deployed platform of your choice (Netlify, Vercel, Node.js, Deno, etc).
|
||||||
|
|
||||||
|
To migrate: No action is required for most users. If you currently define an `adapter`, you will need to also add `output: 'server'` to your config file to make it explicit that you are building a server. Here is an example of what that change would look like for someone deploying to Netlify:
|
||||||
|
|
||||||
|
```diff
|
||||||
|
import { defineConfig } from 'astro/config';
|
||||||
|
import netlify from '@astrojs/netlify/functions';
|
||||||
|
|
||||||
|
export default defineConfig({
|
||||||
|
adapter: netlify(),
|
||||||
|
+ output: 'server',
|
||||||
|
});
|
||||||
|
```
|
||||||
|
|
||||||
|
* [#3570](https://github.com/withastro/astro/pull/3570) [`04070c0c1`](https://github.com/withastro/astro/commit/04070c0c12c00a3e17842ce48e36edc3f2c890a3) Thanks [@matthewp](https://github.com/matthewp)! - Bump to Vite 3!
|
||||||
|
|
||||||
|
- [#4013](https://github.com/withastro/astro/pull/4013) [`ef9345767`](https://github.com/withastro/astro/commit/ef9345767b898b436acc6da32da4936b882fd926) Thanks [@tony-sull](https://github.com/tony-sull)! - - Fixes two bugs that were blocking SSR support when deployed to a hosting service
|
||||||
|
- The built-in `sharp` service now automatically rotates images based on EXIF data
|
||||||
|
|
||||||
|
### Patch Changes
|
||||||
|
|
||||||
|
- [#3961](https://github.com/withastro/astro/pull/3961) [`d73c04a9e`](https://github.com/withastro/astro/commit/d73c04a9e58c7d320cdb4f34604de76b30199778) Thanks [@tony-sull](https://github.com/tony-sull)! - Updates the <Picture /> component to pass the `alt` attribute down to the <img> element
|
||||||
|
|
||||||
|
* [#4021](https://github.com/withastro/astro/pull/4021) [`9aecf7c7c`](https://github.com/withastro/astro/commit/9aecf7c7c7211f34236d8dde624ca388310d3727) Thanks [@delucis](https://github.com/delucis)! - Handle EXIF orientation flag
|
||||||
|
|
||||||
|
- [#4048](https://github.com/withastro/astro/pull/4048) [`e60d6d9c1`](https://github.com/withastro/astro/commit/e60d6d9c1df7d53613c2bf46c6cfc06ac04100c5) Thanks [@tony-sull](https://github.com/tony-sull)! - Removes Node's `fileURLToPath` dependency in the production SSR endpoint
|
||||||
|
|
||||||
|
* [#4004](https://github.com/withastro/astro/pull/4004) [`ef9c4152b`](https://github.com/withastro/astro/commit/ef9c4152b2b399e25bf4e8aa7b37adcf6d0d8f17) Thanks [@sarah11918](https://github.com/sarah11918)! - [READMEs] removed "experimental" from astro add instructions
|
||||||
|
|
||||||
|
- [#3980](https://github.com/withastro/astro/pull/3980) [`eaf187f2c`](https://github.com/withastro/astro/commit/eaf187f2c40493abec28113c742ef392c812d0e2) Thanks [@tony-sull](https://github.com/tony-sull)! - Fixing TypeScript definition exports for image components
|
||||||
|
|
||||||
## 0.1.3
|
## 0.1.3
|
||||||
|
|
||||||
### Patch Changes
|
### Patch Changes
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
"name": "@astrojs/image",
|
"name": "@astrojs/image",
|
||||||
"description": "Load and transform images in your Astro site.",
|
"description": "Load and transform images in your Astro site.",
|
||||||
"version": "0.1.3",
|
"version": "0.2.0",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"types": "./dist/types.d.ts",
|
"types": "./dist/types.d.ts",
|
||||||
"author": "withastro",
|
"author": "withastro",
|
||||||
|
|
|
@ -1,5 +1,11 @@
|
||||||
# @astrojs/lit
|
# @astrojs/lit
|
||||||
|
|
||||||
|
## 0.3.2
|
||||||
|
|
||||||
|
### Patch Changes
|
||||||
|
|
||||||
|
- [#4009](https://github.com/withastro/astro/pull/4009) [`01ba07d8f`](https://github.com/withastro/astro/commit/01ba07d8fa7eb67530b47b8530d65906f1aebf6e) Thanks [@matthewp](https://github.com/matthewp)! - Fixes Lit compat with Vite 3.0.1
|
||||||
|
|
||||||
## 0.3.1
|
## 0.3.1
|
||||||
|
|
||||||
### Patch Changes
|
### Patch Changes
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "@astrojs/lit",
|
"name": "@astrojs/lit",
|
||||||
"version": "0.3.1",
|
"version": "0.3.2",
|
||||||
"description": "Use Lit components within Astro",
|
"description": "Use Lit components within Astro",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"types": "./dist/index.d.ts",
|
"types": "./dist/index.d.ts",
|
||||||
|
|
|
@ -1,5 +1,21 @@
|
||||||
# @astrojs/mdx
|
# @astrojs/mdx
|
||||||
|
|
||||||
|
## 0.3.0
|
||||||
|
|
||||||
|
### Minor Changes
|
||||||
|
|
||||||
|
- [#3977](https://github.com/withastro/astro/pull/3977) [`19433eb4a`](https://github.com/withastro/astro/commit/19433eb4a4441522f68492ca914ad2ab4f061343) Thanks [@bholmesdev](https://github.com/bholmesdev)! - Add remarkPlugins and rehypePlugins to config, with the same default plugins as our standard Markdown parser
|
||||||
|
|
||||||
|
* [#4002](https://github.com/withastro/astro/pull/4002) [`3b8a74452`](https://github.com/withastro/astro/commit/3b8a7445247221100462ba035f6778b43ea180e7) Thanks [@bholmesdev](https://github.com/bholmesdev)! - Support Prism and Shiki syntax highlighting based on project config
|
||||||
|
|
||||||
|
- [#3995](https://github.com/withastro/astro/pull/3995) [`b2b367c96`](https://github.com/withastro/astro/commit/b2b367c969493aaf21c974064beb241d05228066) Thanks [@bholmesdev](https://github.com/bholmesdev)! - Support YAML frontmatter in MDX files
|
||||||
|
|
||||||
|
### Patch Changes
|
||||||
|
|
||||||
|
- [#4050](https://github.com/withastro/astro/pull/4050) [`9ab66c4ba`](https://github.com/withastro/astro/commit/9ab66c4ba9bf2250990114c76b792f26d0694365) Thanks [@FredKSchott](https://github.com/FredKSchott)! - Add support for injected "page-ssr" scripts
|
||||||
|
|
||||||
|
* [#3981](https://github.com/withastro/astro/pull/3981) [`61fec6304`](https://github.com/withastro/astro/commit/61fec63044e1585348e8405bee6fdf4dec635efa) Thanks [@bholmesdev](https://github.com/bholmesdev)! - Include page url in MDX glob result
|
||||||
|
|
||||||
## 0.2.1
|
## 0.2.1
|
||||||
|
|
||||||
### Patch Changes
|
### Patch Changes
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
"name": "@astrojs/mdx",
|
"name": "@astrojs/mdx",
|
||||||
"description": "Use MDX within Astro",
|
"description": "Use MDX within Astro",
|
||||||
"version": "0.2.1",
|
"version": "0.3.0",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"types": "./dist/index.d.ts",
|
"types": "./dist/index.d.ts",
|
||||||
"author": "withastro",
|
"author": "withastro",
|
||||||
|
|
|
@ -1,5 +1,44 @@
|
||||||
# @astrojs/netlify
|
# @astrojs/netlify
|
||||||
|
|
||||||
|
## 0.5.0
|
||||||
|
|
||||||
|
### Minor Changes
|
||||||
|
|
||||||
|
- [#4015](https://github.com/withastro/astro/pull/4015) [`6fd161d76`](https://github.com/withastro/astro/commit/6fd161d7691cbf9d3ffa4646e46059dfd0940010) Thanks [@matthewp](https://github.com/matthewp)! - New `output` configuration option
|
||||||
|
|
||||||
|
This change introduces a new "output target" configuration option (`output`). Setting the output target lets you decide the format of your final build, either:
|
||||||
|
|
||||||
|
- `"static"` (default): A static site. Your final build will be a collection of static assets (HTML, CSS, JS) that you can deploy to any static site host.
|
||||||
|
- `"server"`: A dynamic server application. Your final build will be an application that will run in a hosted server environment, generating HTML dynamically for different requests.
|
||||||
|
|
||||||
|
If `output` is omitted from your config, the default value `"static"` will be used.
|
||||||
|
|
||||||
|
When using the `"server"` output target, you must also include a runtime adapter via the `adapter` configuration. An adapter will _adapt_ your final build to run on the deployed platform of your choice (Netlify, Vercel, Node.js, Deno, etc).
|
||||||
|
|
||||||
|
To migrate: No action is required for most users. If you currently define an `adapter`, you will need to also add `output: 'server'` to your config file to make it explicit that you are building a server. Here is an example of what that change would look like for someone deploying to Netlify:
|
||||||
|
|
||||||
|
```diff
|
||||||
|
import { defineConfig } from 'astro/config';
|
||||||
|
import netlify from '@astrojs/netlify/functions';
|
||||||
|
|
||||||
|
export default defineConfig({
|
||||||
|
adapter: netlify(),
|
||||||
|
+ output: 'server',
|
||||||
|
});
|
||||||
|
```
|
||||||
|
|
||||||
|
* [#4018](https://github.com/withastro/astro/pull/4018) [`0cc6ede36`](https://github.com/withastro/astro/commit/0cc6ede362996b9faba57481a790d6eb7fba2045) Thanks [@okikio](https://github.com/okikio)! - Support for 404 and 500 pages in SSR
|
||||||
|
|
||||||
|
- [#3973](https://github.com/withastro/astro/pull/3973) [`5a23483ef`](https://github.com/withastro/astro/commit/5a23483efb3ba614b05a00064f84415620605204) Thanks [@matthewp](https://github.com/matthewp)! - Adds support for Astro.clientAddress
|
||||||
|
|
||||||
|
The new `Astro.clientAddress` property allows you to get the IP address of the requested user.
|
||||||
|
|
||||||
|
```astro
|
||||||
|
<div>Your address { Astro.clientAddress }</div>
|
||||||
|
```
|
||||||
|
|
||||||
|
This property is only available when building for SSR, and only if the adapter you are using supports providing the IP address. If you attempt to access the property in a SSG app it will throw an error.
|
||||||
|
|
||||||
## 0.4.10
|
## 0.4.10
|
||||||
|
|
||||||
### Patch Changes
|
### Patch Changes
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
"name": "@astrojs/netlify",
|
"name": "@astrojs/netlify",
|
||||||
"description": "Deploy your site to Netlify",
|
"description": "Deploy your site to Netlify",
|
||||||
"version": "0.4.10",
|
"version": "0.5.0",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"types": "./dist/index.d.ts",
|
"types": "./dist/index.d.ts",
|
||||||
"author": "withastro",
|
"author": "withastro",
|
||||||
|
|
|
@ -1,5 +1,46 @@
|
||||||
# @astrojs/node
|
# @astrojs/node
|
||||||
|
|
||||||
|
## 0.2.0
|
||||||
|
|
||||||
|
### Minor Changes
|
||||||
|
|
||||||
|
- [#4015](https://github.com/withastro/astro/pull/4015) [`6fd161d76`](https://github.com/withastro/astro/commit/6fd161d7691cbf9d3ffa4646e46059dfd0940010) Thanks [@matthewp](https://github.com/matthewp)! - New `output` configuration option
|
||||||
|
|
||||||
|
This change introduces a new "output target" configuration option (`output`). Setting the output target lets you decide the format of your final build, either:
|
||||||
|
|
||||||
|
- `"static"` (default): A static site. Your final build will be a collection of static assets (HTML, CSS, JS) that you can deploy to any static site host.
|
||||||
|
- `"server"`: A dynamic server application. Your final build will be an application that will run in a hosted server environment, generating HTML dynamically for different requests.
|
||||||
|
|
||||||
|
If `output` is omitted from your config, the default value `"static"` will be used.
|
||||||
|
|
||||||
|
When using the `"server"` output target, you must also include a runtime adapter via the `adapter` configuration. An adapter will _adapt_ your final build to run on the deployed platform of your choice (Netlify, Vercel, Node.js, Deno, etc).
|
||||||
|
|
||||||
|
To migrate: No action is required for most users. If you currently define an `adapter`, you will need to also add `output: 'server'` to your config file to make it explicit that you are building a server. Here is an example of what that change would look like for someone deploying to Netlify:
|
||||||
|
|
||||||
|
```diff
|
||||||
|
import { defineConfig } from 'astro/config';
|
||||||
|
import netlify from '@astrojs/netlify/functions';
|
||||||
|
|
||||||
|
export default defineConfig({
|
||||||
|
adapter: netlify(),
|
||||||
|
+ output: 'server',
|
||||||
|
});
|
||||||
|
```
|
||||||
|
|
||||||
|
* [#3973](https://github.com/withastro/astro/pull/3973) [`5a23483ef`](https://github.com/withastro/astro/commit/5a23483efb3ba614b05a00064f84415620605204) Thanks [@matthewp](https://github.com/matthewp)! - Adds support for Astro.clientAddress
|
||||||
|
|
||||||
|
The new `Astro.clientAddress` property allows you to get the IP address of the requested user.
|
||||||
|
|
||||||
|
```astro
|
||||||
|
<div>Your address { Astro.clientAddress }</div>
|
||||||
|
```
|
||||||
|
|
||||||
|
This property is only available when building for SSR, and only if the adapter you are using supports providing the IP address. If you attempt to access the property in a SSG app it will throw an error.
|
||||||
|
|
||||||
|
### Patch Changes
|
||||||
|
|
||||||
|
- [#4023](https://github.com/withastro/astro/pull/4023) [`4ca6a0933`](https://github.com/withastro/astro/commit/4ca6a0933d92dd559327dd46a28712d918caebf7) Thanks [@matthewp](https://github.com/matthewp)! - Fixes Node adapter to accept a request body
|
||||||
|
|
||||||
## 0.1.6
|
## 0.1.6
|
||||||
|
|
||||||
### Patch Changes
|
### Patch Changes
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
"name": "@astrojs/node",
|
"name": "@astrojs/node",
|
||||||
"description": "Deploy your site to a Node.js server",
|
"description": "Deploy your site to a Node.js server",
|
||||||
"version": "0.1.6",
|
"version": "0.2.0",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"types": "./dist/index.d.ts",
|
"types": "./dist/index.d.ts",
|
||||||
"author": "withastro",
|
"author": "withastro",
|
||||||
|
|
|
@ -1,5 +1,11 @@
|
||||||
# @astrojs/partytown
|
# @astrojs/partytown
|
||||||
|
|
||||||
|
## 0.1.9
|
||||||
|
|
||||||
|
### Patch Changes
|
||||||
|
|
||||||
|
- [#4004](https://github.com/withastro/astro/pull/4004) [`ef9c4152b`](https://github.com/withastro/astro/commit/ef9c4152b2b399e25bf4e8aa7b37adcf6d0d8f17) Thanks [@sarah11918](https://github.com/sarah11918)! - [READMEs] removed "experimental" from astro add instructions
|
||||||
|
|
||||||
## 0.1.8
|
## 0.1.8
|
||||||
|
|
||||||
### Patch Changes
|
### Patch Changes
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
"name": "@astrojs/partytown",
|
"name": "@astrojs/partytown",
|
||||||
"description": "Astro + Partytown integration",
|
"description": "Astro + Partytown integration",
|
||||||
"version": "0.1.8",
|
"version": "0.1.9",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"types": "./dist/index.d.ts",
|
"types": "./dist/index.d.ts",
|
||||||
"author": "withastro",
|
"author": "withastro",
|
||||||
|
|
|
@ -1,5 +1,11 @@
|
||||||
# @astrojs/prefetch
|
# @astrojs/prefetch
|
||||||
|
|
||||||
|
## 0.0.6
|
||||||
|
|
||||||
|
### Patch Changes
|
||||||
|
|
||||||
|
- [#4004](https://github.com/withastro/astro/pull/4004) [`ef9c4152b`](https://github.com/withastro/astro/commit/ef9c4152b2b399e25bf4e8aa7b37adcf6d0d8f17) Thanks [@sarah11918](https://github.com/sarah11918)! - [READMEs] removed "experimental" from astro add instructions
|
||||||
|
|
||||||
## 0.0.5
|
## 0.0.5
|
||||||
|
|
||||||
### Patch Changes
|
### Patch Changes
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
"name": "@astrojs/prefetch",
|
"name": "@astrojs/prefetch",
|
||||||
"description": "Faster page navigations by prefetching links when the browser is idle.",
|
"description": "Faster page navigations by prefetching links when the browser is idle.",
|
||||||
"version": "0.0.5",
|
"version": "0.0.6",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"types": "./dist/index.d.ts",
|
"types": "./dist/index.d.ts",
|
||||||
"author": "withastro",
|
"author": "withastro",
|
||||||
|
|
|
@ -1,5 +1,38 @@
|
||||||
# @astrojs/sitemap
|
# @astrojs/sitemap
|
||||||
|
|
||||||
|
## 0.3.0
|
||||||
|
|
||||||
|
### Minor Changes
|
||||||
|
|
||||||
|
- [#4015](https://github.com/withastro/astro/pull/4015) [`6fd161d76`](https://github.com/withastro/astro/commit/6fd161d7691cbf9d3ffa4646e46059dfd0940010) Thanks [@matthewp](https://github.com/matthewp)! - New `output` configuration option
|
||||||
|
|
||||||
|
This change introduces a new "output target" configuration option (`output`). Setting the output target lets you decide the format of your final build, either:
|
||||||
|
|
||||||
|
- `"static"` (default): A static site. Your final build will be a collection of static assets (HTML, CSS, JS) that you can deploy to any static site host.
|
||||||
|
- `"server"`: A dynamic server application. Your final build will be an application that will run in a hosted server environment, generating HTML dynamically for different requests.
|
||||||
|
|
||||||
|
If `output` is omitted from your config, the default value `"static"` will be used.
|
||||||
|
|
||||||
|
When using the `"server"` output target, you must also include a runtime adapter via the `adapter` configuration. An adapter will _adapt_ your final build to run on the deployed platform of your choice (Netlify, Vercel, Node.js, Deno, etc).
|
||||||
|
|
||||||
|
To migrate: No action is required for most users. If you currently define an `adapter`, you will need to also add `output: 'server'` to your config file to make it explicit that you are building a server. Here is an example of what that change would look like for someone deploying to Netlify:
|
||||||
|
|
||||||
|
```diff
|
||||||
|
import { defineConfig } from 'astro/config';
|
||||||
|
import netlify from '@astrojs/netlify/functions';
|
||||||
|
|
||||||
|
export default defineConfig({
|
||||||
|
adapter: netlify(),
|
||||||
|
+ output: 'server',
|
||||||
|
});
|
||||||
|
```
|
||||||
|
|
||||||
|
### Patch Changes
|
||||||
|
|
||||||
|
- [#3978](https://github.com/withastro/astro/pull/3978) [`b37d7078a`](https://github.com/withastro/astro/commit/b37d7078a009869bf482912397a073dca490d3da) Thanks [@Chrissdroid](https://github.com/Chrissdroid)! - Update README to reflect `@astrojs/sitemap@0.2.0` changes
|
||||||
|
|
||||||
|
* [#4004](https://github.com/withastro/astro/pull/4004) [`ef9c4152b`](https://github.com/withastro/astro/commit/ef9c4152b2b399e25bf4e8aa7b37adcf6d0d8f17) Thanks [@sarah11918](https://github.com/sarah11918)! - [READMEs] removed "experimental" from astro add instructions
|
||||||
|
|
||||||
## 0.2.6
|
## 0.2.6
|
||||||
|
|
||||||
### Patch Changes
|
### Patch Changes
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
"name": "@astrojs/sitemap",
|
"name": "@astrojs/sitemap",
|
||||||
"description": "Generate a sitemap for Astro",
|
"description": "Generate a sitemap for Astro",
|
||||||
"version": "0.2.6",
|
"version": "0.3.0",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"types": "./dist/index.d.ts",
|
"types": "./dist/index.d.ts",
|
||||||
"author": "withastro",
|
"author": "withastro",
|
||||||
|
|
|
@ -1,5 +1,15 @@
|
||||||
# @astrojs/svelte
|
# @astrojs/svelte
|
||||||
|
|
||||||
|
## 0.5.0
|
||||||
|
|
||||||
|
### Minor Changes
|
||||||
|
|
||||||
|
- [#3570](https://github.com/withastro/astro/pull/3570) [`04070c0c1`](https://github.com/withastro/astro/commit/04070c0c12c00a3e17842ce48e36edc3f2c890a3) Thanks [@matthewp](https://github.com/matthewp)! - Bump to Vite 3!
|
||||||
|
|
||||||
|
### Patch Changes
|
||||||
|
|
||||||
|
- [#3993](https://github.com/withastro/astro/pull/3993) [`40a45e3ef`](https://github.com/withastro/astro/commit/40a45e3ef6284c024d442cf7cb8e36d8354a35d1) Thanks [@Princesseuh](https://github.com/Princesseuh)! - Fix optional props not being recognized properly in the editor
|
||||||
|
|
||||||
## 0.4.1
|
## 0.4.1
|
||||||
|
|
||||||
### Patch Changes
|
### Patch Changes
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "@astrojs/svelte",
|
"name": "@astrojs/svelte",
|
||||||
"version": "0.4.1",
|
"version": "0.5.0",
|
||||||
"description": "Use Svelte components within Astro",
|
"description": "Use Svelte components within Astro",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"types": "./dist/index.d.ts",
|
"types": "./dist/index.d.ts",
|
||||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue