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

Merged
merged 1 commit into from
Apr 5, 2023
Merged

[ci] release #6720

merged 1 commit into from
Apr 5, 2023

Conversation

astrobot-houston
Copy link
Contributor

@astrobot-houston astrobot-houston commented Mar 31, 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.2.0

Minor Changes

  • #6703 a1108e037 Thanks @Princesseuh! - Move image() to come from schema instead to fix it not working with refine and inside complex types

    Migration:

    Remove the image import from astro:content, and instead use a function to generate your schema, like such:

    import { defineCollection, z } from 'astro:content';
    
    defineCollection({
      schema: ({ image }) =>
        z.object({
          image: image().refine((img) => img.width >= 200, {
            message: 'image too small',
          }),
        }),
    });
  • #6714 ff0430786 Thanks @bluwy! - Add build.assetsPrefix option for CDN support. If set, all Astro-generated asset links will be prefixed with it. For example, setting it to https://cdn.example.com would generate https://cdn.example.com/_astro/penguin.123456.png links.

    Also adds import.meta.env.ASSETS_PREFIX environment variable that can be used to manually create asset links not handled by Astro.

Patch Changes

  • #6753 489dd8d69 Thanks @bluwy! - Fix getViteConfig return type

  • #6744 a1a4f45b5 Thanks @Princesseuh! - Fix remote images in Markdown throwing errors when using experimental.assets

  • #6762 8b88e4cf1 Thanks @Princesseuh! - Improved error message when an error was encountered while generating types

  • #6719 d54cbe413 Thanks @matthewp! - Better errors for when response is already sent

    This adds clearer error messaging when a Response has already been sent to the browser and the developer attempts to use:

    • Astro.cookies.set
    • Astro.redirect
  • #6741 4c347ab51 Thanks @Princesseuh! - Fix content-type header being wrong in dev on images from astro:assets

  • #6739 2f2e572e9 Thanks @Princesseuh! - Added more types and utilities exports related to astro:assets to help building custom image components and image services

  • #6759 7116c021a Thanks @bluwy! - Upgrade to Vite 4.2

  • Updated dependencies [a1a4f45b5]:

    • @astrojs/markdown-remark@2.1.3

@astrojs/image@0.16.5

Patch Changes

  • #6714 ff0430786 Thanks @bluwy! - Add build.assetsPrefix option for CDN support. If set, all Astro-generated asset links will be prefixed with it. For example, setting it to https://cdn.example.com would generate https://cdn.example.com/_astro/penguin.123456.png links.

    Also adds import.meta.env.ASSETS_PREFIX environment variable that can be used to manually create asset links not handled by Astro.

  • Updated dependencies [489dd8d69, a1a4f45b5, a1108e037, 8b88e4cf1, d54cbe413, 4c347ab51, ff0430786, 2f2e572e9, 7116c021a]:

    • astro@2.2.0

@astrojs/lit@2.0.1

Patch Changes

  • #6752 c7eb0d431 Thanks @augustjk! - Provide renderInfo when rendering Lit components. Fixes issue with rendering nested components.

@astrojs/markdoc@0.1.1

Patch Changes

@astrojs/node@5.1.1

Patch Changes

@astrojs/sitemap@1.2.2

Patch Changes

@astrojs/vercel@3.2.2

Patch Changes

@astrojs/vue@2.1.1

Patch Changes

@astrojs/markdown-remark@2.1.3

Patch Changes

@github-actions github-actions bot added pkg: astro Related to the core `astro` package (scope) pkg: example Related to an example package (scope) pkg: vue Related to Vue (scope) pkg: integration Related to any renderer integration (scope) labels Mar 31, 2023
@github-actions github-actions bot force-pushed the changeset-release/main branch 10 times, most recently from 1bed946 to 10ff66b Compare April 4, 2023 08:27
@github-actions github-actions bot force-pushed the changeset-release/main branch 8 times, most recently from 72e2f46 to 85ded74 Compare April 5, 2023 13:34
@github-actions github-actions bot requested a review from a team as a code owner April 5, 2023 13:34
@github-actions github-actions bot force-pushed the changeset-release/main branch 6 times, most recently from a6fff67 to b80004e Compare April 5, 2023 15:55
@matthewp matthewp merged commit 29e7b82 into main Apr 5, 2023
@matthewp matthewp deleted the changeset-release/main branch April 5, 2023 17:38
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: example Related to an example package (scope) pkg: integration Related to any renderer integration (scope) pkg: vue Related to Vue (scope)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants