Skip to content

Commit

Permalink
Merge pull request #207 from tonlabs/1.12.0-rc
Browse files Browse the repository at this point in the history
Version 1.12.0
  • Loading branch information
d3p authored Apr 2, 2021
2 parents 312510c + 57cb697 commit c650bbf
Show file tree
Hide file tree
Showing 18 changed files with 351 additions and 59 deletions.
15 changes: 15 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,21 @@

All notable changes to this project will be documented in this file.

## [1.12.0] – 2021-04-01

### New
- [`utils.compress_zstd`](docs/mod_utils.md#compress_zstd) compresses data using Facebook's Zstandard algorithm.
- [`utils.decompress_zstd`](docs/mod_utils.md#decompress_zstd) decompresses data using Facebook's Zstandard algorithm.
- **Debot module**:
- `init` function that creates an instance of DeBot and returns DeBot metadata.
- Dengine fetches metadata form DeBot by calling 2 mandatory functions: `getRequiredInterfaces` and `getDebotInfo`. This data is returned by `fetch` and `init` functions.
- `approve` DeBot Browser callback which is called by DEngine to request permission for DeBot activities.

### Changed
- **Debot Module**:
- [breaking] `fetch` function does't create an instance of debot. It returns DeBot metadata (`DebotInfo`).
- [breaking] `start` function does't create an instance of debot. It accepts DeBot handle created in `init` function.

## [1.11.1] – 2021-03-15

### New
Expand Down
6 changes: 3 additions & 3 deletions build/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ use std::fs;
use std::io::Write;
use std::ops::Add;
use std::path::PathBuf;
use std::process::Command;
use std::process::{Command, ExitStatus};

pub struct Build {
pub version: String,
Expand Down Expand Up @@ -122,13 +122,13 @@ impl Build {
}
}

pub fn exec(cmd: &str, args: &[&str]) {
pub fn exec(cmd: &str, args: &[&str]) -> ExitStatus {
Command::new(cmd)
.args(args)
.spawn()
.unwrap()
.wait()
.unwrap();
.unwrap()
}

pub fn exec_out(cmd: &str, args: &[&str]) -> String {
Expand Down
2 changes: 1 addition & 1 deletion lerna.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"packages": [
"packages/*"
],
"version": "1.11.1",
"version": "1.12.0",
"command": {
"version": {
"message": "Release",
Expand Down
2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@tonclient/core",
"version": "1.11.1",
"version": "1.12.0",
"description": "TON Client for Java Script",
"main": "dist/index.js",
"types": "dist/index.d.ts",
Expand Down
Loading

0 comments on commit c650bbf

Please sign in to comment.