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.24.0 #11

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Oct 6, 2023

Mend Renovate

This PR contains the following updates:

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

Release Notes

withastro/starlight (@​astrojs/starlight)

v0.24.0

Compare Source

Minor Changes
  • #​1841 ee0cd38a Thanks @​HiDeoo! - Adds support for Astro.currentLocale and Astro’s i18n routing.

    ⚠️ Potentially breaking change: Starlight now configures Astro’s i18n option for you based on its locales config.

    If you are currently using Astro’s i18n option as well as Starlight’s locales option, you will need to remove one of these.
    In general we recommend using Starlight’s locales, but if you have a more advanced configuration you may choose to keep Astro’s i18n config instead.

  • #​1958 081d1a96 Thanks @​delucis! - Allows users to opt into displaying a “Built with Starlight” link in the site footer

  • #​1530 dd64836a Thanks @​kevinzunigacuellar! - Adds a new <Badge> component

v0.23.4

Compare Source

Patch Changes

v0.23.3

Compare Source

Patch Changes

v0.23.2

Compare Source

Patch Changes

v0.23.1

Compare Source

Patch Changes

v0.23.0

Compare Source

Minor Changes
  • #​1846 2de67039 Thanks @​delucis! - Updates @astrojs/mdx to v3 and enables MDX optimization by default

    ⚠️ Potentially breaking change: MDX optimization speeds up builds (Starlight’s docs are building ~40% faster for example), but restricts some advanced MDX features. See full details in the MDX optimization documentation.

    Most Starlight users should be unaffected, but if you are using MDX files outside of Starlight pages with the components prop, you may see issues. You can disable optimization by adding MDX manually to your integrations array in astro.config.mjs:

    import { defineConfig } from 'astro/config';
    + import mdx from '@&#8203;astrojs/mdx';
    import starlight from '@&#8203;astrojs/starlight';
    
    // https://astro.build/config
    export default defineConfig({
    	integrations: [
    		starlight({
    			title: 'My docs',
    			// ...
    		}),
    +		mdx(),
    	],
    });
  • #​1735 1a9ab50d Thanks @​HiDeoo! - Adds custom styles for <details> and <summary> elements in Markdown content.

  • #​1846 2de67039 Thanks @​delucis! - ⚠️ BREAKING CHANGE: The minimum supported version of Astro is now 4.8.6

    Please update Astro and Starlight together:

    npx @&#8203;astrojs/upgrade

v0.22.4

Compare Source

Patch Changes

v0.22.3

Compare Source

Patch Changes

v0.22.2

Compare Source

Patch Changes

v0.22.1

Compare Source

Patch Changes
  • 1c0fc384 Thanks @​HiDeoo! - Fixes an issue where the siteTitle property would not be set when using the <StarlightPage /> component.

v0.22.0

Compare Source

Minor Changes
  • #​640 7dc503ea Thanks @​HiDeoo! - Adds support for syncing multiple sets of tabs on the same page.

  • #​1620 ca0678ca Thanks @​emjio! - Adds support for translating the site title

    ⚠️ Potentially breaking change: The shape of the title field on Starlight’s internal config object has changed. This used to be a string, but is now an object.

    If you are relying on config.title (for example in a custom <SiteTitle> or <Head> component), you will need to update your code. We recommend using the new siteTitle prop available to component overrides:

v0.21.5

Compare Source

Patch Changes

v0.21.4

Compare Source

Patch Changes

v0.21.3

Compare Source

Patch Changes

v0.21.2

Compare Source

Patch Changes

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

v0.12.0

Compare Source

Minor Changes
  • #​995 5bf4457 Thanks @​kevinzunigacuellar! - Adds support for adding sidebar badges to group headings

  • #​988 977fe13 Thanks @​magicDGS! - Include social icon links in mobile menu

  • #​280 72cca2d Thanks @​cbontems! - Support light & dark variants of the hero image.

    ⚠️ Potentially breaking change: The hero.image schema is now slightly stricter than previously.

    The hero.image.html property can no longer be used alongside the hero.image.alt or hero.image.file properties.
    Previously, html was ignored when used with file and alt was ignored when used with html.
    Now, those combinations will throw errors.
    If you encounter errors, remove the image.hero property that is not in use.

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.

@cloudflare-pages
Copy link

cloudflare-pages bot commented Oct 6, 2023

Deploying felicity with  Cloudflare Pages  Cloudflare Pages

Latest commit: 02b962f
Status:🚫  Build failed.

View logs

@renovate renovate bot force-pushed the renovate/astrojs-starlight-0.x branch from 283bd6d to 1e2b155 Compare November 2, 2023 00:59
@renovate renovate bot changed the title fix(deps): update dependency @astrojs/starlight to ^0.11.0 fix(deps): update dependency @astrojs/starlight to ^0.12.0 Nov 2, 2023
@renovate renovate bot force-pushed the renovate/astrojs-starlight-0.x branch from 1e2b155 to ce22ff8 Compare November 20, 2023 22:12
@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 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 from ce22ff8 to 6adbbca Compare November 29, 2023 21:23
@renovate renovate bot force-pushed the renovate/astrojs-starlight-0.x branch from 6adbbca to af38f0d Compare December 6, 2023 21:30
@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 af38f0d to 434bc48 Compare January 19, 2024 19:58
@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 changed the title fix(deps): update dependency @astrojs/starlight to ^0.16.0 fix(deps): update dependency @astrojs/starlight to ^0.17.0 Jan 26, 2024
@renovate renovate bot force-pushed the renovate/astrojs-starlight-0.x branch from 434bc48 to 928b5e3 Compare January 26, 2024 22:53
@renovate renovate bot force-pushed the renovate/astrojs-starlight-0.x branch from 928b5e3 to c56839d Compare February 9, 2024 21:40
@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 c56839d to 99c172d Compare February 17, 2024 01:26
@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 changed the title fix(deps): update dependency @astrojs/starlight to ^0.19.0 fix(deps): update dependency @astrojs/starlight to ^0.20.0 Feb 24, 2024
@renovate renovate bot force-pushed the renovate/astrojs-starlight-0.x branch from 99c172d to 4683a82 Compare February 24, 2024 10:01
@renovate renovate bot force-pushed the renovate/astrojs-starlight-0.x branch from 4683a82 to af5f99d Compare March 2, 2024 14:17
@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 2, 2024
@renovate renovate bot force-pushed the renovate/astrojs-starlight-0.x branch from af5f99d to 10028dd Compare April 30, 2024 18:18
@renovate renovate bot changed the title fix(deps): update dependency @astrojs/starlight to ^0.21.0 fix(deps): update dependency @astrojs/starlight to ^0.22.0 Apr 30, 2024
@renovate renovate bot force-pushed the renovate/astrojs-starlight-0.x branch from 10028dd to e2ae7ca Compare May 17, 2024 22:41
@renovate renovate bot changed the title fix(deps): update dependency @astrojs/starlight to ^0.22.0 fix(deps): update dependency @astrojs/starlight to ^0.23.0 May 17, 2024
@renovate renovate bot force-pushed the renovate/astrojs-starlight-0.x branch from e2ae7ca to 02b962f Compare June 5, 2024 18:22
@renovate renovate bot changed the title fix(deps): update dependency @astrojs/starlight to ^0.23.0 fix(deps): update dependency @astrojs/starlight to ^0.24.0 Jun 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

0 participants