e8e18a8: Fixes an issue where errors inside script and style tags could be offset by a few characters when multi bytes characters were present in the file
e8e18a8: Fixes an issue where errors inside script and style tags could be offset by a few characters when multi bytes characters were present in the file
#115711c3265a Thanks @bholmesdev! - BREAKING CHANGE to the experimental Actions API only. Install the latest @astrojs/react integration as well if you're using React 19 features.
Make .safe() the default return value for actions. This means { data, error } will be returned when calling an action directly. If you prefer to get the data while allowing errors to throw, chain the .orThrow() modifier.
import { actions } from 'astro:actions';
// Before
const { data, error } = await actions.like.safe();
// After
const { data, error } = await actions.like();
// Before
const newLikes = await actions.like();
// After
const newLikes = await actions.like.orThrow();
Migration
To migrate your existing action calls:
Remove .safe from existing safe action calls
Add .orThrow to existing unsafe action calls
#1157084189b6 Thanks @bholmesdev! - BREAKING CHANGE to the experimental Actions API only. Install the latest @astrojs/react integration as well if you're using React 19 features.
Updates the Astro Actions fallback to support action={actions.name} instead of using getActionProps(). This will submit a form to the server in zero-JS scenarios using a search parameter:
#116247adb350 Thanks @bluwy! - Prevents throwing errors when checking if a component is a React component in runtime
3.6.1
Patch Changes
#115711c3265a Thanks @bholmesdev! - BREAKING CHANGE to the experimental Actions API only. Install the latest @astrojs/react integration as well if you're using React 19 features.
Make .safe() the default return value for actions. This means { data, error } will be returned when calling an action directly. If you prefer to get the data while allowing errors to throw, chain the .orThrow() modifier.
import { actions } from 'astro:actions';
// Before
const { data, error } = await actions.like.safe();
// After
const { data, error } = await actions.like();
// Before
const newLikes = await actions.like();
// After
const newLikes = await actions.like.orThrow();
Migration
To migrate your existing action calls:
Remove .safe from existing safe action calls
Add .orThrow to existing unsafe action calls
#1157084189b6 Thanks @bholmesdev! - BREAKING CHANGE to the experimental Actions API only. Install the latest @astrojs/react integration as well if you're using React 19 features.
Updates the Astro Actions fallback to support action={actions.name} instead of using getActionProps(). This will submit a form to the server in zero-JS scenarios using a search parameter:
#11780c6622ad Thanks @Princesseuh! - Deprecates the Squoosh image service, to be removed in Astro 5.0. We recommend migrating to the default Sharp service.
#1179041c3fcb Thanks @sarah11918! - Updates the documentation for experimental astro:env with a corrected link to the RFC proposal
#1177386a3391 Thanks @ematipico! - Changes messages logged when using unsupported, deprecated, or experimental adapter features for clarity
#1174589bab1e Thanks @bluwy! - Prints prerender dynamic value usage warning only if it's used
#1177149650a4 Thanks @florian-lefebvre! - Fixes an error thrown by astro sync when an astro:env virtual module is imported inside the Content Collections config
#11744b677429 Thanks @bluwy! - Disables the WebSocket server when creating a Vite server for loading config files
astro@4.14.2
Patch Changes
#11733391324d Thanks @bluwy! - Reverts back to yargs-parser package for CLI argument parsing
When an HTML minifier strips away the server island comment, the script can't correctly know where the end of the fallback content is. This makes it so that it simply doesn't remove any DOM in that scenario. This means the fallback isn't removed, but it also doesn't crash the browser.
#11657a23c69d Thanks @bluwy! - Deprecates the option for route-generating files to export a dynamic value for prerender. Only static values are now supported (e.g. export const prerender = true or = false). This allows for better treeshaking and bundling configuration in the future.
Adds a new "astro:route:setup" hook to the Integrations API to allow you to dynamically set options for a route at build or request time through an integration, such as enabling on-demand server rendering.
To migrate from a dynamic export to the new hook, update or remove any dynamic prerender exports from individual routing files:
#11780c6622ad Thanks @Princesseuh! - Deprecates the Squoosh image service, to be removed in Astro 5.0. We recommend migrating to the default Sharp service.
#1179041c3fcb Thanks @sarah11918! - Updates the documentation for experimental astro:env with a corrected link to the RFC proposal
#1177386a3391 Thanks @ematipico! - Changes messages logged when using unsupported, deprecated, or experimental adapter features for clarity
#1174589bab1e Thanks @bluwy! - Prints prerender dynamic value usage warning only if it's used
#1177149650a4 Thanks @florian-lefebvre! - Fixes an error thrown by astro sync when an astro:env virtual module is imported inside the Content Collections config
#11744b677429 Thanks @bluwy! - Disables the WebSocket server when creating a Vite server for loading config files
4.14.2
Patch Changes
#11733391324d Thanks @bluwy! - Reverts back to yargs-parser package for CLI argument parsing
When an HTML minifier strips away the server island comment, the script can't correctly know where the end of the fallback content is. This makes it so that it simply doesn't remove any DOM in that scenario. This means the fallback isn't removed, but it also doesn't crash the browser.
#11657a23c69d Thanks @bluwy! - Deprecates the option for route-generating files to export a dynamic value for prerender. Only static values are now supported (e.g. export const prerender = true or = false). This allows for better treeshaking and bundling configuration in the future.
Adds a new "astro:route:setup" hook to the Integrations API to allow you to dynamically set options for a route at build or request time through an integration, such as enabling on-demand server rendering.
To migrate from a dynamic export to the new hook, update or remove any dynamic prerender exports from individual routing files:
To avoid this warning from being incorrectly triggered, the Vite plugin internally used by astro-expressive-code has now been split into two separate plugins, making sure that emitFile is only seen by Vite during build.
rehype-expressive-code@0.35.5
astro-expressive-code@0.35.4
Patch Changes
876d24c: Improves performance of client script managing tabindex on code samples. Thanks @delucis!
To avoid this warning from being incorrectly triggered, the Vite plugin internally used by astro-expressive-code has now been split into two separate plu...
_Description has been truncated_
Bumps the production-dependencies group with 17 updates in the / directory:
0.7.0
0.9.3
3.1.0
3.1.4
3.5.0
3.6.2
4.0.6
4.0.7
3.1.5
3.1.6
0.35.3
0.35.6
0.35.3
0.35.6
1.1.192
1.1.207
0.0.13
0.1.1
4.10.2
4.14.3
2.1.10
2.2.0
0.35.3
0.35.6
1.1.0
1.1.1
0.49.0
0.50.0
0.10.13
0.10.14
0.33.4
0.33.5
3.4.4
3.4.10
Updates
@astrojs/check
from 0.7.0 to 0.9.3Release notes
Sourced from
@astrojs/check
's releases.... (truncated)
Changelog
Sourced from
@astrojs/check
's changelog.... (truncated)
Commits
cb4dc89
Version Packages (#940)28dfebe
feat: Update to Volar 2.4.0 (#938)47d362e
chore: match main repo linting config and fix linting issues1172836
chore: update formatting config to match main repob6d5aab
Version Packages (#930)492b2bf
Version Packages (#926)93b5c30
Version Packages (#925)97d2558
Version Packages (#917)48689d1
Version Packages (#906)4a10d24
Version Packages (#899)Updates
@astrojs/mdx
from 3.1.0 to 3.1.4Release notes
Sourced from
@astrojs/mdx
's releases.Changelog
Sourced from
@astrojs/mdx
's changelog.Commits
7e2f142
[ci] release (#11739)48b85c1
fix(deps): update all non-major dependencies (#11765)423614e
Fix MDX stack trace location with frontmatter (#11717)315ec07
fix(deps): update all non-major dependencies (#11674)cc405dd
Simplify eslint and pnpm config (#11646)72c7ae9
update formatter config (#11640)ea82b03
Improve regex performance (#11635)69d54b4
Remove more unused code (#11598)750d532
fix(deps): update all non-major dependencies (#11565)aa05be3
[ci] release (#11481)Updates
@astrojs/react
from 3.5.0 to 3.6.2Release notes
Sourced from
@astrojs/react
's releases.... (truncated)
Changelog
Sourced from
@astrojs/react
's changelog.... (truncated)
Commits
8118120
[ci] release (#11654)7adb350
Prevent throwing in react and solid component checks (#11624)72c7ae9
update formatter config (#11640)750d532
fix(deps): update all non-major dependencies (#11565)49db004
[ci] release (#11524)1c3265a
Actions: Make.safe()
the default return value (#11571)84189b6
Actions: New fallback behavior withaction={actions.name}
(#11570)536209a
fix(deps): update all non-major dependencies (#11522)9c0c849
feat(container): client hydration (#11486)2113a56
fix(deps): update all non-major dependencies (#11426)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
@expressive-code/plugin-collapsible-sections
from 0.35.3 to 0.35.6Release notes
Sourced from
@expressive-code/plugin-collapsible-sections
's releases.Changelog
Sourced from
@expressive-code/plugin-collapsible-sections
's changelog.Commits
8acc2a0
[CI] Release (#233)a5673ec
[CI] Release (#232)c619dcc
[CI] Release (#229)Updates
@expressive-code/plugin-line-numbers
from 0.35.3 to 0.35.6Release notes
Sourced from
@expressive-code/plugin-line-numbers
's releases.Changelog
Sourced from
@expressive-code/plugin-line-numbers
's changelog.Commits
8acc2a0
[CI] Release (#233)a5673ec
[CI] Release (#232)c619dcc
[CI] Release (#229)Updates
@iconify-json/lucide
from 1.1.192 to 1.1.207Commits
8159cfe
Update Simple Icons5cfbe45
Update Unicons, Unicons Monochromed8d6419
Update Material Design Icons, Simple Icons, Unicons, Unicons Monochromeb378181
Update HeroIcons Outline, HeroIcons Solidd59357a
Update Carbon, Material Design Icons1b5091a
Update HeroIcons Outline, HeroIcons Solid, Google Material Icons, Material De...7e9cf22
Update Material Design Icons, Tabler Iconse23ae58
Update Material Design Icons, OpenMoji, Simple Icons9a765b9
Update Material Design Icons8c98f55
Update Carbon, Material Design IconsUpdates
@playform/compress
from 0.0.13 to 0.1.1Release notes
Sourced from
@playform/compress
's releases.Changelog
Sourced from
@playform/compress
's changelog.Commits
102cf84
Compress/v0.1.16e14ed6
9f29c58
a57453f
49166ac
de89ff0
706d8e2
d2fe28a
c3d64a4
Compress/v0.1.0bbd04c3
Updates
astro
from 4.10.2 to 4.14.3Release notes
Sourced from astro's releases.
... (truncated)
Changelog
Sourced from astro's changelog.
... (truncated)
Commits
7e2f142
[ci] release (#11739)41c3fcb
[docs] update link to astro:env RFC (#11790)c6622ad
Deprecate the Squoosh image service (#11780)1fd84b6
Remove unused code in internal scripts (#11769)88b6dca
[docs] fix indents (#11786)b558424
[ci] format86a3391
fix: adapter features messaging (#11773)c6400ab
fix: injectTypes path (#11774)826dc2a
[ci] formatad91977
[docs]pattern
to preserve ignoring files prefixed with an underscore (#11749)Updates
astro-critters
from 2.1.10 to 2.2.0Release notes
Sourced from astro-critters's releases.
Changelog
Sourced from astro-critters's changelog.
Commits
32f3032
AstroCritters/v2.2.08136bfb
9cf78d9
Merge branch 'Current' into Alternative549b570
Merge branch 'Current' of ssh://github.com/PlayForm/Inline into Current008aa60
Inline/v0.1.070c3ab5
Merge pull request #307 from PlayForm/dependabot/npm_and_yarn/playform/build-...7c60ad6
Bump@playform/build
from 0.1.1 to 0.1.2aabc4b9
4404b20
PlayForm/Inline#2955cc7856
Updates
astro-expressive-code
from 0.35.3 to 0.35.6Release notes
Sourced from astro-expressive-code's releases.
Changelog
Sourced from astro-expressive-code's changelog.