mirror of
https://github.com/gohugoio/hugo.git
synced 2024-12-29 18:22:30 +00:00
releaser: Prepare repository for 0.37-DEV
[ci skip]
This commit is contained in:
parent
25e88ccabe
commit
8de91da74f
5 changed files with 7 additions and 40 deletions
|
@ -344,7 +344,7 @@ description = ""
|
||||||
homepage = "http://example.com/"
|
homepage = "http://example.com/"
|
||||||
tags = []
|
tags = []
|
||||||
features = []
|
features = []
|
||||||
min_version = "0.36.1"
|
min_version = "0.36"
|
||||||
|
|
||||||
[author]
|
[author]
|
||||||
name = ""
|
name = ""
|
||||||
|
|
|
@ -71,7 +71,7 @@ twitter = "GoHugoIO"
|
||||||
[params]
|
[params]
|
||||||
description = "The world’s fastest framework for building websites"
|
description = "The world’s fastest framework for building websites"
|
||||||
## Used for views in rendered HTML (i.e., rather than using the .Hugo variable)
|
## Used for views in rendered HTML (i.e., rather than using the .Hugo variable)
|
||||||
release = "0.36.1"
|
release = "0.37-DEV"
|
||||||
## Setting this to true will add a "noindex" to *EVERY* page on the site
|
## Setting this to true will add a "noindex" to *EVERY* page on the site
|
||||||
removefromexternalsearch = false
|
removefromexternalsearch = false
|
||||||
## Gh repo for site footer (include trailing slash)
|
## Gh repo for site footer (include trailing slash)
|
||||||
|
|
|
@ -93,9 +93,9 @@ func (v HugoVersion) NextPatchLevel(level int) HugoVersion {
|
||||||
// CurrentHugoVersion represents the current build version.
|
// CurrentHugoVersion represents the current build version.
|
||||||
// This should be the only one.
|
// This should be the only one.
|
||||||
var CurrentHugoVersion = HugoVersion{
|
var CurrentHugoVersion = HugoVersion{
|
||||||
Number: 0.36,
|
Number: 0.37,
|
||||||
PatchLevel: 1,
|
PatchLevel: 0,
|
||||||
Suffix: "",
|
Suffix: "-DEV",
|
||||||
}
|
}
|
||||||
|
|
||||||
func hugoVersion(version float32, patchVersion int, suffix string) string {
|
func hugoVersion(version float32, patchVersion int, suffix string) string {
|
||||||
|
|
|
@ -1,12 +1,12 @@
|
||||||
name: hugo
|
name: hugo
|
||||||
version: "0.36.1"
|
version: "0.37-DEV"
|
||||||
summary: Fast and Flexible Static Site Generator
|
summary: Fast and Flexible Static Site Generator
|
||||||
description: |
|
description: |
|
||||||
Hugo is a static HTML and CSS website generator written in Go. It is
|
Hugo is a static HTML and CSS website generator written in Go. It is
|
||||||
optimized for speed, easy use and configurability. Hugo takes a directory
|
optimized for speed, easy use and configurability. Hugo takes a directory
|
||||||
with content and templates and renders them into a full HTML website.
|
with content and templates and renders them into a full HTML website.
|
||||||
confinement: strict
|
confinement: strict
|
||||||
grade: stable # "devel" or "stable"
|
grade: devel # "devel" or "stable"
|
||||||
|
|
||||||
apps:
|
apps:
|
||||||
hugo:
|
hugo:
|
||||||
|
|
|
@ -1,33 +0,0 @@
|
||||||
This release fixes a multi-thread issue when reprocessing and reusing images across pages. When doing something like this with the same image from a partial used in, say, both the home page and the single page:
|
|
||||||
|
|
||||||
```bash
|
|
||||||
{{ with $img }}
|
|
||||||
{{ $big := .Fill "1024x512 top" }}
|
|
||||||
{{ $small := $big.Resize "512x" }}
|
|
||||||
{{ end }}
|
|
||||||
```
|
|
||||||
|
|
||||||
There would be timing issues making Hugo in some cases trying to process the same image twice at the same time.
|
|
||||||
|
|
||||||
You would experience errors of type:
|
|
||||||
|
|
||||||
```bash
|
|
||||||
png: invalid format: not enough pixel data
|
|
||||||
```
|
|
||||||
|
|
||||||
This commit fixes that by adding a mutex per image. This should also improve the performance, sligthly, as it avoids duplicate work.
|
|
||||||
|
|
||||||
The current workaround before this fix is to always operate on the original:
|
|
||||||
|
|
||||||
```bash
|
|
||||||
{{ with $img }}
|
|
||||||
{{ $big := .Fill "1024x512 top" }}
|
|
||||||
{{ $small := .Fill "512x256 top" }}
|
|
||||||
{{ end }}
|
|
||||||
```
|
|
||||||
This error was rare (no reports on GitHub or the discussion forum), but very hard to debug for the end user.
|
|
||||||
|
|
||||||
* Fix multi-threaded image processing issue [d8fdffb5](https://github.com/gohugoio/hugo/commit/d8fdffb55268464d54558d6f9cd3874b612dc7c7) [@bep](https://github.com/bep) [#4404](https://github.com/gohugoio/hugo/issues/4404)
|
|
||||||
* Improve error message in .Render [08521dac](https://github.com/gohugoio/hugo/commit/08521dac8323403933a8fd11acfd16930af5f17d) [@bep](https://github.com/bep)
|
|
||||||
* Bump Travis/Snapcraft to Go 1.9.4 [fc23a80f](https://github.com/gohugoio/hugo/commit/fc23a80ffd3878b9ba9a160ce37e0e1d8703faf3) [@bep](https://github.com/bep)
|
|
||||||
* Improve error processing error message [2851af02](https://github.com/gohugoio/hugo/commit/2851af0225cdf6c4e47058979cd22949ed6d1fc0) [@bep](https://github.com/bep)
|
|
Loading…
Reference in a new issue