Releases: dmester/jdenticon-net
Releases · dmester/jdenticon-net
Version 3.1.2
Version 3.1.1
Bug fix:
- Icons were not correctly rerendered after resizing an
IdenticonView
in a Windows Forms application.
Version 3.1.0
Features
- Added support for SourceLink.
- Added NuGet symbol packages.
- Added support for nullable reference types (only for .NET Core).
Version 3.0.0
General
- Breaking change: Identicon.Draw() now includes padding (previously it was the only method not including padding).
- Breaking change: Renderer.SetBackground() now requires a parameter for the icon rectangle.
- Upgraded sharpcompress to version 0.24.0 (only .NET Standard < 1.3).
- Bug fix: fixed tiny rendering artifacts in circles in large icons (> 400px).
ASP.NET Core
- Bug fix: fixed IndexOutOfRangeException thrown when serving identicons with the bundled middleware.
WPF
- Added .NET Core build.
- Added styling support.
- Padding specified by identicon style is now included in the rendered icon.
- Shapes of the same color are now rendered in a single step to avoid ghost lines.
- Bug fix:
IconGenerator
property was not used. - Bug fix: background was not rendered in the correct location.
- Known issue: in .NET Core projects,
ColorLightness
,GrayscaleLightness
andHues
cannot be set in the Property Window in Visual Studio designer. You can however set those properties in XAML.
Windows Forms
- New NuGet package Jdenticon.WinForms containing IdenticonView control. Also supports .NET Core.
- Known issue: in .NET Core projects,
ColorLightness
,GrayscaleLightness
andHues
cannot be set in the Property Window in Visual Studio designer. You can however set those properties in code behind.
GDI
- Breaking change: No longer clears the context before rendering the icon. However it will still paint the background color, so if the background color is opaque, there is no change.
- Shapes of the same color are now rendered in a single step to avoid ghost lines.
Version 2.2.1
Bug fixes:
- Artifacts were produced when rendering icons with no padding (#4)
Version 2.2.0
Improvements:
- New package for ASP.NET Core support:
Jdenticon.AspNetCore
. - Added async method overloads to
Identicon
. Jdenticon.Gdi
now runs on .NET Standard 2.0.
Bug fixes:
Identicon.SaveAsSvg
closed the stream before leaving control to the parent.
Version 2.1.0
Changes:
- The following methods were deprecated since they don't do what their names say they do:
Color.FromArgb
(useColor.FromRgba
instead)Color.ToArgb
(useColor.ToRgba
instead)
IdenticonStyle.Saturation
is now deprecated. UseIdenticonStyle.ColorSaturation
instead.
Improvements:
- New
IdenticonStyle
options:ColorSaturation
,GrayscaleSaturation
,Hues
. - New
Identicon.DefaultStyle
property. - New
Color.FromHsl
overload accepting an alpha value. - New methods
Color.Parse
andColor.TryParse
able to parse most CSS color strings. - New methods
Color.FromHwb
,Color.FromRgba
,Color.ToRgba
. @Html.Identicon
and@Url.Identicon
overloads taking anIdenticon
instance no longer requires a size, since theIdenticon
instance already contain a size.- Improved error handling in
@Html
and@Url
extension methods.
Bug fixes:
- Some circle shapes were rendered slightly larger than the JS and PHP version.
- Smaller circles were rendered very badly to PNG in smaller sizes.
- Padding is now rounded instead of truncated to nearest integer to avoid floating point rounding errors.
Version 2.0.0
Breaking changes:
- Now licensed under the MIT license. This change was done to simplify using Jdenticon in businesses utilizing list of allowed open source licenses.
Improvements:
- Improved performance for the PNG icon renderer.
Fixed bugs:
- Removed small rendering artifact caused by PNG renderer while rendering partially covered pixels.
Version 1.0.2
Bug fixes in PNG generation:
- Incorrect color of antialiased pixels in custom icons with multiple semitransparent layers.
- Unhandled exception while rendering custom icons if any polygons were located to the right of the viewport.
- Cascading overlapped polygons in custom icons caused rendering artifacts.
Version 1.0.1
- Bug fix: MVC HtmlHelper extension generated invalid HTML markup.