Skip to content

Commit 308a137

Browse files
Release 25.5 (#50)
* Version updated. * Update package `lints` to version 6.0.0 * All images moved to test_data folder Added pubignore file --------- Co-authored-by: Denis Averin <[email protected]>
1 parent 31341e5 commit 308a137

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

49 files changed

+99
-85
lines changed

.github/workflows/dart.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
dart test
2323
chmod +x scripts/*
2424
./scripts/run_snippets.sh
25-
git checkout scripts qr.png Pdf417.png
25+
git checkout scripts test_data
2626
env:
2727
TEST_CONFIGURATION_ACCESS_TOKEN: ${{ secrets.TEST_CONFIGURATION_ACCESS_TOKEN }}
2828

.pubignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
snippets/
2+
test_data/
3+
scripts/
4+
Makefile

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# CHANGELOG
22

3+
## 4.25.5
4+
5+
* May 2025 Release
6+
37
## 4.25.4
48

59
* April 2025 Release

Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ insert-example:
3535
.PHONY: update
3636
update:
3737
dart pub upgrade
38+
dart pub outdated
3839

3940
.PHONY: cover
4041
cover:

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
[![Dart test](https://github.com/aspose-barcode-cloud/aspose-barcode-cloud-dart/actions/workflows/dart.yml/badge.svg?branch=main)](https://github.com/aspose-barcode-cloud/aspose-barcode-cloud-dart/actions/workflows/dart.yml)
44

55
- API version: 4.0
6-
- SDK version: 4.25.4
6+
- SDK version: 4.25.5
77

88
## SDK and API Version Compatibility:
99

@@ -39,7 +39,7 @@ Add this dependency to your *pubspec.yaml*:
3939

4040
```yaml
4141
dependencies:
42-
aspose_barcode_cloud: 4.25.4
42+
aspose_barcode_cloud: 4.25.5
4343
```
4444
4545
## Sample usage
@@ -55,7 +55,7 @@ import 'dart:typed_data';
5555
import 'package:aspose_barcode_cloud/aspose_barcode_cloud.dart';
5656

5757
Future<void> main() async {
58-
const fileName = "qr.png";
58+
final fileName = "test_data${Platform.pathSeparator}qr.png";
5959

6060
final client = ApiClient(Configuration(
6161
clientId: "Client Id from https://dashboard.aspose.cloud/applications",

doc/api/GenerateApi.md

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -25,16 +25,16 @@ Name | Type | Description | Notes
2525
---- | ---- | ------------ | -----
2626
**barcodeType** | [**EncodeBarcodeType**](.md)| Type of barcode to generate. |
2727
**data** | **String**| String represents data to encode |
28-
**dataType** | [**EncodeDataType**](.md)| Type of data to encode. Default value: StringData. | [optional]
29-
**imageFormat** | [**BarcodeImageFormat**](.md)| Barcode output image format. Default value: png | [optional]
30-
**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]
31-
**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 &#39;Black&#39;]
32-
**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 &#39;White&#39;]
28+
**dataType** | [**EncodeDataType**](.md)| Type of data to encode. Default value: StringData. | [optional]
29+
**imageFormat** | [**BarcodeImageFormat**](.md)| Barcode output image format. Default value: png | [optional]
30+
**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]
31+
**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 &#39;Black&#39;]
32+
**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 &#39;White&#39;]
3333
**units** | [**GraphicsUnit**](.md)| Common Units for all measuring in query. Default units: pixel. | [optional]
34-
**resolution** | **double**| Resolution of the BarCode image. One value for both dimensions. Default value: 96 dpi. Decimal separator is dot. | [optional]
35-
**imageHeight** | **double**| Height of the barcode image in given units. Default units: pixel. Decimal separator is dot. | [optional]
36-
**imageWidth** | **double**| Width of the barcode image in given units. Default units: pixel. Decimal separator is dot. | [optional]
37-
**rotationAngle** | **int**| BarCode image rotation angle, measured in degree, e.g. RotationAngle &#x3D; 0 or RotationAngle &#x3D; 360 means no rotation. If RotationAngle NOT equal to 90, 180, 270 or 0, it may increase the difficulty for the scanner to read the image. Default value: 0. | [optional]
34+
**resolution** | **double**| Resolution of the BarCode image. One value for both dimensions. Default value: 96 dpi. Decimal separator is dot. | [optional]
35+
**imageHeight** | **double**| Height of the barcode image in given units. Default units: pixel. Decimal separator is dot. | [optional]
36+
**imageWidth** | **double**| Width of the barcode image in given units. Default units: pixel. Decimal separator is dot. | [optional]
37+
**rotationAngle** | **int**| BarCode image rotation angle, measured in degree, e.g. RotationAngle &#x3D; 0 or RotationAngle &#x3D; 360 means no rotation. If RotationAngle NOT equal to 90, 180, 270 or 0, it may increase the difficulty for the scanner to read the image. Default value: 0. | [optional]
3838

3939
### Return type
4040

@@ -89,13 +89,13 @@ Name | Type | Description | Notes
8989
**dataType** | [**EncodeDataType**](EncodeDataType.md)| | [optional]
9090
**imageFormat** | [**BarcodeImageFormat**](BarcodeImageFormat.md)| | [optional]
9191
**textLocation** | [**CodeLocation**](CodeLocation.md)| | [optional]
92-
**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 &#39;Black&#39;]
93-
**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 &#39;White&#39;]
92+
**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 &#39;Black&#39;]
93+
**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 &#39;White&#39;]
9494
**units** | [**GraphicsUnit**](GraphicsUnit.md)| | [optional]
95-
**resolution** | **double**| Resolution of the BarCode image. One value for both dimensions. Default value: 96 dpi. Decimal separator is dot. | [optional]
96-
**imageHeight** | **double**| Height of the barcode image in given units. Default units: pixel. Decimal separator is dot. | [optional]
97-
**imageWidth** | **double**| Width of the barcode image in given units. Default units: pixel. Decimal separator is dot. | [optional]
98-
**rotationAngle** | **int**| BarCode image rotation angle, measured in degree, e.g. RotationAngle &#x3D; 0 or RotationAngle &#x3D; 360 means no rotation. If RotationAngle NOT equal to 90, 180, 270 or 0, it may increase the difficulty for the scanner to read the image. Default value: 0. | [optional]
95+
**resolution** | **double**| Resolution of the BarCode image. One value for both dimensions. Default value: 96 dpi. Decimal separator is dot. | [optional]
96+
**imageHeight** | **double**| Height of the barcode image in given units. Default units: pixel. Decimal separator is dot. | [optional]
97+
**imageWidth** | **double**| Width of the barcode image in given units. Default units: pixel. Decimal separator is dot. | [optional]
98+
**rotationAngle** | **int**| BarCode image rotation angle, measured in degree, e.g. RotationAngle &#x3D; 0 or RotationAngle &#x3D; 360 means no rotation. If RotationAngle NOT equal to 90, 180, 270 or 0, it may increase the difficulty for the scanner to read the image. Default value: 0. | [optional]
9999

100100
### Return type
101101

doc/models/BarcodeImageParams.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,11 @@ Name | Type | Description | Notes
1313
---- | ---- | ----------- | -----
1414
**imageFormat** | [**BarcodeImageFormat**](BarcodeImageFormat.md) | | [optional]
1515
**textLocation** | [**CodeLocation**](CodeLocation.md) | | [optional]
16-
**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 &#39;Black&#39;]
17-
**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 &#39;White&#39;]
16+
**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 &#39;Black&#39;]
17+
**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 &#39;White&#39;]
1818
**units** | [**GraphicsUnit**](GraphicsUnit.md) | | [optional]
19-
**resolution** | **double** | Resolution of the BarCode image. One value for both dimensions. Default value: 96 dpi. Decimal separator is dot. | [optional]
20-
**imageHeight** | **double** | Height of the barcode image in given units. Default units: pixel. Decimal separator is dot. | [optional]
21-
**imageWidth** | **double** | Width of the barcode image in given units. Default units: pixel. Decimal separator is dot. | [optional]
22-
**rotationAngle** | **int** | BarCode image rotation angle, measured in degree, e.g. RotationAngle &#x3D; 0 or RotationAngle &#x3D; 360 means no rotation. If RotationAngle NOT equal to 90, 180, 270 or 0, it may increase the difficulty for the scanner to read the image. Default value: 0. | [optional]
19+
**resolution** | **double** | Resolution of the BarCode image. One value for both dimensions. Default value: 96 dpi. Decimal separator is dot. | [optional]
20+
**imageHeight** | **double** | Height of the barcode image in given units. Default units: pixel. Decimal separator is dot. | [optional]
21+
**imageWidth** | **double** | Width of the barcode image in given units. Default units: pixel. Decimal separator is dot. | [optional]
22+
**rotationAngle** | **int** | BarCode image rotation angle, measured in degree, e.g. RotationAngle &#x3D; 0 or RotationAngle &#x3D; 360 means no rotation. If RotationAngle NOT equal to 90, 180, 270 or 0, it may increase the difficulty for the scanner to read the image. Default value: 0. | [optional]
2323

example/main.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import 'dart:typed_data';
44
import 'package:aspose_barcode_cloud/aspose_barcode_cloud.dart';
55

66
Future<void> main() async {
7-
const fileName = "qr.png";
7+
final fileName = "test_data${Platform.pathSeparator}qr.png";
88

99
final client = ApiClient(Configuration(
1010
clientId: "Client Id from https://dashboard.aspose.cloud/applications",

lib/src/api_client.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import 'api_helper.dart';
1010
import 'auth/authentication.dart';
1111

1212
/// Current SDK Version
13-
const SDK_VERSION = "4.25.4";
13+
const SDK_VERSION = "4.25.5";
1414

1515
/// ApiClient is responsible for making HTTP requests to the API.
1616
class ApiClient {

lib/src/configuration.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ class Configuration {
7575
}
7676

7777
/// Load configuration from environment variables
78-
static fromEnv({String prefix = ""}) {
78+
static Configuration fromEnv({String prefix = ""}) {
7979
final accessToken = Platform.environment["${prefix}ACCESS_TOKEN"];
8080
return Configuration(
8181
accessToken: accessToken,

0 commit comments

Comments
 (0)