You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: RELEASE_NOTES.md
+75Lines changed: 75 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -340,3 +340,78 @@ For example, an empty or malformed JSON file will now throw an exception like th
340
340
341
341
In order to normalize the thrown exceptions, we now rethrow the `ParseException` from `Symfony/Yaml` as our custom `ParseException` to match the JSON and Markdown validation.
342
342
Additionally, an exception will be thrown if a data file is empty, as this is unlikely to be intentional. Markdown files can have an empty body if front matter is present.
343
+
344
+
## New features
345
+
346
+
<!-- Editors note: Todo: Maybe move to the relevant docs... -->
347
+
348
+
### Navigation configuration changes
349
+
350
+
The custom navigation item configuration format has been updated to use array inputs. This change allows for more flexibility and consistency in defining navigation items.
Additionally, the `hyde.navigation.subdirectories` configuration option has been renamed to `hyde.navigation.subdirectory_display`. Update your configuration files accordingly.
373
+
374
+
### YAML configuration for navigation items
375
+
376
+
You can now set custom navigation items directly in your YAML configuration files. This provides an alternative to defining them in the PHP configuration files.
377
+
378
+
Example:
379
+
380
+
```yaml
381
+
navigation:
382
+
custom_items:
383
+
- label: Custom Item
384
+
destination: /custom-page
385
+
```
386
+
387
+
### Extra attributes for navigation items
388
+
389
+
Navigation items now support extra attributes, allowing you to add custom data or styling to your navigation elements. You can set these attributes in both PHP and YAML configurations.
These changes provide more flexibility and control over your site's navigation structure. Make sure to update your configuration files and any custom code that interacts with navigation items to align with these new formats and features.
0 commit comments