We only document breaking changes and release highlights in this page. For the full list of changes of any particular release, see the release notes.
Useful links:
UNRELEASED: this planned version is still under development
For the full list of changes, see the 0.12.0 release notes.
Breaking changes:
Potential breaking changes:
figure, hugo's built-in shortcode figure can/will be
used instead.New:
ui.breadcrumb_disable to true. For details, see
Breadcrumb navigation.Other changes:
.td-section.td-blog .td-content { display: none; }.comment shortcode, as a drop-in replacement for the one removed from
Hugo.For the full list of changes, see the 0.11.0 release notes.
New:
For an introduction to this release, see the 0.10.0 release report. For the full list of changes, see the 0.10.0 release notes.
New: color themes and dark-mode support! For details, see Color themes and dark-mode support.
Breaking changes:
card-code that was deprecated in 0.7.0; use
shortcode card with named parameter code=true instead.$border-color, $td-sidebar-tree-root-color,
$td-sidebar-bg-color, $td-sidebar-border-color (#1952)Style changes (potentially breaking):
Patch release. For details, see 0.9.1.
For an introduction and commentary, see the 0.9.0 release report. For the full list of commits, see the 0.9.0 release notes. The most significant changes of this release are listed next.
Breaking changes:
For any given page, repository links are now computed from a page's resolved
File path — as resolved through mount points, if any. That is, the
path used is the one that refers to the file's actual location on disk, not
it's logical path in Hugo's union file system.
This is a breaking change for pages of sites that use mounts and path_base_for_github_subdir. Projects will need to adjust the value of path_base_for_github_subdir to be relative to the file's physical location.
Class names to disable repository links were misnamed with a suffix of the
form --KIND. The new suffix is __KIND. For details, see Disabling links.
Heading self-link support has been reimplemented and projects must now explicitly enable the feature. For details, see Heading self links.
Footer changes: refactoring, for easier customization, and simplification. For details concerning all footer changes, see #1818.
Other changes:
For the full list of changes, see the 0.8.0 release notes.
Breaking changes:
site.Config.Services.GoogleAnalytics.ID is set (#1727).name is page_helpfulrather thanclickvalue for "yes" is 100 by default, rather than 1, allowing for
more response options in the future. To override the default set
params.ui.feedback.max_value.@function prepend() and file assets/scss/support/_functions.scss
have been dropped. Instead use the more general SASS/SCSS list join()
function (#1385).For the full list of changes, see the 0.7.2 release notes. We mention some noteworthy changes here:
persistLang is deprecated, use persist insteadpersistLang
parameter value) ; to disable use persist=disabledFor the full list of changes, see the 0.7.1 release notes.
Followup changes to Bootstrap (BS) 5.2 upgrade (#470):
td-blog-posts-list__item and td-blog-posts-list__body replace the .media
and .media-body classes, dropped by BS 5 #1560.For the full list of changes, see the 0.7.0 release notes.
New:
Breaking changes:
Shortcodes:
{{%/*...*/%}}. (#939)blocks/section: default and accepted values of the type argument
have changed! For details, see blocks/section.td-card-deck to td-card-group.card, card-code: markup of inner content (HTML/markdown) now depends
on the syntax of the calling shortcode, not on extension of page file any
more #906.card-code is deprecated; use card with named parameter code=true
instead.Detection of draw.io diagrams is now disabled by default #1185
Other changes:
$list-inline-padding is increased in support of footer icons (#1523). If
this global adjustment is a problem for your project, let us know and we can
contextualize the adjustment to the footer.For the full list of changes, see the 0.6.0 release notes.
With this release we declare a feature freeze while we migrate to the newest Bootstrap version. See the announcement for more information.
New:
Simplified use of mermaid diagrams: when using a mermaid code block on
your page, mermaid is now automatically enabled (needs hugo version >=
0.93.0). For existing sites build with hugo 0.93.0+, parameter
mermaid.enable can be removed from site config.
Add render hook for chem code blocks: add auto-activation of math and
chem blocks via KateX and mhchem. Support for formula rendering activation
on individual pages only. Hugo version >= 0.93.0 required.
For the full list of changes, see the 0.5.1 release notes. BREAKING CHANGES are documented below.
After you update your project's Docsy:
npm install.New:
Breaking changes:
code=false to your tabpane or tab shortcode in order to
render tab content(s) as text (markdown or html). As of version 0.5 the name
of this parameter was changed, we now use text=true in order to mark content
as text.small). For details, see v4.6.2
release notes.Other changes:
Unpublished.
For the full list of changes, see the 0.4.0 release notes. Potential BREAKING CHANGES are documented below.
After you update your project's Docsy, run npm install.
If your project uses Docsy as follows:
Docsy now fetches Bootstrap and FontAwesome as NPM packages rather than git submodules. This has an impact on your project-build setup. To migrate your site, follow these steps (execute commands from your project's root directory):
sh
git rm themes/docsy/assets/vendor/Font-Awesome
git rm themes/docsy/assets/vendor/bootstrap
These commands remove the submodules from Git's tracking, from the
.gitmodules file, and deletes the submodule files under
themes/docsy/assets/vendor.sh
(cd themes/docsy && npm install)
json
{
"name": "my-website",
"scripts": {
"prepare": "cd themes/docsy && npm install",
"...": "..."
},
"...": "..."
}
--recursive flag when
running git submodule update. Consider dropping the flag if you have no
other recursive git submodules.Proceed as usual to build or serve your site.
For the full list of changes, see the 0.3.0 release notes.
Breaking changes:
highlight style. For details, see
issue #1154. Release 0.5.1 includes a fix.For the full list of changes, see the 0.2.0 release notes.
New:
For details, see Migrate to Hugo Modules.