Releases: GleamTech/DocumentUltimate
Release list
DocumentUltimate v6.9.5
Version 6.9.5 - April 24, 2023
-
Fixed: AspNetCoreSession: Prevent unnecessary intermittent error in console: "Error unprotecting the session cookie."
-
Improved: Used C# 9.0 to be able to inject module initializers.
For example CheckTargetFramework method will throw error like below (some users still reference wrong DLLs):
PlatformNotSupportedException: You currently referenced netstandard2.0 version of GleamTech.Common.dll which is
not targeted for current runtime: .NET Framework 4.8.9139.0.
Please reference net472 versions of GleamTech DLLs (found in folder Bin\net472) for .NET Framework 4.7.2+ projects. -
Improved: Stability of AssemblyResolver.
Ensured old log files are cleared, e.g. AssemblyResolver-xx.log and GleamTech-xx.log files. -
Changed: AssemblyVersion is changed so recompile your project against the new DLLs (drop in to bin folder will not work).
Included example projects:
- ASP.NET Core (C#) - Visual Studio 2019+
- ASP.NET Core on .NET Framework (C#)- Visual Studio 2017+
- ASP.NET MVC (C#) - Visual Studio 2015+
- ASP.NET MVC (VB) - Visual Studio 2015+
- ASP.NET WebForms (C#) - Visual Studio 2015+
- ASP.NET WebForms (VB) - Visual Studio 2015+
DocumentUltimate v6.9.0
Version 6.9.0 - April 16, 2023
- Added: Cad formats (.dwg, .dxf, .stl) are now supported with our .netstandard2.0 DLL which means
it can be used with .NET Core 2.0+ and .NET 5.0+ projects.
Included example projects:
- ASP.NET Core (C#) - Visual Studio 2019+
- ASP.NET Core on .NET Framework (C#)- Visual Studio 2017+
- ASP.NET MVC (C#) - Visual Studio 2015+
- ASP.NET MVC (VB) - Visual Studio 2015+
- ASP.NET WebForms (C#) - Visual Studio 2015+
- ASP.NET WebForms (VB) - Visual Studio 2015+
DocumentUltimate v6.8.6
Version 6.8.6 - April 11, 2023
-
Fixed: DICOM format (.dcm) with JPEG compression did not work.
-
Fixed: Some conversions for Imaging formats like .png to .jpg or .bmp to .jpg.
Included example projects:
- ASP.NET Core (C#) - Visual Studio 2019+
- ASP.NET Core on .NET Framework (C#)- Visual Studio 2017+
- ASP.NET MVC (C#) - Visual Studio 2015+
- ASP.NET MVC (VB) - Visual Studio 2015+
- ASP.NET WebForms (C#) - Visual Studio 2015+
- ASP.NET WebForms (VB) - Visual Studio 2015+
DocumentUltimate v6.8.5
Version 6.8.5 - April 7, 2023
-
Fixed: Support for DICOM format (.dcm) was broken. Most files failed with "Index was out of bounds of array" error.
We also added some features, i.e when converting DICOM files, we also render important DICOM tags on top-left and top-right
corners of the image.
Tags displayed on top-left corner: InstitutionName, StudyID, StudyDate, StudyTime, StudyDescription, Modality
Tags displayed on top-right corner: PatientName, PatientID, PatientBirthDate, PatientSex -
Fixed: The new GleamTech.Drawing.Font and GleamTech.Drawing.Color types could not be parsed from ASPX markup, effected properties were:
TextWatermark.Font
TextWatermark.FontColor
DocumentViewerSearchOptions.HighlightColor
DocumentViewerSearchOptions.ActiveHighlightColor
CadInputOptions.RenderBackgroundColor
CadInputOptions.RenderForegroundColor -
Fixed: DocumentFormat.Dib was mistakenly disabled/commented out so "object null reference error" was raised.
-
Fixed: With .NET Framework projects, AzureBlobFileSystem stalled (waited indefinitely) when creating empty files.
This also caused DocumentCache to stall, as it tries to create empty .sourceName files.
Included example projects:
- ASP.NET Core (C#) - Visual Studio 2019+
- ASP.NET Core on .NET Framework (C#)- Visual Studio 2017+
- ASP.NET MVC (C#) - Visual Studio 2015+
- ASP.NET MVC (VB) - Visual Studio 2015+
- ASP.NET WebForms (C#) - Visual Studio 2015+
- ASP.NET WebForms (VB) - Visual Studio 2015+
DocumentUltimate v6.8.0
Version 6.8.0 - April 2, 2023
-
Added: Implemented GleamTech.Drawing namespace to replace System.Drawing.
Starting with .NET 6, System.Drawing.Common is not supported on non-Windows platforms,
so dropped dependency to System.Drawing.Common package
for GleamTech.Common
but unfortunately we still need it for GleamTech.DocumentUltimate because some format conversions depend on it:- Implemented GleamTech.Drawing.Image class which
- Can load and save file formats Jpg, Png, Gif, WebP, Bmp, Tga, Pbm, Tiff
- Can handle multi-frame Tiff and Gif images
- Can resize, crop, rotate, flip, clone, import/export pixel data, draw text, provide detailed image info
- Can be explicitly cast from/to (via cast operator or via extension methods) other image libraries:
System.Drawing.Bitmap, System.Drawing.Image
SixLabors.ImageSharp.Image
SkiaSharp.SKBitmap, SkiaSharp.SKImage
Microsoft.Maui.Graphics.Platform.PlatformImage
- Implemented GleamTech.Drawing.Color struct which
- Can convert from/to html color codes #RRGGBB or #RRGGBBAA (or short codes #RGB or #RGBA)
- Can convert from/to named colors
- Can be implicitly (automatically) cast from/to other image libraries:
System.Drawing.Color
SixLabors.ImageSharp.Color, SixLabors.ImageSharp.PixelFormats
SkiaSharp.SKColor
Microsoft.Maui.Graphics.Color
- Implemented GleamTech.Drawing.Font class which
- Can be implicitly (automatically) cast from/to other image libraries:
System.Drawing.Font
SixLabors.Fonts.Font
SkiaSharp.SKFont
Microsoft.Maui.Graphics.Font
- Can be implicitly (automatically) cast from/to other image libraries:
- Also implemented GleamTech.Drawing.Rectangle and GleamTech.Drawing.Size structs.
- Implemented GleamTech.Drawing.Image class which
-
Changed: Changed type of these properties from System.Drawing.Font to GleamTech.Drawing.Font:
TextWatermark.Font
TextWatermark.FontColor
Changed type of these properties from System.Drawing.Color to GleamTech.Drawing.Color:
DocumentViewerSearchOptions.HighlightColor
DocumentViewerSearchOptions.ActiveHighlightColor
CadInputOptions.RenderBackgroundColor
CadInputOptions.RenderForegroundColorThese type changes will trigger a cache migration as in v6.7.0 so be patient when you first open a document:
With this version, DocumentCache will migrate this change automatically for you, it will scan the cache folder,
update all .json cache info files, regenerate cache keys (due to json serialization change) and rename cache files to match the new cache keys.
This migration will be run on first access to the cache, it can take few seconds to complete (may take longer for cloud folders).
You can check the details and results of the migration in CacheMigrate.log in cache folder.You won't need any code change because these new types can be implicitly (automatically) cast from/to System.Drawing counterparts.
but it's recommended that you adjust your code for the new GleamTech.Drawing classes which is very similar. -
Fixed: These properties were not working due to color json serialization change since v6.7.0 (was array, now hex code),
DocumentViewerSearchOptions.HighlightColor
DocumentViewerSearchOptions.ActiveHighlightColor -
Improved: Updated jquery to latest 3.6.4 and jquery-ui to latest 1.13.2 for document viewer and ensured CSS is scoped.
-
Added: An Action parameter named "configure" to UseGleamTech. It's more neat to set GleamTech products
related configuration in callback and it has better timing for especially web configuration:app.UseGleamTech(() => { GleamTechConfiguration.Current.LogEnabled = true; DocumentUltimateConfiguration.Current.LicenseKey = "QQJDJLJP34..."; });
-
Improved: ExampleExplorer:
- Added "show system information" button on the top-right corner to display system information in a message box.
- Show error messages for server handler methods.
- Refresh page automatically when session is expired.
Included example projects:
- ASP.NET Core (C#) - Visual Studio 2019+
- ASP.NET Core on .NET Framework (C#)- Visual Studio 2017+
- ASP.NET MVC (C#) - Visual Studio 2015+
- ASP.NET MVC (VB) - Visual Studio 2015+
- ASP.NET WebForms (C#) - Visual Studio 2015+
- ASP.NET WebForms (VB) - Visual Studio 2015+
DocumentUltimate v6.7.1
Version 6.7.1 - March 7, 2023
- Fixed: DocumentCache did not append to the existing log files (CacheTrim and CacheMigrate) correctly.
Included example projects:
- ASP.NET Core (C#) - Visual Studio 2019+
- ASP.NET Core on .NET Framework (C#)- Visual Studio 2017+
- ASP.NET MVC (C#) - Visual Studio 2015+
- ASP.NET MVC (VB) - Visual Studio 2015+
- ASP.NET WebForms (C#) - Visual Studio 2015+
- ASP.NET WebForms (VB) - Visual Studio 2015+
DocumentUltimate v6.7.0
Version 6.7.0 - February 23, 2023
-
Changed: .NET Framework target is changed from net461 to net472.
So from now on, you need to have a .NET Framework 4.7.2 or above project to reference our .NET Framework DLL (not related to our .netstandard2.0 DLL).
Minimum supported development environment version is changed from Visual Studio 2012 to Visual Studio 2015 (first to support net472 targeting pack).
Minimum supported deployment server OS is still Windows Server 2008 R2 SP1 (first to support net472 runtime).
Minimum supported deployment client OS is still Windows 7 SP1 (first to support net472 runtime). -
Improved: DocumentCache will now serialize properties of type System.Drawing.Color
to html hex color code #RRGGBBAA (#RRGGBB if alpha is 255 - means not set). This format is more universal and can be recognized easily.
The reason for the change is that if you set a property of type System.Drawing.Color (e.g. TextWatermark.FontColor)
to a named color (e.g. Color.Red), this is serialized as it is in json (e.g. "Red" due to System.Drawing.Color.ToString behaviour).
However if you set the property to a color without name (e.g. Color.FromArgb(255, 0, 0) or ColorTranslator.FromHtml("#FF0000")),
this was serialized as a byte array RGBA (e.g [255, 0, 0, 0]).
So this inconsistency caused re-caching of a file if you changed TextWatermark.FontColor from e.g. Color.Red to Color.FromArgb(255, 0, 0),
although they were the same colors.With this version, DocumentCache will migrate this change automatically for you, it will scan the cache folder,
update all .json cache info files, regenerate cache keys (due to json serialization change) and rename cache files to match the new cache keys.
This migration will be run on first access to the cache, it can take few seconds to complete (may take longer for cloud folders).
You can check the details and results of the migration in CacheMigrate.log in cache folder.
After the migration, even if you change TextWatermark.FontColor for already cached document
from e.g. Color.Red to Color.FromArgb(255, 0, 0) - same color but different argument - no re-caching will occur
and already cached document will be load witout waiting. -
Improved: DocumentCache will now log information and errors about trimming and migrating.
- Migration related details and errors will be logged to CacheMigrate.log in cache folder (and important one also to GleamTech.log).
- Trimming related details and errors will be logged to CacheTrim.log in cache folder (and important one also to GleamTech.log).
- Updated cache versioning, CacheVersion's first 2 parts are FileCache version, second 2 parts are sub-class cache version.
e.g. 2.0.1.0 -> FileCache, 2.0.2.0 -> DocumentCache, 2.0.3.0 -> ThumbnailCache. - Improved migration handling (especially in FileCache sublasses) and stability.
-
Changed: GleamTechConfiguration.LogEnabled property -> The default value is now true.
GleamTech.log can be found under the temporary folder specified by GleamTechConfiguration.TemporaryFolder.
Included example projects:
- ASP.NET Core (C#) - Visual Studio 2019+
- ASP.NET Core on .NET Framework (C#)- Visual Studio 2017+
- ASP.NET MVC (C#) - Visual Studio 2015+
- ASP.NET MVC (VB) - Visual Studio 2015+
- ASP.NET WebForms (C#) - Visual Studio 2015+
- ASP.NET WebForms (VB) - Visual Studio 2015+
DocumentUltimate v6.6.2
Version 6.6.2 - January 9, 2023
- Improved: Stability and performance of Cad formats.
Included example projects:
- ASP.NET Core (C#) - Visual Studio 2019+
- ASP.NET Core on .NET Framework (C#)- Visual Studio 2017+
- ASP.NET MVC (C#) - Visual Studio 2012+
- ASP.NET MVC (VB) - Visual Studio 2012+
- ASP.NET WebForms (C#) - Visual Studio 2012+
- ASP.NET WebForms (VB) - Visual Studio 2012+
DocumentUltimate v6.6.1
Version 6.6.1 - August 15, 2022
- Fixed: Word documents failed to load in DocumentViewer when using .netstandard2.0 DLL.
The error looked like "Cannot load built in theme..."
Included example projects:
- ASP.NET Core (C#) - Visual Studio 2019+
- ASP.NET Core on .NET Framework (C#)- Visual Studio 2017+
- ASP.NET MVC (C#) - Visual Studio 2012+
- ASP.NET MVC (VB) - Visual Studio 2012+
- ASP.NET WebForms (C#) - Visual Studio 2012+
- ASP.NET WebForms (VB) - Visual Studio 2012+
DocumentUltimate v6.6.0
Version 6.6.0 - August 14, 2022
- Improved: Stability and performance of WordProcessing, Spreadsheet and ProjectManagement formats.
Included example projects:
- ASP.NET Core (C#) - Visual Studio 2019+
- ASP.NET Core on .NET Framework (C#)- Visual Studio 2017+
- ASP.NET MVC (C#) - Visual Studio 2012+
- ASP.NET MVC (VB) - Visual Studio 2012+
- ASP.NET WebForms (C#) - Visual Studio 2012+
- ASP.NET WebForms (VB) - Visual Studio 2012+