Skip to content

Commit a700c3f

Browse files
authored
Release 23.9 (#76)
* Added field `AztecEncodeMode` * Field `textEncoding` made deprecated * Drop Node v19.x testing
1 parent aa561da commit a700c3f

12 files changed

Lines changed: 1032 additions & 945 deletions

File tree

.github/workflows/node.js.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
strategy:
2020
matrix:
2121
# see https://nodejs.dev/en/about/releases/ for active releases
22-
node-version: [16.x, 18.x, 19, 20, lts/*, latest]
22+
node-version: [16.x, 18.x, 20.x, lts/*, latest]
2323

2424
steps:
2525
- uses: actions/checkout@v3

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
[![npm](https://img.shields.io/npm/v/aspose-barcode-cloud-node)](https://www.npmjs.com/package/aspose-barcode-cloud-node)
66

77
+ API version: 3.0
8-
+ Package version: 23.8.0
8+
+ Package version: 23.9.0
99

1010
## Demo applications
1111

docs/index.md

Lines changed: 7 additions & 7 deletions
Large diffs are not rendered by default.

docs/models.md

Lines changed: 41 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,18 @@ enum AvailableGraphicsUnit {
6363
}
6464
```
6565

66+
## AztecEncodeMode
67+
68+
69+
70+
```ts
71+
enum AztecEncodeMode {
72+
Auto = 'Auto',
73+
Bytes = 'Bytes',
74+
ExtendedCodetext = 'ExtendedCodetext'
75+
}
76+
```
77+
6678
## AztecParams
6779

6880
Aztec parameters.
@@ -86,9 +98,29 @@ interface AztecParams {
8698
symbolMode?: AztecSymbolMode;
8799

88100
/**
89-
* Sets the encoding of codetext.
101+
* 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.
90102
*/
91103
textEncoding?: string;
104+
105+
/**
106+
* Encoding mode for Aztec barcodes. Default value: Auto
107+
*/
108+
encodeMode?: AztecEncodeMode;
109+
110+
/**
111+
* Identifies ECI encoding. Used when AztecEncodeMode is Auto. Default value: ISO-8859-1.
112+
*/
113+
eCIEncoding?: ECIEncodings;
114+
115+
/**
116+
* Used to instruct the reader to interpret the data contained within the symbol as programming for reader initialization.
117+
*/
118+
isReaderInitialization?: boolean;
119+
120+
/**
121+
* 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).
122+
*/
123+
layersCount?: number;
92124
}
93125
```
94126

@@ -476,7 +508,7 @@ interface DataMatrixParams {
476508
aspectRatio?: number;
477509

478510
/**
479-
* Encoding of codetext.
511+
* 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.
480512
*/
481513
textEncoding?: string;
482514

@@ -678,7 +710,9 @@ enum DecodeBarcodeType {
678710
HIBCDataMatrixPAS = 'HIBCDataMatrixPAS',
679711
HIBCQRPAS = 'HIBCQRPAS',
680712
HanXin = 'HanXin',
681-
GS1HanXin = 'GS1HanXin'
713+
GS1HanXin = 'GS1HanXin',
714+
GS1Aztec = 'GS1Aztec',
715+
GS1CompositeBar = 'GS1CompositeBar'
682716
}
683717
```
684718

@@ -875,7 +909,8 @@ enum EncodeBarcodeType {
875909
Mailmark = 'Mailmark',
876910
GS1DotCode = 'GS1DotCode',
877911
HanXin = 'HanXin',
878-
GS1HanXin = 'GS1HanXin'
912+
GS1HanXin = 'GS1HanXin',
913+
GS1Aztec = 'GS1Aztec'
879914
}
880915
```
881916

@@ -1724,7 +1759,7 @@ interface Pdf417Params {
17241759
aspectRatio?: number;
17251760

17261761
/**
1727-
* Encoding of codetext.
1762+
* 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.
17281763
*/
17291764
textEncoding?: string;
17301765

@@ -1961,7 +1996,7 @@ interface QrParams {
19611996
aspectRatio?: number;
19621997

19631998
/**
1964-
* Encoding of codetext.
1999+
* 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.
19652000
*/
19662001
textEncoding?: string;
19672002

0 commit comments

Comments
 (0)