Skip to content

Release 25.2 #86

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Feb 27, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
[![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/)

- API version: 4.0
- SDK version: 25.1.0
- SDK version: 25.2.0

## SDK and API Version Compatibility:

Expand Down Expand Up @@ -73,7 +73,7 @@ Add this dependency to your project's POM:
<dependency>
<groupId>com.aspose</groupId>
<artifactId>aspose-barcode-cloud</artifactId>
<version>25.1.0</version>
<version>25.2.0</version>
<scope>compile</scope>
</dependency>
```
Expand All @@ -88,7 +88,7 @@ mvn clean package

Then manually install the following JARs:

- `target/aspose-barcode-cloud-25.1.0.jar`
- `target/aspose-barcode-cloud-25.2.0.jar`
- `target/lib/*.jar`

## Getting Started
Expand Down
2 changes: 1 addition & 1 deletion docs/GenerateApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Name | Type | Description | Notes
**data** | **String**| String represents data to encode |
**dataType** | [**EncodeDataType**](.md)| Type of data to encode. Default value: StringData. | [optional] [enum: StringData, Base64Bytes, HexBytes]
**imageFormat** | [**BarcodeImageFormat**](.md)| Barcode output image format. Default value: png | [optional] [enum: Png, Jpeg, Svg, Tiff, Gif]
**textLocation** | [**CodeLocation**](.md)| Specify the displaying Text Location, set to CodeLocation.None to hide CodeText. Default value: CodeLocation.Below. | [optional] [enum: Below, Above, None]
**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]
**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]
**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]
**units** | [**GraphicsUnit**](.md)| Common Units for all measuring in query. Default units: pixel. | [optional] [enum: Pixel, Point, Inch, Millimeter]
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<artifactId>aspose-barcode-cloud</artifactId>
<packaging>jar</packaging>
<name>aspose-barcode-cloud</name>
<version>25.1.0</version>
<version>25.2.0</version>
<url>https://www.aspose.cloud</url>
<description>Aspose.BarCode Cloud SDK for Java</description>
<scm>
Expand Down
4 changes: 2 additions & 2 deletions src/main/java/com/aspose/barcode/cloud/ApiClient.java
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
/** ApiClient. */
public class ApiClient {
public final String apiVersion = "v4.0";
public final String clientVersion = "25.1.0";
public final String clientVersion = "25.2.0";

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

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

addDefaultHeader("x-aspose-client", "java sdk");
addDefaultHeader("x-aspose-client-version", clientVersion);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,8 @@ public class GenerateRequestWrapper {

/**
* Specify the displaying Text Location, set to CodeLocation.None to hide CodeText. Default
* value: CodeLocation.Below..
* value: Depends on BarcodeType. CodeLocation.Below for 1D Barcodes. CodeLocation.None for 2D
* Barcodes..
*/
public CodeLocation textLocation;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
package com.aspose.barcode.cloud.test;

import static org.junit.Assert.*;

import com.aspose.barcode.cloud.ApiException;
import com.aspose.barcode.cloud.api.GenerateApi;
import com.aspose.barcode.cloud.model.EncodeBarcodeType;
Expand All @@ -8,8 +10,6 @@
import org.junit.BeforeClass;
import org.junit.Test;

import static org.junit.Assert.*;

public class ExceptionTest extends TestBase {

private static GenerateApi api;
Expand Down
Binary file modified test_data/Code128.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading