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:
For Server islands Astro creates a cryptography key in order to hash props for the islands, preventing accidental leakage of secrets.
If you deploy to an environment with rolling updates then there could be multiple instances of your app with different keys, causing potential key mismatches.
To fix this you can now pass the ASTRO_KEY environment variable to your build in order to reuse the same key.
To generate a key use:
astro create-key
This will print out an environment variable to set like:
#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.
For Server islands Astro creates a cryptography key in order to hash props for the islands, preventing accidental leakage of secrets.
If you deploy to an environment with rolling updates then there could be multiple instances of your app with different keys, causing potential key mismatches.
To fix this you can now pass the ASTRO_KEY environment variable to your build in order to reuse the same key.
To generate a key use:
astro create-key
This will print out an environment variable to set like:
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 version.
Patch Changes
Updated dependencies [bff1106]
Updated dependencies [ca54f6e]
rehype-expressive-code@0.36.0
astro-expressive-code@0.35.6
Patch Changes
ffab5a5: Hides the copy code button in case JavaScript is disabled. Thank you @imkunet!
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!
370a236: Fixes type incompatibility with Astro v4.15. Thank you @delucis!
rehype-expressive-code@0.36.1
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...
_Description has been truncated_
Bumps the production-dependencies group with 18 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
5.0.11
5.1.0
1.1.192
1.2.3
0.0.13
0.1.1
4.10.2
4.15.4
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.11
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.6Changelog
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
@fontsource/ia-writer-mono
from 5.0.11 to 5.1.0Commits
Updates
@iconify-json/lucide
from 1.1.192 to 1.2.3Commits
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.4Release notes
Sourced from astro's releases.
... (truncated)
Changelog
Sourced from astro's changelog.
... (truncated)
Commits
0d50d75
[ci] release (#11936)c0c9645
[ci] formatbd1d4aa
Allow passing into the crypto key via ASTRO_KEY (#11879)4a44e82
fix: explicitly check for null props inserializeSignals
(#11930)c58193a
fix(add): Use proper export names when adding adapters (#11935)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] formatUpdates
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.
Changelog
Sourced from astro-expressive-code's changelog.