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

fix(deps): update dependency @astrojs/starlight to ^0.21.0 - autoclosed #106

Closed
wants to merge 1 commit into from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Nov 2, 2023

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@astrojs/starlight (source) ^0.12.0 -> ^0.21.0 age adoption passing confidence

Release Notes

withastro/starlight (@​astrojs/starlight)

v0.21.1

Compare Source

Patch Changes

v0.21.0

Compare Source

Minor Changes

v0.20.1

Compare Source

Patch Changes

v0.20.0

Compare Source

Minor Changes
  • #​1541 1043052f Thanks @​hippotastic! - Updates astro-expressive-code dependency to the latest minor release (0.33).

    This unlocks support for word wrap and line numbers, as well as updating the syntax highlighter to the latest Shiki release, which includes new and updated language grammars.

    See the Expressive Code release notes for more information including details of potentially breaking changes.

Patch Changes

v0.19.1

Compare Source

Patch Changes

v0.19.0

Compare Source

Minor Changes

v0.18.1

Compare Source

Patch Changes

v0.18.0

Compare Source

Minor Changes

v0.17.4

Compare Source

Patch Changes

v0.17.3

Compare Source

Patch Changes

v0.17.2

Compare Source

Patch Changes

v0.17.1

Compare Source

Patch Changes

v0.17.0

Compare Source

Minor Changes

v0.16.0

Compare Source

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;
    }
  • #​1372 773880d Thanks @​HiDeoo! - Updates the table of contents highlighting styles to prevent UI shifts when scrolling through a page.

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

    starlight-toc a[aria-current='true'],
    starlight-toc a[aria-current='true']:hover,
    starlight-toc a[aria-current='true']:focus {
      font-weight: 600;
      color: var(--sl-color-text-invert);
      background-color: var(--sl-color-text-accent);
    }

v0.15.4

Compare Source

Patch Changes

v0.15.3

Compare Source

Patch Changes

v0.15.2

Compare Source

Patch Changes

v0.15.1

Compare Source

Patch Changes

v0.15.0

Compare Source

Minor Changes
  • #​1238 02a808e Thanks @​delucis! - Add support for Astro v4, drop support for Astro v3

    ⚠️ BREAKING CHANGE Astro v3 is no longer supported. Make sure you update Astro and any other integrations at the same time as updating Starlight.

    Use the new @astrojs/upgrade command to upgrade Astro and Starlight together:

    npx @&#8203;astrojs/upgrade
  • #​1242 d8fc9e1 Thanks @​delucis! - Enables link prefetching on hover by default

    Astro v4’s prefetch support is now enabled by default. If prefetch is not set in astro.config.mjs, Starlight will use prefetch: { prefetchAll: true, defaultStrategy: 'hover' } by default.

    If you want to preserve previous behaviour, disable link prefetching in astro.config.mjs:

    import { defineConfig } from 'astro/config';
    import starlight from '@&#8203;astrojs/starlight';
    
    export default defineConfig({
      // Disable link prefetching:
      prefetch: false,
    
      integrations: [
        starlight({
          // ...
        }),
      ],
    });
Patch Changes

v0.14.0

Compare Source

Minor Changes
  • #​1144 7c0b8cb Thanks @​delucis! - Adds a configuration option to disable site indexing with Pagefind and the default search UI

  • #​942 efd7fdc Thanks @​HiDeoo! - Adds plugin API

    See the plugins reference to learn more about creating plugins for Starlight using this new API.

  • #​1135 e5a863a Thanks @​delucis! - Exposes localized UI strings in route data

    Component overrides can now access a labels object in their props which includes all the localized UI strings for the current page.

  • #​1162 00d101b Thanks @​delucis! - Adds support for extending Starlight’s content collection schemas

v0.13.1

Compare Source

Patch Changes

v0.13.0

Compare Source

Minor Changes
  • #​1023 a3b80f7 Thanks @​kevinzunigacuellar! - Respect the trailingSlash and build.format Astro options when creating Starlight navigation links.

    ⚠️ Potentially breaking change:
    This change will cause small changes in link formatting for most sites.
    These are unlikely to break anything, but if you care about link formatting, you may want to change some Astro settings.

    If you want to preserve Starlight’s previous behavior, set trailingSlash: 'always' in your astro.config.mjs:

    import { defineConfig } from 'astro/config';
    import starlight from '@&#8203;astrojs/starlight';
    
    export default defineConfig({
      trailingSlash: 'always',
      integrations: [
        starlight({
          // ...
        }),
      ],
    });
  • #​742 c6a4bcb Thanks @​hippotastic! - Adds Expressive Code as Starlight’s default code block renderer

    ⚠️ Potentially breaking change:
    This addition changes how Markdown code blocks are rendered. By default, Starlight will now use Expressive Code.
    If you were already customizing how code blocks are rendered and don't want to use the features provided by Expressive Code, you can preserve the previous behavior by setting the new config option expressiveCode to false.

    If you had previously added Expressive Code manually to your Starlight project, you can now remove the manual set-up in astro.config.mjs:

    • Move your configuration to Starlight’s new expressiveCode option.
    • Remove the astro-expressive-code integration.

    For example:

    import starlight from '@&#8203;astrojs/starlight';
    import { defineConfig } from 'astro/config';
    - import expressiveCode from 'astro-expressive-code';
    
    export default defineConfig({
      integrations: [
    -   expressiveCode({
    -     themes: ['rose-pine'],
    -   }),
        starlight({
          title: 'My docs',
    +     expressiveCode: {
    +       themes: ['rose-pine'],
    +     },
        }),
      ],
    });

    Note that the built-in Starlight version of Expressive Code sets some opinionated defaults that are different from the astro-expressive-code defaults. You may need to set some styleOverrides if you wish to keep styles exactly the same.

  • #​517 5b549cb Thanks @​liruifengv! - Add i18n support for default aside labels

