Skip to content

Commit 03e7a52

Browse files
authored
Release 25.2 (#86)
* Version updated.
1 parent 7b8168e commit 03e7a52

File tree

7 files changed

+11
-10
lines changed

7 files changed

+11
-10
lines changed

README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
[![Maven metadata URL](https://img.shields.io/maven-metadata/v?metadataUrl=https%3A%2F%2Freleases.aspose.cloud%2Fjava%2Frepo%2Fcom%2Faspose%2Faspose-barcode-cloud%2Fmaven-metadata.xml)](https://releases.aspose.cloud/java/repo/com/aspose/aspose-barcode-cloud/)
66

77
- API version: 4.0
8-
- SDK version: 25.1.0
8+
- SDK version: 25.2.0
99

1010
## SDK and API Version Compatibility:
1111

@@ -73,7 +73,7 @@ Add this dependency to your project's POM:
7373
<dependency>
7474
<groupId>com.aspose</groupId>
7575
<artifactId>aspose-barcode-cloud</artifactId>
76-
<version>25.1.0</version>
76+
<version>25.2.0</version>
7777
<scope>compile</scope>
7878
</dependency>
7979
```
@@ -88,7 +88,7 @@ mvn clean package
8888

8989
Then manually install the following JARs:
9090

91-
- `target/aspose-barcode-cloud-25.1.0.jar`
91+
- `target/aspose-barcode-cloud-25.2.0.jar`
9292
- `target/lib/*.jar`
9393

9494
## Getting Started

docs/GenerateApi.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ Name | Type | Description | Notes
2323
**data** | **String**| String represents data to encode |
2424
**dataType** | [**EncodeDataType**](.md)| Type of data to encode. Default value: StringData. | [optional] [enum: StringData, Base64Bytes, HexBytes]
2525
**imageFormat** | [**BarcodeImageFormat**](.md)| Barcode output image format. Default value: png | [optional] [enum: Png, Jpeg, Svg, Tiff, Gif]
26-
**textLocation** | [**CodeLocation**](.md)| Specify the displaying Text Location, set to CodeLocation.None to hide CodeText. Default value: CodeLocation.Below. | [optional] [enum: Below, Above, None]
26+
**textLocation** | [**CodeLocation**](.md)| Specify the displaying Text Location, set to CodeLocation.None to hide CodeText. Default value: Depends on BarcodeType. CodeLocation.Below for 1D Barcodes. CodeLocation.None for 2D Barcodes. | [optional] [enum: Below, Above, None]
2727
**foregroundColor** | **String**| Specify the displaying bars and content Color. Value: Color name from https://reference.aspose.com/drawing/net/system.drawing/color/ or ARGB value started with #. For example: AliceBlue or #FF000000 Default value: Black. | [optional] [default to Black]
2828
**backgroundColor** | **String**| Background color of the barcode image. Value: Color name from https://reference.aspose.com/drawing/net/system.drawing/color/ or ARGB value started with #. For example: AliceBlue or #FF000000 Default value: White. | [optional] [default to White]
2929
**units** | [**GraphicsUnit**](.md)| Common Units for all measuring in query. Default units: pixel. | [optional] [enum: Pixel, Point, Inch, Millimeter]

pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<artifactId>aspose-barcode-cloud</artifactId>
77
<packaging>jar</packaging>
88
<name>aspose-barcode-cloud</name>
9-
<version>25.1.0</version>
9+
<version>25.2.0</version>
1010
<url>https://www.aspose.cloud</url>
1111
<description>Aspose.BarCode Cloud SDK for Java</description>
1212
<scm>

src/main/java/com/aspose/barcode/cloud/ApiClient.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
/** ApiClient. */
4141
public class ApiClient {
4242
public final String apiVersion = "v4.0";
43-
public final String clientVersion = "25.1.0";
43+
public final String clientVersion = "25.2.0";
4444

4545
private String baseUrl = "https://api.aspose.cloud";
4646
private String tokenUrl = "https://id.aspose.cloud/connect/token";
@@ -88,7 +88,7 @@ protected ApiClient(long readTimeoutMillis) {
8888
json = new JSON();
8989

9090
// Set default User-Agent.
91-
setUserAgent("OpenApi-Generator/25.1.0/java");
91+
setUserAgent("OpenApi-Generator/25.2.0/java");
9292

9393
addDefaultHeader("x-aspose-client", "java sdk");
9494
addDefaultHeader("x-aspose-client-version", clientVersion);

src/main/java/com/aspose/barcode/cloud/requests/GenerateRequestWrapper.java

+2-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,8 @@ public class GenerateRequestWrapper {
4747

4848
/**
4949
* Specify the displaying Text Location, set to CodeLocation.None to hide CodeText. Default
50-
* value: CodeLocation.Below..
50+
* value: Depends on BarcodeType. CodeLocation.Below for 1D Barcodes. CodeLocation.None for 2D
51+
* Barcodes..
5152
*/
5253
public CodeLocation textLocation;
5354

src/test/java/com/aspose/barcode/cloud/test/ExceptionTest.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
package com.aspose.barcode.cloud.test;
22

3+
import static org.junit.Assert.*;
4+
35
import com.aspose.barcode.cloud.ApiException;
46
import com.aspose.barcode.cloud.api.GenerateApi;
57
import com.aspose.barcode.cloud.model.EncodeBarcodeType;
@@ -8,8 +10,6 @@
810
import org.junit.BeforeClass;
911
import org.junit.Test;
1012

11-
import static org.junit.Assert.*;
12-
1313
public class ExceptionTest extends TestBase {
1414

1515
private static GenerateApi api;

test_data/Code128.png

-871 Bytes
Loading

0 commit comments

Comments
 (0)