Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump astro-expressive-code from 0.32.4 to 0.33.5 #16

Closed

Conversation

dependabot[bot]
Copy link

@dependabot dependabot bot commented on behalf of github Apr 1, 2024

Bumps astro-expressive-code from 0.32.4 to 0.33.5.

Release notes

Sourced from astro-expressive-code's releases.

[email protected]

Patch Changes

  • ccbc264: Updates handling of Astro config option build.assetsPrefix to support new file extension-based alternatives added in Astro 4.5.0.
  • 2469749: Improves word wrap behavior on very narrow screens and when using larger font sizes by allowing wrapping to start at column 20 instead of 30.
  • acd3266: Adds prerender: true flag to injected asset routes to enable hybrid rendering once it's also supported for .ts entrypoints by Astro.
  • Updated dependencies [2469749]

[email protected]

Patch Changes

[email protected]

Patch Changes

  • f15b9f4: Reverts language loading of plugin-shiki to the previous behavior to work around an apparent race condition.
  • Updated dependencies [f15b9f4]

[email protected]

Patch Changes

[email protected]

Patch Changes

  • f3ac898: Fixes an issue where lines containing a very long word after the initial indentation would wrap incorrectly.
  • Updated dependencies [f3ac898]

[email protected]

Minor Changes

  • b7a0607: Adds word wrap support to all Expressive Code blocks.

    By setting the new wrap prop to true (either in the opening code fence, as a prop on the <Code> component, or in the defaultProps config option), word wrapping will be enabled, causing lines that exceed the available width to wrap to the next line. The default value of false will instead cause a horizontal scrollbar to appear in such cases.

    The word wrap behavior can be further customized using the new preserveIndent prop. If true (which is the default), wrapped parts of long lines will be aligned with their line's indentation level, making the wrapped code appear to start at the same column. This increases readability of the wrapped code and can be especially useful for languages where indentation is significant, e.g. Python.

    If you prefer wrapped parts of long lines to always start at column 1, you can set preserveIndent to false. This can be useful to reproduce terminal output.

  • b7a0607: Adds a new gutter API that allows plugins to render gutter elements before code lines.

    Using the new addGutterElement API accessible through the hook context argument, plugins can add gutter elements to a code block. The function expects an object matching the new GutterElement interface.

    During rendering, the engine calls the renderLine function of the gutter elements registered by all plugins for every line of the code block. The returned elements are then added as children to the line's gutter container.

... (truncated)

Changelog

Sourced from astro-expressive-code's changelog.

0.33.5

Patch Changes

  • ccbc264: Updates handling of Astro config option build.assetsPrefix to support new file extension-based alternatives added in Astro 4.5.0.
  • 2469749: Improves word wrap behavior on very narrow screens and when using larger font sizes by allowing wrapping to start at column 20 instead of 30.
  • acd3266: Adds prerender: true flag to injected asset routes to enable hybrid rendering once it's also supported for .ts entrypoints by Astro.
  • Updated dependencies [2469749]

0.33.4

Patch Changes

0.33.3

Patch Changes

  • f15b9f4: Reverts language loading of plugin-shiki to the previous behavior to work around an apparent race condition.
  • Updated dependencies [f15b9f4]

0.33.2

Patch Changes

0.33.1

Patch Changes

  • f3ac898: Fixes an issue where lines containing a very long word after the initial indentation would wrap incorrectly.
  • Updated dependencies [f3ac898]

0.33.0

Minor Changes

  • b7a0607: Adds word wrap support to all Expressive Code blocks.

    By setting the new wrap prop to true (either in the opening code fence, as a prop on the <Code> component, or in the defaultProps config option), word wrapping will be enabled, causing lines that exceed the available width to wrap to the next line. The default value of false will instead cause a horizontal scrollbar to appear in such cases.

    The word wrap behavior can be further customized using the new preserveIndent prop. If true (which is the default), wrapped parts of long lines will be aligned with their line's indentation level, making the wrapped code appear to start at the same column. This increases readability of the wrapped code and can be especially useful for languages where indentation is significant, e.g. Python.

    If you prefer wrapped parts of long lines to always start at column 1, you can set preserveIndent to false. This can be useful to reproduce terminal output.

... (truncated)

Commits

Dependabot compatibility score

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 <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [astro-expressive-code](https://github.com/expressive-code/expressive-code/tree/HEAD/packages/astro-expressive-code) from 0.32.4 to 0.33.5.
- [Release notes](https://github.com/expressive-code/expressive-code/releases)
- [Changelog](https://github.com/expressive-code/expressive-code/blob/main/packages/astro-expressive-code/CHANGELOG.md)
- [Commits](https://github.com/expressive-code/expressive-code/commits/[email protected]/packages/astro-expressive-code)

---
updated-dependencies:
- dependency-name: astro-expressive-code
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Apr 1, 2024
@MilesHoover
Copy link
Owner

MilesHoover commented Apr 1, 2024

Deploy Preview for hilarious-pithivier-a7dc1a ready!

Name Link
🔨 Latest commit 9a720e3
🔍 Latest deploy log https://app.netlify.com/sites/hilarious-pithivier-a7dc1a/deploys/660b11bebe6e1400085d488a
😎 Deploy Preview https://deploy-preview-16--hilarious-pithivier-a7dc1a.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link
Author

dependabot bot commented on behalf of github May 1, 2024

Superseded by #33.

@dependabot dependabot bot closed this May 1, 2024
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/astro-expressive-code-0.33.5 branch May 1, 2024 19:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant