gutenberg v0.14.0 Release Notes
Release Date: 2021-07-19 // over 2 years ago-
๐ฅ Breaking
- ๐ Newlines are now required after the closing
+++
of front-matter resize_image
now returns an object:{url, static_path}
instead of just the URL so you can follow up with other functions on the new file if neededget_file_hash
now has thebase64
option set totrue
by default (fromfalse
) since it's mainly used for integrity hashes which are base64- i18n rework: languages now have their sections in
config.toml
to set up all their options- taxonomies don't have a
lang
anymore in the config, you need to declare them in their respective language section - the
config
variable in templates has been changed and is now a stripped down language aware version of the previousconfig
object - Search settings are now language specific
- Translations are now nested in the languages table
- taxonomies don't have a
- Paths unification:
get_url
does not load automatically from thestatic
folder anymore- New path resolving logic for all on-disk files: replace
@/
bycontent/
, trim leading/
and search in $BASE_DIR + $path, $BASE_DIR + static + $path and $BASE_DIR + content + $path get_file_hash
now returns base64 encoded hash by default- all functions working on files can now only load files in the Zola directory
resize_image
return value has changedpage.assets
now start with a/
to matchsection.assets
and other paths
Other
- Internal links are now resolved in the
markdown
filter in the templates (#1296 #1316) - โ Add a
required
argument toload_data
so it can be allowed to fail get_file_hash
now supports returning the base64 encoded hash- The
markdown
filter not renders shortcodes - ๐ Image processing now supports WebP
- ๐ Fix
zola serve
failing for some static files - ๐ Fix
zola serve
not picking up directory renaming - โ Add
path
to the taxonomy terms to be on par with pages and sections - โ Add the
base16-aterlierdune-light
syntax highlight theme - ๐ Improve link checking: less concurrency and try to not overload the servers
- ๐ Allow using POST for
load_data
, along with a body to POST and allow it to fail - โ Add Zig and Protobuf syntax highlighting
- Footnotes links are now stripped from summaries - they were not linking to anything.
get_url
andget_taxonomy_url
are now marked as safe, no need to call| safe
on their output- Add
allow_missing
optional argument toget_image_metadata
to not error if the file is not found - โ Add
permalink
toTaxonomy
in templates - ๐ Syntax highlighting improvements, see documentation for details on each
- Add CSS class based syntax highlighting
- Allow hiding specific lines
- Allow showing line numbers
- ๐ Newlines are now required after the closing