Releases: imazen/imageflow-dotnet
v0.13.2 Fixes CreateCanvasBgra bug and supports HttpContent.ReadAsStreamAsync streams
What's Changed
Full Changelog: v0.13.1...v0.13.2
- Add test coverage for CreateCanvasBgr(a)32
- Supports HttpContent.ReadAsStreamAsync streams
- Fixes #58 and adds tests
- Use a new node ID re-assignment algorithm that produces consistently … sequential ids regardless of concurrency
v0.13.1 BufferedStreamSource now works with seekable streams
- 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
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
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
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
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
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
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
Upgrade to Imageflow 2.0.0-preview8
v0.10.0 - Require Newtonsoft 13.0.3, upgraded to Imageflow 2 preview 5
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