Changelog


0.51.5

(fix): Added a new rule to validate frontmatter parsing across markdown files, ensuring frontmatter is properly formatted and can be parsed without errors.


0.51.3

(fix): The OpenAPI parser now prefers the JSON Content-Type variant over others (e.g. application/x-www-form-urlencoded).


0.51.2

(fix): Improved error messages when docs.yml doesn’t match schema by showing more specific validation errors and including the path where the error occurred.


0.50.17

(fix): Improve performance of fern docs dev by only reloading the markdown content when only markdown files are changed, avoiding unnecessary recompilation of the full docs.


0.50.14

(fix): Fixes a bug where duplicate types in undiscriminated unions (oneOf in OpenAPI) were not being deduped, which could lead to invalid generated code.



0.50.9

(fix): The Fern CLI no longer logs the full API request when finishing docs registration, reducing unnecessary log output.




0.50.4

(internal): The docs.yml now supports a separate configurtation for feature-flags which allows Fern to render pieces of content depending on whether or not certain feature flags are enabled for particular user.

This feature is in alpha stage; please contact support@buildwithfern.com to learn more!

docs.yml
1navigation:
2 - page: Page 1
3 feature-flag: my-feature-flag-a # single boolean flag
4 - page: Page 2
5 feature: # multiple boolean flags
6 - flag: my-feature-flag-a
7 - flag: my-feature-flag-b
8 - section: Section Title
9 viewers: role-a
10 feature-flag: # configurable match
11 flag: my-feature-flag-a
12 fallback-value: "ga"
13 match: "beta"
14 layout: []
Built with