Skip to content

v0.104.0

Compare
Choose a tag to compare
@bep bep released this 23 Sep 14:55

Some bug fixes, dependency upgrades and a new $image.Colors method. This method returns a slice of the most dominant colors in an image. The library we use is implemented by @marekm4 and is both fast and accurate. One use case for this may be to use as a placeholder before the image is loaded, as seen on this Hugo gallery [theme source]. You need a slow enough internet connection to notice this effect so you may want to try this with Chrome's dev console open and throttle the network to slow 3G, which would make it look something like this:

colorsani1.mp4

Bug fixes

Improvements

Dependency Updates

  • build(deps): bump github.com/evanw/esbuild from 0.15.8 to 0.15.9 edf9038 @dependabot[bot]
  • build(deps): bump github.com/yuin/goldmark from 1.4.14 to 1.4.15 78f49b4 @dependabot[bot]
  • build(deps): bump github.com/getkin/kin-openapi from 0.100.0 to 0.103.0 fa4b77e @dependabot[bot]
  • build(deps): bump github.com/alecthomas/chroma/v2 from 2.2.0 to 2.3.0 4d909d4 @dependabot[bot]
  • build(deps): bump github.com/evanw/esbuild from 0.15.7 to 0.15.8 4eb6d97 @dependabot[bot]

Documentation