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

[ci] release #7295

Merged
merged 1 commit into from
Jun 6, 2023
Merged

[ci] release #7295

merged 1 commit into from
Jun 6, 2023

Conversation

astrobot-houston
Copy link
Contributor

@astrobot-houston astrobot-houston commented Jun 5, 2023

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.

Releases

astro@2.6.0

Minor Changes

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

    This change adds support for the redirects RFC, currently in stage 3: Redirects RFC roadmap#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

@astrojs/cloudflare@6.4.0

Minor Changes

  • #7067 57f8d14c0 Thanks @matthewp! - Support for experimental redirects

    This adds support for the redirects RFC in the Cloudflare adapter. No changes are necessary, simply use configured redirects and the adapter will update your _redirects file.

Patch Changes

@astrojs/image@0.17.0

Minor Changes

  • #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.

Patch Changes

@astrojs/netlify@2.3.0

Minor Changes

  • #7067 57f8d14c0 Thanks @matthewp! - Support for experimental redirects

    This adds support for the redirects RFC in the Netlify adapter, including a new @astrojs/netlify/static adapter for static sites.

    No changes are necessary when using SSR. Simply use configured redirects and the adapter will update your _redirects file.

Patch Changes

@astrojs/node@5.2.0

Minor Changes

  • #7227 4929332c3 Thanks @alex-sherwin! - Fixes NodeJS adapter for multiple set-cookie headers and combining AstroCookies and Response.headers cookies

Patch Changes

@astrojs/vercel@3.5.0

Minor Changes

  • #7067 57f8d14c0 Thanks @matthewp! - Support for experimental redirects

    This adds support for the redirects RFC in the Vercel adapter. No changes are necessary, simply use configured redirects and the adapter will output the vercel.json file with the configuration values.

Patch Changes

@github-actions github-actions bot added pkg: astro Related to the core `astro` package (scope) pkg: svelte Related to Svelte (scope) pkg: vue Related to Vue (scope) pkg: integration Related to any renderer integration (scope) labels Jun 5, 2023
@github-actions github-actions bot force-pushed the changeset-release/main branch 3 times, most recently from 37faf09 to 17eb3f3 Compare June 5, 2023 13:05
@github-actions github-actions bot requested a review from a team as a code owner June 5, 2023 13:05
Copy link
Contributor

@matthewp matthewp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Blocking b/c this is a minor

@github-actions github-actions bot force-pushed the changeset-release/main branch 16 times, most recently from eaaa6ec to 0e1199c Compare June 6, 2023 15:11
@natemoo-re natemoo-re merged commit d5a0898 into main Jun 6, 2023
@natemoo-re natemoo-re deleted the changeset-release/main branch June 6, 2023 15:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pkg: astro Related to the core `astro` package (scope) pkg: integration Related to any renderer integration (scope) pkg: svelte Related to Svelte (scope) pkg: vue Related to Vue (scope)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants