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 the astro group with 4 updates #44

Closed
wants to merge 1 commit into from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jan 22, 2024

Bumps the astro group with 4 updates: @astrojs/starlight, astro, @astrojs/rss and @astrojs/sitemap.

Updates @astrojs/starlight from 0.15.3 to 0.16.0

Release notes

Sourced from @​astrojs/starlight's releases.

@​astrojs/starlight@​0.16.0

Minor Changes

  • #1383 490c6ef Thanks @​delucis! - Refactors Starlight’s internal virtual module system for components to avoid circular references

    This is a change to an internal API. If you were importing the internal virtual:starlight/components module, this no longer exists. Update your imports to use the individual virtual modules now available for each component, for example virtual:starlight/components/EditLink.

  • #1151 134292d Thanks @​kevinzunigacuellar! - Fixes sidebar auto-generation issue when a file and a directory, located at the same level, have identical names.

    For example, src/content/docs/guides.md and src/content/docs/guides/example.md will now both be included and src/content/docs/guides.md is treated in the same way a src/content/docs/guides/index.md file would be.

  • #1386 0163634 Thanks @​delucis! - Tightens line-height on <LinkCard> titles to fix regression from original design

    If you want to preserve the previous line-height, you can add the following custom CSS to your site:

    .sl-link-card a {
    	line-height: 1.6;
    }
  • #1376 8398432 Thanks @​delucis! - Tweaks vertical spacing in Markdown content styles.

    This is a subtle change to Starlight’s default content styling that should improve most sites:

    • Default vertical spacing between content items is reduced from 1.5rem to 1rem.
    • Spacing before headings is now relative to font size, meaning higher-level headings have slightly more spacing and lower-level headings slightly less.

    The overall impact is to tighten up content that belongs together and improve the visual hierarchy of headings to break up sections.

    Although this is a subtle change, we recommend visually inspecting your site in case this impacts layout of any custom CSS or components.

    If you want to preserve the previous spacing, you can add the following custom CSS to your site:

    /* Restore vertical spacing to match Starlight v0.15 and below. */
    .sl-markdown-content
    	:not(a, strong, em, del, span, input, code)
    	+ :not(a, strong, em, del, span, input, code, :where(.not-content *)) {
    	margin-top: 1.5rem;
    }
    .sl-markdown-content
    	:not(h1, h2, h3, h4, h5, h6)
    	+ :is(h1, h2, h3, h4, h5, h6):not(:where(.not-content *)) {
    	margin-top: 2.5rem;
    }

... (truncated)

Changelog

Sourced from @​astrojs/starlight's changelog.

0.16.0

Minor Changes

  • #1383 490c6ef Thanks @​delucis! - Refactors Starlight’s internal virtual module system for components to avoid circular references

    This is a change to an internal API. If you were importing the internal virtual:starlight/components module, this no longer exists. Update your imports to use the individual virtual modules now available for each component, for example virtual:starlight/components/EditLink.

  • #1151 134292d Thanks @​kevinzunigacuellar! - Fixes sidebar auto-generation issue when a file and a directory, located at the same level, have identical names.

    For example, src/content/docs/guides.md and src/content/docs/guides/example.md will now both be included and src/content/docs/guides.md is treated in the same way a src/content/docs/guides/index.md file would be.

  • #1386 0163634 Thanks @​delucis! - Tightens line-height on <LinkCard> titles to fix regression from original design

    If you want to preserve the previous line-height, you can add the following custom CSS to your site:

    .sl-link-card a {
      line-height: 1.6;
    }
  • #1376 8398432 Thanks @​delucis! - Tweaks vertical spacing in Markdown content styles.

    This is a subtle change to Starlight’s default content styling that should improve most sites:

    • Default vertical spacing between content items is reduced from 1.5rem to 1rem.
    • Spacing before headings is now relative to font size, meaning higher-level headings have slightly more spacing and lower-level headings slightly less.

    The overall impact is to tighten up content that belongs together and improve the visual hierarchy of headings to break up sections.

    Although this is a subtle change, we recommend visually inspecting your site in case this impacts layout of any custom CSS or components.

    If you want to preserve the previous spacing, you can add the following custom CSS to your site:

    /* Restore vertical spacing to match Starlight v0.15 and below. */
    .sl-markdown-content
      :not(a, strong, em, del, span, input, code)
      + :not(a, strong, em, del, span, input, code, :where(.not-content *)) {
      margin-top: 1.5rem;
    }
    .sl-markdown-content
      :not(h1, h2, h3, h4, h5, h6)
      + :is(h1, h2, h3, h4, h5, h6):not(:where(.not-content *)) {
      margin-top: 2.5rem;
    }

... (truncated)

Commits

Updates astro from 4.1.1 to 4.2.1

Release notes

Sourced from astro's releases.

[email protected]

Patch Changes

[email protected]

Minor Changes

  • #9566 165cfc154be477337037185c32b308616d1ed6fa Thanks @​OliverSpeir! - Allows remark plugins to pass options specifying how images in .md files will be optimized

  • #9661 d6edc7540864cf5d294d7b881eb886a3804f6d05 Thanks @​ematipico! - Adds new helper functions for adapter developers.

    • Astro.clientAddress can now be passed directly to the app.render() method.
    const response = await app.render(request, { clientAddress: '012.123.23.3' });
    • Helper functions for converting Node.js HTTP request and response objects to web-compatible Request and Response objects are now provided as static methods on the NodeApp class.
    http.createServer((nodeReq, nodeRes) => {
      const request: Request = NodeApp.createRequest(nodeReq);
      const response = await app.render(request);
      await NodeApp.writeResponse(response, nodeRes);
    });
    • Cookies added via Astro.cookies.set() can now be automatically added to the Response object by passing the addCookieHeader option to app.render().
    -const response = await app.render(request)
    -const setCookieHeaders: Array<string> = Array.from(app.setCookieHeaders(webResponse));
    -if (setCookieHeaders.length) {
    
    for (const setCookieHeader of setCookieHeaders) {
    
       headers.append('set-cookie', setCookieHeader);
    
    
    }
    -}
    +const response = await app.render(request, { addCookieHeader: true })
  • #9638 f1a61268061b8834f39a9b38bca043ae41caed04 Thanks @​ematipico! - Adds a new i18n.routing config option redirectToDefaultLocale to disable automatic redirects of the root URL (/) to the default locale when prefixDefaultLocale: true is set.

    In projects where every route, including the default locale, is prefixed with /[locale]/ path, this property allows you to control whether or not src/pages/index.astro should automatically redirect your site visitors from / to /[defaultLocale].

    You can now opt out of this automatic redirection by setting redirectToDefaultLocale: false:

    // astro.config.mjs
  • ... (truncated)

    Changelog

    Sourced from astro's changelog.

    4.2.1

    Patch Changes

    4.2.0

    Minor Changes

    • #9566 165cfc154be477337037185c32b308616d1ed6fa Thanks @​OliverSpeir! - Allows remark plugins to pass options specifying how images in .md files will be optimized

    • #9661 d6edc7540864cf5d294d7b881eb886a3804f6d05 Thanks @​ematipico! - Adds new helper functions for adapter developers.

      • Astro.clientAddress can now be passed directly to the app.render() method.
      const response = await app.render(request, { clientAddress: '012.123.23.3' });
      • Helper functions for converting Node.js HTTP request and response objects to web-compatible Request and Response objects are now provided as static methods on the NodeApp class.
      http.createServer((nodeReq, nodeRes) => {
        const request: Request = NodeApp.createRequest(nodeReq);
        const response = await app.render(request);
        await NodeApp.writeResponse(response, nodeRes);
      });
      • Cookies added via Astro.cookies.set() can now be automatically added to the Response object by passing the addCookieHeader option to app.render().
      -const response = await app.render(request)
      -const setCookieHeaders: Array<string> = Array.from(app.setCookieHeaders(webResponse));
      -if (setCookieHeaders.length) {
      
      for (const setCookieHeader of setCookieHeaders) {
      
         headers.append('set-cookie', setCookieHeader);
      
      
      }
      -}
      +const response = await app.render(request, { addCookieHeader: true })
  • #9638 f1a61268061b8834f39a9b38bca043ae41caed04 Thanks @​ematipico! - Adds a new i18n.routing config option redirectToDefaultLocale to disable automatic redirects of the root URL (/) to the default locale when prefixDefaultLocale: true is set.

    In projects where every route, including the default locale, is prefixed with /[locale]/ path, this property allows you to control whether or not src/pages/index.astro should automatically redirect your site visitors from / to /[defaultLocale].

    You can now opt out of this automatic redirection by setting redirectToDefaultLocale: false:

  • ... (truncated)

    Commits

    Updates @astrojs/rss from 4.0.1 to 4.0.2

    Release notes

    Sourced from @​astrojs/rss's releases.

    @​astrojs/rss@​4.0.2

    Patch Changes

    Changelog

    Sourced from @​astrojs/rss's changelog.

    4.0.2

    Patch Changes

    Commits

    Updates @astrojs/sitemap from 3.0.4 to 3.0.5

    Release notes

    Sourced from @​astrojs/sitemap's releases.

    @​astrojs/sitemap@​3.0.5

    Patch Changes

    Changelog

    Sourced from @​astrojs/sitemap's changelog.

    3.0.5

    Patch Changes

    Commits

    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 <dependency name> major version will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
    • @dependabot ignore <dependency name> minor version will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
    • @dependabot ignore <dependency name> will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
    • @dependabot unignore <dependency name> will remove all of the ignore conditions of the specified dependency
    • @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions

    @dependabot dependabot bot added dependencies Pull requests that update a dependency file ignore-for-release labels Jan 22, 2024
    Copy link

    coderabbitai bot commented Jan 22, 2024

    Important

    Auto Review Skipped

    Bot user detected.

    To trigger a single review, invoke the @coderabbitai review command.

    Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?

    Share

    Tips

    Chat

    There are 3 ways to chat with CodeRabbit:

    • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
      • I pushed a fix in commit <commit_id>.
      • Generate unit-tests for this file.
    • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
      • @coderabbitai generate unit tests for this file.
      • @coderabbitai modularize this function.
    • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
      • @coderabbitai generate interesting stats about this repository from git and render them as a table.
      • @coderabbitai show all the console.log statements in this repository.
      • @coderabbitai read src/utils.ts and generate unit tests.
      • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.

    Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

    CodeRabbit Commands (invoked as PR comments)

    • @coderabbitai pause to pause the reviews on a PR.
    • @coderabbitai resume to resume the paused reviews.
    • @coderabbitai review to trigger a review. This is useful when automatic reviews are disabled for the repository.
    • @coderabbitai resolve resolve all the CodeRabbit review comments.
    • @coderabbitai help to get help.

    Additionally, you can add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.

    CodeRabbit Configration File (.coderabbit.yaml)

    • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
    • The JSON schema for the configuration file is available here.
    • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/coderabbit-overrides.v2.json

    CodeRabbit Discord Community

    Join our Discord Community to get help, request features, and share feedback.

    @nito-bot nito-bot bot enabled auto-merge January 22, 2024 03:14
    Bumps the astro group with 4 updates: [@astrojs/starlight](https://github.com/withastro/starlight/tree/HEAD/packages/starlight), [astro](https://github.com/withastro/astro/tree/HEAD/packages/astro), [@astrojs/rss](https://github.com/withastro/astro/tree/HEAD/packages/astro-rss) and [@astrojs/sitemap](https://github.com/withastro/astro/tree/HEAD/packages/integrations/sitemap).
    
    
    Updates `@astrojs/starlight` from 0.15.3 to 0.16.0
    - [Release notes](https://github.com/withastro/starlight/releases)
    - [Changelog](https://github.com/withastro/starlight/blob/main/packages/starlight/CHANGELOG.md)
    - [Commits](https://github.com/withastro/starlight/commits/@astrojs/[email protected]/packages/starlight)
    
    Updates `astro` from 4.1.1 to 4.2.1
    - [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)
    
    Updates `@astrojs/rss` from 4.0.1 to 4.0.2
    - [Release notes](https://github.com/withastro/astro/releases)
    - [Changelog](https://github.com/withastro/astro/blob/main/packages/astro-rss/CHANGELOG.md)
    - [Commits](https://github.com/withastro/astro/commits/@astrojs/[email protected]/packages/astro-rss)
    
    Updates `@astrojs/sitemap` from 3.0.4 to 3.0.5
    - [Release notes](https://github.com/withastro/astro/releases)
    - [Changelog](https://github.com/withastro/astro/blob/main/packages/integrations/sitemap/CHANGELOG.md)
    - [Commits](https://github.com/withastro/astro/commits/@astrojs/[email protected]/packages/integrations/sitemap)
    
    ---
    updated-dependencies:
    - dependency-name: "@astrojs/starlight"
      dependency-type: direct:production
      update-type: version-update:semver-minor
      dependency-group: astro
    - dependency-name: astro
      dependency-type: direct:production
      update-type: version-update:semver-minor
      dependency-group: astro
    - dependency-name: "@astrojs/rss"
      dependency-type: direct:production
      update-type: version-update:semver-patch
      dependency-group: astro
    - dependency-name: "@astrojs/sitemap"
      dependency-type: direct:production
      update-type: version-update:semver-patch
      dependency-group: astro
    ...
    
    Signed-off-by: dependabot[bot] <[email protected]>
    @dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/astro-b376827247 branch from 0de48cd to 90f3036 Compare January 22, 2024 03:16
    Copy link
    Contributor

    @nito-bot nito-bot bot left a comment

    Choose a reason for hiding this comment

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

    Device URL
    mobile https://747d455b.nito-docs.pages.dev

    Not what you expected? Are your scores flaky? GitHub runners could be the cause.
    Try running on Foo instead

    Copy link
    Contributor Author

    dependabot bot commented on behalf of github Jan 23, 2024

    Superseded by #47.

    @dependabot dependabot bot closed this Jan 23, 2024
    auto-merge was automatically disabled January 23, 2024 03:25

    Pull request was closed

    @dependabot dependabot bot deleted the dependabot/npm_and_yarn/astro-b376827247 branch January 23, 2024 03:25
    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
    Projects
    None yet
    Development

    Successfully merging this pull request may close these issues.

    0 participants