Skip to content

Commit a86eb25

Browse files
committed
EPPlus version 8.0.3
1 parent 4754da6 commit a86eb25

File tree

4 files changed

+45
-16
lines changed

4 files changed

+45
-16
lines changed

appveyor8.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
1-
version: 8.0.2.{build}
1+
version: 8.0.3.{build}
22
branches:
33
only:
44
- develop8
55
configuration: release
66
image: Visual Studio 2022
77
init:
88
- ps: >-
9-
Update-AppveyorBuild -Version "8.0.2.$env:appveyor_build_number-$(Get-Date -format yyyyMMdd)-$env:appveyor_repo_branch"
9+
Update-AppveyorBuild -Version "8.0.3.$env:appveyor_build_number-$(Get-Date -format yyyyMMdd)-$env:appveyor_repo_branch"
1010
11-
Write-Host "8.0.2.$env:appveyor_build_number-$(Get-Date -format yyyyMMdd)-$env:appveyor_repo_branch"
11+
Write-Host "8.0.3.$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: 8.0.2.{build}
17-
file_version: 8.0.2.{build}
16+
assembly_version: 8.0.3.{build}
17+
file_version: 8.0.3.{build}
1818
nuget:
1919
project_feed: true
2020
before_build:

docs/articles/fixedissues.md

+6
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,10 @@
11
# Features / Fixed issues - EPPlus 8
2+
## Version 8.0.3
3+
* Added custom numberformats where the formatId is not a built in format.
4+
* SumIfs and AverageIfs sometimes misscalculated with multiple arguments.
5+
* Sorting a range with threaded comments, remove and the add a threaded comment sometimes throws an exception.
6+
* Cell meta data loaded from a workbook was cleared on formula calculation, causing some dynamic array formulas to become legacy array formulas.
7+
28
## Version 8.0.2
39
* Copy shared formulas do not update addresses to the new worksheet position.
410
* The CHOOSECOLS and CHOOSEROWS functions did not support ranges as row/col selection argument.

src/EPPlus/EPPlus.csproj

+14-7
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
33
<TargetFrameworks>net8.0;net9.0;netstandard2.1;netstandard2.0;net462;net35</TargetFrameworks>
4-
<AssemblyVersion>8.0.2.0</AssemblyVersion>
5-
<FileVersion>8.0.2.0</FileVersion>
6-
<Version>8.0.2</Version>
4+
<AssemblyVersion>8.0.3.0</AssemblyVersion>
5+
<FileVersion>8.0.3.0</FileVersion>
6+
<Version>8.0.3</Version>
77
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
88
<PackageProjectUrl>https://epplussoftware.com</PackageProjectUrl>
99
<Authors>EPPlus Software AB</Authors>
@@ -18,14 +18,20 @@
1818
<PackageReadmeFile>readme.md</PackageReadmeFile>
1919
<Copyright>EPPlus Software AB</Copyright>
2020
<PackageReleaseNotes>
21-
EPPlus 8.0.2
21+
EPPlus 8.0.3
2222

2323
IMPORTANT NOTICE!
2424
From version 5 EPPlus changes the license model using a dual license, Polyform Non Commercial / Commercial license.
2525
EPPlus will still have the source available, but for non Polyform NC compliant projects, EPPlus will provide a commercial license.
2626
Commercial licenses can be purchased from https://epplussoftware.com
2727
This applies to EPPlus version 5 and later. Earlier versions are still licensed LGPL.
2828

29+
## Version 8.0.3
30+
* Minor bug fixes.
31+
32+
## Version 8.0.2
33+
* Minor bug fixes.
34+
2935
## Version 8.0.1
3036
* EPPlus 8 will require a license key for commercial licenses.
3137
* Support for OLE objects (Linked or Embedded files).
@@ -486,9 +492,10 @@
486492
A list of fixed issues can be found here https://epplussoftware.com/docs/7.0/articles/fixedissues.html
487493

488494
Version history
489-
8.0.2 20250415 Minor bug fixes. See https://epplussoftware.com/Developers/MinorFeaturesAndIssues
495+
8.0.3 20250430 Minor bug fixes. See https://epplussoftware.com/Developers/MinorFeaturesAndIssues
496+
8.0.2 20250415 Minor bug fixes.
490497
7.7.1 20250414 Minor bug fixes.
491-
8.0.1 20250328 Digital Signatures, Ole objects, in-cell pictures.
498+
8.0.1 20250328 Digital Signatures, Ole objects, in-cell pictures.
492499
8.0.0-rc 20250321 Digital Signatures, Ole objects, in-cell pictures.
493500
7.7.0 20250317 Fixed referenced packages versioning. Minor bug fixes.
494501
8.0.0-beta 20250214 Digital Signatures, Ole objects, in-cell pictures.
@@ -500,7 +507,7 @@
500507
7.5.0 20241115 Signed dll's and nuget package. Minor features and bug fixes.
501508
7.4.2 20241028 Minor features and bug fixes.
502509
7.4.1 20241011 Updated System.Text.Json
503-
7.4.0 20241002 Conditional Formatting's in Pivot tables. Linked image files in Pictures.
510+
7.4.0 20241002 Conditional Formatting's in Pivot tables. Linked image files in Pictures.
504511
7.3.2 20240917 Minor features and bug fixes.
505512
7.3.1 20240905 Minor features and bug fixes.
506513
7.3.0 20240820 Precision as displayed support in formula calculation.

src/EPPlus/FormulaParsing/ErrorValues/ExcelErrorValue.cs

+20-4
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,16 @@ Date Author Change
1515
using OfficeOpenXml.FormulaParsing.FormulaExpressions;
1616
using System.Linq;
1717
using System.Text;
18+
using System.Collections;
19+
using System.Diagnostics.CodeAnalysis;
1820

1921
namespace OfficeOpenXml
2022
{
2123
/// <summary>
2224
/// Represents an Excel error.
2325
/// </summary>
2426
/// <seealso cref="eErrorType"/>
25-
public class ExcelErrorValue
27+
public class ExcelErrorValue : IEqualityComparer<ExcelErrorValue>
2628
{
2729
/// <summary>
2830
/// Handles the convertion between <see cref="eErrorType"/> and the string values
@@ -237,8 +239,11 @@ public override string ToString()
237239
/// <returns>True if equals</returns>
238240
public override bool Equals(object obj)
239241
{
240-
if (!(obj is ExcelErrorValue)) return false;
241-
return ((ExcelErrorValue)obj).ToString() == this.ToString();
242+
if(obj is ExcelErrorValue e)
243+
{
244+
return e.Type == Type;
245+
}
246+
return false;
242247
}
243248

244249
/// <summary>
@@ -247,7 +252,18 @@ public override bool Equals(object obj)
247252
/// <returns>A hash code for the current object</returns>
248253
public override int GetHashCode()
249254
{
250-
return base.GetHashCode();
255+
return (int)Type;
256+
}
257+
258+
public bool Equals(ExcelErrorValue x, ExcelErrorValue y)
259+
{
260+
return x.Type==y.Type;
261+
}
262+
263+
public int GetHashCode(ExcelErrorValue obj)
264+
{
265+
if (obj == null) return -1;
266+
return (int)obj.Type;
251267
}
252268
}
253269
}

0 commit comments

Comments
 (0)