Skip to content

Update fumadocs #83

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

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

Update fumadocs #83

wants to merge 1 commit into from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Apr 21, 2025

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
fumadocs-core (source) 15.2.8 -> 15.5.1 age adoption passing confidence
fumadocs-mdx (source) 11.6.0 -> 11.6.7 age adoption passing confidence
fumadocs-ui (source) 15.2.8 -> 15.5.1 age adoption passing confidence

Release Notes

fuma-nama/fumadocs (fumadocs-core)

v15.5.1

Compare Source

Patch Changes
  • b4916d2: Move hide-if-empty component to Fumadocs Core

  • 8738b9c: Always encode generated slugs for non-ASCII characters in loader()

  • a66886b: Deprecate other parameters for useDocsSearch()

    The new usage passes options to a single object, improving the readability:

    import { useDocsSearch } from 'fumadocs-core/search/client';
    
    const { search, setSearch, query } = useDocsSearch({
      type: 'fetch',
      locale: 'optional',
      tag: 'optional',
      delayMs: 100,
      allowEmpty: false,
    });

v15.5.0

Compare Source

Minor Changes
  • 589d101: Move TOC closer to page body on larger viewports

    Changed layout positioning, all layout components now use fixed position.

    This may impact sites that:

    • using custom styling on Fumadocs layouts.
    • added a custom footer (see below).

    For custom footer, make sure to add them into <DocsLayout /> instead:

    <DocsLayout>
      {children}
      <div className="h-[400px] bg-fd-secondary">Hello World</div>
    </DocsLayout>
Patch Changes
  • 50f8f7f: Update Home Layout navbar design
  • 697d5b4: Support specifying a custom value for Accordion
    • fumadocs-core@15.5.0

v15.4.2

Compare Source

Patch Changes
  • Updated dependencies [0ab6c7f]
    • fumadocs-core@15.4.2

v15.4.1

Compare Source

Patch Changes
  • e72b7b4: hotfix: production source map being ignored
    • fumadocs-core@15.4.1

v15.4.0

Compare Source

Minor Changes
  • 961b67e: Bump algolia search to v5

    This also introduced changes to some APIs since algoliasearch v4 and v5 has many differences.

    Now we highly recommend to pass an index name to sync():

    import { algoliasearch } from 'algoliasearch';
    import { sync } from 'fumadocs-core/search/algolia';
    const client = algoliasearch('id', 'key');
    
    void sync(client, {
      indexName: 'document',
      documents: records,
    });

    For search client, pass them to searchOptions:

    'use client';
    
    import { liteClient } from 'algoliasearch/lite';
    import type { SharedProps } from 'fumadocs-ui/components/dialog/search';
    import SearchDialog from 'fumadocs-ui/components/dialog/search-algolia';
    
    const client = liteClient(appId, apiKey);
    
    export default function CustomSearchDialog(props: SharedProps) {
      return (
        <SearchDialog
          searchOptions={{
            client,
            indexName: 'document',
          }}
          {...props}
          showAlgolia
        />
      );
    }
Patch Changes
  • 092fd04: Fallback to dangerouslySetInnerHTML for inlined scripts for backward compatibility
  • 7d78bc5: Improve createRelativeLink and getPageByHref for i18n usage
  • Updated dependencies [1b999eb]
  • Updated dependencies [961b67e]
  • Updated dependencies [7d78bc5]
    • fumadocs-core@15.4.0

v15.3.4

Compare Source

Patch Changes
  • e0c2a92: Improve UI consistency
  • 71fc1a5: Mount all children of tabs by default
    • fumadocs-core@15.3.4

v15.3.3

Compare Source

Patch Changes
  • 05b3bd9: [Internal] require TagsListItem to be used with TagsList
  • 39bf088: Support usage with Tabs in primitive way
  • e955a98: Hotfix problems with HideIfEmpty
  • Updated dependencies [4ae7b4a]
    • fumadocs-core@15.3.3

v15.3.2

Compare Source

Patch Changes
  • 1753cf1: Fix navbar external items and nav menu scroll
  • 9b38baf: add success type to callout
  • 8e862e5: Use native scroll bar for codeblocks and some elements for better performance
  • ac0ab12: Improve performance by reducing usage of @radix-ui/react-scroll-area
  • c25d678: Support Shiki focus notation transformer by default
  • Updated dependencies [c25d678]
    • fumadocs-core@15.3.2

v15.3.1

Compare Source

Patch Changes
  • 3372792: Support line numbers in codeblock
  • Updated dependencies [3372792]
    • fumadocs-core@15.3.1

v15.3.0

Compare Source

Minor Changes
  • 52b5ad8: Redesign mobile sidebar

    Mobile sidebar is now a separate component from the desktop one, with its own id nd-sidebar-mobile.

    note to advanced use cases: Fumadocs UI now stopped using fumadocs-core/sidebar, avoid using the primitive directly as provider is not used.

Patch Changes
  • abce713: Adjust design (Accordion, Tabs, border color of themes)
  • Updated dependencies [c05dc03]
    • fumadocs-core@15.3.0

v15.2.15

Compare Source

Patch Changes
  • 50db874: Remove placeholder space for codeblocks
  • 79e75c3: Improve default MDX attribute indexing strategy for remarkStructure

v15.2.14

Compare Source

Patch Changes
  • Updated dependencies [6ea1718]
    • fumadocs-core@15.2.14

v15.2.13

Compare Source

Patch Changes
  • b433d93: Recommend using custom button/link instead for edit on GitHub button
  • 1e07ed8: Support disabling codeblock styles with .not-fumadocs-codeblock
    • fumadocs-core@15.2.13

v15.2.12

Compare Source

Patch Changes
  • b68bb51: Fix sidebar legacy behaviours
  • 127e681: Fix Notebook layout ignores themeSwitch and sidebar.collapsible on nav mode
  • Updated dependencies [acff667]
    • fumadocs-core@15.2.12

v15.2.11

Compare Source

Patch Changes
  • d4d1ba7: Fix sidebar collapsible control search button still visible with search disabled
  • 4e62b41: Bundle lucide-react as part of library
  • 07cd690: Support separators without name
  • Updated dependencies [07cd690]
    • fumadocs-core@15.2.11

v15.2.10

Compare Source

Patch Changes
  • 3a5595a: Support deprecated properties in Type Table
  • 8c9fc1f: Fix callout margin
    • fumadocs-core@15.2.10

v15.2.9

Compare Source


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.

👻 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 was generated by Mend Renovate. View the repository job log.

@renovate renovate bot added the dependencies This updates dependency files label Apr 21, 2025
Copy link

github-actions bot commented Apr 21, 2025

GitLab Pipeline Action

General information

Link to pipeline: https://gitlab.com/code0-tech/development/telescopium/-/pipelines/1856106458

Status: Passed
Duration: 37 seconds

@renovate renovate bot force-pushed the renovate/fumadocs branch 3 times, most recently from 13835ce to cf6a7b7 Compare April 28, 2025 03:55
@renovate renovate bot force-pushed the renovate/fumadocs branch 4 times, most recently from f625342 to 83fdd2e Compare May 9, 2025 10:42
@renovate renovate bot force-pushed the renovate/fumadocs branch 3 times, most recently from bdfd207 to af5c4f4 Compare May 17, 2025 10:48
@renovate renovate bot force-pushed the renovate/fumadocs branch 2 times, most recently from 45247f6 to a77dfeb Compare May 25, 2025 12:24
@renovate renovate bot force-pushed the renovate/fumadocs branch from a77dfeb to 5cf4d7f Compare June 5, 2025 22:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies This updates dependency files
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant