From 2f8aac0e790a3fcec34a914a45eefdf5eba4e8bc Mon Sep 17 00:00:00 2001 From: Ivan Kamkin <234-Ivan.Kamkin@users.noreply.git.saltov.dynabic.com> Date: Tue, 27 May 2025 10:39:47 +0500 Subject: [PATCH 1/4] Version updated. --- README.md | 4 ++-- doc/api/GenerateApi.md | 30 ++++++++++++------------- doc/models/BarcodeImageParams.md | 12 +++++----- lib/src/api_client.dart | 2 +- lib/src/model/barcode_image_params.dart | 12 +++++----- pubspec.yaml | 2 +- 6 files changed, 31 insertions(+), 31 deletions(-) diff --git a/README.md b/README.md index ffaf2d4..d9c3f03 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ [![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) - API version: 4.0 -- SDK version: 4.25.4 +- SDK version: 4.25.5 ## SDK and API Version Compatibility: @@ -39,7 +39,7 @@ Add this dependency to your *pubspec.yaml*: ```yaml dependencies: - aspose_barcode_cloud: 4.25.4 + aspose_barcode_cloud: 4.25.5 ``` ## Sample usage diff --git a/doc/api/GenerateApi.md b/doc/api/GenerateApi.md index b3be2e6..2dbe5e2 100644 --- a/doc/api/GenerateApi.md +++ b/doc/api/GenerateApi.md @@ -25,16 +25,16 @@ Name | Type | Description | Notes ---- | ---- | ------------ | ----- **barcodeType** | [**EncodeBarcodeType**](.md)| Type of barcode to generate. | **data** | **String**| String represents data to encode | - **dataType** | [**EncodeDataType**](.md)| Type of data to encode. Default value: StringData. | [optional] - **imageFormat** | [**BarcodeImageFormat**](.md)| Barcode output image format. Default value: png | [optional] - **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] - **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'] + **dataType** | [**EncodeDataType**](.md)| Type of data to encode. Default value: StringData. | [optional] + **imageFormat** | [**BarcodeImageFormat**](.md)| Barcode output image format. Default value: png | [optional] + **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] + **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] - **resolution** | **double**| Resolution of the BarCode image. One value for both dimensions. Default value: 96 dpi. Decimal separator is dot. | [optional] - **imageHeight** | **double**| Height of the barcode image in given units. Default units: pixel. Decimal separator is dot. | [optional] - **imageWidth** | **double**| Width of the barcode image in given units. Default units: pixel. Decimal separator is dot. | [optional] - **rotationAngle** | **int**| BarCode image rotation angle, measured in degree, e.g. RotationAngle = 0 or RotationAngle = 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] + **resolution** | **double**| Resolution of the BarCode image. One value for both dimensions. Default value: 96 dpi. Decimal separator is dot. | [optional] + **imageHeight** | **double**| Height of the barcode image in given units. Default units: pixel. Decimal separator is dot. | [optional] + **imageWidth** | **double**| Width of the barcode image in given units. Default units: pixel. Decimal separator is dot. | [optional] + **rotationAngle** | **int**| BarCode image rotation angle, measured in degree, e.g. RotationAngle = 0 or RotationAngle = 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] ### Return type @@ -89,13 +89,13 @@ Name | Type | Description | Notes **dataType** | [**EncodeDataType**](EncodeDataType.md)| | [optional] **imageFormat** | [**BarcodeImageFormat**](BarcodeImageFormat.md)| | [optional] **textLocation** | [**CodeLocation**](CodeLocation.md)| | [optional] - **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'] + **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**](GraphicsUnit.md)| | [optional] - **resolution** | **double**| Resolution of the BarCode image. One value for both dimensions. Default value: 96 dpi. Decimal separator is dot. | [optional] - **imageHeight** | **double**| Height of the barcode image in given units. Default units: pixel. Decimal separator is dot. | [optional] - **imageWidth** | **double**| Width of the barcode image in given units. Default units: pixel. Decimal separator is dot. | [optional] - **rotationAngle** | **int**| BarCode image rotation angle, measured in degree, e.g. RotationAngle = 0 or RotationAngle = 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] + **resolution** | **double**| Resolution of the BarCode image. One value for both dimensions. Default value: 96 dpi. Decimal separator is dot. | [optional] + **imageHeight** | **double**| Height of the barcode image in given units. Default units: pixel. Decimal separator is dot. | [optional] + **imageWidth** | **double**| Width of the barcode image in given units. Default units: pixel. Decimal separator is dot. | [optional] + **rotationAngle** | **int**| BarCode image rotation angle, measured in degree, e.g. RotationAngle = 0 or RotationAngle = 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] ### Return type diff --git a/doc/models/BarcodeImageParams.md b/doc/models/BarcodeImageParams.md index be1cfad..97b0a80 100644 --- a/doc/models/BarcodeImageParams.md +++ b/doc/models/BarcodeImageParams.md @@ -13,11 +13,11 @@ Name | Type | Description | Notes ---- | ---- | ----------- | ----- **imageFormat** | [**BarcodeImageFormat**](BarcodeImageFormat.md) | | [optional] **textLocation** | [**CodeLocation**](CodeLocation.md) | | [optional] -**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'] +**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**](GraphicsUnit.md) | | [optional] -**resolution** | **double** | Resolution of the BarCode image. One value for both dimensions. Default value: 96 dpi. Decimal separator is dot. | [optional] -**imageHeight** | **double** | Height of the barcode image in given units. Default units: pixel. Decimal separator is dot. | [optional] -**imageWidth** | **double** | Width of the barcode image in given units. Default units: pixel. Decimal separator is dot. | [optional] -**rotationAngle** | **int** | BarCode image rotation angle, measured in degree, e.g. RotationAngle = 0 or RotationAngle = 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] +**resolution** | **double** | Resolution of the BarCode image. One value for both dimensions. Default value: 96 dpi. Decimal separator is dot. | [optional] +**imageHeight** | **double** | Height of the barcode image in given units. Default units: pixel. Decimal separator is dot. | [optional] +**imageWidth** | **double** | Width of the barcode image in given units. Default units: pixel. Decimal separator is dot. | [optional] +**rotationAngle** | **int** | BarCode image rotation angle, measured in degree, e.g. RotationAngle = 0 or RotationAngle = 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] diff --git a/lib/src/api_client.dart b/lib/src/api_client.dart index 36687d8..5c84dd1 100644 --- a/lib/src/api_client.dart +++ b/lib/src/api_client.dart @@ -10,7 +10,7 @@ import 'api_helper.dart'; import 'auth/authentication.dart'; /// Current SDK Version -const SDK_VERSION = "4.25.4"; +const SDK_VERSION = "4.25.5"; /// ApiClient is responsible for making HTTP requests to the API. class ApiClient { diff --git a/lib/src/model/barcode_image_params.dart b/lib/src/model/barcode_image_params.dart index 053d9a2..c686110 100644 --- a/lib/src/model/barcode_image_params.dart +++ b/lib/src/model/barcode_image_params.dart @@ -12,11 +12,11 @@ class BarcodeImageParams { //enum textLocationEnum { Below, Above, None, }; CodeLocation? textLocation; - /// 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. + /// 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. String? foregroundColor; - /// 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. + /// 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. String? backgroundColor; @@ -24,19 +24,19 @@ class BarcodeImageParams { //enum unitsEnum { Pixel, Point, Inch, Millimeter, }; GraphicsUnit? units; - /// Resolution of the BarCode image. One value for both dimensions. Default value: 96 dpi. Decimal separator is dot. + /// Resolution of the BarCode image. One value for both dimensions. Default value: 96 dpi. Decimal separator is dot. double? resolution; - /// Height of the barcode image in given units. Default units: pixel. Decimal separator is dot. + /// Height of the barcode image in given units. Default units: pixel. Decimal separator is dot. double? imageHeight; - /// Width of the barcode image in given units. Default units: pixel. Decimal separator is dot. + /// Width of the barcode image in given units. Default units: pixel. Decimal separator is dot. double? imageWidth; - /// BarCode image rotation angle, measured in degree, e.g. RotationAngle = 0 or RotationAngle = 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. + /// BarCode image rotation angle, measured in degree, e.g. RotationAngle = 0 or RotationAngle = 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. int? rotationAngle; diff --git a/pubspec.yaml b/pubspec.yaml index 0ed0a6d..b11abb7 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,6 +1,6 @@ name: aspose_barcode_cloud description: This SDK allows you to work with Aspose.BarCode for Cloud REST APIs in your Dart or Flutter applications quickly and easily -version: 4.25.4 +version: 4.25.5 homepage: https://github.com/aspose-barcode-cloud/aspose-barcode-cloud-dart platforms: From 226e5a67ba2ad5a9a08809d278f654fdf4fb6e63 Mon Sep 17 00:00:00 2001 From: Ivan Kamkin <234-Ivan.Kamkin@users.noreply.git.saltov.dynabic.com> Date: Tue, 27 May 2025 11:00:22 +0500 Subject: [PATCH 2/4] CHANGELOG updated --- CHANGELOG.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9ee642f..f53b0d0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # CHANGELOG +## 4.25.5 + +* May 2025 Release + ## 4.25.4 * April 2025 Release From 24456d4337572b286fcd57cf104601f7b592f1af Mon Sep 17 00:00:00 2001 From: Denis Averin Date: Tue, 27 May 2025 15:37:12 +0700 Subject: [PATCH 3/4] Update package `lints` to version 6.0.0 --- Makefile | 1 + pubspec.yaml | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index fec625f..fa4a443 100644 --- a/Makefile +++ b/Makefile @@ -35,6 +35,7 @@ insert-example: .PHONY: update update: dart pub upgrade + dart pub outdated .PHONY: cover cover: diff --git a/pubspec.yaml b/pubspec.yaml index b11abb7..aac1a92 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -17,5 +17,5 @@ dependencies: http: '>=0.13.0 <2.0.0' dev_dependencies: - lints: ^5.1.1 + lints: ^6.0.0 test: ^1.25.1 From 997d42f6722b7310162743155c1247ede6873506 Mon Sep 17 00:00:00 2001 From: Denis Averin Date: Tue, 27 May 2025 15:49:30 +0700 Subject: [PATCH 4/4] Fix lint error --- lib/src/configuration.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/src/configuration.dart b/lib/src/configuration.dart index 8cbe569..da75bdb 100644 --- a/lib/src/configuration.dart +++ b/lib/src/configuration.dart @@ -75,7 +75,7 @@ class Configuration { } /// Load configuration from environment variables - static fromEnv({String prefix = ""}) { + static Configuration fromEnv({String prefix = ""}) { final accessToken = Platform.environment["${prefix}ACCESS_TOKEN"]; return Configuration( accessToken: accessToken,