Skip to content

Releases: imazen/imageflow-dotnet

v0.13.2 Fixes CreateCanvasBgra bug and supports HttpContent.ReadAsStreamAsync streams

15 May 21:46
Compare
Choose a tag to compare

v0.13.1 BufferedStreamSource now works with seekable streams

09 Mar 06:10
Compare
Choose a tag to compare
  • BufferedStreamSource now works with seekable streams that throw an exception when you access their Position property.

Full Changelog: v0.13.0...v0.13.1

v0.13.0

08 Mar 06:35
0d39641
Compare
Choose a tag to compare

What's Changed

This release makes user-facing changes with deprecation warnings. Please review your build warnings to avoid breakage in the future.

  • There are new classes for attaching source image data to jobs; use MemorySource.* over ByteSource and BufferedStreamSource.* instead of StreamSource.
  • Microsoft.IO.RecyclableMemoryStream 3.x is now required
  • System.Buffers and System.Memory 4.x+ are now required on .NET 4.x / .NET Standard 2.0
  • InputWatermark.Source is now IMemorySource instead of IBytesSource

It also makes lots of internal changes to increase performance, eliminate unnecessary allocations/copies, and improve compatibility with AOT and trimming.

It is now possible to provide ReadOnlyMemory data and IOwnedMemory data, without copying to a byte[] array. The new IAsyncMemorySource interface allows for asynchronous data sources, and the new IMemorySource interface allows for synchronous data sources.

Drop support for RecyclableMemoryStream 1.x and add 3.x support

06 Feb 18:10
Compare
Choose a tag to compare

Drops support for RecyclableMemoryStream 1.x and adds 3.x support

v0.11.2 - Moving from Newtonsoft to System.Text.Json, add AOT/trim support and .NET 8 specific target

29 Jan 20:54
Compare
Choose a tag to compare

v0.11.2 (2024-01-29)

(Same as v0.11.0 and v0.11.1)

New features:

  • Now multi-targets both .NET 8 and .NET Standard 2.0
  • Trimming and AOT are now supported on .NET 8
  • Switched to using System.Text.Json instead of Newtonsoft.Json
  • Added support for RecyclableMemoryStream 3.x
  • Dropped 2 dependencies: Microsoft.CSharp and Newtonsoft.Json

Breaking changes:

Check your code for usage of deprecated methods and fix them.
The next release will involve cleanup of all deprecated methods (both the ones deprecated for years and the ones deprecated in this release).

Removed the following APIs (not frequently used)

public static dynamic? DeserializeDynamic(this IJsonResponseProvider p)

public static T? Deserialize<T>(this IJsonResponseProvider p) where T : class

Deprecated lots of APIs, including the following:

* All ToImageflowDynamic() methods on objects. Use ToJsonNode() instead.
* JobContext.Execute<T>
* JobContext.SendMessage<T> 

v0.11.1 - Moving from Newtonsoft to System.Text.Json, add AOT/trim support and .NET 8 specific target

29 Jan 20:37
Compare
Choose a tag to compare

v0.11.1 (2024-01-29)

New features:

  • Now multi-targets both .NET 8 and .NET Standard 2.0
  • Trimming and AOT are now supported on .NET 8
  • Switched to using System.Text.Json instead of Newtonsoft.Json
  • Added support for RecyclableMemoryStream 3.x
  • Dropped 2 dependencies: Microsoft.CSharp and Newtonsoft.Json

Breaking changes:

Check your code for usage of deprecated methods and fix them.
The next release will involve cleanup of all deprecated methods (both the ones deprecated for years and the ones deprecated in this release).

Removed the following APIs (not frequently used)

public static dynamic? DeserializeDynamic(this IJsonResponseProvider p)

public static T? Deserialize<T>(this IJsonResponseProvider p) where T : class

Deprecated lots of APIs, including the following:

* All ToImageflowDynamic() methods on objects. Use ToJsonNode() instead.
* JobContext.Execute<T>
* JobContext.SendMessage<T> 

v0.11.0

29 Jan 20:14
Compare
Choose a tag to compare

v0.11 (2024-01-29)

New features:

  • Now multi-targets both .NET 8 and .NET Standard 2.0
  • Trimming and AOT are now supported on .NET 8
  • Switched to using System.Text.Json instead of Newtonsoft.Json
  • Added support for RecyclableMemoryStream 3.x
  • Dropped 2 dependencies: Microsoft.CSharp and Newtonsoft.Json

Breaking changes:

Check your code for usage of deprecated methods and fix them.
The next release will involve cleanup of all deprecated methods (both the ones deprecated for years and the ones deprecated in this release).

Removed the following APIs (not frequently used)

public static dynamic? DeserializeDynamic(this IJsonResponseProvider p)

public static T? Deserialize<T>(this IJsonResponseProvider p) where T : class

Deprecated lots of APIs, including the following:

* All ToImageflowDynamic() methods on objects. Use ToJsonNode() instead.
* JobContext.Execute<T>
* JobContext.SendMessage<T> 

v0.10.2 - Patch libwebp vulnerability via Imageflow 2.0.0-preview8

26 Sep 06:51
9137b2d
Compare
Choose a tag to compare

Please update immediately if you process untrusted images with Imageflow. See GHSA-7vpr-3ppw-qrpj for more information

v0.10.1 - Patch libwebp vulnerability via Imageflow 2.0.0-preview8

26 Sep 06:25
Compare
Choose a tag to compare

v0.10.0 - Require Newtonsoft 13.0.3, upgraded to Imageflow 2 preview 5

04 Apr 00:16
Compare
Choose a tag to compare
Require Newtonsoft 13.0.3+ despite untrusted JSON not being likely.

Update to Imageflow 2.0.0-preview5 for srcset support and webp quality support