Skip to content

Commit c966cb6

Browse files
authored
Release 23.9 (#59)
* Added field `AztecEncodeMode` * Field `textEncoding` made deprecated * Update PHPUnit configuration
1 parent 8d0276b commit c966cb6

18 files changed

+248
-35
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
.PHONY: all
2-
all: format lint test
2+
all: format test lint
33

44
.PHONY: format
55
format:

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
[![Supported PHP Versions](https://img.shields.io/packagist/dependency-v/aspose/barcode-cloud-php/php)](https://packagist.org/packages/aspose/barcode-cloud-php)
77

88
- API version: 3.0
9-
- Package version: 23.8.0
9+
- Package version: 23.9.0
1010
- Supported PHP versions: ">=7.4 || >=8.0"
1111

1212
## Demo applications
@@ -117,6 +117,7 @@ Class | Method | HTTP request | Description
117117
- [AustralianPostParams](docs/Model/AustralianPostParams.md)
118118
- [AutoSizeMode](docs/Model/AutoSizeMode.md)
119119
- [AvailableGraphicsUnit](docs/Model/AvailableGraphicsUnit.md)
120+
- [AztecEncodeMode](docs/Model/AztecEncodeMode.md)
120121
- [AztecParams](docs/Model/AztecParams.md)
121122
- [AztecSymbolMode](docs/Model/AztecSymbolMode.md)
122123
- [BarcodeResponse](docs/Model/BarcodeResponse.md)

docs/Model/AztecEncodeMode.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# AztecEncodeMode
2+
3+
4+
## Allowable values
5+
6+
* **AUTO**
7+
* BYTES
8+
* EXTENDED_CODETEXT
9+
10+
[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md)
11+
12+

docs/Model/AztecParams.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,11 @@ Name | Type | Description | Notes
88
**aspect_ratio** | **double** | Height/Width ratio of 2D BarCode module. | [optional]
99
**error_level** | **int** | Level of error correction of Aztec types of barcode. Value should between 10 to 95. | [optional]
1010
**symbol_mode** | [**\Aspose\BarCode\Model\AztecSymbolMode**](AztecSymbolMode.md) | Aztec Symbol mode. Default value: AztecSymbolMode.Auto. | [optional]
11-
**text_encoding** | **string** | Sets the encoding of codetext. | [optional]
11+
**text_encoding** | **string** | DEPRECATED: This property is obsolete and will be removed in future releases. Unicode symbols detection and encoding will be processed in Auto mode with Extended Channel Interpretation charset designator. Using of own encodings requires manual CodeText encoding into byte[] array. Sets the encoding of codetext. | [optional]
12+
**encode_mode** | [**\Aspose\BarCode\Model\AztecEncodeMode**](AztecEncodeMode.md) | Encoding mode for Aztec barcodes. Default value: Auto | [optional]
13+
**eci_encoding** | [**\Aspose\BarCode\Model\ECIEncodings**](ECIEncodings.md) | Identifies ECI encoding. Used when AztecEncodeMode is Auto. Default value: ISO-8859-1. | [optional]
14+
**is_reader_initialization** | **bool** | Used to instruct the reader to interpret the data contained within the symbol as programming for reader initialization. | [optional]
15+
**layers_count** | **int** | Gets or sets layers count of Aztec symbol. Layers count should be in range from 1 to 3 for Compact mode and in range from 1 to 32 for Full Range mode. Default value: 0 (auto). | [optional]
1216

1317
[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md)
1418

docs/Model/DataMatrixParams.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ DataMatrix parameters.
66
Name | Type | Description | Notes
77
---- | ---- | ----------- | -----
88
**aspect_ratio** | **double** | Height/Width ratio of 2D BarCode module | [optional]
9-
**text_encoding** | **string** | Encoding of codetext. | [optional]
9+
**text_encoding** | **string** | DEPRECATED: This property is obsolete and will be removed in future releases. Unicode symbols detection and encoding will be processed in Auto mode with Extended Channel Interpretation charset designator. Using of own encodings requires manual CodeText encoding into byte[] array. Sets the encoding of codetext. | [optional]
1010
**columns** | **int** | DEPRECATED: Will be replaced with 'DataMatrix.Version' in the next release Columns count. | [optional]
1111
**data_matrix_ecc** | [**\Aspose\BarCode\Model\DataMatrixEccType**](DataMatrixEccType.md) | Datamatrix ECC type. Default value: DataMatrixEccType.Ecc200. | [optional]
1212
**data_matrix_encode_mode** | [**\Aspose\BarCode\Model\DataMatrixEncodeMode**](DataMatrixEncodeMode.md) | Encode mode of Datamatrix barcode. Default value: DataMatrixEncodeMode.Auto. | [optional]

docs/Model/DecodeBarcodeType.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,8 @@ See DecodeType
8484
* HIBCQRPAS
8585
* HAN_XIN
8686
* GS1_HAN_XIN
87+
* GS1_AZTEC
88+
* GS1_COMPOSITE_BAR
8789

8890
[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md)
8991

docs/Model/EncodeBarcodeType.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@ See EncodeTypes
7373
* GS1_DOT_CODE
7474
* HAN_XIN
7575
* GS1_HAN_XIN
76+
* GS1_AZTEC
7677

7778
[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md)
7879

docs/Model/Pdf417Params.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ PDF417 parameters.
66
Name | Type | Description | Notes
77
---- | ---- | ----------- | -----
88
**aspect_ratio** | **double** | Height/Width ratio of 2D BarCode module. | [optional]
9-
**text_encoding** | **string** | Encoding of codetext. | [optional]
9+
**text_encoding** | **string** | DEPRECATED: This property is obsolete and will be removed in future releases. Unicode symbols detection and encoding will be processed in Auto mode with Extended Channel Interpretation charset designator. Using of own encodings requires manual CodeText encoding into byte[] array. Sets the encoding of codetext. | [optional]
1010
**columns** | **int** | Columns count. | [optional]
1111
**compaction_mode** | [**\Aspose\BarCode\Model\Pdf417CompactionMode**](Pdf417CompactionMode.md) | Pdf417 symbology type of BarCode's compaction mode. Default value: Pdf417CompactionMode.Auto. | [optional]
1212
**error_level** | [**\Aspose\BarCode\Model\Pdf417ErrorLevel**](Pdf417ErrorLevel.md) | Pdf417 symbology type of BarCode's error correction level ranging from level0 to level8, level0 means no error correction info, level8 means best error correction which means a larger picture. | [optional]

docs/Model/QrParams.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ QR parameters.
66
Name | Type | Description | Notes
77
---- | ---- | ----------- | -----
88
**aspect_ratio** | **double** | Height/Width ratio of 2D BarCode module. | [optional]
9-
**text_encoding** | **string** | Encoding of codetext. | [optional]
9+
**text_encoding** | **string** | DEPRECATED: This property is obsolete and will be removed in future releases. Unicode symbols detection and encoding will be processed in Auto mode with Extended Channel Interpretation charset designator. Using of own encodings requires manual CodeText encoding into byte[] array. Sets the encoding of codetext. | [optional]
1010
**encode_type** | [**\Aspose\BarCode\Model\QREncodeType**](QREncodeType.md) | QR / MicroQR selector mode. Select ForceQR for standard QR symbols, Auto for MicroQR. | [optional]
1111
**eci_encoding** | [**\Aspose\BarCode\Model\ECIEncodings**](ECIEncodings.md) | Extended Channel Interpretation Identifiers. It is used to tell the barcode reader details about the used references for encoding the data in the symbol. Current implementation consists all well known charset encodings. | [optional]
1212
**encode_mode** | [**\Aspose\BarCode\Model\QREncodeMode**](QREncodeMode.md) | QR symbology type of BarCode's encoding mode. Default value: QREncodeMode.Auto. | [optional]

phpunit.xml

Lines changed: 12 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,14 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3-
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.0/phpunit.xsd"
4-
bootstrap="vendor/autoload.php"
5-
executionOrder="depends,defects"
6-
beStrictAboutOutputDuringTests="true"
7-
failOnRisky="true"
8-
failOnWarning="true"
9-
>
10-
<testsuites>
11-
<testsuite name="default">
12-
<directory>tests</directory>
13-
</testsuite>
14-
</testsuites>
15-
16-
<coverage>
17-
<include>
18-
<directory suffix=".php">src</directory>
19-
</include>
20-
</coverage>
2+
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.3/phpunit.xsd" bootstrap="vendor/autoload.php" executionOrder="depends,defects" beStrictAboutOutputDuringTests="true" failOnRisky="true" failOnWarning="true">
3+
<testsuites>
4+
<testsuite name="default">
5+
<directory>tests</directory>
6+
</testsuite>
7+
</testsuites>
8+
<coverage/>
9+
<source>
10+
<include>
11+
<directory suffix=".php">src</directory>
12+
</include>
13+
</source>
2114
</phpunit>

0 commit comments

Comments
 (0)