Skip to content

Commit 98af833

Browse files
committed
Release 0.58.0
1 parent 0f7d8b0 commit 98af833

File tree

5 files changed

+12
-6
lines changed

5 files changed

+12
-6
lines changed
22.9 KB
Loading

‎content/en/news/0.58.0-relnotes/index.md‎

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11

22
---
33
date: 2019-09-04
4-
title: "0.58.0"
5-
description: "0.58.0"
4+
title: "Image Processing Galore!"
5+
description: "Hugo 0.58 adds the long sought after Exif method plus many useful image filters. And it's faster ..."
66
categories: ["Releases"]
77
---
88

9-
**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.
9+
**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.
1010

1111
This means that you now can do variations of this:
1212

@@ -39,6 +39,12 @@ Hugo now has:
3939
* 440+ [contributors](https://github.com/gohugoio/hugo/graphs/contributors)
4040
* 317+ [themes](http://themes.gohugo.io/)
4141

42+
## Notes
43+
44+
* `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`.
45+
* 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.
46+
* 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.
47+
4248
## Enhancements
4349

4450
### Templates

‎netlify.toml‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,22 +3,22 @@ publish = "public"
33
command = "hugo --gc --minify"
44

55
[context.production.environment]
6-
HUGO_VERSION = "0.57.2"
6+
HUGO_VERSION = "0.58.0"
77
HUGO_ENV = "production"
88
HUGO_ENABLEGITINFO = "true"
99

1010
[context.split1]
1111
command = "hugo --gc --minify --enableGitInfo"
1212

1313
[context.split1.environment]
14-
HUGO_VERSION = "0.57.2"
14+
HUGO_VERSION = "0.58.0"
1515
HUGO_ENV = "production"
1616

1717
[context.deploy-preview]
1818
command = "hugo --gc --minify --buildFuture -b $DEPLOY_PRIME_URL"
1919

2020
[context.deploy-preview.environment]
21-
HUGO_VERSION = "0.57.2"
21+
HUGO_VERSION = "0.58.0"
2222

2323
[context.branch-deploy]
2424
command = "hugo --gc --minify -b $DEPLOY_PRIME_URL"
21.2 KB
Loading
29.1 KB
Loading

0 commit comments

Comments
 (0)