Skip to content

Commit 4cdee23

Browse files
authored
Merge pull request #1017 from tonlabs/1.44.1-rc
Version 1.44.1
2 parents a997e71 + cdd5679 commit 4cdee23

37 files changed

+1099
-177
lines changed

CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,16 @@
33
All notable changes to this project will be documented in this file.
44

55

6+
## [1.44.1] – 2023-07-25
7+
8+
### New
9+
10+
- functions with callbacks (e.g. `processing.process_messages`) can be called as sync.
11+
- `send_event` parameter is now optional with default value `false`.
12+
13+
### Deprecated
14+
- Debot module is [DEPRECATED](./docs/reference/types-and-methods/DEPRECATED.md)
15+
616
## [1.44.0] – 2023-07-12
717

818
### New

Cargo.lock

Lines changed: 7 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

api/derive/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
authors = [ 'TON Labs LTD <[email protected]>' ]
33
edition = '2018'
44
name = 'api_derive'
5-
version = '1.44.0'
5+
version = '1.44.1'
66

77
[dependencies]
88
quote = '1.0.26'

api/info/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
authors = [ 'TON Labs LTD <[email protected]>' ]
33
edition = '2018'
44
name = 'api_info'
5-
version = '1.44.0'
5+
version = '1.44.1'
66

77
[dependencies]
88
serde = '1.0.115'

api/test/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
authors = [ 'TON Labs LTD <[email protected]>' ]
33
edition = '2018'
44
name = 'api_test'
5-
version = '1.44.0'
5+
version = '1.44.1'
66

77
[dependencies]
88
serde = '1.0.115'
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# DEPRECATED API
2+
3+
API elements marked as **DEPRECATED** will be REMOVED in the next
4+
MINOR releases.
5+

docs/reference/types-and-methods/mod_abi.md

