diff options
author | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2019-09-04 19:08:15 +0300 |
---|---|---|
committer | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2019-09-04 19:08:15 +0300 |
commit | 98af8337822936dcea19e1e9fc455f2c1b23074e (patch) | |
tree | 73a0ec0aa19c464529d232a9893b6e0f1a912ba2 | |
parent | 0f7d8b074c0727253ee7f9b8126c4c8ab16f24e1 (diff) |
Release 0.58.0v0.58.0
-rw-r--r-- | content/en/news/0.58.0-relnotes/hugo58-featured.png | bin | 0 -> 23413 bytes | |||
-rw-r--r-- | content/en/news/0.58.0-relnotes/index.md | 12 | ||||
-rw-r--r-- | netlify.toml | 6 | ||||
-rw-r--r-- | resources/_gen/images/news/0.58.0-relnotes/hugo58-featured_hu773ef1300245c62235b6a2b3c71a3170_23413_480x0_resize_catmullrom_2.png | bin | 0 -> 21753 bytes | |||
-rw-r--r-- | resources/_gen/images/news/0.58.0-relnotes/hugo58-featured_hu773ef1300245c62235b6a2b3c71a3170_23413_640x0_resize_catmullrom_2.png | bin | 0 -> 29764 bytes |
5 files changed, 12 insertions, 6 deletions
diff --git a/content/en/news/0.58.0-relnotes/hugo58-featured.png b/content/en/news/0.58.0-relnotes/hugo58-featured.png Binary files differnew file mode 100644 index 000000000..52962050d --- /dev/null +++ b/content/en/news/0.58.0-relnotes/hugo58-featured.png diff --git a/content/en/news/0.58.0-relnotes/index.md b/content/en/news/0.58.0-relnotes/index.md index 46db7c4ea..be183e027 100644 --- a/content/en/news/0.58.0-relnotes/index.md +++ b/content/en/news/0.58.0-relnotes/index.md @@ -1,12 +1,12 @@ --- date: 2019-09-04 -title: "0.58.0" -description: "0.58.0" +title: "Image Processing Galore!" +description: "Hugo 0.58 adds the long sought after Exif method plus many useful image filters. And it's faster ..." categories: ["Releases"] --- - **Hugo 0.58** adds the long sought after [Exif (docs)](https://gohugo.io/content-management/image-processing/#exif) method on image and a bunch of useful [image filters (docs)](https://gohugo.io/functions/images/#image-filters), courtesy of [@disintegration](https://github.com/disintegration)'s great [Gift](https://github.com/disintegration/gift) image library. +**Hugo 0.58** adds the long sought after [Exif (docs)](https://gohugo.io/content-management/image-processing/#exif) method on image and a bunch of useful [image filters (docs)](https://gohugo.io/functions/images/#image-filters), courtesy of [@disintegration](https://github.com/disintegration)'s great [Gift](https://github.com/disintegration/gift) image library. This means that you now can do variations of this: @@ -39,6 +39,12 @@ Hugo now has: * 440+ [contributors](https://github.com/gohugoio/hugo/graphs/contributors) * 317+ [themes](http://themes.gohugo.io/) +## Notes + +* `home.Pages` now behaves like all the other sections, see [#6240](https://github.com/gohugoio/hugo/issues/6240). If you want to list all the regular pages, use `.Site.RegularPages`. +* We have added some new image filters to Hugo's image processing. This also means that we have consolidated the resize operations to use the one `gift` library (from the same developer as the one we used before). The operations work as before, but one difference is that we no longer embed ey color profile information in PNG images, but this should also be a more portable solution. Software that supports color profiles will assume that images without an embedded profile are in the sRGB profile. Software that doesn't support color profiles will use the monitor's profile, which is most likely to be sRGB as well. +* We have improved the file cache logic for processed images and only stores them once when the same image is bundled in multiple languages. This means that you may want to run `hugo --gc` to clean your image cache. + ## Enhancements ### Templates diff --git a/netlify.toml b/netlify.toml index a3aff74fd..76440a4f7 100644 --- a/netlify.toml +++ b/netlify.toml @@ -3,7 +3,7 @@ publish = "public" command = "hugo --gc --minify" [context.production.environment] -HUGO_VERSION = "0.57.2" +HUGO_VERSION = "0.58.0" HUGO_ENV = "production" HUGO_ENABLEGITINFO = "true" @@ -11,14 +11,14 @@ HUGO_ENABLEGITINFO = "true" command = "hugo --gc --minify --enableGitInfo" [context.split1.environment] -HUGO_VERSION = "0.57.2" +HUGO_VERSION = "0.58.0" HUGO_ENV = "production" [context.deploy-preview] command = "hugo --gc --minify --buildFuture -b $DEPLOY_PRIME_URL" [context.deploy-preview.environment] -HUGO_VERSION = "0.57.2" +HUGO_VERSION = "0.58.0" [context.branch-deploy] command = "hugo --gc --minify -b $DEPLOY_PRIME_URL" diff --git a/resources/_gen/images/news/0.58.0-relnotes/hugo58-featured_hu773ef1300245c62235b6a2b3c71a3170_23413_480x0_resize_catmullrom_2.png b/resources/_gen/images/news/0.58.0-relnotes/hugo58-featured_hu773ef1300245c62235b6a2b3c71a3170_23413_480x0_resize_catmullrom_2.png Binary files differnew file mode 100644 index 000000000..66d08990b --- /dev/null +++ b/resources/_gen/images/news/0.58.0-relnotes/hugo58-featured_hu773ef1300245c62235b6a2b3c71a3170_23413_480x0_resize_catmullrom_2.png diff --git a/resources/_gen/images/news/0.58.0-relnotes/hugo58-featured_hu773ef1300245c62235b6a2b3c71a3170_23413_640x0_resize_catmullrom_2.png b/resources/_gen/images/news/0.58.0-relnotes/hugo58-featured_hu773ef1300245c62235b6a2b3c71a3170_23413_640x0_resize_catmullrom_2.png Binary files differnew file mode 100644 index 000000000..3f6e771bd --- /dev/null +++ b/resources/_gen/images/news/0.58.0-relnotes/hugo58-featured_hu773ef1300245c62235b6a2b3c71a3170_23413_640x0_resize_catmullrom_2.png |