mirror of
https://github.com/gohugoio/hugoDocs.git
synced 2025-09-14 10:14:47 -04:00
Release 0.55.0
This commit is contained in:
parent
25acacb912
commit
e4bc8981f9
BIN
content/en/news/0.55.0-relnotes/featured.png
Normal file
BIN
content/en/news/0.55.0-relnotes/featured.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.2 MiB |
@ -1,12 +1,12 @@
|
||||
|
||||
---
|
||||
date: 2019-04-08
|
||||
title: "0.55.0"
|
||||
description: "0.55.0"
|
||||
title: "Hugo 0.55.0: The early Easter Egg Edition!"
|
||||
description: "Faster, virtualized Output Formats, revised shortcodes, new return keyword, and much more …"
|
||||
categories: ["Releases"]
|
||||
---
|
||||
|
||||
Hugo `0.55` is **the early Easter Egg Edition** with lots of great improvements and fixes. The original motivation for this release was to prepare for [Issue #5074](https://github.com/gohugoio/hugo/issues/5074), but the structural changes needed for that paved the way for lots of others. Please study the list of changes below, and especially the **Notes** section, but some headlines include:
|
||||
Hugo `0.55` is **the early Easter Egg Edition** with lots of great improvements and fixes. The original motivation for this release was to prepare for [Issue #5074](https://github.com/gohugoio/hugo/issues/5074), but the structural changes needed for that paved the way for lots of others. Please study the list of changes below, and especially the **Notes** section, but some headlines include:
|
||||
|
||||
## Virtualized Output Formats
|
||||
|
||||
@ -20,7 +20,7 @@ We have now also added a new `Permalinkable` configuration attribute, which is e
|
||||
|
||||
## Shortcodes Revised
|
||||
|
||||
Shortcodes using the `{{%` as the outer-most delimiter will now be fully rendered when sent to the content renderer (e.g. Blackfriday for Markdown), meaning they can be part of the generated table of contents, footnotes, etc.
|
||||
Shortcodes using the `{{/*% */%}}` as the outer-most delimiter will now be fully rendered when sent to the content renderer (e.g. Blackfriday for Markdown), meaning they can be part of the generated table of contents, footnotes, etc.
|
||||
|
||||
If you want the old behavior, you can put the following line in the start of your shortcode template:
|
||||
|
||||
@ -28,7 +28,7 @@ If you want the old behavior, you can put the following line in the start of you
|
||||
{{ $_hugo_config := `{ "version": 1 }` }}
|
||||
```
|
||||
|
||||
But using the `{{<` delimiter will, in most cases, be a better alternative, possibly in combination with the `markdownify` template func.
|
||||
But using the `{{</* */>}}` delimiter will, in most cases, be a better alternative, possibly in combination with the `markdownify` template func.
|
||||
|
||||
See [#5763](https://github.com/gohugoio/hugo/issues/5763).
|
||||
|
||||
@ -65,8 +65,6 @@ The taxonomy nodes now have a `.Page` accessor which makes it much simpler to ge
|
||||
|
||||
See [#5719](https://github.com/gohugoio/hugo/issues/5719).
|
||||
|
||||
|
||||
|
||||
## And it's Faster!
|
||||
|
||||
This version is also the **fastest to date**. A site building benchmark shows more than 10% decrease in both build time and memory consumption, but that depends on the site. It’s quite a challenge to consistently add significant new functionality and simultaneously improve performance. Also, note that we are now more honest about build times reported (`Total in 1234 ms`). We now do all initialization in the `Build` step, so you may get a higher time reported if you, as an example, have `--enableGitInfo` enabled, which now is included in the reported time.
|
||||
|
@ -3,7 +3,7 @@ publish = "public"
|
||||
command = "hugo --gc --minify"
|
||||
|
||||
[context.production.environment]
|
||||
HUGO_VERSION = "0.54.0"
|
||||
HUGO_VERSION = "0.55.0"
|
||||
HUGO_ENV = "production"
|
||||
HUGO_ENABLEGITINFO = "true"
|
||||
|
||||
@ -11,20 +11,20 @@ HUGO_ENABLEGITINFO = "true"
|
||||
command = "hugo --gc --minify --enableGitInfo"
|
||||
|
||||
[context.split1.environment]
|
||||
HUGO_VERSION = "0.54.0"
|
||||
HUGO_VERSION = "0.55.0"
|
||||
HUGO_ENV = "production"
|
||||
|
||||
[context.deploy-preview]
|
||||
command = "hugo --gc --minify --buildFuture -b $DEPLOY_PRIME_URL"
|
||||
|
||||
[context.deploy-preview.environment]
|
||||
HUGO_VERSION = "0.54.0"
|
||||
HUGO_VERSION = "0.55.0"
|
||||
|
||||
[context.branch-deploy]
|
||||
command = "hugo --gc --minify -b $DEPLOY_PRIME_URL"
|
||||
|
||||
[context.branch-deploy.environment]
|
||||
HUGO_VERSION = "0.54.0"
|
||||
HUGO_VERSION = "0.55.0"
|
||||
|
||||
[context.next.environment]
|
||||
HUGO_ENABLEGITINFO = "true"
|
||||
|
File diff suppressed because one or more lines are too long
@ -1 +1 @@
|
||||
{"Target":"output/css/app.min.7b23725c013f7650fd9e3f14b7f6b0bc02f71e14088ecd41bbe57661163fbcbb.css","MediaType":"text/css","Data":{"Integrity":"sha256-eyNyXAE/dlD9nj8Ut/awvAL3HhQIjs1Bu+V2YRY/vLs="}}
|
||||
{"Target":"output/css/app.min.2ac9b5935f7ff7709fe13c2b042a4a2d49fa96fb508e3e8870019ee9b72cf329.css","MediaType":"text/css","Data":{"Integrity":"sha256-Ksm1k19/93Cf4TwrBCpKLUn6lvtQjj6IcAGe6bcs8yk="}}
|
Binary file not shown.
After Width: | Height: | Size: 169 KiB |
Binary file not shown.
After Width: | Height: | Size: 300 KiB |
Loading…
x
Reference in New Issue
Block a user