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:
#117291c54e63 Thanks @ematipico! - Adds a new variant sync for the astro:config:setup hook's command property. This value is set when calling the command astro sync.
If your integration previously relied on knowing how many variants existed for the command property, you must update your logic to account for this new option.
#11743cce0894 Thanks @ph1p! - Adds a new, optional property timeout for the client:idle directive.
This value allows you to specify a maximum time to wait, in milliseconds, before hydrating a UI framework component, even if the page is not yet done with its initial load. This means you can delay hydration for lower-priority UI elements with more control to ensure your element is interactive within a specified time frame.
<ShowHideButton client:idle={{ timeout: 500 }} />
#11677cb356a5 Thanks @ematipico! - Adds a new option fallbackType to i18n.routing configuration that allows you to control how fallback pages are handled.
When i18n.fallback is configured, this new routing option controls whether to redirect to the fallback page, or to rewrite the fallback page's content in place.
The "redirect" option is the default value and matches the current behavior of the existing fallback system.
The option "rewrite" uses the new rewriting system to create fallback pages that render content on the original, requested URL without a browser refresh.
For example, the following configuration will generate a page /fr/index.html that will contain the same HTML rendered by the page /en/index.html when src/pages/fr/index.astro does not exist.
#117291c54e63 Thanks @ematipico! - Adds a new variant sync for the astro:config:setup hook's command property. This value is set when calling the command astro sync.
If your integration previously relied on knowing how many variants existed for the command property, you must update your logic to account for this new option.
#11743cce0894 Thanks @ph1p! - Adds a new, optional property timeout for the client:idle directive.
This value allows you to specify a maximum time to wait, in milliseconds, before hydrating a UI framework component, even if the page is not yet done with its initial load. This means you can delay hydration for lower-priority UI elements with more control to ensure your element is interactive within a specified time frame.
<ShowHideButton client:idle={{ timeout: 500 }} />
#11677cb356a5 Thanks @ematipico! - Adds a new option fallbackType to i18n.routing configuration that allows you to control how fallback pages are handled.
When i18n.fallback is configured, this new routing option controls whether to redirect to the fallback page, or to rewrite the fallback page's content in place.
The "redirect" option is the default value and matches the current behavior of the existing fallback system.
370a236: Fixes type incompatibility with Astro v4.15. Thank you @delucis!
rehype-expressive-code@0.36.1
astro-expressive-code@0.36.0
Minor Changes
bff1106: Adds the experimental transformers option to the Shiki plugin. Thank you @MichaelMakesGames!
This option allows you to specify a list of Shiki transformers to be called during syntax highlighting.
Important: This option is marked as experimental because it only supports a very limited subset of Shiki transformer features right now. Most importantly, transformers cannot modify a code block's text contents in any way, so most popular transformers will not work.
In its current state, this option allows you to use transformers that solely modify the tokens produced by Shiki to improve syntax highlighting, e.g. applying bracket matching or changing the color of certain tokens.
Attempting to pass incompatible transformers to this option will throw an error. This is not a bug, neither in Expressive Code, nor in Shiki or the transformers. Please do not report incompatibilities to other authors, as they are unable to fix them. The current limitations exist because the Shiki transformer API is incompatible with Expressive Code's architecture, and we will continue to work on closing the gap and improving this feature.
ca54f6e: Updates Shiki dependency to the latest vers...
_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.5
3.5.0
3.6.2
4.0.6
4.0.7
3.1.5
3.1.6
0.35.3
0.36.1
0.35.3
0.36.1
1.1.192
1.2.2
0.0.13
0.1.1
4.10.2
4.15.3
2.1.10
2.2.0
0.35.3
0.36.1
1.1.0
1.1.1
0.49.0
0.51.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.5Release notes
Sourced from
@astrojs/mdx
's releases.Changelog
Sourced from
@astrojs/mdx
's changelog.Commits
5af8b4f
[ci] release (#11835)26c63a2
fix(deps): update all non-major dependencies (#11837)88ef1d0
Fix MDX layout style ordering (#11818)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)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.36.1Release notes
Sourced from
@expressive-code/plugin-collapsible-sections
's releases.Changelog
Sourced from
@expressive-code/plugin-collapsible-sections
's changelog.Commits
c578dde
[CI] Release (#240)1db8219
[CI] Release (#236)8acc2a0
[CI] Release (#233)a5673ec
[CI] Release (#232)c619dcc
[CI] Release (#229)Updates
@expressive-code/plugin-line-numbers
from 0.35.3 to 0.36.1Release notes
Sourced from
@expressive-code/plugin-line-numbers
's releases.Changelog
Sourced from
@expressive-code/plugin-line-numbers
's changelog.Commits
c578dde
[CI] Release (#240)1db8219
[CI] Release (#236)8acc2a0
[CI] Release (#233)a5673ec
[CI] Release (#232)c619dcc
[CI] Release (#229)Updates
@iconify-json/lucide
from 1.1.192 to 1.2.2Commits
Updates
@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.15.3Release notes
Sourced from astro's releases.
... (truncated)
Changelog
Sourced from astro's changelog.
... (truncated)
Commits
65bfefb
[ci] release (#11909)ca54e3f
perf(astro/assets): avoid downloading original image when using cache (#11904)5d7bc70
[ci] format7ff7134
Provide an error message when Actions throws in setup (#11886)f696051
[ci] formatd63bc50
fix: keep data store outside of node_modules during dev (#11902)cd54210
Remove unused types (#11895)8a1abcf
fix(deps): update dependency vitefu to v1 (#11899)60d8e30
[ci] release (#11883)80b4a18
Fix user-facing type fori18n.routing.fallbackType
(#11900)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.36.1Release notes
Sourced from astro-expressive-code's releases.