Skip to content

fix(deps): update dependency astro to v2.6.0 #137

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

Merged
merged 1 commit into from
Jun 6, 2023
Merged

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jun 6, 2023

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
astro (source) 2.5.7 -> 2.6.0 age adoption passing confidence

Release Notes

withastro/astro

v2.6.0

Compare Source

Minor Changes
  • #​7067 57f8d14c0 Thanks @​matthewp! - Experimental redirects support

    This change adds support for the redirects RFC, currently in stage 3: https://github.com/withastro/roadmap/pull/587

    Now you can specify redirects in your Astro config:

    import { defineConfig } from 'astro/config';
    
    export defineConfig({
      redirects: {
        '/blog/old-post': '/blog/new-post'
      }
    });

    You can also specify spread routes using the same syntax as in file-based routing:

    import { defineConfig } from 'astro/config';
    
    export defineConfig({
      redirects: {
        '/blog/[...slug]': '/articles/[...slug]'
      }
    });

    By default Astro will build HTML files that contain the <meta http-equiv="refresh"> tag. Adapters can also support redirect routes and create configuration for real HTTP-level redirects in production.

  • #​7237 414eb19d2 Thanks @​bluwy! - Remove experimental flag for custom client directives

  • #​7274 b5213654b Thanks @​Princesseuh! - Update base tsconfig.json template with allowJs: true to provide a better relaxed experience for users unfamilliar with TypeScript. allowJs is still set to false (its default value) when using the strictest preset.

  • #​7180 e3b8c6296 Thanks @​lilnasy! - The Inline Stylesheets RFC is now stable!

    You can now control how Astro bundles your css with a configuration change:

    export default defineConfig({
        ...
        build: {
            inlineStylesheets: "auto"
        }
        ...
    })

    The options:

    • inlineStylesheets: "never": This is the behavior you are familiar with. Every stylesheet is external, and added to the page via a <link> tag. Default.
    • inlineStylesheets: "auto": Small stylesheets are inlined into <style> tags and inserted into <head>, while larger ones remain external.
    • inlineStylesheets: "always": Every style required by the page is inlined.

    As always, css files in the public folder are not affected.

  • #​7260 39403c32f Thanks @​natemoo-re! - Unflags support for output: 'hybrid' mode, which enables pre-rendering by default. The additional experimental.hybridOutput flag can be safely removed from your configuration.

  • #​7109 101f03209 Thanks @​ematipico! - Remove experimental flag for the middleware

Patch Changes

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot temporarily deployed to pr-137 June 6, 2023 17:52 Inactive
@ansidev ansidev merged commit 9a54b99 into develop Jun 6, 2023
@ansidev ansidev temporarily deployed to preview June 6, 2023 19:30 — with GitHub Actions Inactive
@renovate renovate bot deleted the renovate/astro-2.x branch June 6, 2023 19:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant