Skip to content

Commit 51eb184

Browse files
authored
Release 23.11 (#77)
* Update version to 23.11.0 * Update API * Add net8.0 * .NET Core 3.1 and higher * Change Maximum timeout value * Update packages in Tests
1 parent fec1e1c commit 51eb184

21 files changed

+63
-30
lines changed

.github/workflows/dotnet-core.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ jobs:
2121
framework: net6.0
2222
- dotnet-version: 7.0.x
2323
framework: net7.0
24+
- dotnet-version: 8.0.x
25+
framework: net8.0
2426

2527
continue-on-error: true
2628

@@ -37,6 +39,6 @@ jobs:
3739
dotnet-version: ${{ matrix.dotnet-version }}
3840

3941
- name: Test with ${{ matrix.dotnet-version }}
40-
run: dotnet test --no-build --verbosity normal --framework ${{ matrix.framework }}
42+
run: dotnet test --verbosity normal --framework ${{ matrix.framework }}
4143
env:
4244
TEST_CONFIGURATION_JWT_TOKEN: ${{ secrets.TEST_CONFIGURATION_ACCESS_TOKEN }}

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
[![Nuget](https://img.shields.io/nuget/v/Aspose.BarCode-Cloud)](https://www.nuget.org/packages/Aspose.BarCode-Cloud/)
77

88
- API version: 3.0
9-
- SDK version: 23.10.0
9+
- SDK version: 23.11.0
1010

1111
## Demo applications
1212

@@ -24,7 +24,7 @@ Aspose.BarCode Cloud SDK for .NET provides cross-platform bindings for:
2424

2525
- .NET 5 and higher
2626
- .NET Standard 2.0 and higher
27-
- .NET Core 2.1 and higher
27+
- .NET Core 3.1 and higher
2828
- .NET Framework 4.6.2 and higher
2929

3030
To use these SDKs, you will need Client Id and Client Secret which can be looked up at [Aspose Cloud Dashboard](https://dashboard.aspose.cloud/applications) (free registration in Aspose Cloud is required for this).

Tests/Aspose.BarCode.Cloud.Sdk.Tests.csproj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<Project Sdk="Microsoft.NET.Sdk">
33
<PropertyGroup>
4-
<TargetFrameworks>netcoreapp3.1;net462;net480;net481;net6.0;net7.0</TargetFrameworks>
4+
<TargetFrameworks>netcoreapp3.1;net462;net480;net481;net6.0;net7.0;net8.0</TargetFrameworks>
55
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
66
<IsTestProject>true</IsTestProject>
77
<LangVersion>8.0</LangVersion>
@@ -13,9 +13,9 @@
1313
</ItemGroup>
1414
<ItemGroup>
1515
<PackageReference Include="Moq" Version="4.20.69" />
16-
<PackageReference Include="NUnit" Version="3.13.3" />
16+
<PackageReference Include="NUnit" Version="3.14.0" />
1717
<PackageReference Include="NUnit3TestAdapter" Version="4.5.0" />
18-
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.7.1" />
18+
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.8.0" />
1919
<PackageReference Include="System.Net.Http" Version="4.3.4" />
2020
</ItemGroup>
2121
<ItemGroup>

Tests/Configuration.template.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
{
22
"ClientId": "Client Id from https://dashboard.aspose.cloud/applications",
3-
"ClientSecret": "Client Secret from https://dashboard.aspose.cloud/applications"
3+
"ClientSecret": "Client Secret from https://dashboard.aspose.cloud/applications",
4+
"ApiBaseUrl": "https://api.aspose.cloud",
5+
"TokenUrl":"https://api.aspose.cloud/connect/token"
46
}

Tests/JwtAuthTests.cs

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,6 @@ namespace Aspose.BarCode.Cloud.Sdk.Tests
1414
[TestFixture]
1515
public class JwtAuthTests : TestsBase
1616
{
17-
[SetUp]
18-
public void Init()
19-
{
20-
}
21-
2217
private async Task<string> FetchToken()
2318
{
2419
var formParams = new Dictionary<string, string>
@@ -37,6 +32,7 @@ private async Task<string> FetchToken()
3732
return accessToken;
3833
}
3934

35+
4036
[Test]
4137
public async Task CanUseExternalToken()
4238
{

docs/BarcodeApi.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ Name | Type | Description | Notes
9494
**rectWidth** | **int?**| Set Width of area for recognition. | [optional]
9595
**rectHeight** | **int?**| Set Height of area for recognition. | [optional]
9696
**stripFNC** | **bool?**| Value indicating whether FNC symbol strip must be done. | [optional]
97-
**timeout** | **int?**| Timeout of recognition process in milliseconds. Default value is 15_000 (15 seconds). Maximum value is 60_000 (1 minute). In case of a timeout RequestTimeout (408) status will be returned. Try reducing the image size to avoid timeout. | [optional]
97+
**timeout** | **int?**| Timeout of recognition process in milliseconds. Default value is 15_000 (15 seconds). Maximum value is 30_000 (1/2 minute). In case of a timeout RequestTimeout (408) status will be returned. Try reducing the image size to avoid timeout. | [optional]
9898
**medianSmoothingWindowSize** | **int?**| Window size for median smoothing. Typical values are 3 or 4. Default value is 3. AllowMedianSmoothing must be set. | [optional]
9999
**allowMedianSmoothing** | **bool?**| Allows engine to enable median smoothing as additional scan. Mode helps to recognize noised barcodes. | [optional]
100100
**allowComplexBackground** | **bool?**| Allows engine to recognize color barcodes on color background as additional scan. Extremely slow mode. | [optional]
@@ -154,7 +154,7 @@ Name | Type | Description | Notes
154154
**rectWidth** | **int?**| Set Width of area for recognition. | [optional]
155155
**rectHeight** | **int?**| Set Height of area for recognition. | [optional]
156156
**stripFNC** | **bool?**| Value indicating whether FNC symbol strip must be done. | [optional]
157-
**timeout** | **int?**| Timeout of recognition process in milliseconds. Default value is 15_000 (15 seconds). Maximum value is 60_000 (1 minute). In case of a timeout RequestTimeout (408) status will be returned. Try reducing the image size to avoid timeout. | [optional]
157+
**timeout** | **int?**| Timeout of recognition process in milliseconds. Default value is 15_000 (15 seconds). Maximum value is 30_000 (1/2 minute). In case of a timeout RequestTimeout (408) status will be returned. Try reducing the image size to avoid timeout. | [optional]
158158
**medianSmoothingWindowSize** | **int?**| Window size for median smoothing. Typical values are 3 or 4. Default value is 3. AllowMedianSmoothing must be set. | [optional]
159159
**allowMedianSmoothing** | **bool?**| Allows engine to enable median smoothing as additional scan. Mode helps to recognize noised barcodes. | [optional]
160160
**allowComplexBackground** | **bool?**| Allows engine to recognize color barcodes on color background as additional scan. Extremely slow mode. | [optional]

docs/Code128Emulation.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# Aspose.BarCode.Cloud.Sdk.Model.Code128Emulation
22

3+
DEPRECATED. This enum will be removed in future releases Function codewords for Code 128 emulation. Applied for MicroPDF417 only. Ignored for PDF417 and MacroPDF417 barcodes.
4+
35
## Allowable values
46

57
* **None**

docs/DecodeBarcodeType.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,3 +87,4 @@ See DecodeType
8787
* GS1HanXin
8888
* GS1Aztec
8989
* GS1CompositeBar
90+
* GS1MicroPdf417

docs/EncodeBarcodeType.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,3 +75,4 @@ See EncodeTypes
7575
* HanXin
7676
* GS1HanXin
7777
* GS1Aztec
78+
* GS1MicroPdf417

docs/Pdf417Params.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,5 +25,8 @@ Name | Type | Description | Notes
2525
**MacroFileName** | **string** | Macro Pdf417 barcode file name | [optional]
2626
**MacroAddressee** | **string** | Macro Pdf417 barcode addressee name | [optional]
2727
**MacroECIEncoding** | **ECIEncodings** | Extended Channel Interpretation Identifiers. Applies for Macro PDF417 text fields. | [optional]
28-
**Code128Emulation** | **Code128Emulation** | Function codeword for Code 128 emulation. Applied for MicroPDF417 only. Ignored for PDF417 and MacroPDF417 barcodes. | [optional]
28+
**Code128Emulation** | **Code128Emulation** | DEPRECATED: This property is obsolete and will be removed in future releases. See samples of using new parameters on https://releases.aspose.com/barcode/net/release-notes/2023/aspose-barcode-for-net-23-10-release-notes/ Function codeword for Code 128 emulation. Applied for MicroPDF417 only. Ignored for PDF417 and MacroPDF417 barcodes. | [optional]
29+
**IsCode128Emulation** | **bool?** | Can be used only with MicroPdf417 and encodes Code 128 emulation modes. Can encode FNC1 in second position modes 908 and 909, also can encode 910 and 911 which just indicate that recognized MicroPdf417 can be interpret as Code 128. | [optional]
2930
**Pdf417MacroTerminator** | **Pdf417MacroTerminator** | Used to tell the encoder whether to add Macro PDF417 Terminator (codeword 922) to the segment. Applied only for Macro PDF417. | [optional]
31+
**IsLinked** | **bool?** | Defines linked modes with GS1MicroPdf417, MicroPdf417 and Pdf417 barcodes. With GS1MicroPdf417 symbology encodes 906, 907, 912, 913, 914, 915 “Linked” UCC/EAN-128 modes. With MicroPdf417 and Pdf417 symbologies encodes 918 linkage flag to associated linear component other than an EAN.UCC. | [optional]
32+
**MacroCharacters** | **MacroCharacter** | Macro Characters 05 and 06 values are used to obtain more compact encoding in special modes. Can be used only with MicroPdf417 and encodes 916 and 917 MicroPdf417 modes. Default value: MacroCharacters.None. | [optional]

0 commit comments

Comments
 (0)