-
Notifications
You must be signed in to change notification settings - Fork 0
Update fumadocs (major) #99
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
renovate
wants to merge
1
commit into
main
Choose a base branch
from
renovate/major-fumadocs
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
+3
−3
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
GitLab Pipeline ActionGeneral informationLink to pipeline: https://gitlab.com/code0-tech/development/telescopium/-/pipelines/2156500514 Status: Failed |
50fab51 to
0db598d
Compare
d3c15cb to
2ec0280
Compare
65d18f0 to
0cb086b
Compare
Contributor
Author
|
7db996b to
2c40ca8
Compare
e354868 to
8ee5bc6
Compare
4569690 to
94de78b
Compare
94de78b to
825822a
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
15.2.8->16.0.1111.6.0->13.0.815.2.8->16.0.11Release Notes
fuma-nama/fumadocs (fumadocs-core)
v16.0.11Compare Source
Patch Changes
ff68f69: [Page Tree Builder] Fix node IDs are not unique across different locales00058c8: Drop framework-sidecreateContextv16.0.10Compare Source
Patch Changes
733b01e: SupportremarkDirectiveAdmonition, deprecateremarkAdmonitionin favor of it.v16.0.9Compare Source
Patch Changes
2eef888: Remove unnecessaryaria-labelfrom the link icon in headingsv16.0.8Compare Source
Patch Changes
c0df2c4: improve navbar button gaps117ad86: Add support for using a custom GitHub API base URLbc97236]ca09b6a]117ad86]v16.0.7Patch Changes
f97cd1e]f7e15e2]v16.0.5Compare Source
Patch Changes
8221785: hotfix i18n middleware URL formatingv16.0.4Compare Source
Patch Changes
99971c7: Supportexternal:to mark links as external inmeta.jsonv16.0.3Compare Source
v16.0.2Compare Source
Patch Changes
d511232: Fix i18n middleware search params handlingv16.0.1Compare Source
Patch Changes
45f0c1f: hotfix<DynamicCodeBlock />Vite + React 19.2 compat issuesv16.0.0Major Changes
851897c: Removefumadocs-core/sidebarAPIwhy: no longer used by Fumadocs UI, and the abstraction isn't good enough.
migrate: The original component is mostly a wrapper of
react-remove-scroll, you can use Shadcn UI for pre-built sidebars.4049ccc: Removefumadocs-core/serverexportgetGithubLastEdit: Moved tofumadocs-core/content/github.getTableOfContents: Moved tofumadocs-core/content/toc.PageTreeand page tree utilities: Moved tofumadocs-core/page-tree.TOCItemType,TableOfContents: Moved tofumadocs-core/toc.createMetadataImage: Use the Next.js Metadata API instead.429c41a: Switch to Shiki JavaScript Regex engine by defaultThis is important for Cloudflare Worker compatibility, JavaScript engine is the new default over Oniguruma (WASM).
rehype-code: replaced theexperimentalJSEngineoption withengine: js | oniguruma.fumadocs-core/highlight: use JS engine by default, drop custom engine support, use Shiki directly instead.5210f18: Set minimal React.js version to 19.2.019.2 has multiple crucial updates that can improve Fumadocs' performance, and it should works seamlessly on mainstream React.js frameworks.
As a consequence, Next.js 16 is now the minimal version when using Fumadocs UI because Next.js always uses the internal canary version of React.js.
42f09c3: Remove deprecated APIsfumadocs-ui/page:<DocsCategory />.breadcrumbs.fulloption from<DocsPage />.fumadocs-core/search/algolia: renamed optiondocumenttoindexName.fumadocs-core/search:createFromSource(): migrate to newer usage instead.useSearch(), pass them in the client object instead.fumadocs-core/highlight: remove deprecatedwithPrerenderScriptandloadingoptions fromuseShiki().fumadocs-core/i18n: removedcreateI18nMiddleware, import fromfumadocs-core/i18n/middlewareinstead.fumadocs-core/source:transformers,pageTree.attach*options fromloader().page.fileproperty.FileInfo&parseFilePathutilities.55afd8a: Migrate to New Orama Cloud@orama/coreis the new version of Orama Cloud client. See their docs for details.When using Fumadocs' Orama Cloud integration, you need to use the new client instead:
Minor Changes
cbc93e9: Disablesingleby default onfumadocs-core/tocAPIPatch Changes
230c6bf: letgetPageTreePeershandle i18nv15.8.4Compare Source
Patch Changes
ce2be59: Loader Plugin: supportname&configoptions31b9494: Supportmultiple()for multiple sources in sameloader()v15.8.3Compare Source
Patch Changes
a3a14e7: Bump depsv15.8.2Compare Source
Patch Changes
ad9a004: Deprecatefumadocs-core/serverexportIt will be removed on Fumadocs 16, as some APIs under the
/serverexport are actually available (and even used) under browser environment.A more modularized design will be introduced over the original naming.
getGithubLastEdit: Moved tofumadocs-core/content/github.getTableOfContents: Moved tofumadocs-core/content/toc.PageTreeand page tree utilities: Moved tofumadocs-core/page-tree.TOCItemType,TableOfContents: Moved tofumadocs-core/toc.createMetadataImage: Deprecated, use the Next.js Metadata API instead.90cf1fe: Support Negotiation API747bdbc: Support lucide react icons plugin forloader()v15.8.1Compare Source
Patch Changes
71bce86: Makeloader().getPages()to return pages from all languages when locale is not specifiedf04547f: PublishpluginsAPI onloader()v15.8.0Compare Source
Minor Changes
d1ae3e8: MoveSortedResultand other search-related types tofumadocs-core/searchThis also exposed the search result highlighter API, you may now use it for highlighting results of your own search integration
Old export will be kept until the next major release.
51268ec: Breadcrumbs API: defaultincludePagetofalse.Patch Changes
655bb46: [Internal]parseCodeBlockAttributesinclude null values, restrictrehype-codeto only parsetitleandtabattributes.6548a59: Support breadcrumbs for Search API51268ec: Breadcrumbs API: Fix root folders being filtered whenincludeRootis set totrue.v15.7.13Compare Source
Patch Changes
982aed6: Fixsource.getPageByHref()return no result without explicitlanguagev15.7.12Compare Source
Patch Changes
846b28a: Support multiple codeblocks in same tab2b30315: Supportmodeoption in search serverv15.7.11Compare Source
v15.7.10Compare Source
Patch Changes
c948f59: Try to workaround legacy i18n middleware under/i18nexport without breaking changesv15.7.9Compare Source
Patch Changes
d135efd:transformerIconsupports SVG string to extend codeblock icons4082acc: ExposehighlightHastAPIv15.7.8Compare Source
Patch Changes
f65778d:Linkimprove external link detection by enabling it on any protocolse4c12a3: Add framework adapters to optional peer depsv15.7.7Compare Source
Patch Changes
0b53056: SupportremarkMdxMermaid- convertmermaidcodeblocks into<Mermaid />component3490285: SupportremarkMdxFiles- convertfilescodeblocks into<Files />componentv15.7.6Compare Source
v15.7.5Compare Source
Patch Changes
cedc494: Hotfix URL normalization logicv15.7.4Compare Source
v15.7.3Compare Source
Patch Changes
6d97379: unify remark nodes parsing & improve typese776ee5: FixlangAliasnot being passed to Shiki rehype pluginv15.7.2Compare Source
Patch Changes
88b5a4e: Fix duplicate pages in page tree when referencing subpage in meta.json and using...or adding the subfolder again039b24b: Fix failed to update page tree fromloader()08eee2b: [remark-npm] Enablenpm installprefix fallback only on old aliasv15.7.1Compare Source
Patch Changes
195b090: Support a list ofsourceforloader()APIe1c84a2: SupportfallbackLanguageforloader()i18n APIv15.7.0Compare Source
Minor Changes
514052e: Include locale code intopage.pathPreviously when i18n is enabled,
page.pathis not equal to the virtual file paths you passed intoloader():This can be confusing, the only solution to obtain the original path was
page.absolutePath.From now, the
page.pathwill also include the locale code:While this change doesn't affect intended API usages, it may lead to minor bugs when advanced usage/hacks involved around
page.path.e785f98: Introduce page treefallbackAPIPage tree is a tree structure.
Previously, when an item is excluded from page tree, it is isolated entirely that you cannot display it at all.
With the new fallback API, isolated pages will go into
fallbackpage tree instead:{ "children": [ { "type": "page", "name": "Introduction" } ], "fallback": { "children": [ { "type": "page", "name": "Hidden Page" } ] } }Items in
fallbackare invisible unless you've opened its item.0531bf4: Introduce page tree transformer APIYou can now define page tree transformer.
50eb07f: Support type-safe i18n configAlthough optional, we highly recommend you to refactor the import to i18n middleware:
Patch Changes
e254c65: Simplify Source API storage managementec75601: SupportReactNodefor icons in page tree67df155:createFromSourcesupport asyncbuildIndexand Fumadocs MDX Async Modeb109d06: RedesignuseShiki&<DynamicCodeBlock />to use React 19 hooksv15.6.12Compare Source
v15.6.11Compare Source
v15.6.10Compare Source
Patch Changes
569bc26: Improveremark-image: (1) append public URL to outputsrcif it is a URL. (2) ignore if failed to obtain SVG size.817c237: Support search result highlighting.Result nodes now have a
contentWithHighlightsproperty, you can render it with custom renderer, or a default one provided on Fumadocs UI.v15.6.9Compare Source
Patch Changes
0ab2cdd: remove waku & tanstack peer dependency temporarily (see #2144)v15.6.8Compare Source
v15.6.7Compare Source
Patch Changes
6fa1442: Support to override<HideIfEmpty />scripts nonce with<HideIfEmptyProvider />v15.6.6Compare Source
Patch Changes
1b0e9d5: Add mixedbread integrationv15.6.5Compare Source
Patch Changes
658fa96: Support custom options for error handling forremark-imagev15.6.4Compare Source
v15.6.3Compare Source
v15.6.2Compare Source
v15.6.1Compare Source
Patch Changes
1a902ff: Fix static export mapv15.6.0Compare Source
Minor Changes
f8d1709: Redesigned Codeblock TabsInstead of relying on
Tabscomponent, it supports a dedicated tabs component for codeblocks:The old usage is not deprecated, you can still use them while Fumadocs' remark plugins will generate codeblock tabs using the new way.
Patch Changes
d0f8a15: EnableremarkNpmby default, replaceremarkInstallwith it.84918b8: Support passingtagto search client/server as string arrayv15.5.5Compare Source
Patch Changes
0d3f76b: Fix wrong indexing of file systemv15.5.4Compare Source
Patch Changes
35c3c0b: Support handling duplicated slugs and conflicts such asdir/index.mdxvsdir.mdxv15.5.3Compare Source
Patch Changes
7d1ac21: hotfix paths not being normalized on Windowsv15.5.2Compare Source
Patch Changes
7a45921: AddabsolutePathandpathproperties to pages, markfileas deprecated1b7bc4b: Add@types/reactto optional peer dependency to avoid version conflict in monoreposv15.5.1Compare Source
Patch Changes
b4916d2: Movehide-if-emptycomponent to Fumadocs Core8738b9c: Always encode generated slugs for non-ASCII characters inloader()a66886b: Deprecate other parameters foruseDocsSearch()The new usage passes options to a single object, improving the readability:
v15.5.0Compare Source
v15.4.2Compare Source
Patch Changes
0ab6c7f: Improve performance by using shallow compare onuseOnChangeby defaultv15.4.1Compare Source
v15.4.0Compare Source
Minor Changes
961b67e: Bump algolia search to v5This also introduced changes to some APIs since
algoliasearchv4 and v5 has many differences.Now we highly recommend to pass an index name to
sync():For search client, pass them to
searchOptions:Patch Changes
1b999eb: Introduce<Markdown />component7d78bc5: ImprovecreateRelativeLinkandgetPageByHreffor i18n usagev15.3.4Compare Source
v15.3.3Compare Source
Patch Changes
4ae7b4a: Support MDX in codeblock tab valuev15.3.2Compare Source
Patch Changes
c25d678: Support Shiki focus notation transformer by defaultv15.3.1Compare Source
Patch Changes
3372792: Support line numbers in codeblockv15.3.0Compare Source
Patch Changes
c05dc03: Improve error message of remark imagev15.2.15Compare Source
Patch Changes
50db874: Remove placeholder space for codeblocks50db874]79e75c3]v15.2.14Compare Source
Patch Changes
6ea1718]v15.2.13Compare Source
Patch Changes
b433d93: Recommend using custom button/link instead for edit on GitHub button1e07ed8: Support disabling codeblock styles with.not-fumadocs-codeblockv15.2.12Compare Source
Patch Changes
b68bb51: Fix sidebar legacy behaviours127e681: Fix Notebook layout ignoresthemeSwitchandsidebar.collapsibleon nav modeacff667]v15.2.11Compare Source
Patch Changes
d4d1ba7: Fix sidebar collapsible control search button still visible with search disabled4e62b41: Bundlelucide-reactas part of library07cd690: Support separators without name07cd690]v15.2.10Compare Source
Patch Changes
3a5595a: Support deprecated properties in Type Table8c9fc1f: Fix callout marginv15.2.9Compare Source
Patch Changes
e72af4b: Improve layoutea0f468: Fix relative file href with hash7f3c30e: Addshadcn.csspresetConfiguration
📅 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.
This PR was generated by Mend Renovate. View the repository job log.