Skip to content

Commit

Permalink
Merge pull request #1017 from tonlabs/1.44.1-rc
Browse files Browse the repository at this point in the history
Version 1.44.1
  • Loading branch information
d3p authored Jul 25, 2023
2 parents a997e71 + cdd5679 commit 4cdee23
Show file tree
Hide file tree
Showing 37 changed files with 1,099 additions and 177 deletions.
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,16 @@
All notable changes to this project will be documented in this file.


## [1.44.1] – 2023-07-25

### New

- functions with callbacks (e.g. `processing.process_messages`) can be called as sync.
- `send_event` parameter is now optional with default value `false`.

### Deprecated
- Debot module is [DEPRECATED](./docs/reference/types-and-methods/DEPRECATED.md)

## [1.44.0] – 2023-07-12

### New
Expand Down
14 changes: 7 additions & 7 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion api/derive/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
authors = [ 'TON Labs LTD <[email protected]>' ]
edition = '2018'
name = 'api_derive'
version = '1.44.0'
version = '1.44.1'

[dependencies]
quote = '1.0.26'
Expand Down
2 changes: 1 addition & 1 deletion api/info/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
authors = [ 'TON Labs LTD <[email protected]>' ]
edition = '2018'
name = 'api_info'
version = '1.44.0'
version = '1.44.1'

[dependencies]
serde = '1.0.115'
Expand Down
2 changes: 1 addition & 1 deletion api/test/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
authors = [ 'TON Labs LTD <[email protected]>' ]
edition = '2018'
name = 'api_test'
version = '1.44.0'
version = '1.44.1'

[dependencies]
serde = '1.0.115'
Expand Down
5 changes: 5 additions & 0 deletions docs/reference/types-and-methods/DEPRECATED.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# DEPRECATED API

API elements marked as **DEPRECATED** will be REMOVED in the next
MINOR releases.

80 changes: 80 additions & 0 deletions docs/reference/types-and-methods/mod_abi.md
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,12 @@ type ResultOfEncodeMessageBody = {
function encode_message_body(
params: ParamsOfEncodeMessageBody,
): Promise<ResultOfEncodeMessageBody>;

function encode_message_body_sync(
params: ParamsOfEncodeMessageBody,
): ResultOfEncodeMessageBody;
```
NOTE: Sync version is available only for `lib-node` binding.
### Parameters
- `abi`: _[Abi](mod\_abi.md#abi)_ – Contract ABI.
- `call_set`: _[CallSet](mod\_abi.md#callset)_ – Function call parameters.
Expand Down Expand Up @@ -220,7 +225,12 @@ type ResultOfAttachSignatureToMessageBody = {
function attach_signature_to_message_body(
params: ParamsOfAttachSignatureToMessageBody,
): Promise<ResultOfAttachSignatureToMessageBody>;

function attach_signature_to_message_body_sync(
params: ParamsOfAttachSignatureToMessageBody,
): ResultOfAttachSignatureToMessageBody;
```
NOTE: Sync version is available only for `lib-node` binding.
### Parameters
- `abi`: _[Abi](mod\_abi.md#abi)_ – Contract ABI
- `public_key`: _string_ – Public key.
Expand Down Expand Up @@ -292,7 +302,12 @@ type ResultOfEncodeMessage = {
function encode_message(
params: ParamsOfEncodeMessage,
): Promise<ResultOfEncodeMessage>;

function encode_message_sync(
params: ParamsOfEncodeMessage,
): ResultOfEncodeMessage;
```
NOTE: Sync version is available only for `lib-node` binding.
### Parameters
- `abi`: _[Abi](mod\_abi.md#abi)_ – Contract ABI.
- `address`?: _string_ – Target address the message will be sent to.
Expand Down Expand Up @@ -356,7 +371,12 @@ type ResultOfEncodeInternalMessage = {
function encode_internal_message(
params: ParamsOfEncodeInternalMessage,
): Promise<ResultOfEncodeInternalMessage>;

function encode_internal_message_sync(
params: ParamsOfEncodeInternalMessage,
): ResultOfEncodeInternalMessage;
```
NOTE: Sync version is available only for `lib-node` binding.
### Parameters
- `abi`?: _[Abi](mod\_abi.md#abi)_ – Contract ABI.
<br>Can be None if both deploy_set and call_set are None.
Expand Down Expand Up @@ -401,7 +421,12 @@ type ResultOfAttachSignature = {
function attach_signature(
params: ParamsOfAttachSignature,
): Promise<ResultOfAttachSignature>;

function attach_signature_sync(
params: ParamsOfAttachSignature,
): ResultOfAttachSignature;
```
NOTE: Sync version is available only for `lib-node` binding.
### Parameters
- `abi`: _[Abi](mod\_abi.md#abi)_ – Contract ABI
- `public_key`: _string_ – Public key encoded in `hex`.
Expand Down Expand Up @@ -438,7 +463,12 @@ type DecodedMessageBody = {
function decode_message(
params: ParamsOfDecodeMessage,
): Promise<DecodedMessageBody>;

function decode_message_sync(
params: ParamsOfDecodeMessage,
): DecodedMessageBody;
```
NOTE: Sync version is available only for `lib-node` binding.
### Parameters
- `abi`: _[Abi](mod\_abi.md#abi)_ – contract ABI
- `message`: _string_ – Message BOC
Expand Down Expand Up @@ -479,7 +509,12 @@ type DecodedMessageBody = {
function decode_message_body(
params: ParamsOfDecodeMessageBody,
): Promise<DecodedMessageBody>;

function decode_message_body_sync(
params: ParamsOfDecodeMessageBody,
): DecodedMessageBody;
```
NOTE: Sync version is available only for `lib-node` binding.
### Parameters
- `abi`: _[Abi](mod\_abi.md#abi)_ – Contract ABI used to decode.
- `body`: _string_ – Message body BOC encoded in `base64`.
Expand Down Expand Up @@ -522,7 +557,12 @@ type ResultOfEncodeAccount = {
function encode_account(
params: ParamsOfEncodeAccount,
): Promise<ResultOfEncodeAccount>;

function encode_account_sync(
params: ParamsOfEncodeAccount,
): ResultOfEncodeAccount;
```
NOTE: Sync version is available only for `lib-node` binding.
### Parameters
- `state_init`: _[StateInitSource](mod\_abi.md#stateinitsource)_ – Source of the account state init.
- `balance`?: _bigint_ – Initial balance.
Expand Down Expand Up @@ -558,7 +598,12 @@ type ResultOfDecodeAccountData = {
function decode_account_data(
params: ParamsOfDecodeAccountData,
): Promise<ResultOfDecodeAccountData>;

function decode_account_data_sync(
params: ParamsOfDecodeAccountData,
): ResultOfDecodeAccountData;
```
NOTE: Sync version is available only for `lib-node` binding.
### Parameters
- `abi`: _[Abi](mod\_abi.md#abi)_ – Contract ABI
- `data`: _string_ – Data BOC or BOC handle
Expand Down Expand Up @@ -590,7 +635,12 @@ type ResultOfUpdateInitialData = {
function update_initial_data(
params: ParamsOfUpdateInitialData,
): Promise<ResultOfUpdateInitialData>;

function update_initial_data_sync(
params: ParamsOfUpdateInitialData,
): ResultOfUpdateInitialData;
```
NOTE: Sync version is available only for `lib-node` binding.
### Parameters
- `abi`?: _[Abi](mod\_abi.md#abi)_ – Contract ABI
- `data`: _string_ – Data BOC or BOC handle
Expand Down Expand Up @@ -626,7 +676,12 @@ type ResultOfEncodeInitialData = {
function encode_initial_data(
params: ParamsOfEncodeInitialData,
): Promise<ResultOfEncodeInitialData>;

function encode_initial_data_sync(
params: ParamsOfEncodeInitialData,
): ResultOfEncodeInitialData;
```
NOTE: Sync version is available only for `lib-node` binding.
### Parameters
- `abi`?: _[Abi](mod\_abi.md#abi)_ – Contract ABI
- `initial_data`?: _any_ – List of initial values for contract's static variables.
Expand Down Expand Up @@ -659,7 +714,12 @@ type ResultOfDecodeInitialData = {
function decode_initial_data(
params: ParamsOfDecodeInitialData,
): Promise<ResultOfDecodeInitialData>;

function decode_initial_data_sync(
params: ParamsOfDecodeInitialData,
): ResultOfDecodeInitialData;
```
NOTE: Sync version is available only for `lib-node` binding.
### Parameters
- `abi`?: _[Abi](mod\_abi.md#abi)_ – Contract ABI.
<br>Initial data is decoded if this parameter is provided
Expand Down Expand Up @@ -708,7 +768,12 @@ type ResultOfDecodeBoc = {
function decode_boc(
params: ParamsOfDecodeBoc,
): Promise<ResultOfDecodeBoc>;

function decode_boc_sync(
params: ParamsOfDecodeBoc,
): ResultOfDecodeBoc;
```
NOTE: Sync version is available only for `lib-node` binding.
### Parameters
- `params`: _[AbiParam](mod\_abi.md#abiparam)[]_ – Parameters to decode from BOC
- `boc`: _string_ – Data BOC or BOC handle
Expand Down Expand Up @@ -738,7 +803,12 @@ type ResultOfAbiEncodeBoc = {
function encode_boc(
params: ParamsOfAbiEncodeBoc,
): Promise<ResultOfAbiEncodeBoc>;

function encode_boc_sync(
params: ParamsOfAbiEncodeBoc,
): ResultOfAbiEncodeBoc;
```
NOTE: Sync version is available only for `lib-node` binding.
### Parameters
- `params`: _[AbiParam](mod\_abi.md#abiparam)[]_ – Parameters to encode into BOC
- `data`: _any_ – Parameters and values as a JSON structure
Expand Down Expand Up @@ -769,7 +839,12 @@ type ResultOfCalcFunctionId = {
function calc_function_id(
params: ParamsOfCalcFunctionId,
): Promise<ResultOfCalcFunctionId>;

function calc_function_id_sync(
params: ParamsOfCalcFunctionId,
): ResultOfCalcFunctionId;
```
NOTE: Sync version is available only for `lib-node` binding.
### Parameters
- `abi`: _[Abi](mod\_abi.md#abi)_ – Contract ABI.
- `function_name`: _string_ – Contract function name
Expand Down Expand Up @@ -800,7 +875,12 @@ type ResultOfGetSignatureData = {
function get_signature_data(
params: ParamsOfGetSignatureData,
): Promise<ResultOfGetSignatureData>;

function get_signature_data_sync(
params: ParamsOfGetSignatureData,
): ResultOfGetSignatureData;
```
NOTE: Sync version is available only for `lib-node` binding.
### Parameters
- `abi`: _[Abi](mod\_abi.md#abi)_ – Contract ABI used to decode.
- `message`: _string_ – Message BOC encoded in `base64`.
Expand Down
Loading

0 comments on commit 4cdee23

Please sign in to comment.