b8a6af3: Upgrades to the latest version of Volar, the underlying framework powering the Astro language server. This update should fix some of the recent issues regarding intellisense inside script tags.
b8a6af3: Upgrades to the latest version of Volar, the underlying framework powering the Astro language server. This update should fix some of the recent issues regarding intellisense inside script tags.
#112344385bf7 Thanks @ematipico! - Adds a new function called addServerRenderer to the Container API. Use this function to manually store renderers inside the instance of your container.
This new function should be preferred when using the Container API in environments like on-demand pages:
import type { APIRoute } from 'astro';
import { experimental_AstroContainer } from 'astro/container';
import reactRenderer from '@astrojs/react/server.js';
import vueRenderer from '@astrojs/vue/server.js';
import ReactComponent from '../components/button.jsx';
import VueComponent from '../components/button.vue';
// MDX runtime is contained inside the Astro core
import mdxRenderer from 'astro/jsx/server.js';
// In case you need to import a custom renderer
import customRenderer from '../renderers/customRenderer.js';
export const GET: APIRoute = async (ctx) => {
const container = await experimental_AstroContainer.create();
container.addServerRenderer({ renderer: reactRenderer });
container.addServerRenderer({ renderer: vueRenderer });
container.addServerRenderer({ renderer: customRenderer });
// You can pass a custom name too
container.addServerRenderer({
name: 'customRenderer',
renderer: customRenderer,
});
const vueComponent = await container.renderToString(VueComponent);
return await container.renderToResponse(Component);
};
#112344385bf7 Thanks @ematipico! - Adds a new function called addServerRenderer to the Container API. Use this function to manually store renderers inside the instance of your container.
This new function should be preferred when using the Container API in environments like on-demand pages:
import type { APIRoute } from 'astro';
import { experimental_AstroContainer } from 'astro/container';
import reactRenderer from '@astrojs/react/server.js';
import vueRenderer from '@astrojs/vue/server.js';
import ReactComponent from '../components/button.jsx';
import VueComponent from '../components/button.vue';
// MDX runtime is contained inside the Astro core
import mdxRenderer from 'astro/jsx/server.js';
// In case you need to import a custom renderer
import customRenderer from '../renderers/customRenderer.js';
export const GET: APIRoute = async (ctx) => {
const container = await experimental_AstroContainer.create();
container.addServerRenderer({ renderer: reactRenderer });
container.addServerRenderer({ renderer: vueRenderer });
container.addServerRenderer({ renderer: customRenderer });
// You can pass a custom name too
container.addServerRenderer({
name: 'customRenderer',
renderer: customRenderer,
});
const vueComponent = await container.renderToString(VueComponent);
return await container.renderToResponse(Component);
};
#11459bc2e74d Thanks @mingjunlu! - Fixes false positive audit warnings on elements with the role "tabpanel".
#11472cb4e6d0 Thanks @delucis! - Avoids targeting all files in the src/ directory for eager optimization by Vite. After this change, only JSX, Vue, Svelte, and Astro components get scanned for early optimization.
#114376ccb30e Thanks @NuroDev! - Fixes a case where Astro's config experimental.env.schema keys did not allow numbers. Numbers are still not allowed as the first character to be able to generate valid JavaScript identifiers
#1143908baf56 Thanks @bholmesdev! - Expands the isInputError() utility from astro:actions to accept errors of any type. This should now allow type narrowing from a try / catch block.
// example.ts
import { actions, isInputError } from 'astro:actions';
#114520e66849 Thanks @FugiTech! - Fixes an issue where using .nullish() in a formdata Astro action would always parse as a string
#11438619f07d Thanks @bholmesdev! - Exposes utility types from astro:actions for the defineAction handler (ActionHandler) and the ActionError code (ActionErrorCode).
#1145617e048d Thanks @RickyC0626! - Fixes astro dev --open unexpected behavior that spawns a new tab every time a config file is saved
#113370a4b31f Thanks @florian-lefebvre! - Adds a new property experimental.env.validateSecrets to allow validating private variables on the server.
By default, this is set to false and only public variables are checked on start. If enabled, secrets will also be checked on start (dev/build modes). This is useful for example in some CIs to make sure all your secrets are correctly set before deploying.
// astro.config.mjs
import { defineConfig, envField } from 'astro/config';
#11459bc2e74d Thanks @mingjunlu! - Fixes false positive audit warnings on elements with the role "tabpanel".
#11472cb4e6d0 Thanks @delucis! - Avoids targeting all files in the src/ directory for eager optimization by Vite. After this change, only JSX, Vue, Svelte, and Astro components get scanned for early optimization.
#114376ccb30e Thanks @NuroDev! - Fixes a case where Astro's config experimental.env.schema keys did not allow numbers. Numbers are still not allowed as the first character to be able to generate valid JavaScript identifiers
#1143908baf56 Thanks @bholmesdev! - Expands the isInputError() utility from astro:actions to accept errors of any type. This should now allow type narrowing from a try / catch block.
// example.ts
import { actions, isInputError } from 'astro:actions';
#114520e66849 Thanks @FugiTech! - Fixes an issue where using .nullish() in a formdata Astro action would always parse as a string
#11438619f07d Thanks @bholmesdev! - Exposes utility types from astro:actions for the defineAction handler (ActionHandler) and the ActionError code (ActionErrorCode).
#1145617e048d Thanks @RickyC0626! - Fixes astro dev --open unexpected behavior that spawns a new tab every time a config file is saved
#113370a4b31f Thanks @florian-lefebvre! - Adds a new property experimental.env.validateSecrets to allow validating private variables on the server.
By default, this is set to false and only public variables are checked on start. If enabled, secrets will also be checked on start (dev/build modes). This is useful for example in some CIs to make sure all your secrets are correctly set before deploying.
// astro.config.mjs
import { defineConfig, envField } from 'astro/config';
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore major version` will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
- `@dependabot ignore minor version` will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
- `@dependabot ignore ` will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
- `@dependabot unignore ` will remove all of the ignore conditions of the specified dependency
- `@dependabot unignore ` will remove the ignore condition of the specified dependency and ignore conditions
Bumps the production-dependencies group with 10 updates in the / directory:
0.7.0
0.8.2
3.1.0
3.1.2
3.5.0
3.6.0
4.0.6
4.0.7
3.1.5
3.1.6
1.1.192
1.1.200
4.10.2
4.11.6
0.49.0
0.50.0
0.10.13
0.10.14
3.4.4
3.4.6
Updates
@astrojs/check
from 0.7.0 to 0.8.2Release notes
Sourced from
@astrojs/check
's releases.Changelog
Sourced from
@astrojs/check
's changelog.Commits
48689d1
Version Packages (#906)4a10d24
Version Packages (#899)9e45765
Version Packages (#894)b8a6af3
feat: Update to Volar 2.4 alpha (#879)a1769da
Add@astrojs/check
README (#883)Updates
@astrojs/mdx
from 3.1.0 to 3.1.2Release notes
Sourced from
@astrojs/mdx
's releases.Changelog
Sourced from
@astrojs/mdx
's changelog.Commits
ce310f8
[ci] release (#11297)47e78d4
fix(deps): update all non-major dependencies (#11318)83c565b
[ci] release (#11233)7d59750
chore: logging cleanup (#11263)68f1d0d
chore(deps): update all non-major dependencies (#11269)8725cb2
fix(deps): update all non-major dependencies (#11222)Updates
@astrojs/react
from 3.5.0 to 3.6.0Release notes
Sourced from
@astrojs/react
's releases.Changelog
Sourced from
@astrojs/react
's changelog.Commits
83c565b
[ci] release (#11233)68f1d0d
chore(deps): update all non-major dependencies (#11269)fd9da98
feat: refine container APIs for renderers (#11251)a6df7e8
[ci] format4385bf7
feat(@astrojs/react
): export renderer for easy loading (#11234)8725cb2
fix(deps): update all non-major dependencies (#11222)Updates
@astrojs/rss
from 4.0.6 to 4.0.7Release notes
Sourced from
@astrojs/rss
's releases.Changelog
Sourced from
@astrojs/rss
's changelog.Commits
ce310f8
[ci] release (#11297)8ce66f2
fix(rss): correct types forRSSFeedItem
(#11299)464b0a1
fix(deps): update all non-major dependencies (#11151)Updates
@astrojs/sitemap
from 3.1.5 to 3.1.6Release notes
Sourced from
@astrojs/sitemap
's releases.Changelog
Sourced from
@astrojs/sitemap
's changelog.Commits
83c565b
[ci] release (#11233)7d59750
chore: logging cleanup (#11263)464b0a1
fix(deps): update all non-major dependencies (#11151)Updates
@iconify-json/lucide
from 1.1.192 to 1.1.200Commits
e23ae58
Update Material Design Icons, OpenMoji, Simple Icons9a765b9
Update Material Design Icons8c98f55
Update Carbon, Material Design Iconsd0d7ab6
Update Codicons, Octiconsc141407
Update Material Design Icons, OpenMojic31a1e1
Update Material Design Icons, Simple Iconsaccd74a
Update HeroIcons Outline, HeroIcons Solid, Material Design Icons, OpenMoji, U...1073ca5
Update Material Design Icons, Noto EmojiUpdates
astro
from 4.10.2 to 4.11.6Release notes
Sourced from astro's releases.
... (truncated)
Changelog
Sourced from astro's changelog.
... (truncated)
Commits
e30cf49
[ci] release (#11442)0e66849
Fix action form parsing for .nullish (#11452)3b94324
[ci] format645e128
feat: better astro:env errors (#11455)3f4735e
[ci] formatb498461
Fix prerendering with unused dynamic chunks (#11387)cb4e6d0
Only add framework component formats to Vite’soptimizeDeps
(#11472)3070691
fix(deps): update dependency p-limit to v6 (#11427)49463c0
fix(deps): update dependency preferred-pm to v4 (#11428)b482f91
fix(deps): update dependency which-pm to v3 (#11429)Updates
monaco-editor
from 0.49.0 to 0.50.0Release notes
Sourced from monaco-editor's releases.
... (truncated)
Changelog
Sourced from monaco-editor's changelog.
Commits
c321d0f
Merge pull request #4572 from microsoft/satisfactory-beetle29a4a3a
updating the version in the package.json fileada2b3d
Merge pull request #4570 from microsoft/dependabot/npm_and_yarn/ws-8.17.18a98f87
Bump ws from 8.4.2 to 8.17.1d15d6ba
Bump express from 4.18.1 to 4.19.2 in /website (#4447)654fd3d
Bump express from 4.18.1 to 4.19.2 in /samples (#4446)1eed447
Bump braces from 3.0.2 to 3.0.3 in /samples (#4565)f883fe9
Bump braces from 3.0.2 to 3.0.3 (#4564)c49fdf9
Merge pull request #4482 from jakebailey/emit-file-diagnostics045e29b
Merge pull request #4504 from htcfreek/patch-1Updates
satori
from 0.10.13 to 0.10.14Release notes
Sourced from satori's releases.
Commits
965b3a1
fix: incorrect data URL parsing (#596)3d3bee3
chore: Remove Node 18 from CI; update test snapshots (#620)d1dfcce
Correctly position font baseline and line-height (#599)Updates
tailwindcss
from 3.4.4 to 3.4.6Release notes
Sourced from tailwindcss's releases.
Changelog
Sourced from tailwindcss's changelog.
Commits
d622977
Update changelog0573c07
Loosen :is() wrapping rules in applyImportantSelector for more readable outpu...9c29e47
3.4.6daa5266
Update changelogae6a8d5
Fix extracting utilities from slim/pug templates (#14006)a0dbb3d
Update runner image10a1197
3.4.59033d62
Always generate -webkit-backdrop-filter property (#13997)074736c
Avoid over-extracting utilities from candidates with decimal values (#13959)588a822
Add.mts
and.cts
config file detection (#13940)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show