Skip to content

Commit a1ccbd3

Browse files
committed
v10.5.0 release notes
1 parent a8c2f15 commit a1ccbd3

File tree

8 files changed

+181
-75
lines changed

8 files changed

+181
-75
lines changed

.frontmatter/database/mediaDb.json

+1-1
Large diffs are not rendered by default.

components/Page/Sponsors.tsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ export const Sponsors: React.FunctionComponent<ISponsorsProps> = (props: React.P
8585
</div>
8686

8787
<div className="max-w-7xl mx-auto pt-12 px-4 sm:px-6 lg:px-8 xl:px-0">
88-
<p className="text-center text-sm font-semibold uppercase text-whisper-900 tracking-wide">
88+
<div className="text-center text-sm font-semibold uppercase text-whisper-900 tracking-wide">
8989
{strings(`contributors_title`) as string}
9090
<div className="flex justify-center space-x-4 flex-wrap">
9191
{
@@ -102,7 +102,7 @@ export const Sponsors: React.FunctionComponent<ISponsorsProps> = (props: React.P
102102
))
103103
}
104104
</div>
105-
</p>
105+
</div>
106106
</div>
107107
</div>
108108
);

content/changelog/10.5.0.md

+87
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,87 @@
1+
---
2+
title: Version 10.5.0 release notes
3+
description: Discover the key features and enhancements in Version 10.5.0, including new options for content management and improved language file handling.
4+
date: 2024-10-21T14:11:32.627Z
5+
lastmod: 2024-10-21T14:11:32.627Z
6+
slug: "10.5.0"
7+
fmContentType: changelog
8+
---
9+
10+
## New exclude paths option for the content folder settings
11+
12+
You can now exclude specific path(s) from the content folder by specifying a list of paths in the `excludePaths` option. You can make use of wildcards to exclude folders.
13+
14+
```json {{ "title": "Example of the excludePaths option" }}
15+
{
16+
"frontMatter.content.pageFolders": [
17+
{
18+
"title": "Documentation",
19+
"path": "[[workspace]]/docs",
20+
"excludePaths": [
21+
"api", // Exclude the api folder
22+
"_*.*" // Exclude all files starting with an underscore
23+
]
24+
},
25+
}
26+
```
27+
28+
> **Info**: You can find more information about the content folder settings in the [content folders](/docs/content-creation/content-folders) documentation.
29+
30+
## Extended i18n/language button to open or create new language files
31+
32+
You can now open or create new language files directly from the i18n/language button. This feature allows you to manage your language files more efficiently.
33+
34+
![i18n language selection experience](/releases/v10.5.0/i18n-language-selector.webp)
35+
36+
Thanks to [Dennis Zoma](https://github.com/wottpal) for contributing to this enhancement.
37+
38+
> **Info**: You can find more information in the [multilingual](/docs/content-creation/multilingual) documentation.
39+
40+
## New same content locale option for the contentRelationship field
41+
42+
You can now specify to use the same content's locale for the `contentRelationship` field by using the `sameContentLocale` option. The default behavior is to use the current content's locale.
43+
44+
```json {{ "title": "Example of the sameContentLocale option" }}
45+
{
46+
"title": "Session",
47+
"name": "session",
48+
"type": "contentRelationship",
49+
"contentTypeName": "session",
50+
"contentTypeValue": "slug",
51+
"sameContentLocale": false // Default behavior is set to `true`
52+
}
53+
```
54+
55+
Thanks to [Dennis Zoma](https://github.com/wottpal) for contributing to this enhancement.
56+
57+
> **Info**: You can find more information about the `contentRelationship` field in the [fields](/docs/content-creation/fields#contentrelationship) documentation.
58+
59+
## Support Markdown in the WYSIWYG string field
60+
61+
You can now use Markdown in the WYSIWYG `string` field. By default the WYSIWYG option is returning HTML, but you can now switch to Markdown.
62+
63+
```json {{ "title": "Example of the WYSIWYG string field with Markdown support" }}
64+
{
65+
"title": "Markdown field",
66+
"name": "markdownField",
67+
"type": "string",
68+
"wysiwyg": "markdown"
69+
}
70+
```
71+
72+
> **Info**: You can find more information about the `string` field in the [fields](/docs/content-creation/fields#string) documentation.
73+
74+
## Related issues/enhancements
75+
76+
### 🎨 Enhancements
77+
78+
- [#840](https://github.com/estruyf/vscode-front-matter/issues/840): Added the `excludePaths` option for the content folder settings
79+
- [#850](https://github.com/estruyf/vscode-front-matter/issues/850): Extended the i18n/language button to open or create new language files (thanks to [Dennis Zoma](https://github.com/wottpal))
80+
- [#851](https://github.com/estruyf/vscode-front-matter/issues/851): Added `sameContentLocale` option to `contentRelationship` field (thanks to [Dennis Zoma](https://github.com/wottpal))
81+
- [#866](https://github.com/estruyf/vscode-front-matter/issues/866): Support Markdown in the WYSIWYG `string` field
82+
83+
### 🐞 Fixes
84+
85+
- [#858](https://github.com/estruyf/vscode-front-matter/issues/858): Fix button styling on the data screen
86+
- [#860](https://github.com/estruyf/vscode-front-matter/issues/860): Fix typo on the data screen
87+
- [#870](https://github.com/estruyf/vscode-front-matter/issues/870): Fix data number field styling

content/changelog/CHANGELOG.md

+2
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,15 @@
99
- [#840](https://github.com/estruyf/vscode-front-matter/issues/840): Added the `excludePaths` option for the content folder settings
1010
- [#850](https://github.com/estruyf/vscode-front-matter/issues/850): Extended the i18n/language button to open or create new language files (thanks to [Dennis Zoma](https://github.com/wottpal))
1111
- [#851](https://github.com/estruyf/vscode-front-matter/issues/851): Added `sameContentLocale` option to `contentRelationship` field (thanks to [Dennis Zoma](https://github.com/wottpal))
12+
- [#866](https://github.com/estruyf/vscode-front-matter/issues/866): Support Markdown in the WYSIWYG `string` field
1213

1314
### ⚡️ Optimizations
1415

1516
### 🐞 Fixes
1617

1718
- [#858](https://github.com/estruyf/vscode-front-matter/issues/858): Fix button styling on the data screen
1819
- [#860](https://github.com/estruyf/vscode-front-matter/issues/860): Fix typo on the data screen
20+
- [#870](https://github.com/estruyf/vscode-front-matter/issues/870): Fix data number field styling
1921

2022
## [10.4.1] - 2024-09-27
2123

content/docs/content-creation/content-folders.md

+8-3
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: Content folders
33
slug: content-creation/content-folders
44
description: Learn how to let Front Matter CMS know where to find and create your content
55
date: 2024-02-21T09:10:16.640Z
6-
lastmod: 2024-04-30T08:06:48.062Z
6+
lastmod: 2024-10-21T13:36:56.850Z
77
weight: 200.11
88
---
99

@@ -45,7 +45,11 @@ Content folders are stored in the [frontMatter.content.pageFolders][02] setting.
4545
"title": "docs",
4646
"path": "[[workspace]]/docs",
4747
"filePrefix": "",
48-
"contentTypes": ["doc"]
48+
"contentTypes": ["doc"],
49+
"excludePaths": [
50+
"api", // Exclude the api folder
51+
"_*.*" // Exclude all files starting with an underscore
52+
]
4953
},
5054
{
5155
"title": "archive",
@@ -113,7 +117,8 @@ and clicking on `Register folder` under the Front Matter CMS context menu.
113117
| `contentTypes` | `string[]` | An array of content types to use for this folder. If not specified, all content types are used. | | Optional |
114118
| `disableCreation` | `boolean` | Disables the creation of new content in this folder. | `false` | Optional |
115119
| `defaultLocale` | `string` | Set the default locale ID for the page folder. More information can be found in the [Multilingual][04] section. | | Optional |
116-
| `locales` | `array` | Multilingual configuration on page folder level. More information can be found in the [Multilingual][04] section. | | Optional |
120+
| `locales` | `string[]` | Multilingual configuration on page folder level. More information can be found in the [Multilingual][04] section. | | Optional |
121+
| `excludePaths` | `string[]` | List of folders/files which you want to exclude. You can use wildcards like `*.mdx`, `_*.*`, etc. | | Optional |
117122

118123
> **Important**: `[[workspace]]` is a placeholder that the extension uses to replace the workspace
119124
> path. The reason why we choose to use this, is because some do not keep the original folder name.

0 commit comments

Comments
 (0)