1.79.3 - 2022-05-03
- fix standalone context: configure promise would still not return (wrong account id)
1.79.2 - 2022-05-02
- fix standalone context: configure promise would not return, ALL event did not contain event name
1.79.1 - 2022-05-02
- don't ignore core sourcefiles, prevented npm installation on architectures with no prebuild
1.79.0 - 2022-05-02
- Upgrade to deltachat-core version
1.79.0
1.78.0 - 2022-05-02
- Upgrade to deltachat-core version
1.78.0
- fix standalone (without account manager) context events (remove accountid, and add
ALL
event)
1.77.1 - 2022-04-26
we now use node version 16.
Please update if you use an older version! (nvm
or fnm
are helpful for this).
- update node version from
14
to16
- move
Context.getSystemInfo()
toAccountManager.getSystemInfo()
- fix that context was not usable standalone without account manager anymore.
1.77.0 - 2022-04-14
createTempUser()
- new webxdc api signature for
Context.getWebxdcStatusUpdates
- Upgrade to deltachat-core version
1.77.0
1.76.0 - 2022-03-04
- Upgrade to deltachat-core version
1.76.0
1.75.3 - 2022-03-04
- upgrade
node-gyp
to version9.0.0
to fix the github build action not finding Visual Studio on windows
1.75.2 - 2022-03-03
- remove dependency on
lodash.pick
- fix export backup
- fix
Context.setDraft(chatId: number, msg: Message | null)
msg argument type to allow for removing drafts
1.75.1 - 2022-02-03
- Fix version in package.json
- remove some unused files from the npm package
1.75.0 - 2022-02-03
- Upgrade to deltachat-core version
1.75.0
message.setQuote(quotedMessage: Message | null)
- you can now remove quotes from draft messages
- Add
message.forcePlaintext()
- Add
AccountManager.addClosedAccount()
- Add
Context.is_open
- Add
Context.open(passphrase?: string)
- Add
Message.webxdcInfo
- Add
Message.parent
- Add
Context.sendWebxdcStatusUpdate(msgId:number, json: WebxdcSendingStatusUpdate, descr: string)
- Add
Context.getWebxdcStatusUpdates(msgId: number, statusUpdateId = 0):WebxdcReceivedStatusUpdate[]
- Add
getWebxdcBlob(message: Message, filename: string):string
- removed config value
inbox_watch
- removed config value
mvbox_watch
1.70.0 - 2021-12-09
- Upgrade to core 1.68.0
1.68.0 - 2021-11-29
- Upgrade to core 1.68.0
- Add
contact.lastSeen
- Upgrade to core 1.68.0
1.67.0 - 2021-11-25
- Add
context.getSecurejoinQrCodeSVG(chatId)
- Upgrade to core 1.67
1.65.0 - 2021-11-21
-
Add missing command to readme (
135836e
) (Simon Laux)followup #526
-
Add setConfigFromQr (
e89da5c
) (Simon Laux) -
Add workarounds to build on m1 to readme (
9297787
) (Simon Laux)
- Fix tests (#528) (
fb03ba8
) (jikstra) - Fix configure test not quitting/shutting down deltachat properly (#528) (
2f666aa
) (jikstra) - Fix segmentation fault in DeltaChat.getProviderFromEmail() (#528) (
96c515b
) (jikstra)
- Update CHANGELOG (#528) (
d1fd42a
) (jikstra) - Let prettier format test/test.js too (#528) (
1c08330
) (jikstra) - Update deltachat-core-rust to 1.65.0 (#528) (
6e85063
) (jikstra) - Update deltachat-core-rust to 1.64.0 (#528) (
6c46980
) (Simon Laux) - format binding.gyp that it is easier to read (#524) (
72c2c63
) (Simon Laux) - tsconfig ignore core folder (#524) (
f19dff2
) (Simon Laux)
1.60.1 - 2021-08-10
- Fix formatting (
1860832
) (Simon Laux)
-
Prepare for v1.60.1 (
1f186e4
) (jikstra) -
Update typescript to fix that some of the generated types did not have the explicit null case included (
d08de3f
) (Simon Laux)enable typescript declaration map
-
strict typescript (
673c276
) (Simon Laux)and remove old unused imports
-
provide an integrated version of getProviderFromEmail (#522) (
d6dc0a4
) (Simon Laux)that uses the context
-
make package workflow shouldn't run tests (
808e5cc
) (jikstra)
1.60.0 - 2021-01-09
ATTENTION: This release includes many breaking changes
1.56.2 - 2021-23-07
- Fix tsc and tests
1.56.1 - 2021-23-07
- fix set_config null handling: empty string "" value can now be saved (fixes #505)
- env variable
USE_SYSTEM_LIBDELTACHAT="true"
allows to use system wide libdeltachat
- drop fs-extra and tempy @dotlambda
- update to node 14 @dotlambda
1.56.0 - 2021-27-06
- Update deltachat-core-rust to
1.56.0
1.55.0 - 2021-18-05
- add option to open context without event handler:
async open(cwd: string, start_event_handler:boolean = true)
- fix return type of deltchat.lookupContactIdByAddr (returned a boolean instead of the chatId)
- fix closing of context -> this should solve the event emitter problem leading to crashs
- Update deltachat-core-rust to
1.55.0
1.54.0 - 2021-06-05
- Update deltachat-core-rust to
1.54.0
1.51.1 - 2021-28-03
- Fix package.json version
1.51.0 - 2021-28-03
deltachat.getChatEncrytionInfo(chatId: number)
Contact.authName
andContact.status
deltachat.decideOnContactRequest(messageId, decision)
Message.hasHTML
,Message.setHTML(html: string)
anddeltachat.getMessageHTML(messageId: number)
Message.realChatId
Message.overrideSenderName
andMessage.setOverrideSenderName(senderName: string)
Message.subject
- Update deltachat-core-rust to
1.51.0
Breaking changes:
deltachat.isIORunning()
removedcontact.getFirstName()
removed
- Fix
integerToHexColor(colorInt)
function to work correctly with new color generation.
1.50.0 - 2020-22-11
- Update deltachat-core-rust to 1.50.0
1.49.0 - 2020-15-11
- Update deltachat-core-rust to 1.49.0
- changed tests to use mocha and fixed them
1.47.0 - 2020-5-11
- Update deltachat-core-rust to 1.47.0
Breaking changes:
deltachat.updateDeviceChats()
removed this is now done automatically during configure unless the new config-optionbot
is set deltachat-core-rust/#1957deltachat.markNoticedAllChats()
removedchat.isVerified()
is replaced bychat.isProtected()
deltachat.createUnverifiedGroupChat(chatName)
anddeltachat.createVerifiedGroupChat(chatName)
are replaced by a single functiondeltachat.createGroupChat(chatName, is_protected)
- if an message has a quote to another message you need to use
message.getQuotedText()
to get the quoted message
New:
deltachat.setChatProtection(chatId:number, protect:boolean)
message.setQuote(quotedMessage:Message)
message.getQuotedText():string
message.getQuotedMessage():Message
1.46.0 - 2020-01-10
- Update deltachat-core-rust to 1.46.0
- BREAKING: There is no
serverFlags
option anymore, usemail_security
andsend_security
- BREAKING: Remove
DCN_EVENT_CONFIGURE_FAILED
andDCN_EVENT_CONFIGURE_SUCCESSFUL
- BREAKING: Removed deprecated dcn_chat_get_archived and dcn_archive_chat
1.45.0 - 2020-10-09
- Update deltachat-core-rust to 1.45.0
1.44.0 - 2020-08-09
- Update deltachat-core-rust to 1.44.0
1.42.1 - 2020-07-30
- Update deltachat-core-rust to
4e79703
1.42.0 - 2020-07-30
- Update deltachat-core-rust to 1.42.0
1.41.0 - 2020-07-11
- add invite call apis
- add getChatlistItemSummary function
- updated dcc to
1.41.0
1.40.0 - 2020-07-11
- Update deltachat-core-rust to v1.40.0
- Implement ephermeral methods
1.39.0 - 2019-06-24
- Update deltachat-core-rust to v1.39.0
- convert all colors to be hex-string instead of int (#450)
- We asyncified the joinSecurejoin() function, it now returns a Promise
- Fix configure not throwing a real error on
DC_EVENT_ERROR
- Fixed postinstall script on windows (should now build on windows again)
1.35.0 - 2019-06-12
- Update deltachat-core-rust
- We changed the api quite a bit, all methods are now async/await. Please check the typedocs for changes.
1.34.0 - 2019-06-08
- Update deltachat-core-rust to
2ad014f
- We're now using the async version of the core, this means that some api has changed. Please see the example in the README and the typescript function documentation on what has changed.
1.33.0 - 2019-05-18
- Update deltachat-core-rust to 1.33.0
1.32.1 - 2019-05-16
- Implement initiateKeyTransfer2 and continueKeyTransfer2 methods which just pass through the result from the core. Deprecated initiateKeyTransfer and continueKeyTransfer methods
- Expose stopOngoingProcess
- expose mute chat functions
- add a docstring to searchMessages explaining it's parameters
1.32.0 - 2019-05-11
- Update deltachat-core-rust to 1.32.0
- Fixed
npm run build
not doing anything if a build or prebuild was present
1.29.2 - 2019-04-28
- switch from standard to prettier
- Update deltachat-core-rust to 1.29.0
1.29.1 - 2019-04-23
- Fix npm install script
1.29.0 - 2019-04-23
- Add chat visibility methods @Simon-Laux
- Add method for join_secure @nicodh
- Update deltachat-core-rust to
979d7c5
@link2xt - Add id and convert the checkQrCode return to json @nicodh
- Clean up building & ci @jikstra
- removed get_subtitle method @link2xt
1.28.0 - 2019-03-28
- Update deltachat-core-rust to v1.28.0
- Some typefixes @Simon-Laux
1.27.0 - 2019-03-14
- Update deltachat-core-rust to v1.27.0
1.26.0 - 2019-03-03
- Introduce typedoc
- Update deltachat-core-rust to v1.26.0
1.25.0 - 2019-02-21
- Added
chat.isSingle()
andchat.isGroup()
methods @pabzm
- Update deltachat-core-rust to v1.25.0
1.0.0-beta.26 - 2019-02-07
- Switched to Typescript
You need to change your imports from
const DeltaChat = require('deltachat-node')
const C = require('deltachat-node/constants')
to
const DeltaChat = require('deltachat-node').default
const { C } = require('deltachat-node')
1.0.0-beta.25 - 2019-02-07
- Add provider db
- Update deltachat-core-rust to
fc0292b
1.0.0-beta.23.1 - 2019-01-29
- Fix windows bug where invoking node-gyp-build on install step failed
1.0.0-beta.23 - 2019-01-24
- Update deltachat-core-rust to
1.0.0-beta.23
@jikstra - Update release instructions @lefherz @jikstra
- Run node-gyp and node-gyp build via npx @link2xt
1.0.0-beta.22 - 2019-12-25
- Update deltachat-core-rust to
1.0.0-beta.22
1.0.0-beta.21 - 2019-12-20
- Update deltachat-core-rust to
1.0.0-beta.21
1.0.0-beta.18 - 2019-12-16
- Update deltachat-core-rust to
1.0.0-beta.18
1.0.0-beta.15 - 2019-12-10
- Update deltachat-core-rust to
1.0.0-beta.15
- Implement message dimensions @Simon-Laux
1.0.0-beta.11 - 2019-12-10
- Update deltachat-core-rust
301852fd87140790f606f12280064ee9db80d978
- Implement new device chat methods
1.0.0-beta.10 - 2019-12-05
- Update deltachat-core-rust to
1.0.0-beta.10
1.0.0-alpha.12 - 2019-11-29
- Update deltachat-core-rust to
430d4e5f6ebddacac24f4cceebda769a8f367af7
- Add
addDeviceMessage(label, msg)
andchat.isDeviceTalk()
methods
1.0.0-alpha.11 - 2019-11-04
- Update deltachat-core-rust to Update deltachat-core-rust to
67e2e4d415824f7698488abf609ae9f91c7c92b9
@jikstra @simon-laux - Replace setStringTable with setStockTranslation (#389) @link2xt
- Make it possible to configure {imap,smtp}_certificate_checks (#388) @link2xt
- Enable update of DC configurations @nicodh
1.0.0-alpha.10 - 2019-10-08
- Updated deltachat-core-rust to
c23e98ff83e02f8d53d21ab42c5be952fcd19fbc
@Simon-Laux @Jikstra - Update node-gyp @ralphtheninja #383
- Implement new introduced core constants @hpk42 #385
1.0.0-alpha.9 - 2019-10-01
- Update deltachat-core-rust to
75f41bcb90dd0399c0110b52a7f2b53632477934
1.0.0-alpha.7 - 2019-09-26
- Update deltachat-core-rust to commit
1ed543b0e8535d5d1004b77e0d2a1475123bb18a
@jikstra #379 - Fix tests by adjusting them to minor rust core changes @jikstra #379
- Upgrade napi-macros @ralphtheninja #378
1.0.0-alpha.6 - 2019-09-25
Note: Between 1.0.0-alpha.3 and this version alpha.4 and alpha.5 versions happend but were pre releases. Changelog for core-rust updates (as they mainly were) are skipped, all other changes are condensed into this release
- Upgrade
deltachat-core-rust
submodule toefc563f5fff808e968e8672d1654223f03613dca
@jikstra - Change License to GPL-3.0-or-later (#375) @ralphtheninja
- Refactor test/index.js, use default tape coding style (#368) @jikstra
1.0.0-alpha.3 - 2019-07-22
- Upgrade
deltachat-core-rust
submodule to6f798008244304d1c7dc499fd8cb00b38ca2cddc
@jikstra - Upgrade hallmark dependency to version 1.0.0 @nicodh #363
- Upgrade standard to version 13.0.1 @ralptheninja #362
1.0.0-alpha.2 - 2019-07-09
- Upgrade
deltachat-core-rust
submodule to816fa1df9b23ed0b30815e80873258432618d7f0
(@jikstra)
1.0.0-alpha.1 - 2019-07-02
- Upgrade
deltachat-core-rust
submodule tov1.0.0-alpha.1
(@ralptheninja)
- Fix defaults for mailbox flags (@nicodh)
- Remove
compile_date
from info (@ralptheninja)
1.0.0-alpha.0 - 2019-06-07
- Make options to
dc.configure()
1-1 with core (@ralptheninja) - Bring back prebuilt binaries using
node-gyp-build
,prebuildify
andprebuildify-ci
(@ralptheninja) - Run coverage on Travis (@ralptheninja)
- Add
deltachat-core-rust
submodule (@ralptheninja) - Add windows to
bindings.gyp
(@ralptheninja) - Add AppVeyor (@ralptheninja)
- Add
.inbox_watch
,.sentbox_watch
,.mvbox_watch
,.mvbox_move
and.show_emails
to options (@ralptheninja)
- Remove
deltachat-core
submodule (@ralptheninja) - Remove http get (handled by core) (@ralptheninja)
- Remove code related to
dc_check_password()
(@ralptheninja) - Remove deprecated
.imap_folder
option (@ralptheninja)
- Make
dc.close()
async (@ralptheninja) - Fix spawn npm on windows (@Simon-Laux)
- Call
dc_str_unref()
to free strings allocated in core (@ralptheninja) - Use mutex from
libuv
for windows support (@ralptheninja)
0.44.0 - 2019-05-14
- Remove --verbose from npm install @ralptheninja
- Add section in README about making releases @ralphtheninja
- Update nyc @ralphtheninja #305
- Allow the bindings to build against the installed version of libdeltachat.so using pkg-config. Also fixes a lot of ci related issues. @flub @jikstra #257
- Implement bundle dependencies script for mac os x @nicodh @jikstra #276
- Add marker methods for location streaming @ralphtheninja #301
- Build deltachat-core with rpgp @flub #301
- Fix scripts, refactor and split out helper methods for scripts @jikstra #284
- Set variable to point to core root and fix include dirs @ralphtheninja #285
- Build on node v12 and v11 @jikstra #293
- Fix docker integration tests @ralphtheninja #299
- Fix broken http get for autoconfigure @ralphtheninja #303
- Fix mac ci @jikstra #313
- Fix bundle dependency scripts @jikstra #314
0.43.0 - 2019-04-26
- Upgrade
deltachat-core
dependency tov0.43.0
(@ralphtheninja) - Handle
DC_EVENT_LOCATION_CHANGED
event (@ralphtheninja)
- Add
msg.setLocation()
andmsg.hasLocation()
(@nicodh)
0.42.0 - 2019-04-25
- Upgrade
deltachat-core
dependency tov0.42.0
(@ralphtheninja) - Adding gnu99 cstd for CentOS 7 build (@chrries)
- Tweak preinstall script for
node-gyp-build
to work on Windows (@ralphtheninja) - Switch to using
rpgp
for Mac (@nicodh) - Make events push based (@ralphtheninja)
- Update dependencies (@jikstra)
- Update to node 10 on Travis for Mac (@ralphtheninja)
- Implement location streaming (@nicodh)
- Skip integration tests for PR from forked repositories (@nicodh)
- Remove prebuildify (@ralphtheninja)
- Remove Jenkins (@ralphtheninja)
0.40.2 - 2019-02-12
- Fix Jenkins vs Travis race (@ralptheninja)
0.40.1 - 2019-02-12
0.40.0 - 2019-02-12
- Upgrade
deltachat-core
dependency tov0.40.0
(@jikstra)
0.39.0 - 2019-01-17
- Upgrade
deltachat-core
dependency tov0.39.0
(@ralphtheninja)
0.38.0 - 2019-01-15
- Upgrade
deltachat-core
dependency tov0.38.0
(@ralphtheninja)
- Add
Message#getSortTimestamp()
(@ralphtheninja) - Add
Message#hasDeviatingTimestamp()
(@ralphtheninja)
0.36.0 - 2019-01-08
- Allow passing in string to
dc.sendMessage()
(@ralphtheninja) - Upgrade
deltachat-core
dependency tov0.36.0
(@ralphtheninja) - Make example in README more useful (@Simon-Laux)
- Prebuild for
node@8.6.0
andelectron@3.0.0
(@ralphtheninja) - Make
deltachat-node
build on mac (@jikstra) - Tweak integration tests (@ralphtheninja)
- Add
hallmark
(@ralphtheninja)
0.35.0 - 2019-01-05
- Uncomment
mvbox
andsentbox
code (@jikstra) - Upgrade
deltachat-core
dependency tov0.35.0
(changes todc_get_chat_media()
anddc_get_next_media()
) (@ralphtheninja)
Historical Note We started following the core version from this point to make it easier to identify what we're using in e.g. the desktop application.
0.30.1 - 2018-12-28
- Upgrade
deltachat-core
dependency tov0.34.0
(@ralphtheninja)
0.30.0 - 2018-12-24
- Upgrade
deltachat-core
dependency tov0.32.0
(@ralphtheninja)
Historical Note This release temporarily disables mvbox
and sentbox
threads, i.e. only one thread for IMAP and SMTP will be running.
0.29.0 - 2018-12-20
- Upgrade
deltachat-core
dependency tov0.31.1
(core sends simultaneously to the INBOX) (@karissa, @ralphtheninja)
0.28.2 - 2018-12-18
- Pass in empty string instead of
null
asparam2
indc.importExport()
(@jikstra)
- Change minimum node version to
v8.6.0
(@ralphtheninja)
0.28.1 - 2018-12-10
- Pass in empty string instead of
null
indc.setChatProfileImage()
(@ralphtheninja)
0.28.0 - 2018-12-10
- Upgrade
deltachat-core
dependency tov0.29.0
(colors for chat and contact) (@ralphtheninja)
- Add
chat.getColor()
(@ralphtheninja) - Add
contact.getColor()
(@ralphtheninja)
0.27.0 - 2018-12-05
- Rewrite tests to be pure unit tests (@ralphtheninja)
- Enable chaining in
Message
class for all .set methods (@ralphtheninja) - Document workflow for prebuilt binaries (@ralphtheninja)
- Add
contact.getProfileImage()
(@ralphtheninja) - Add
docker.bash
script (@ralphtheninja) - Add
dc.getDraft()
(@ralphtheninja) - Add
dc.setDraft()
(@ralphtheninja)
- Remove
dc.setTextDraft()
(@ralphtheninja) - Remove
chat.getDraftTimestamp()
(@ralphtheninja) - Remove
chat.getTextDraft()
(@ralphtheninja)
0.26.1 - 2018-11-28
- Upgrade
deltachat-core
dependency tov0.27.0
(chat profile image bug fix) (@ralphtheninja)
0.26.0 - 2018-11-27
- Rewrite tests to be completely based on environment variables (@ralphtheninja)
- Add
isInfo
andisForwarded
tomessage.toJson()
(@karissa) - Add
prebuildify
for making prebuilt binaries (@ralphtheninja) - Add Jenkins (@ralphtheninja)
Historical Note From this version and onward we deliver prebuilt binaries, starting with linux x64.
0.25.0 - 2018-11-23
- Upgrade
deltachat-core
dependency tov0.26.1
(@ralphtheninja) - README:
libetpan-dev
can be installed on the system without breaking compile (@ralphtheninja) events.js
is now automatically generated based ondeltachat-core/src/deltachat.h
(@ralphtheninja)
- Add
DC_EVENT_ERROR_NETWORK
andDC_EVENT_ERROR_SELF_NOT_IN_GROUP
events (@ralphtheninja)
- Remove
DC_ERROR_NO_NETWORK
andDC_STR_NONETWORK
constants (@ralphtheninja)
dc.setChatProfileImage()
acceptsnull
image (@ralphtheninja)
0.24.0 - 2018-11-16
- Make
dc.configure()
take camel case options (@ralphtheninja) - Update troubleshooting section in README (@ralphtheninja)
- Upgrade
deltachat-core
dependency tov0.25.1
(@ralphtheninja) - Upgrade
opn-cli
devDependency to^4.0.0
(@ralphtheninja)
- Add
.imapFolder
option (@ralphtheninja) - Add
dc.maybeNetwork()
(@ralphtheninja)
- Remove
DC_EVENT_IS_OFFLINE
(@ralphtheninja)
- Make compile work even if
libetpan-dev
is installed on the system (@ralphtheninja)
Historical Note From this version and onwards deltachat-core
is now in single folder mode.
0.23.1 - 2018-11-02
- Allow passing
NULL
todc_set_chat_profile_image()
(@ralphtheninja)
0.23.0 - 2018-10-30
- Allow users to remove config options with
dc.configure()
(@karissa) - Upgrade
deltachat-core
tov0.24.0
(@ralphtheninja)
- Add
DeltaChat#setStringTable()
andDeltaChat#clearStringTable()
(@r10s, @ralphtheninja)
- Remove
Message#getMediainfo()
andMessage#setMediainfo()
(@ralphtheninja)
0.22.1 - 2018-10-25
- Add
.showPadlock
toMessage#toJson()
(@ralphtheninja)
0.22.0 - 2018-10-23
- Add static method
DeltaChat#getSystemInfo()
(@ralphtheninja)
- README: Update docs on
dc.getInfo()
(@ralphtheninja)
0.21.0 - 2018-10-17
- Upgrade
deltachat-core
tov0.23.0
(@ralphtheninja)
- Add static method
DeltaChat#maybeValidAddr()
(@ralphtheninja) - Add
dc.lookupContactIdByAddr()
(@ralphtheninja) - Add
dc.getMimeHeaders()
(@ralphtheninja) - Add
message.getReceivedTimestamp()
(@ralphtheninja) - Add
selfavatar
option (@ralphtheninja) - Add
mdns_enabled
option (@ralphtheninja)
- Remove
DC_EVENT_FILE_COPIED
event (@ralphtheninja)
0.20.0 - 2018-10-11
- Upgrade
deltachat-core
for improved speed when sending messages (@ralphtheninja)
- Remove default value parameter from
DeltaChat#getConfig()
(@ralphtheninja) - Remove
DeltaChat#sendAudioMessage()
(@ralphtheninja) - Remove
DeltaChat#sendFileMessage()
(@ralphtheninja) - Remove
DeltaChat#sendImageMessage()
(@ralphtheninja) - Remove
DeltaChat#sendTextMessage()
(@ralphtheninja) - Remove
DeltaChat#sendVcardMessage()
(@ralphtheninja) - Remove
DeltaChat#sendVideoMessage()
(@ralphtheninja) - Remove
DeltaChat#sendVoiceMessage()
(@ralphtheninja)
0.19.2 - 2018-10-08
- Use path to db file in
DeltaChat#getConfig(path, cb)
(@ralphtheninja)
0.19.1 - 2018-10-08
- Remove all listeners in
DeltaChat#close()
(@ralphtheninja)
0.19.0 - 2018-10-08
DeltaChat#getInfo()
returns an object based on parsed data fromdc_get_info()
(@ralphtheninja)- Rename
Message#getType()
toMessage#getViewType()
(@ralphtheninja) - Rename
MessageType
toMessageViewType
(@ralphtheninja) DeltaChat#messageNew()
accepts an optionalviewType
parameter (defaults toDC_MSG_TEXT
) (@ralphtheninja)
- Add static method
DeltaChat#getConfig(path, cb)
for retrieving configuration given a folder (@ralphtheninja) - Add
UPGRADING.md
(@ralphtheninja)
- Remove
DeltaChat#setConfigInt()
andDeltaChat#getConfigInt()
(@ralphtheninja) - Remove
Message#setType()
(@ralphtheninja) - Remove
DC_MSG_UNDEFINED
view type (@ralphtheninja)
0.18.2 - 2018-10-06
- Remove redundant
DC_EVENT_GET_STRING
andDC_EVENT_GET_QUANTITY_STRING
events (@ralphtheninja)
0.18.1 - 2018-10-05
- Fix broken link to core build instructions (@ralphtheninja)
- Print ut error message in test autoconfig test (@ralphtheninja)
- Link against global
-lsasl2
instead and fallback to bundled version (@ralphtheninja)
0.18.0 - 2018-09-27
- Build against system version of openssl (@ralphtheninja)
- Update links to c documentation (@r10s)
- Upgrade
deltachat-core
for hex-literals fix (@ralphtheninja) - Print out env and openssl version on Travis (@ralphtheninja)
- Test
DC_EVENT_CONFIGURE_PROGRESS
(@ralphtheninja)
0.17.1 - 2018-09-25
- Close context database in
dc.close()
(@ralphtheninja)
0.17.0 - 2018-09-25
- Tweak
binding.gyp
to prepare for windows (@ralphtheninja)
- Implement
dc.isOpen()
to check for open context database (@ralphtheninja)
- Remove redundant include path for
libetpan
(@ralphtheninja)
0.16.0 - 2018-09-24
- Make
dc.initiateKeyTransfer()
anddc.continueKeyTransfer()
async (@jikstra) - Rewrite rebuild script in JavaScript (@ralphtheninja)
- Make JavaScript event handler private (@ralphtheninja)
- Document
toJson()
methods (@ralphtheninja) - Use
NULL
instead of0
(@ralphtheninja) npm install
is silent and builds inRelease
mode by default (@ralphtheninja)- Upgrade
deltachat-core
for message changed event fixes (@ralphtheninja) - Callback is not optional in
dc.open()
(@ralphtheninja)
0.15.0 - 2018-09-20
- Upgrade
deltachat-core
forDC_EVENT_HTTP_GET
empty string fix (@ralphtheninja) - Change official support to node 8 (and electron 2) (@ralphtheninja)
- Refactor tests (@ralphtheninja)
- Test autoconfig on merlinux server (@ralphtheninja)
- Reset
dc_event_http_done
to 0 after lock is released (@ralphtheninja)
0.14.0 - 2018-09-19
- Upgrade
deltachat-core
to latest master (@ralphtheninja)
- Add support for
DC_EVENT_HTTP_GET
(@ralphtheninja, @r10s)
- Fix incorrect link order causing missing
RSA_check_key
symbol (@ralphtheninja)
0.13.1 - 2018-09-18
- Fix symlink problems in
deltachat-core
(@ralphtheninja)
0.13.0 - 2018-09-17
- Use
deltachat-core#flub-openssl
so we can build on mac (@ralphtheninja)
0.12.0 - 2018-09-17
- Upgrade
debug
devDependency from^3.1.0
to^4.0.0
(@greenkeeper) - Upgrade
deltachat-core
fordc_marknoticed_all_chats()
, new constants and new events (@ralphtheninja)
- Add
dc.markNoticedAllChats()
(@ralphtheninja) - Add events
DC_EVENT_SMTP_CONNECTED
,DC_EVENT_IMAP_CONNECTED
andDC_EVENT_SMTP_MESSAGE_SENT
(@ralphtheninja) - Add constants
DC_CHAT_ID_ALLDONE_HINT
,DC_EVENT_IMAP_CONNECTED
,DC_EVENT_SMTP_CONNECTED
,DC_EVENT_SMTP_MESSAGE_SENT
andDC_GCL_ADD_ALLDONE_HINT
(@ralphtheninja)
0.11.0 - 2018-09-10
- Upgrade
deltachat-core
(@ralphtheninja) - Rewrite open and configure workflow (@ralphtheninja)
- Document tests, coverage and npm scripts (@ralphtheninja)
0.10.0 - 2018-09-03
- Sort keys in
constants.js
alphabetically (@ralphtheninja) - Upgrade
deltachat-core
for newDC_EVENT_FILE_COPIED
(@ralphtheninja)
- Test
DC_EVENT_FILE_COPIED
(@ralphtheninja)
- Fix profile image tests (image moved to blob dir) (@ralphtheninja)
0.9.4 - 2018-08-30
- Add
.id
and.isSetupmessage
toMessage#toJson()
(@karissa)
- Remove
.id
fromLot#toJson()
(@karissa)
0.9.3 - 2018-08-29
- Fix typo (@karissa)
0.9.2 - 2018-08-29
- Add
.state
and.mediaInfo
toMessage#toJson()
(@karissa)
0.9.1 - 2018-08-29
- Upgrade
deltachat-core
(@ralphtheninja) - Forward strings from
data1
in the same way as fordata2
(@r10s) - Upgrade
standard
devDependency to^12.0.0
(@greenkeeper) - Full coverage of
message.js
(@ralphtheninja)
- Test
dc.getBlobdir()
(@ralphtheninja) - Test
displayname
,selfstatus
ande2ee_enabled
config (@ralphtheninja) - Add
.file
toMessage#toJson()
(@karissa)
0.9.0 - 2018-08-28
- Upgrade
split2
from^2.2.0
to^3.0.0
(@ralphtheninja) - Run tests using
greenmail
server (@ralphtheninja) - Test
dc.getInfo()
,dc.getConfig()
anddc.getConfigInt()
(@ralphtheninja)
- Add dependency badge (@ralphtheninja)
- Add
toJson()
methods (@karissa)
0.8.0 - 2018-08-26
- Refactor classes into separate files (@ralphtheninja)
- Rename
dev
script torebuild
(@ralphtheninja)
- Add support for all configuration parameters (@ralphtheninja)
- Add
coverage-html-report
script (@ralphtheninja)
- Remove
start
script (@ralphtheninja)
- Don't check for bits in the message type (@r10s)
0.7.0 - 2018-08-26
- Upgrade
deltachat-core
forsecure_delete
and fixes tolibetpan
(@ralphtheninja) - Test events (@ralphtheninja)
- Add
MessageType
class (@ralphtheninja) - Add
dependency-check
module (@ralphtheninja)
- Fix
message.getFilebytes()
(@ralphtheninja)
0.6.2 - 2018-08-24
- Prefer async
mkdirp
(@karissa)
0.6.1 - 2018-08-24
- Add
mkdirp.sync()
indc.open()
(@ralphtheninja)
0.6.0 - 2018-08-22
- Implement a temporary polling mechanism for events to relax the requirements for
node
andelectron
(@ralphtheninja)
0.5.1 - 2018-08-20
- Put back
'ready'
event (@ralphtheninja)
- Fix broken tests (@ralphtheninja)
0.5.0 - 2018-08-20
- Bump
deltachat-core
for updated constants and fallbacks tocyrussasl
,iconv
andopenssl
(@ralphtheninja) - Refactor event handler code (constructor doing too much) (@ralphtheninja)
- Use
.addr
instead of.email
for consistency withdeltachat-core
(@ralphtheninja) - Rename
.root
to.cwd
(@ralphtheninja)
- Add
DeltaChat#open(cb)
(constructor doing too much) (@ralphtheninja)
- Remove
'ready'
event because.open()
calls back when done (@ralphtheninja) - Remove
DEBUG
output from tests (@ralphtheninja)
0.4.1 - 2018-08-14
- Bump
deltachat-core
to version without symlinks, which removes the need of havinglibetpan-dev
installed system wide (@ralphtheninja)
0.4.0 - 2018-08-12
- Change
MessageState#_state
to a public property (@ralphtheninja) - Allow passing in non array to
DeltaChat#starMessages
(@ralphtheninja) - Link to classes in README (@ralphtheninja)
- Make all methods taking some form of id to accept strings as well as numbers (@ralphtheninja)
- Add
DeltaChat#getStarredMessages()
(@ralphtheninja) - Add
DeltaChat#getChats()
(@ralphtheninja) - Add
Message#isDeadDrop()
(@ralphtheninja) - Add npm package version badge (@ralphtheninja)
0.3.0 - 2018-08-09
- Upgrade
napi-macros
to^1.7.0
(@ralphtheninja) - Rename
NAPI_UTF8()
toNAPI_UTF8_MALLOC()
(@ralphtheninja) - Pass 1 or 0 to
dcn_set_offline()
(@ralphtheninja) - Use
NAPI_ARGV_*
macros (@ralphtheninja) - Wait with configure until db is open and emit
'ready'
when done configuring (@ralphtheninja) - Start threads after
open()
is finished (@ralphtheninja)
- Emit
ALL
and individual events (@ralphtheninja) - Add reverse lookup of events from
int
tostring
inevents.js
(@ralphtheninja) - Add
MessageState
class (@ralphtheninja)
- Fix 🐛 with wrong index for query in
dcn_search_msg()
(@ralphtheninja)
0.2.0 - 2018-08-03
- Tweak license description (@ralphtheninja)
- Handle
NULL
strings inNAPI_RETURN_AND_FREE_STRING()
(@ralphtheninja) - Refactor array code in
src/module.c
(@ralphtheninja) - Split
dc.createGroupChat()
intodc.createUnverifiedGroupChat()
anddc.createVerifiedGroupChat()
(@ralphtheninja) - Update minimal node version in README (@ralphtheninja)
- Add
nyc
andcoveralls
for code coverage (@ralphtheninja) - Add
constants.js
by parsingdeltachat-core/src/deltachat.h
(@ralphtheninja)
- Remove magic numbers from tests (@ralphtheninja)
- Remove
console.log()
frombinding.js
(@ralphtheninja)
- Throw helpful error if tests are missing credentials (@ralphtheninja)
0.1.1 - 2018-08-02
- Fix issues when installing from npm (@ralphtheninja)
0.1.0 - 2018-08-01
🌱 Initial release.
Added - YYYY-MM-DD
context.createBroadcastList(): number
context.downloadFullMessage(messageId: number)
message.downloadState
- added missing
chat.canSend
- added missing
context.setConfigFromQr(qrcodeContent:string)
Added - YYYY-MM-DD
context.getProviderFromEmail(email:string)
Added - YYYY-MM-DD
dcn_chat_is_contact_request()
andchat.isContactRequest()
dcn_accept_chat
andcontext.acceptChat()
dcn_block_chat
andcontext.blockChat()
dcn_accounts_get_all
andDeltaChat.accounts()
dcn_accounts_add_account
andDeltaChat.addAccount()
dcn_accounts_get_selected_account
andDeltaChat.selectAccount()
dcn_accounts_new
andDeltaChat constructor
dcn_accounts_remove_account
andDeltaChat.removeAccount
dcn_accounts_get_account
andDeltaChat.accountContext
dcn_accounts_start_event_handler
andDeltaChat.startEvents
Changed - YYYY-MM-DD
- BREAKING:
joinSecurejoin(qrCode: string): number
returns immediately now (no promise anymore): On errors, 0 is returned, however, most errors will happen during handshake later on. - Update deltachat-core-rust to 1.65.0
Changed - YYYY-MM-DD
- rename
DeltaChat
toAccountManager
- rename
DeltaChat.accounts()
toAccountManager.getAllAccountIds()
- enable strict typescript
- update typescript to version
3.9.10
- enable typescript declaration map to help IDEs to jump to the ts source files, not the declaration files.
Changed - YYYY-MM-DD
- constructor of DeltaChat changed, it directly opens a accounts object now
- all api calls got moved from DeltaChat class to Context. You can retrieve it through
DeltaChat.accountContext()
DeltaChat.newTempContext()
is now calledDeltaChat.newTemporary()
- Update deltachat-core-rust to 1.60.0
Deprecated - YYYY-MM-DD
DeltaChat.getProviderFromEmail(email:string)
, please usecontext.getProviderFromEmail(email:string)
instead
Fixed - YYYY-MM-DD
- Fix documentation comment of
AccountManager
- Fix configure for multiple accounts at once
Removed - YYYY-MM-DD
dcn_create_chat_by_msg_id()
dcn_decide_on_contact_request()
dcn_marknoticed_contact()
dcn_msg_get_real_chat_id()
andchat.getRealChatId()
, as deaddrops got removed, usechat.getChatId()
instead
- Remove
dc_msg_has_deviating_timestamp
prototype @link2xt