docnix icon indicating copy to clipboard operation
docnix copied to clipboard

Update all dependencies

Open renovate[bot] opened this issue 1 year ago • 0 comments

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence Type Update
@astrojs/starlight (source) ^0.12.0 -> ^0.24.0 age adoption passing confidence dependencies minor
actions/deploy-pages v2 -> v4 age adoption passing confidence action major
actions/upload-pages-artifact v2 -> v3 age adoption passing confidence action major
astro (source) ^3.0.6 -> ^4.0.0 age adoption passing confidence dependencies major
cachix/cachix-action v12 -> v15 age adoption passing confidence action major
cachix/install-nix-action v23 -> v27 age adoption passing confidence action major
expect-test 1.4.1 -> 1.5.0 age adoption passing confidence dev-dependencies minor
pagefind 1.0.3 -> 1.1.0 age adoption passing confidence dependencies minor
regex 1.9.5 -> 1.10.5 age adoption passing confidence dependencies minor
rowan 0.15.11 -> 0.15.15 age adoption passing confidence dependencies patch
textwrap 0.16.0 -> 0.16.1 age adoption passing confidence dependencies patch
walkdir 2.4.0 -> 2.5.0 age adoption passing confidence dependencies minor

Release Notes

withastro/starlight (@​astrojs/starlight)

v0.24.1

Compare Source

Patch Changes

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](https://togithub.com/withastro/starligh


Configuration

📅 Schedule: Branch creation - "before 4am on Monday" (UTC), 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.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


  • [ ] 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[bot] avatar Dec 18 '23 02:12 renovate[bot]