Patch Changes

v0.12.1

Compare Source

Patch Changes

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot added the renovate label Nov 2, 2023
@renovate renovate bot changed the title fix(deps): update dependency @astrojs/starlight to ^0.12.0 fix(deps): update dependency @astrojs/starlight to ^0.12.0 - autoclosed Nov 17, 2023
@renovate renovate bot closed this Nov 17, 2023
@renovate renovate bot deleted the renovate/astrojs-starlight-0.x branch November 17, 2023 01:37
@renovate renovate bot changed the title fix(deps): update dependency @astrojs/starlight to ^0.12.0 - autoclosed fix(deps): update dependency @astrojs/starlight to ^0.12.0 Nov 20, 2023
@renovate renovate bot reopened this Nov 20, 2023
@renovate renovate bot restored the renovate/astrojs-starlight-0.x branch November 20, 2023 22:09
@renovate renovate bot changed the title fix(deps): update dependency @astrojs/starlight to ^0.12.0 fix(deps): update dependency @astrojs/starlight to ^0.13.0 Nov 20, 2023
@renovate renovate bot force-pushed the renovate/astrojs-starlight-0.x branch from 646a978 to eca6be0 Compare November 20, 2023 22:10
@renovate renovate bot force-pushed the renovate/astrojs-starlight-0.x branch from eca6be0 to 1eb13da Compare November 28, 2023 22:24
@renovate renovate bot changed the title fix(deps): update dependency @astrojs/starlight to ^0.13.0 fix(deps): update dependency @astrojs/starlight to ^0.14.0 Nov 29, 2023
@renovate renovate bot force-pushed the renovate/astrojs-starlight-0.x branch 2 times, most recently from b700298 to 60c6f8b Compare December 6, 2023 21:16
@renovate renovate bot changed the title fix(deps): update dependency @astrojs/starlight to ^0.14.0 fix(deps): update dependency @astrojs/starlight to ^0.15.0 Dec 6, 2023
@renovate renovate bot force-pushed the renovate/astrojs-starlight-0.x branch from 60c6f8b to 8830dd8 Compare January 19, 2024 22:26
@renovate renovate bot changed the title fix(deps): update dependency @astrojs/starlight to ^0.15.0 fix(deps): update dependency @astrojs/starlight to ^0.16.0 Jan 19, 2024
@renovate renovate bot force-pushed the renovate/astrojs-starlight-0.x branch from 8830dd8 to 583b8bc Compare January 27, 2024 00:02
@renovate renovate bot changed the title fix(deps): update dependency @astrojs/starlight to ^0.16.0 fix(deps): update dependency @astrojs/starlight to ^0.17.0 Jan 27, 2024
@renovate renovate bot force-pushed the renovate/astrojs-starlight-0.x branch 2 times, most recently from 6b3f9db to 3dab8f6 Compare January 30, 2024 07:42
@renovate renovate bot force-pushed the renovate/astrojs-starlight-0.x branch from 3dab8f6 to 8d00ac8 Compare February 9, 2024 22:53
@renovate renovate bot changed the title fix(deps): update dependency @astrojs/starlight to ^0.17.0 fix(deps): update dependency @astrojs/starlight to ^0.18.0 Feb 9, 2024
@renovate renovate bot force-pushed the renovate/astrojs-starlight-0.x branch from 8d00ac8 to 3e8e161 Compare February 17, 2024 01:37
@renovate renovate bot changed the title fix(deps): update dependency @astrojs/starlight to ^0.18.0 fix(deps): update dependency @astrojs/starlight to ^0.19.0 Feb 17, 2024
@renovate renovate bot force-pushed the renovate/astrojs-starlight-0.x branch from 3e8e161 to 39d2d5e Compare February 23, 2024 23:24
@renovate renovate bot changed the title fix(deps): update dependency @astrojs/starlight to ^0.19.0 fix(deps): update dependency @astrojs/starlight to ^0.20.0 Feb 23, 2024
@renovate renovate bot force-pushed the renovate/astrojs-starlight-0.x branch from 39d2d5e to 2419cfa Compare March 1, 2024 19:25
@renovate renovate bot changed the title fix(deps): update dependency @astrojs/starlight to ^0.20.0 fix(deps): update dependency @astrojs/starlight to ^0.21.0 Mar 1, 2024
@renovate renovate bot changed the title fix(deps): update dependency @astrojs/starlight to ^0.21.0 fix(deps): update dependency @astrojs/starlight to ^0.21.0 - autoclosed Mar 7, 2024
@renovate renovate bot closed this Mar 7, 2024
@renovate renovate bot deleted the renovate/astrojs-starlight-0.x branch March 7, 2024 02:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants