Skip to content

Commit

Permalink
hotfix wasm themis: rebuild wasm-themis with -O3 flag (#938)
Browse files Browse the repository at this point in the history
* rebuild wasm-themis with -O3 flag

* update CHANGELOG.md
  • Loading branch information
radetsky committed Aug 22, 2022
1 parent f53406d commit ee7df68
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 10 deletions.
21 changes: 16 additions & 5 deletions CHANGELOG.md
Expand Up @@ -4,23 +4,34 @@

Changes that are currently in development and have not been released yet.


## [0.14.8](https://github.com/cossacklabs/themis/releases/tag/0.14.8), Aug 22th 2022

### WASM Themis

- Rebuild wasm-themis with optimization flag to make package smaller again.
([938](https://github.com/cossacklabs/themis/pull/938/)).


## [0.14.7](https://github.com/cossacklabs/themis/releases/tag/0.14.7), Aug 12th 2022

### React Native Themis

**Upgrade packages versions for security reasons in React Native Themis package.json
([934](https://github.com/cossacklabs/themis/pull/934/)).**

**Resolve the issue in React Native Themis to support Javascript exceptions
([930](https://github.com/cossacklabs/themis/pull/930/))**

- Define additional checks to generate Javascript exceptions in case of empty required parameters.

### WASM Themis

**Fix the bug with encryption of large files
([933](https://github.com/cossacklabs/themis/pull/933/)).**

- Added option to build WASM file.

**Resolve the issue in React Native Themis to support Javascript exceptions
([930](https://github.com/cossacklabs/themis/pull/930/))**

- Define additional checks to generate Javascript exceptions in case of empty required parameters.


## [0.14.6](https://github.com/cossacklabs/themis/releases/tag/0.14.6), May 24th 2022

Expand Down
4 changes: 2 additions & 2 deletions src/wrappers/themis/wasm/package-lock.json

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

2 changes: 1 addition & 1 deletion src/wrappers/themis/wasm/package.json
@@ -1,6 +1,6 @@
{
"name": "wasm-themis",
"version": "0.14.7",
"version": "0.14.8",
"description": "Themis is a convenient cryptographic library for data protection.",
"main": "dist/index.js",
"types": "dist/index.d.ts",
Expand Down
2 changes: 0 additions & 2 deletions src/wrappers/themis/wasm/wasmthemis.mk
Expand Up @@ -39,9 +39,7 @@ $(BIN_PATH)/libthemis.js: LDFLAGS += -s LINKABLE=1
# does not use are missing the from the binary. Suppress the warnings.
$(BIN_PATH)/libthemis.js: LDFLAGS += -s ERROR_ON_UNDEFINED_SYMBOLS=0
$(BIN_PATH)/libthemis.js: LDFLAGS += --pre-js $(WASM_PRE_JS)

$(BIN_PATH)/libthemis.js: CMD = $(CC) -o $@ $(filter %.o %a, $^) -O3 $(LDFLAGS)

$(BIN_PATH)/libthemis.js: $(THEMIS_STATIC) $(WASM_RUNTIME) $(WASM_PRE_JS)
@mkdir -p $(@D)
@echo -n "link "
Expand Down

0 comments on commit ee7df68

Please sign in to comment.