diff --git a/CHANGELOG.md b/CHANGELOG.md index 0937a2157..e598d11c5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,31 +1,29 @@ # Changelog -## Unreleased - -### Changes -- send normal messages with higher priority than MDNs #3243 -- make Scheduler stateless #3302 -- support `source_code_url` from Webxdc manifests #3314 -- support Webxdc document names and add `document` to `dc_msg_get_webxdc_info()` #3317 -- improve chat encryption info, make it easier to find contacts without keys #3318 -- improve error reporting when creating a folder fails #3325 +## 1.81.0 ### API-Changes - deprecate unused `marker1before` argument of `dc_get_chat_msgs` and remove `DC_MSG_ID_MARKER1` constant #3274 -### Added -- Now the node-bindings are also part of this repository 🎉 +### Changes +- now the node-bindings are also part of this repository 🎉 #3283 +- support `source_code_url` from Webxdc manifests #3314 +- support Webxdc document names and add `document` to `dc_msg_get_webxdc_info()` #3317 #3324 +- improve chat encryption info, make it easier to find contacts without keys #3318 +- improve error reporting when creating a folder fails #3325 +- node: remove unmaintained coverage scripts +- send normal messages with higher priority than MDNs #3243 +- make Scheduler stateless #3302 +- abort instead of unwinding on panic #3259 +- improve python bindings #3297 #3298 +- improve documentation #3307 #3306 #3309 #3319 #3321 +- refactorings #3304 #3303 #3323 ### Fixes - node: throw error when getting context with an invalid account id - node: throw error when instanciating a wrapper class on `null` (Context, Message, Chat, ChatList and so on) - use same contact-color if email address differ only in upper-/lowercase #3327 - -### Removed -- node: remove unmaintained coverage scripts - -### Fixes - repair encrypted mails "mixed up" by Google Workspace "Append footer" function #3315 diff --git a/Cargo.lock b/Cargo.lock index 2ec9dfecb..485bb83fa 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1067,7 +1067,7 @@ dependencies = [ [[package]] name = "deltachat" -version = "1.80.0" +version = "1.81.0" dependencies = [ "ansi_term", "anyhow", @@ -1146,7 +1146,7 @@ dependencies = [ [[package]] name = "deltachat_ffi" -version = "1.80.0" +version = "1.81.0" dependencies = [ "anyhow", "async-std", diff --git a/Cargo.toml b/Cargo.toml index 95b2e6fda..0b1f964f0 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "deltachat" -version = "1.80.0" +version = "1.81.0" authors = ["Delta Chat Developers (ML) "] edition = "2021" license = "MPL-2.0" diff --git a/deltachat-ffi/Cargo.toml b/deltachat-ffi/Cargo.toml index f2e72497e..50f872023 100644 --- a/deltachat-ffi/Cargo.toml +++ b/deltachat-ffi/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "deltachat_ffi" -version = "1.80.0" +version = "1.81.0" description = "Deltachat FFI" authors = ["Delta Chat Developers (ML) "] edition = "2018" diff --git a/package.json b/package.json index bd0a57925..dc5542396 100644 --- a/package.json +++ b/package.json @@ -1,47 +1,11 @@ { - "name": "deltachat-node", - "version": "1.80.0", - "description": "node.js bindings for deltachat-core", - "main": "node/dist/index.js", - "types": "node/dist/index.d.ts", - "files": ["node/scripts/*", "*"], - "scripts": { - "install": "node node/scripts/install.js", - "install:prebuilds": "cd node && node-gyp-build \"npm run build:core\" \"npm run build:bindings:c:postinstall\"", - "clean": "rm -rf node/dist node/build node/prebuilds node/node_modules ./target", - "build": "npm run build:core && npm run build:bindings", - "build:core": "npm run build:core:rust && npm run build:core:constants", - "build:core:rust": "node node/scripts/rebuild-core.js", - "build:core:constants": "node node/scripts/generate-constants.js", - "build:bindings": "npm run build:bindings:c && npm run build:bindings:ts", - "build:bindings:c": "npm run build:bindings:c:c && npm run build:bindings:c:postinstall", - "build:bindings:c:c": "cd node && npx node-gyp rebuild", - "build:bindings:c:postinstall": "node node/scripts/postinstall.js", - "build:bindings:ts": "cd node && tsc", - "prebuildify": "cd node && prebuildify -t 16.13.0 --napi --strip --postinstall \"node scripts/postinstall.js --prebuild\"", - "download-prebuilds": "prebuildify-ci download", - "test": "npm run test:lint && npm run test:mocha", - "test:mocha": "mocha -r esm node/test/test.js --growl --reporter=spec", - "test:lint": "npm run lint", - "hallmark": "hallmark --fix", - "lint": "prettier --check \"node/lib/**/*.{ts,tsx}\"", - "lint-fix": "prettier --write \"node/lib/**/*.{ts,tsx}\" \"node/test/**/*.js\"" - }, - "homepage": "https://github.com/deltachat/deltachat-core-rust/tree/master/node", - "repository": { - "type": "git", - "url": "https://github.com/deltachat/deltachat-core-rust.git" - }, - "engines": { - "node": ">=16.0.0" - }, - "license": "GPL-3.0-or-later", "dependencies": { "debug": "^4.1.1", "napi-macros": "^2.0.0", "node-gyp-build": "^4.1.0", "split2": "^3.1.1" }, + "description": "node.js bindings for deltachat-core", "devDependencies": { "@types/debug": "^4.1.7", "@types/node": "^16.11.26", @@ -58,5 +22,44 @@ "prettier": "^2.0.5", "typedoc": "^0.17.0", "typescript": "^3.9.10" - } -} + }, + "engines": { + "node": ">=16.0.0" + }, + "files": [ + "node/scripts/*", + "*" + ], + "homepage": "https://github.com/deltachat/deltachat-core-rust/tree/master/node", + "license": "GPL-3.0-or-later", + "main": "node/dist/index.js", + "name": "deltachat-node", + "repository": { + "type": "git", + "url": "https://github.com/deltachat/deltachat-core-rust.git" + }, + "scripts": { + "build": "npm run build:core && npm run build:bindings", + "build:bindings": "npm run build:bindings:c && npm run build:bindings:ts", + "build:bindings:c": "npm run build:bindings:c:c && npm run build:bindings:c:postinstall", + "build:bindings:c:c": "cd node && npx node-gyp rebuild", + "build:bindings:c:postinstall": "node node/scripts/postinstall.js", + "build:bindings:ts": "cd node && tsc", + "build:core": "npm run build:core:rust && npm run build:core:constants", + "build:core:constants": "node node/scripts/generate-constants.js", + "build:core:rust": "node node/scripts/rebuild-core.js", + "clean": "rm -rf node/dist node/build node/prebuilds node/node_modules ./target", + "download-prebuilds": "prebuildify-ci download", + "hallmark": "hallmark --fix", + "install": "node node/scripts/install.js", + "install:prebuilds": "cd node && node-gyp-build \"npm run build:core\" \"npm run build:bindings:c:postinstall\"", + "lint": "prettier --check \"node/lib/**/*.{ts,tsx}\"", + "lint-fix": "prettier --write \"node/lib/**/*.{ts,tsx}\" \"node/test/**/*.js\"", + "prebuildify": "cd node && prebuildify -t 16.13.0 --napi --strip --postinstall \"node scripts/postinstall.js --prebuild\"", + "test": "npm run test:lint && npm run test:mocha", + "test:lint": "npm run lint", + "test:mocha": "mocha -r esm node/test/test.js --growl --reporter=spec" + }, + "types": "node/dist/index.d.ts", + "version": "1.81.0" +} \ No newline at end of file