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 #6977

Merged
merged 1 commit into from
May 4, 2023
Merged

[ci] release #6977

merged 1 commit into from
May 4, 2023

Conversation

astrobot-houston
Copy link
Contributor

@astrobot-houston astrobot-houston commented May 3, 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.4.0

Minor Changes

  • #6990 818252acd Thanks @Princesseuh! - Generated optimized images are now cached inside the node_modules/.astro/assets folder. The cached images will be used to avoid doing extra work and speed up subsequent builds.

  • #6659 80e3d4d3d Thanks @lilnasy! - Implement Inline Stylesheets RFC as experimental

  • #6771 3326492b9 Thanks @matthewp! - Implements a new class-based scoping strategy

    This implements the Scoping RFC, providing a way to opt in to increased style specificity for Astro component styles.

    This prevents bugs where global styles override Astro component styles due to CSS ordering and the use of element selectors.

    To enable class-based scoping, you can set it in your config:

    import { defineConfig } from 'astro/config';
    
    export default defineConfig({
      scopedStyleStrategy: 'class',
    });

    Note that the 0-specificity :where pseudo-selector is still the default strategy. The intent is to change 'class' to be the default in 3.0.

  • #6959 cac4a321e Thanks @bluwy! - Support <Code inline /> to output inline code HTML (no pre tag)

  • #6721 831b67cdb Thanks @ematipico! - Implements a new experimental middleware in Astro.

    The middleware is available under the following experimental flag:

    export default defineConfig({
      experimental: {
        middleware: true,
      },
    });

    Or via CLI, using the new argument --experimental-middleware.

    Create a file called middleware.{js,ts} inside the src folder, and
    export a onRequest function.

    From astro/middleware, use the defineMiddleware utility to take advantage of type-safety, and use
    the sequence utility to chain multiple middleware functions.

    Example:

    import { defineMiddleware, sequence } from 'astro/middleware';
    
    const redirects = defineMiddleware((context, next) => {
      if (context.request.url.endsWith('/old-url')) {
        return context.redirect('/new-url');
      }
      return next();
    });
    
    const minify = defineMiddleware(async (context, next) => {
      const repsonse = await next();
      const minifiedHtml = await minifyHtml(response.text());
      return new Response(minifiedHtml, {
        status: 200,
        headers: response.headers,
      });
    });
    
    export const onRequest = sequence(redirects, minify);
  • #6932 49514e4ce Thanks @bluwy! - Upgrade shiki to v0.14.1. This updates the shiki theme colors and adds the theme name to the pre tag, e.g. <pre class="astro-code github-dark">.

Patch Changes

  • #6973 0883fd487 Thanks @matthewp! - Ensure multiple cookies set in dev result in multiple set-cookie headers

  • Updated dependencies [49514e4ce]:

    • @astrojs/markdown-remark@2.2.0

@astrojs/sitemap@1.3.0

Minor Changes

@astrojs/markdown-remark@2.2.0

Minor Changes

  • #6932 49514e4ce Thanks @bluwy! - Upgrade shiki to v0.14.1. This updates the shiki theme colors and adds the theme name to the pre tag, e.g. <pre class="astro-code github-dark">.

Patch Changes

@astrojs/markdoc@0.1.2

Patch Changes

@astrojs/mdx@0.19.1

Patch Changes

  • #6932 49514e4ce Thanks @bluwy! - Upgrade shiki to v0.14.1. This updates the shiki theme colors and adds the theme name to the pre tag, e.g. <pre class="astro-code github-dark">.

  • Updated dependencies [49514e4ce]:

    • @astrojs/markdown-remark@2.2.0

@astrojs/react@2.1.3

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) feat: markdown Related to Markdown (scope) labels May 3, 2023
@github-actions github-actions bot force-pushed the changeset-release/main branch 6 times, most recently from 3d3a1ae to 769da4b Compare May 3, 2023 17:43
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.

Astro minor, blocking until release.

@github-actions github-actions bot requested a review from a team as a code owner May 3, 2023 18:52
@github-actions github-actions bot force-pushed the changeset-release/main branch 8 times, most recently from 6230d15 to 1daa395 Compare May 4, 2023 14:27
@matthewp matthewp dismissed their stale review May 4, 2023 16:49

release day

@matthewp matthewp merged commit 51c8e7f into main May 4, 2023
@matthewp matthewp deleted the changeset-release/main branch May 4, 2023 16:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feat: markdown Related to Markdown (scope) 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.

2 participants