From 58725a5153a4ed70251285131a3e307a9dd22eb6 Mon Sep 17 00:00:00 2001 From: Xmader Date: Mon, 25 Jan 2021 14:12:57 -0500 Subject: [PATCH] release v0.19.2 --- CHANGELOG.md | 29 +++++++++++++++++++++++++++++ web-public/package.json | 6 +++--- 2 files changed, 32 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 02194c097a3e0..138dfd3ac368c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,35 @@ All notable changes to this project will be documented in this file. * Stream audio file exporting * Python API +## 0.19.2 - 2021-01-25 + +### Changed + +* Emit detailed debug info (function names) in a separate `.symbols` file + +This saves 2.57 MB uncompressed (0.45 MB brotli'd) for the generated wasm file, compared to `v0.19.1`. + +
+ +How to look up function names in the .symbols file? + +```log +RuntimeError: function signature mismatch + at wasm-function[1078]:0x315ac + at wasm-function[28467]:0x99f067 + ... +``` + +`webmscore.lib.symbols` + +```symbols +1078:Ms::Element::abbox() const +... +28467:Ms::savePng(Ms::Score*, QIODevice*, int, bool, bool) +``` + +
+ ## 0.19.1 - 2021-01-25 ### Added diff --git a/web-public/package.json b/web-public/package.json index 6eb71b598ac5e..13533d2b7b727 100644 --- a/web-public/package.json +++ b/web-public/package.json @@ -1,6 +1,6 @@ { "name": "webmscore", - "version": "0.19.1", + "version": "0.19.2", "description": "MuseScore's libmscore in WebAssembly! Read mscz data, and generate audio/MIDI/MusicXML/SVG/PNG/PDF sheets right in browsers", "type": "module", "types": "./src/index.d.ts", @@ -48,8 +48,8 @@ "build": "npm run clean && npm run compile && npm run bundle && npm run d-ts", "build:js-only": "npm run clean:d-ts && npm run bundle && npm run d-ts", "bundle": "rollup -c", - "compile": "cd ../ && make release && cd - && mv webmscore.lib.js.mem webmscore.lib.mem.wasm", - "postcompile": "perl -pi -e 's/\\\\([0-9a-f]{2})/chr(hex($1))/eg' webmscore.lib.js.symbols", + "compile": "cd ../ && make release && cd - && mv webmscore.lib.js.mem webmscore.lib.mem.wasm && mv webmscore.lib.js.symbols webmscore.lib.symbols", + "postcompile": "perl -pi -e 's/\\\\([0-9a-f]{2})/chr(hex($1))/eg' webmscore.lib.symbols", "clean": "npm run clean:d-ts && cd ../ && make clean", "clean:d-ts": "rm -f src/*.d.ts *.d.ts", "d-ts": "tsc --emitDeclarationOnly --declaration --allowJs --lib esnext --target esnext src/index.js",