Lines changed: 80 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,12 @@ type ResultOfEncodeMessageBody = {
182182
function encode_message_body(
183183
params: ParamsOfEncodeMessageBody,
184184
): Promise<ResultOfEncodeMessageBody>;
185+
186+
function encode_message_body_sync(
187+
params: ParamsOfEncodeMessageBody,
188+
): ResultOfEncodeMessageBody;
185189
```
190+
NOTE: Sync version is available only for `lib-node` binding.
186191
### Parameters
187192
- `abi`: _[Abi](mod\_abi.md#abi)_ – Contract ABI.
188193
- `call_set`: _[CallSet](mod\_abi.md#callset)_ – Function call parameters.
@@ -220,7 +225,12 @@ type ResultOfAttachSignatureToMessageBody = {
220225
function attach_signature_to_message_body(
221226
params: ParamsOfAttachSignatureToMessageBody,
222227
): Promise<ResultOfAttachSignatureToMessageBody>;
228+
229+
function attach_signature_to_message_body_sync(
230+
params: ParamsOfAttachSignatureToMessageBody,
231+
): ResultOfAttachSignatureToMessageBody;
223232
```
233+
NOTE: Sync version is available only for `lib-node` binding.
224234
### Parameters
225235
- `abi`: _[Abi](mod\_abi.md#abi)_ – Contract ABI
226236
- `public_key`: _string_ – Public key.
@@ -292,7 +302,12 @@ type ResultOfEncodeMessage = {
292302
function encode_message(
293303
params: ParamsOfEncodeMessage,
294304
): Promise<ResultOfEncodeMessage>;
305+
306+
function encode_message_sync(
307+
params: ParamsOfEncodeMessage,
308+
): ResultOfEncodeMessage;
295309
```
310+
NOTE: Sync version is available only for `lib-node` binding.
296311
### Parameters
297312
- `abi`: _[Abi](mod\_abi.md#abi)_ – Contract ABI.
298313
- `address`?: _string_ – Target address the message will be sent to.
@@ -356,7 +371,12 @@ type ResultOfEncodeInternalMessage = {
356371
function encode_internal_message(
357372
params: ParamsOfEncodeInternalMessage,
358373
): Promise<ResultOfEncodeInternalMessage>;
374+
375+
function encode_internal_message_sync(
376+
params: ParamsOfEncodeInternalMessage,
377+
): ResultOfEncodeInternalMessage;
359378
```
379+
NOTE: Sync version is available only for `lib-node` binding.
360380
### Parameters
361381
- `abi`?: _[Abi](mod\_abi.md#abi)_ – Contract ABI.
362382
<br>Can be None if both deploy_set and call_set are None.
@@ -401,7 +421,12 @@ type ResultOfAttachSignature = {
401421
function attach_signature(
402422
params: ParamsOfAttachSignature,
403423
): Promise<ResultOfAttachSignature>;
424+
425+
function attach_signature_sync(
426+
params: ParamsOfAttachSignature,
427+
): ResultOfAttachSignature;
404428
```
429+
NOTE: Sync version is available only for `lib-node` binding.
405430
### Parameters
406431
- `abi`: _[Abi](mod\_abi.md#abi)_ – Contract ABI
407432
- `public_key`: _string_ – Public key encoded in `hex`.
@@ -438,7 +463,12 @@ type DecodedMessageBody = {
438463
function decode_message(
439464
params: ParamsOfDecodeMessage,
440465
): Promise<DecodedMessageBody>;
466+
467+
function decode_message_sync(
468+
params: ParamsOfDecodeMessage,
469+
): DecodedMessageBody;
441470
```
471+
NOTE: Sync version is available only for `lib-node` binding.
442472
### Parameters
443473
- `abi`: _[Abi](mod\_abi.md#abi)_ – contract ABI
444474
- `message`: _string_ – Message BOC
@@ -479,7 +509,12 @@ type DecodedMessageBody = {
479509
function decode_message_body(
480510
params: ParamsOfDecodeMessageBody,
481511
): Promise<DecodedMessageBody>;
512+
513+
function decode_message_body_sync(
514+
params: ParamsOfDecodeMessageBody,
515+
): DecodedMessageBody;
482516
```
517+
NOTE: Sync version is available only for `lib-node` binding.
483518
### Parameters
484519
- `abi`: _[Abi](mod\_abi.md#abi)_ – Contract ABI used to decode.
485520
- `body`: _string_ – Message body BOC encoded in `base64`.
@@ -522,7 +557,12 @@ type ResultOfEncodeAccount = {
522557
function encode_account(
523558
params: ParamsOfEncodeAccount,
524559
): Promise<ResultOfEncodeAccount>;
560+
561+
function encode_account_sync(
562+
params: ParamsOfEncodeAccount,
563+
): ResultOfEncodeAccount;
525564
```
565+
NOTE: Sync version is available only for `lib-node` binding.
526566
### Parameters
527567
- `state_init`: _[StateInitSource](mod\_abi.md#stateinitsource)_ – Source of the account state init.
528568
- `balance`?: _bigint_ – Initial balance.
@@ -558,7 +598,12 @@ type ResultOfDecodeAccountData = {
558598
function decode_account_data(
559599
params: ParamsOfDecodeAccountData,
560600
): Promise<ResultOfDecodeAccountData>;
601+
602+
function decode_account_data_sync(
603+
params: ParamsOfDecodeAccountData,
604+
): ResultOfDecodeAccountData;
561605
```
606+
NOTE: Sync version is available only for `lib-node` binding.
562607
### Parameters
563608
- `abi`: _[Abi](mod\_abi.md#abi)_ – Contract ABI
564609
- `data`: _string_ – Data BOC or BOC handle
@@ -590,7 +635,12 @@ type ResultOfUpdateInitialData = {
590635
function update_initial_data(
591636
params: ParamsOfUpdateInitialData,
592637
): Promise<ResultOfUpdateInitialData>;
638+
639+
function update_initial_data_sync(
640+
params: ParamsOfUpdateInitialData,
641+
): ResultOfUpdateInitialData;
593642
```
643+
NOTE: Sync version is available only for `lib-node` binding.
594644
### Parameters
595645
- `abi`?: _[Abi](mod\_abi.md#abi)_ – Contract ABI
596646
- `data`: _string_ – Data BOC or BOC handle
@@ -626,7 +676,12 @@ type ResultOfEncodeInitialData = {
626676
function encode_initial_data(
627677
params: ParamsOfEncodeInitialData,
628678
): Promise<ResultOfEncodeInitialData>;
679+
680+
function encode_initial_data_sync(
681+
params: ParamsOfEncodeInitialData,
682+
): ResultOfEncodeInitialData;
629683
```
684+
NOTE: Sync version is available only for `lib-node` binding.
630685
### Parameters
631686
- `abi`?: _[Abi](mod\_abi.md#abi)_ – Contract ABI
632687
- `initial_data`?: _any_ – List of initial values for contract's static variables.
@@ -659,7 +714,12 @@ type ResultOfDecodeInitialData = {
659714
function decode_initial_data(
660715
params: ParamsOfDecodeInitialData,
661716
): Promise<ResultOfDecodeInitialData>;
717+
718+
function decode_initial_data_sync(
719+
params: ParamsOfDecodeInitialData,
720+
): ResultOfDecodeInitialData;
662721
```
722+
NOTE: Sync version is available only for `lib-node` binding.
663723
### Parameters
664724
- `abi`?: _[Abi](mod\_abi.md#abi)_ – Contract ABI.
665725
<br>Initial data is decoded if this parameter is provided
@@ -708,7 +768,12 @@ type ResultOfDecodeBoc = {
708768
function decode_boc(
709769
params: ParamsOfDecodeBoc,
710770
): Promise<ResultOfDecodeBoc>;
771+
772+
function decode_boc_sync(
773+
params: ParamsOfDecodeBoc,
774+
): ResultOfDecodeBoc;
711775
```
776+
NOTE: Sync version is available only for `lib-node` binding.
712777
### Parameters
713778
- `params`: _[AbiParam](mod\_abi.md#abiparam)[]_ – Parameters to decode from BOC
714779
- `boc`: _string_ – Data BOC or BOC handle
@@ -738,7 +803,12 @@ type ResultOfAbiEncodeBoc = {
738803
function encode_boc(
739804
params: ParamsOfAbiEncodeBoc,
740805
): Promise<ResultOfAbiEncodeBoc>;
806+
807+
function encode_boc_sync(
808+
params: ParamsOfAbiEncodeBoc,
809+
): ResultOfAbiEncodeBoc;
741810
```
811+
NOTE: Sync version is available only for `lib-node` binding.
742812
### Parameters
743813
- `params`: _[AbiParam](mod\_abi.md#abiparam)[]_ – Parameters to encode into BOC
744814
- `data`: _any_ – Parameters and values as a JSON structure
@@ -769,7 +839,12 @@ type ResultOfCalcFunctionId = {
769839
function calc_function_id(
770840
params: ParamsOfCalcFunctionId,
771841
): Promise<ResultOfCalcFunctionId>;
842+
843+
function calc_function_id_sync(
844+
params: ParamsOfCalcFunctionId,
845+
): ResultOfCalcFunctionId;
772846
```
847+
NOTE: Sync version is available only for `lib-node` binding.
773848
### Parameters
774849
- `abi`: _[Abi](mod\_abi.md#abi)_ – Contract ABI.
775850
- `function_name`: _string_ – Contract function name
@@ -800,7 +875,12 @@ type ResultOfGetSignatureData = {
800875
function get_signature_data(
801876
params: ParamsOfGetSignatureData,
802877
): Promise<ResultOfGetSignatureData>;
878+
879+
function get_signature_data_sync(
880+
params: ParamsOfGetSignatureData,
881+
): ResultOfGetSignatureData;
803882
```
883+
NOTE: Sync version is available only for `lib-node` binding.
804884
### Parameters
805885
- `abi`: _[Abi](mod\_abi.md#abi)_ – Contract ABI used to decode.
806886
- `message`: _string_ – Message BOC encoded in `base64`.

0 commit comments

Comments
 (0)