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

Bump astro from 4.3.7 to 4.4.0 #282

Merged
merged 1 commit into from
Feb 16, 2024

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Feb 16, 2024

Bumps astro from 4.3.7 to 4.4.0.

Release notes

Sourced from astro's releases.

[email protected]

Minor Changes

  • #9614 d469bebd7b45b060dc41d82ab1cf18ee6de7e051 Thanks @​matthewp! - Improves Node.js streaming performance.

    This uses an AsyncIterable instead of a ReadableStream to do streaming in Node.js. This is a non-standard enhancement by Node, which is done only in that environment.

  • #10001 748b2e87cd44d8bcc1ab9d7e504703057e2000cd Thanks @​bholmesdev! - Removes content collection warning when a configured collection does not have a matching directory name. This should resolve i18n collection warnings for Starlight users.

    This also ensures configured collection names are always included in getCollection() and getEntry() types even when a matching directory is absent. We hope this allows users to discover typos during development by surfacing type information.

  • #10074 7443929381b47db0639c49a4d32aec4177bd9102 Thanks @​Princesseuh! - Add a UI showing the list of found problems when using the audit app in the dev toolbar

  • #10099 b340f8fe3aaa81e38c4f1aa41498b159dc733d86 Thanks @​martrapp! - Fixes a regression where view transition names containing special characters such as spaces or punctuation stopped working.

    Regular use naming your transitions with transition: name is unaffected.

    However, this fix may result in breaking changes if your project relies on the particular character encoding strategy Astro uses to translate transition:name directives into values of the underlying CSS view-transition-name property. For example, Welcome to Astro is now encoded as Welcome_20to_20Astro_2e.

    This mainly affects spaces and punctuation marks but no Unicode characters with codes >= 128.

  • #9976 91f75afbc642b6e73dd4ec18a1fe2c3128c68132 Thanks @​OliverSpeir! - Adds a new optional astro:assets image attribute inferSize for use with remote images.

    Remote images can now have their dimensions inferred just like local images. Setting inferSize to true allows you to use getImage() and the <Image /> and <Picture /> components without setting the width and height properties.

    ---
    import { Image, Picture, getImage } from 'astro:assets';
    const myPic = await getImage({ src: 'https://example.com/example.png', inferSize: true });
    ---
    <Image src="https://example.com/example.png" inferSize alt="" />
    <Picture src="https://example.com/example.png" inferSize alt="" />

    Read more about using inferSize with remote images in our documentation.

  • #10015 6884b103c8314a43e926c6acdf947cbf812a21f4 Thanks @​Princesseuh! - Adds initial support for performance audits to the dev toolbar

Patch Changes

  • #10116 4bcc249a9f34aaac59658ca626c828bd6dbb8046 Thanks @​lilnasy! - Fixes an issue where the dev server froze when typescript aliases were used.

  • #10096 227cd83a51bbd451dc223fd16f4cf1b87b8e44f8 Thanks @​Fryuni! - Fixes regression on routing priority for multi-layer index pages

    The sorting algorithm positions more specific routes before less specific routes, and considers index pages to be more specific than a dynamic route with a rest parameter inside of it. This means that /blog is considered more specific than /blog/[...slug].

    But this special case was being applied incorrectly to indexes, which could cause a problem in scenarios like the following:

... (truncated)

Changelog

Sourced from astro's changelog.

4.4.0

Minor Changes

  • #9614 d469bebd7b45b060dc41d82ab1cf18ee6de7e051 Thanks @​matthewp! - Improves Node.js streaming performance.

    This uses an AsyncIterable instead of a ReadableStream to do streaming in Node.js. This is a non-standard enhancement by Node, which is done only in that environment.

  • #10001 748b2e87cd44d8bcc1ab9d7e504703057e2000cd Thanks @​bholmesdev! - Removes content collection warning when a configured collection does not have a matching directory name. This should resolve i18n collection warnings for Starlight users.

    This also ensures configured collection names are always included in getCollection() and getEntry() types even when a matching directory is absent. We hope this allows users to discover typos during development by surfacing type information.

  • #10074 7443929381b47db0639c49a4d32aec4177bd9102 Thanks @​Princesseuh! - Add a UI showing the list of found problems when using the audit app in the dev toolbar

  • #10099 b340f8fe3aaa81e38c4f1aa41498b159dc733d86 Thanks @​martrapp! - Fixes a regression where view transition names containing special characters such as spaces or punctuation stopped working.

    Regular use naming your transitions with transition: name is unaffected.

    However, this fix may result in breaking changes if your project relies on the particular character encoding strategy Astro uses to translate transition:name directives into values of the underlying CSS view-transition-name property. For example, Welcome to Astro is now encoded as Welcome_20to_20Astro_2e.

    This mainly affects spaces and punctuation marks but no Unicode characters with codes >= 128.

  • #9976 91f75afbc642b6e73dd4ec18a1fe2c3128c68132 Thanks @​OliverSpeir! - Adds a new optional astro:assets image attribute inferSize for use with remote images.

    Remote images can now have their dimensions inferred just like local images. Setting inferSize to true allows you to use getImage() and the <Image /> and <Picture /> components without setting the width and height properties.

    ---
    import { Image, Picture, getImage } from 'astro:assets';
    const myPic = await getImage({ src: 'https://example.com/example.png', inferSize: true });
    ---
    <Image src="https://example.com/example.png" inferSize alt="" />
    <Picture src="https://example.com/example.png" inferSize alt="" />

    Read more about using inferSize with remote images in our documentation.

  • #10015 6884b103c8314a43e926c6acdf947cbf812a21f4 Thanks @​Princesseuh! - Adds initial support for performance audits to the dev toolbar

Patch Changes

  • #10116 4bcc249a9f34aaac59658ca626c828bd6dbb8046 Thanks @​lilnasy! - Fixes an issue where the dev server froze when typescript aliases were used.

  • #10096 227cd83a51bbd451dc223fd16f4cf1b87b8e44f8 Thanks @​Fryuni! - Fixes regression on routing priority for multi-layer index pages

    The sorting algorithm positions more specific routes before less specific routes, and considers index pages to be more specific than a dynamic route with a rest parameter inside of it. This means that /blog is considered more specific than /blog/[...slug].

    But this special case was being applied incorrectly to indexes, which could cause a problem in scenarios like the following:

... (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 <dependency name> 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)

Bumps [astro](https://github.com/withastro/astro/tree/HEAD/packages/astro) from 4.3.7 to 4.4.0.
- [Release notes](https://github.com/withastro/astro/releases)
- [Changelog](https://github.com/withastro/astro/blob/main/packages/astro/CHANGELOG.md)
- [Commits](https://github.com/withastro/astro/commits/[email protected]/packages/astro)

---
updated-dependencies:
- dependency-name: astro
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Feb 16, 2024
@github-actions github-actions bot merged commit 7ec36cb into main Feb 16, 2024
8 checks passed
@github-actions github-actions bot deleted the dependabot/npm_and_yarn/astro-4.4.0 branch February 16, 2024 09:32
NikolaRHristov pushed a commit that referenced this pull request May 19, 2024
…astro-4.4.0

Bump astro from 4.3.7 to 4.4.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code
Development

Successfully merging this pull request may close these issues.

1 participant