EngineeringKiosk / webpage

Landing page hosted on netlify
0 stars 1 forks source link

Bump astro from 4.10.1 to 4.11.1 #825

Closed dependabot[bot] closed 2 months ago

dependabot[bot] commented 2 months ago

Bumps astro from 4.10.1 to 4.11.1.

Release notes

Sourced from astro's releases.

astro@4.11.1

Patch Changes

  • #11308 44c61dd Thanks @​ematipico! - Fixes an issue where custom 404.astro and 500.astro were not returning the correct status code when rendered inside a rewriting cycle.

  • #11302 0622567 Thanks @​martrapp! - Fixes an issue with the view transition router when redirecting to an URL with different origin.

  • Updated dependencies [b6afe6a, 41064ce]:

    • @​astrojs/markdown-remark@​5.1.1
    • @​astrojs/internal-helpers@​0.4.1

astro@4.11.0

Minor Changes

  • #11197 4b46bd9 Thanks @​braebo! - Adds ShikiTransformer support to the <Code /> component with a new transformers prop.

    Note that transformers only applies classes and you must provide your own CSS rules to target the elements of your code block.

    ---
    import { transformerNotationFocus } from '@shikijs/transformers';
    import { Code } from 'astro:components';
    

    const code = const foo = 'hello' const bar = ' world' console.log(foo + bar) // [!code focus] ;

    <Code {code} lang="js" transformers={[transformerNotationFocus()]} />

    <style is:global> pre.has-focused .line:not(.focused) { filter: blur(1px); } </style>

  • #11134 9042be0 Thanks @​florian-lefebvre! - Improves the developer experience of the 500.astro file by passing it a new error prop.

    When an error is thrown, the special src/pages/500.astro page now automatically receives the error as a prop. This allows you to display more specific information about the error on a custom 500 page.

    ---
    // src/pages/500.astro
    interface Props {
      error: unknown;
    }
    

    const { error } = Astro.props;

... (truncated)

Changelog

Sourced from astro's changelog.

4.11.1

Patch Changes

  • #11308 44c61dd Thanks @​ematipico! - Fixes an issue where custom 404.astro and 500.astro were not returning the correct status code when rendered inside a rewriting cycle.

  • #11302 0622567 Thanks @​martrapp! - Fixes an issue with the view transition router when redirecting to an URL with different origin.

  • Updated dependencies [b6afe6a, 41064ce]:

    • @​astrojs/markdown-remark@​5.1.1
    • @​astrojs/internal-helpers@​0.4.1

4.11.0

Minor Changes

  • #11197 4b46bd9 Thanks @​braebo! - Adds ShikiTransformer support to the <Code /> component with a new transformers prop.

    Note that transformers only applies classes and you must provide your own CSS rules to target the elements of your code block.

    ---
    import { transformerNotationFocus } from '@shikijs/transformers';
    import { Code } from 'astro:components';
    

    const code = const foo = 'hello' const bar = ' world' console.log(foo + bar) // [!code focus] ;

    <Code {code} lang="js" transformers={[transformerNotationFocus()]} />

    <style is:global> pre.has-focused .line:not(.focused) { filter: blur(1px); } </style>

  • #11134 9042be0 Thanks @​florian-lefebvre! - Improves the developer experience of the 500.astro file by passing it a new error prop.

    When an error is thrown, the special src/pages/500.astro page now automatically receives the error as a prop. This allows you to display more specific information about the error on a custom 500 page.

    ---
    // src/pages/500.astro
    interface Props {
      error: unknown;
    }
    

... (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 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)
netlify[bot] commented 2 months ago

Deploy Preview for nifty-bardeen-5c7e53 ready!

Name Link
Latest commit 3a4a23f9a0dc01df9759a00c2b8a719a5182a95e
Latest deploy log https://app.netlify.com/sites/nifty-bardeen-5c7e53/deploys/667a6179359bd60008498abc
Deploy Preview https://deploy-preview-825--nifty-bardeen-5c7e53.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.