Skip to content

Commit 39e11a1

Browse files
committed
EPPlus version 5.8.7
1 parent a4151d1 commit 39e11a1

File tree

5 files changed

+33
-15
lines changed

5 files changed

+33
-15
lines changed

appveyor.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
1-
version: 5.8.5.{build}
1+
version: 5.8.7.{build}
22
branches:
33
only:
44
- develop
55
configuration: release
66
platform: Any CPU
77
init:
88
- ps: >-
9-
Update-AppveyorBuild -Version "5.8.5.$env:appveyor_build_number-$(Get-Date -format yyyyMMdd)-$env:appveyor_repo_branch"
9+
Update-AppveyorBuild -Version "5.8.7.$env:appveyor_build_number-$(Get-Date -format yyyyMMdd)-$env:appveyor_repo_branch"
1010
11-
Write-Host "5.8.5.$env:appveyor_build_number-$(Get-Date -format yyyyMMdd)-$env:appveyor_repo_branch"
11+
Write-Host "5.8.7.$env:appveyor_build_number-$(Get-Date -format yyyyMMdd)-$env:appveyor_repo_branch"
1212
dotnet_csproj:
1313
patch: true
1414
file: '**\*.csproj'
1515
version: '{version}'
16-
assembly_version: 5.8.5.{build}
17-
file_version: 5.8.5.{build}
16+
assembly_version: 5.8.7.{build}
17+
file_version: 5.8.7.{build}
1818
nuget:
1919
project_feed: true
2020
before_build:

docs/articles/fixedissues.md

+12
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,16 @@
11
# Features / Fixed issues - EPPlus 5
2+
## Version 5.8.7
3+
### Fixed issues
4+
* LoadAsync(FileInfo) and LoadAsync(string) do not close the file stream.
5+
* Hyperlinks referencing the same relation fails to load the package.
6+
* Monochromatic chart color schemes gave the wrong tint/shade for multiple series.
7+
* Added missing property 'JustifyLastLine' to ExcelStyle and ExcelXfsXml. Collapsed do not set Hidden on columns when set to true.
8+
* Improved handling of defined names in range addresses in formula calc, for example SUM("MyRange1:MyRange2")
9+
* Escaped double quotes did not work properly for shared formulas in formula calc.
10+
* Table.AddRow did not adjust Conditional Formatting and Data Validation.
11+
* Support for numeric criteria with operators in MINIFS/MAXIFS functions.
12+
* ExcelWorksheet.ClearFormulas method throw a NullReferenceException if ExcelWorksheet.Dimension was null.
13+
214
## Version 5.8.6
315
### Fixed issues
416
* Rounding functions now returns 0 when referencing empty cells

src/EPPlus/EPPlus.csproj

+11-7
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22

33
<PropertyGroup>
44
<TargetFrameworks>net5.0;netstandard2.1;netstandard2.0;net45;net40;net35</TargetFrameworks>
5-
<AssemblyVersion>5.8.6.0</AssemblyVersion>
6-
<FileVersion>5.8.6.0</FileVersion>
7-
<Version>5.8.6</Version>
5+
<AssemblyVersion>5.8.7.0</AssemblyVersion>
6+
<FileVersion>5.8.7.0</FileVersion>
7+
<Version>5.8.7</Version>
88
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
99
<PackageProjectUrl>https://epplussoftware.com</PackageProjectUrl>
1010
<Authors>EPPlus Software AB</Authors>
@@ -18,19 +18,22 @@
1818
<PackageTags>Excel ooxml</PackageTags>
1919
<Copyright>EPPlus Software AB</Copyright>
2020
<PackageReleaseNotes>
21-
EPPlus 5.8.6
21+
EPPlus 5.8.7
2222
IMPORTANT NOTICE!
2323
From version 5 EPPlus changes the license model using a dual license, Polyform Non Commercial / Commercial license.
2424
EPPlus will still have the source available, but for non Polyform NC compliant projects, EPPlus will provide a commercial license.
2525
Commercial licenses can be purchased from https://epplussoftware.com
2626
This applies to EPPlus version 5 and later. Previous versions are still licensed LGPL.
2727

28-
## Version 5.8.6
28+
## Version 5.8.7
2929
* Bug fixes. https://epplussoftware.com/Developers/MinorFeaturesAndIssues
3030

31-
## Version 5.8.5
31+
## Version 5.8.6
3232
* Bug fixes.
3333

34+
## Version 5.8.5
35+
* Bug fixes.
36+
3437
## Version 5.8.4
3538
* 10 new functions
3639
* Bug fixes.
@@ -222,7 +225,8 @@
222225
A list of fixed issues can be found here https://epplussoftware.com/docs/5.8/articles/fixedissues.html
223226

224227
Version history
225-
5.8.6 20220203 Minor bug fixes. See https://epplussoftware.com/Developers/MinorFeaturesAndIssues
228+
5.8.7 20220301 Minor bug fixes. See https://epplussoftware.com/Developers/MinorFeaturesAndIssues
229+
5.8.6 20220203 Minor bug fixes.
226230
5.8.5 20220113 Minor features and bug fixes.
227231
5.8.4 20211214 Minor features and bug fixes.
228232
5.8.3 20211119 Minor bug fixes.

src/EPPlus/ExcelPackage.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1210,7 +1210,7 @@ private void CheckNotDisposed()
12101210
/// <param name="input">The input.</param>
12111211
public void Load(Stream input)
12121212
{
1213-
Load(input, RecyclableMemory.GetStream(), null);
1213+
Load(input, RecyclableMemory.GetStream(), null);
12141214
}
12151215
/// <summary>
12161216
/// Loads the specified package data from a stream.

src/EPPlus/ExcelPackageAsync.cs

+4-2
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,10 @@ public sealed partial class ExcelPackage
3333
/// <param name="cancellationToken">The cancellation token</param>
3434
public async Task LoadAsync(FileInfo fileInfo, CancellationToken cancellationToken = default)
3535
{
36-
var stream = fileInfo.OpenRead();
37-
await LoadAsync(stream, RecyclableMemory.GetStream(), null, cancellationToken).ConfigureAwait(false);
36+
using (var stream = fileInfo.OpenRead())
37+
{
38+
await LoadAsync(stream, RecyclableMemory.GetStream(), null, cancellationToken).ConfigureAwait(false);
39+
}
3840
}
3941
/// <summary>
4042
/// Loads the specified package data from a stream.

0 commit comments

Comments
 (0)