Skip to content

Releases: akash-akya/vix

v0.23.0

16 Oct 16:55
Compare
Choose a tag to compare

What's Changed

  • Fix incorrect image tensor shape in #129. This is a breaking change if you were relying on tensor shape field

Full Changelog: v0.22.0...v0.23.0

v0.22.0

20 Jun 19:28
Compare
Choose a tag to compare

What's Changed

  • Precompile binaries for NIF version 2.17 to support OTP 26 by @akash-akya in #118

Full Changelog: v0.21.0...v0.22.0

v0.21.0

18 Jun 07:52
Compare
Choose a tag to compare

What's Changed

  • Vix.LibvipsPrecompiled: system_architecture -> current by @feld in #116

New Contributors

  • @feld made their first contribution in #116

Full Changelog: v0.20.0...v0.21.0

v0.20.0

26 May 17:23
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.19.0...v0.20.0

v0.19.0

05 May 17:42
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.18.0...v0.19.0

v0.18.0

20 Apr 16:04
Compare
Choose a tag to compare

What's Changed

  • Add power operator and new_image_from_list by @akash-akya in #105
  • Fix typespec on generated functions for fetching image header fields by @haste in #106
  • Correct image header typespec by @akash-akya in #108

New Contributors

Full Changelog: v0.17.0...v0.18.0

v0.17.0

14 Apr 08:11
Compare
Choose a tag to compare

Breaking Changes

1. Change additional output type from keyword list to map.

Few operations such as min returns operation related metadata as last value of the returned tuple.
Previously, this value was a keyword list, now it is changed to a map to make it easy to access a single value from the metadata more intuitively when metadata contains multiple values.

If your code relies on value being a list then your code will break. You have to change to use map instead.

# previously
{:ok, out, [distance: distance]} = Vix.Vips.Operation.fill_nearest(image)

# should be changed to
{:ok, out, %{distance: distance}} = Vix.Vips.Operation.fill_nearest(image)

If you are accessing values using access protocol, like opt[:field] then no change is needed.

{:ok, min, opt} = Vix.Vips.Operation.min(image)
# no change needed
x = opt[:y]

2. Skip returning additional output values (flags) when it is empty

Previously in certain cases few operations used to return empty metadata as last value of tuple for example Operation.profile! used to return {Image.t(), Image.t(), []}, even when we know that the operation does not have any additional output values. With this release we don't, Operation.profile! now returns {Image.t(), Image.t()}. Please change your code accordingly and test.

Non-Breaking Changes

  • Add math operators
  • Inline operation documentation
  • Correct typespec for function to fetch image header fields
  • Add dialyzer and update CI to use cache

Full Changelog: v0.16.4...v0.17.0

v0.16.4

27 Mar 14:10
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.16.3...v0.16.4

v0.16.3

24 Mar 07:35
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.16.2...v0.16.3

v0.16.3-alpha

22 Mar 16:25
Compare
Choose a tag to compare

Release to test prebuilt package for armv7l