EPPlus 6.1.2
EPPlus 6
Announcement: new license model from version 5
EPPlus has from this new major version changed license from LGPL to Polyform Noncommercial 1.0.0.
With the new license EPPlus is still free to use in some cases, but will require a commercial license to be used in a commercial business.
This is explained in more detail here.
Commercial licenses, which includes support, can be purchased at (https://www.epplussoftware.com/).
The source code of EPPlus has moved to a new github repository
LicenseContext parameter must be set
With the license change EPPlus has a new parameter that needs to be configured. If the LicenseContext is not set, EPPlus will throw a LicenseException (only in debug mode).
This is a simple configuration that can be set in a few alternative ways:
1. Via code
// If you are a commercial business and have
// purchased commercial licenses use the static property
// LicenseContext of the ExcelPackage class :
ExcelPackage.LicenseContext = LicenseContext.Commercial;
// If you use EPPlus in a noncommercial context
// according to the Polyform Noncommercial license:
ExcelPackage.LicenseContext = LicenseContext.NonCommercial;
using(var package = new ExcelPackage(new FileInfo("MyWorkbook.xlsx")))
{
}
2. Via appSettings.json
{
{
"EPPlus": {
"ExcelPackage": {
"LicenseContext": "Commercial" //The license context used
}
}
}
}
3. Via app/web.config
<appSettings>
<!--The license context used-->
<add key="EPPlus:ExcelPackage.LicenseContext" value="NonCommercial" />
</appSettings>
4. Set the environment variable 'EPPlusLicenseContext'
This might be the easiest way of configuring this. Just as above, set the variable to Commercial or NonCommercial depending on your usage.
Important! The environment variable should be set at the user or process level.
New features in EPPlus 6
EPPlus 6 comes with a set of new features, see (https://www.epplussoftware.com/Developers/Features)
Breaking Changes
- All public references to System.Drawing.Common has been removed from EPPlus. See Breaking Changes in EPPlus 6.
- Static class 'FontSize' has splitted width and heights into two dictionaries. FontSizes are lazy-loaded when needed.
- ...and more, see https://epplussoftware.com/docs/6.0/articles/breakingchanges.html
Breaking Changes in version 5.
- The default behavior for the Worksheet collection base in .NET Framework has changed from 1 to 0. This is the same default behavior as in .NET core today.
- Pictures have changed the behavior as the oneCellAnchor tag is used instead of the twoCellAnchor tag with the editAs="oneCell".
Improved documentation
EPPlus 6 has a new web sample site available here: (https://samples.epplussoftware.com/) , Source code is available here: EPPlus.WebSamples There is also a new sample project for four different docker images, EPPlus.DockerSample EPPlus also has two separate sample projects for .NET Core and .NET Framework respectively. There is also an updated developer wiki. The work with improving the documentation will continue, feedback is highly appreciated!
Showing the top 20 packages that depend on EPPlus.
Packages | Downloads |
---|---|
BootstrapBlazor
Bootstrap UI components for Blazor and Razor Components
|
4 |
BootstrapBlazor
Bootstrap UI components for Blazor and Razor Components
|
5 |
BootstrapBlazor.TableExport
Bootstrap UI components extensions of export
|
3 |
BootstrapBlazor.TableExport
Bootstrap UI components extensions of export
|
4 |
BootstrapBlazor.TableExport
Bootstrap UI components extensions of export
|
6 |
BootstrapBlazor.TableExport
Bootstrap UI components for Blazor and Razor Components
|
3 |
BootstrapBlazor.TableExport
Bootstrap UI components for Blazor and Razor Components
|
4 |
BootstrapBlazor.TableExport
Bootstrap UI components for Blazor and Razor Components
|
5 |
BootstrapBlazor.TableExport
Bootstrap UI components for Blazor and Razor Components
|
7 |
.NET Framework 3.5
- EPPlus.Interfaces (>= 6.1.1)
- EPPlus.System.Drawing (>= 6.1.1)
.NET Standard 2.1
- System.Text.Encoding.CodePages (>= 4.7.1)
- System.Security.Cryptography.Pkcs (>= 4.7.0)
- System.Drawing.Primitives (>= 4.3.0)
- Microsoft.IO.RecyclableMemoryStream (>= 2.2.1)
- Microsoft.Extensions.Configuration.Json (>= 3.1.30)
- EPPlus.System.Drawing (>= 6.1.1)
- EPPlus.Interfaces (>= 6.1.1)
.NET Standard 2.0
- System.Text.Encoding.CodePages (>= 4.7.1)
- System.Security.Cryptography.Pkcs (>= 4.7.0)
- System.Drawing.Primitives (>= 4.3.0)
- Microsoft.IO.RecyclableMemoryStream (>= 2.2.1)
- Microsoft.Extensions.Configuration.Json (>= 2.1.1)
- EPPlus.Interfaces (>= 6.1.1)
- EPPlus.System.Drawing (>= 6.1.1)
.NET 7.0
- System.Text.Encoding.CodePages (>= 7.0.0)
- Microsoft.IO.RecyclableMemoryStream (>= 2.2.1)
- System.Security.Cryptography.Pkcs (>= 7.0.0)
- EPPlus.Interfaces (>= 6.1.1)
- EPPlus.System.Drawing (>= 6.1.1)
- Microsoft.Extensions.Configuration.Json (>= 7.0.0)
.NET Framework 4.6.2
- EPPlus.Interfaces (>= 6.1.1)
- EPPlus.System.Drawing (>= 6.1.1)
- Microsoft.IO.RecyclableMemoryStream (>= 1.4.1)
.NET 6.0
- EPPlus.System.Drawing (>= 6.1.1)
- Microsoft.Extensions.Configuration.Json (>= 6.0.0)
- EPPlus.Interfaces (>= 6.1.1)
- System.Security.Cryptography.Pkcs (>= 6.0.1)
- System.Text.Encoding.CodePages (>= 6.0.0)
- Microsoft.IO.RecyclableMemoryStream (>= 2.2.1)
Version | Downloads | Last updated |
---|---|---|
7.4.2 | 0 | 10/28/2024 |
7.4.1 | 0 | 10/11/2024 |
7.4.0 | 0 | 10/02/2024 |
7.3.2 | 0 | 09/17/2024 |
7.3.1 | 0 | 09/05/2024 |
7.3.0 | 0 | 08/20/2024 |
7.2.2 | 0 | 07/24/2024 |
7.2.1 | 0 | 07/02/2024 |
7.2.0 | 0 | 06/18/2024 |
7.1.3 | 0 | 05/28/2024 |
7.1.2 | 11 | 04/24/2024 |
7.1.1 | 6 | 04/28/2024 |
7.1.0 | 4 | 04/24/2024 |
7.0.10 | 2 | 04/24/2024 |
7.0.9 | 2 | 04/24/2024 |
7.0.8 | 3 | 04/29/2024 |
7.0.7 | 0 | 01/19/2024 |
7.0.6 | 2 | 06/01/2024 |
7.0.5 | 2 | 04/30/2024 |
7.0.4 | 7 | 04/30/2024 |
7.0.3 | 3 | 04/28/2024 |
7.0.2 | 3 | 06/01/2024 |
7.0.1 | 1 | 06/01/2024 |
7.0.0 | 3 | 06/01/2024 |
6.2.19 | 4 | 05/04/2024 |
6.2.18 | 1 | 06/01/2024 |
6.2.17 | 0 | 02/15/2024 |
6.2.16 | 2 | 06/01/2024 |
6.2.15 | 2 | 06/01/2024 |
6.2.14 | 4 | 06/01/2024 |
6.2.13 | 4 | 04/24/2024 |
6.2.12 | 0 | 11/09/2023 |
6.2.11 | 5 | 06/01/2024 |
6.2.10 | 2 | 05/04/2024 |
6.2.9 | 3 | 04/29/2024 |
6.2.8 | 3 | 04/24/2024 |
6.2.7 | 1 | 06/01/2024 |
6.2.6 | 16 | 06/28/2023 |
6.2.5 | 1 | 06/01/2024 |
6.2.4 | 2 | 05/23/2024 |
6.2.2 | 3 | 06/01/2024 |
6.2.1 | 5 | 06/14/2023 |
6.2.0 | 2 | 06/01/2024 |
6.1.3 | 0 | 02/24/2023 |
6.1.2 | 2 | 06/01/2024 |
6.0.8 | 2 | 06/01/2024 |
6.0.7 | 2 | 06/01/2024 |
6.0.6 | 6 | 05/11/2024 |
6.0.5 | 1 | 06/01/2024 |
6.0.4 | 5 | 06/01/2024 |
6.0.3 | 3 | 06/01/2024 |
6.0.0-beta | 2 | 06/14/2023 |
5.8.14 | 2 | 06/14/2023 |
5.8.10 | 1 | 06/01/2024 |
5.8.9 | 1 | 06/01/2024 |
5.8.4 | 5 | 06/01/2024 |
5.8.3 | 4 | 06/14/2023 |
5.8.2 | 4 | 06/01/2024 |
5.8.1 | 2 | 06/01/2024 |
5.7.4 | 4 | 06/01/2024 |
5.7.2 | 0 | 07/22/2021 |
5.7.1 | 0 | 07/06/2021 |
5.6.4 | 1 | 06/01/2024 |
5.6.2 | 2 | 06/01/2024 |
5.6.1 | 4 | 06/01/2024 |
5.6.0 | 5 | 06/01/2024 |
5.5.5 | 3 | 08/04/2023 |
5.5.4 | 3 | 04/28/2024 |
5.5.2 | 4 | 06/14/2023 |
5.5.1 | 1 | 06/01/2024 |
5.5.0 | 3 | 06/01/2024 |
5.4.1 | 2 | 06/01/2024 |
5.4.0 | 4 | 06/01/2024 |
5.3.2 | 4 | 06/01/2024 |
5.3.1 | 2 | 06/01/2024 |
5.2.1 | 3 | 06/14/2023 |
5.2.0 | 1 | 06/01/2024 |
5.1.2 | 5 | 06/01/2024 |
5.1.1 | 2 | 06/01/2024 |
5.1.0 | 4 | 04/28/2024 |
5.0.4 | 1 | 06/01/2024 |
5.0.3 | 0 | 03/08/2020 |
4.5.3.2 | 29 | 06/01/2024 |
4.5.3.1 | 2 | 06/01/2024 |
4.5.3 | 5 | 06/01/2024 |
4.5.2.1 | 3 | 06/14/2023 |
4.5.2 | 2 | 06/01/2024 |
4.5.1 | 3 | 06/01/2024 |
4.1.0 | 5 | 06/01/2024 |
4.0.2 | 2 | 06/01/2024 |