Skip to content

Commit cbf7aaf

Browse files
Version Packages (#2649)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent e01eff2 commit cbf7aaf

File tree

14 files changed

+73
-49
lines changed

14 files changed

+73
-49
lines changed

.changeset/calm-buckets-feel.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/floppy-forks-mate.md

Lines changed: 0 additions & 25 deletions
This file was deleted.

.changeset/free-socks-trade.md

Lines changed: 0 additions & 9 deletions
This file was deleted.

.changeset/plain-wasps-notice.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

packages/core/CHANGELOG.md

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,41 @@
11
# next-docs-zeta
22

3+
## 16.1.0
4+
5+
### Minor Changes
6+
7+
- 15bd183: **[Loader API] Default the type of `plugins` to `LoaderPluginOption[]`**
8+
9+
It should no longer enforce type checks on custom properties from your content source.
10+
11+
For creating fully typed plugins (with custom properties), use the following pattern:
12+
13+
```ts
14+
import { loader } from 'fumadocs-core/source';
15+
import { docs } from 'fumadocs-mdx:collections/server';
16+
import { lucideIconsPlugin } from 'fumadocs-core/source/lucide-icons';
17+
18+
export const source = loader(docs.toFumadocsSource(), {
19+
baseUrl: '/docs',
20+
plugins: ({ typedPlugin }) => [
21+
lucideIconsPlugin(),
22+
typedPlugin({
23+
// the plugin config
24+
}),
25+
],
26+
});
27+
```
28+
29+
- 42ad84c: **[Loader API] Refactor internal type parameters**
30+
31+
Internal types like `ContentStorage`, `PageTreeTransformer` now use a single `Config extends SourceConfig` generic parameter.
32+
33+
It makes extending their parameters easier, this should not affect normal usages.
34+
35+
### Patch Changes
36+
37+
- 2e01720: [Loader API] Support calling `loader().getPage(slugs)` with URI encoded slugs
38+
339
## 16.0.15
440

541
### Patch Changes

packages/core/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "fumadocs-core",
3-
"version": "16.0.15",
3+
"version": "16.1.0",
44
"description": "The React.js library for building a documentation website",
55
"keywords": [
66
"Fumadocs",

packages/create-app-versions/CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,15 @@
11
# create-fumadocs-versions
22

3+
## 16.0.19
4+
5+
### Patch Changes
6+
7+
- Updated dependencies [2e01720]
8+
- Updated dependencies [15bd183]
9+
- Updated dependencies [42ad84c]
10+
11+
12+
313
## 16.0.18
414

515
### Patch Changes

packages/create-app-versions/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "create-fumadocs-versions",
3-
"version": "16.0.18",
3+
"version": "16.0.19",
44
"private": true,
55
"description": "Used to track dependency versions in create-fumadocs-app",
66
"dependencies": {

packages/create-app/CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# create-next-docs-app
22

3+
## 16.0.19
4+
35
## 16.0.18
46

57
## 16.0.17

packages/create-app/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "create-fumadocs-app",
3-
"version": "16.0.18",
3+
"version": "16.0.19",
44
"description": "Create a new documentation site with Fumadocs",
55
"keywords": [
66
"react",

0 commit comments

Comments
 (0)