From e739dc3a890f81b6626497a2a7a2ef1f05536d07 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rn=20Erik=20Pedersen?= Date: Thu, 23 Jan 2020 21:40:06 +0100 Subject: [PATCH] Release 0.63.1 --- content/en/news/0.63.0-relnotes/index.md | 3 +++ content/en/news/0.63.1-relnotes/index.md | 5 +---- go.mod | 2 +- go.sum | 2 ++ netlify.toml | 8 ++++---- 5 files changed, 11 insertions(+), 9 deletions(-) diff --git a/content/en/news/0.63.0-relnotes/index.md b/content/en/news/0.63.0-relnotes/index.md index d5512dc89..899dfdb39 100644 --- a/content/en/news/0.63.0-relnotes/index.md +++ b/content/en/news/0.63.0-relnotes/index.md @@ -6,6 +6,8 @@ description: "In Hugo 0.63 we have improved the base template lookup logic, and categories: ["Releases"] --- +**Note:** There is already a [patch release](/news/0.63.1-relnotes/) with some fixes. + Hugo `0.63` is, in general, **considerably faster and more memory effective** (see the site-building benchmarks below comparing it to `v0.62`). Not that we are particularly concerned about Hugo's build speed. We leave that to others. But we would hate if it got slower, so we have a comprehensive benchmark suite. And when we needed to simplify the template handling code to solve a concurrency issue, it also became more effective. And as a bonus, we also finally got the [base template lookup order](https://gohugo.io/templates/base/#base-template-lookup-order) that you really, really wanted! ```bash @@ -56,6 +58,7 @@ Hugo now has: * `.Type` on-page now returns an empty string if not set in the front matter or if `.Section` returns empty. See [#6760](https://github.com/gohugoio/hugo/issues/6760). * Baseof template (e.g. `baseof.html`) lookup order is completely revised/expanded. See [base template lookup order](https://gohugo.io/templates/base/#base-template-lookup-order). We now do template resolution at execution time following the same rules as the template it applies to (e.g. `_default/single.html`). This is an obvious improvement and your site should work as before. * Shortcode params now supports params with raw string literals (strings surrounded with \`\`) that supports newlines. +* Note: In a base template (e.g. `baseof.html`), the first template block must be a `define`. ## Enhancements diff --git a/content/en/news/0.63.1-relnotes/index.md b/content/en/news/0.63.1-relnotes/index.md index 103e39635..e6ae8b906 100644 --- a/content/en/news/0.63.1-relnotes/index.md +++ b/content/en/news/0.63.1-relnotes/index.md @@ -8,13 +8,10 @@ images: - images/blog/hugo-bug-poster.png --- - - This is a bug-fix release with a couple of important fixes. * deps: Make the build flags shared between sites [0df7bd62](https://github.com/gohugoio/hugo/commit/0df7bd62df460a49544845d5332f33b2020b48a1) [@bep](https://github.com/bep) [#6789](https://github.com/gohugoio/hugo/issues/6789) * Fix baseof with regular define regression [f441f675](https://github.com/gohugoio/hugo/commit/f441f675126ef1123d9f94429872dd683b40e011) [@bep](https://github.com/bep) [#6790](https://github.com/gohugoio/hugo/issues/6790) - - +* Revert to minify [v2.61](https://github.com/gohugoio/hugo/commit/7ed22e9fb6a5b74c52ae6054b843b8c64e83f4b6) diff --git a/go.mod b/go.mod index 9e7d3b689..f204f837c 100644 --- a/go.mod +++ b/go.mod @@ -2,4 +2,4 @@ module github.com/gohugoio/hugoDocs go 1.12 -require github.com/gohugoio/gohugoioTheme v0.0.0-20200123151337-9475fd449324 // indirect +require github.com/gohugoio/gohugoioTheme v0.0.0-20200123204146-589b4c309025 // indirect diff --git a/go.sum b/go.sum index 6f7f05282..aea3a646a 100644 --- a/go.sum +++ b/go.sum @@ -5,3 +5,5 @@ github.com/gohugoio/gohugoioTheme v0.0.0-20191021162625-2e7250ca437d h1:D3DcaYku github.com/gohugoio/gohugoioTheme v0.0.0-20191021162625-2e7250ca437d/go.mod h1:kpw3SS48xZvLQGEXKu8u5XHgXkPvL8DX3oGa07+z8Bs= github.com/gohugoio/gohugoioTheme v0.0.0-20200123151337-9475fd449324 h1:UZwHDYtGY0uOKIvcm2LWd+xfFxD3X5L222LIJdI5RE4= github.com/gohugoio/gohugoioTheme v0.0.0-20200123151337-9475fd449324/go.mod h1:kpw3SS48xZvLQGEXKu8u5XHgXkPvL8DX3oGa07+z8Bs= +github.com/gohugoio/gohugoioTheme v0.0.0-20200123204146-589b4c309025 h1:ScYFARz+bHX1rEr1donVknhRdxGY/cwqK1hHvWEfrlc= +github.com/gohugoio/gohugoioTheme v0.0.0-20200123204146-589b4c309025/go.mod h1:kpw3SS48xZvLQGEXKu8u5XHgXkPvL8DX3oGa07+z8Bs= diff --git a/netlify.toml b/netlify.toml index b88d8040c..9518f01a3 100644 --- a/netlify.toml +++ b/netlify.toml @@ -3,7 +3,7 @@ publish = "public" command = "hugo --gc --minify" [context.production.environment] -HUGO_VERSION = "0.63.0" +HUGO_VERSION = "0.63.1" HUGO_ENV = "production" HUGO_ENABLEGITINFO = "true" @@ -11,20 +11,20 @@ HUGO_ENABLEGITINFO = "true" command = "hugo --gc --minify --enableGitInfo" [context.split1.environment] -HUGO_VERSION = "0.63.0" +HUGO_VERSION = "0.63.1" HUGO_ENV = "production" [context.deploy-preview] command = "hugo --gc --minify --buildFuture -b $DEPLOY_PRIME_URL" [context.deploy-preview.environment] -HUGO_VERSION = "0.63.0" +HUGO_VERSION = "0.63.1" [context.branch-deploy] command = "hugo --gc --minify -b $DEPLOY_PRIME_URL" [context.branch-deploy.environment] -HUGO_VERSION = "0.63.0" +HUGO_VERSION = "0.63.1" [context.next.environment] HUGO_ENABLEGITINFO = "true"