yowsup

The WhatsApp lib

GPL-3.0 License

Downloads
1.9K
Stars
7.1K
Committers
85
yowsup - v3.3.0 Latest Release

Published by tgalal almost 3 years ago

  • Updated to whatsapp protocol 4.0
  • Updated consonance to 0.1.5
  • Fixed registration error due to obsolete keys in returned data
  • Updated android env app version to 2.21.21.18
yowsup -

Published by tgalal over 5 years ago

v3.1.0

  • Network layer prevents createConnection if already connected

  • Fixed crash when config path does not exist

  • yowsup-cli will interpret -c as phone if load_path fails

  • Allow keypair in credentials to be bytes

  • Noise layer now uses credential's client_static_keypair if set, instead of loading it from stored config

  • Improved config type detection logic, refs #2664

  • Fixed some python2-related problems (long-type phone numbers, missing list.clear() method), refs #2664

  • Updated consonance to fix dissononce's machine.next and enforce cryptography>=0.25

  • Fixed some demos not shutting down properly

  • Added complete asyncore dispatcher implementation.

  • Added support for decoding deflate compressed data, fixes #2671

  • Allow Specifying a connection dispatcher (asyncore/socket) using YowNetworkLayer.PROP_DISPATCHER

  • Added --layer-network-dispatcher to cli demos

  • Removed threading from socket dispatcher, connecting application should ensure the connection is not blocking, for
    example by triggering connect in a bg thread.

yowsup - Make Some Noise!

Published by tgalal over 5 years ago

Changed

  • Changed default env to android
  • Updated whatsapp version in env to 2.19.51
  • Updated logs formatting to be more compact
  • Changed storage dir on linux to ~/.config/yowsup
  • yowsup-cli -p is now used for preview requests rather than specifying phone number
  • Decoupled Axolotl management from Axolotl layer
  • Fixed Python3.7 support
  • Updated device details in Env to be of Samsung S9+
  • Changed generated signed prekeys ids to be sequential
  • Fixed some notifications getting redundant acks
  • Fixed outgoing ack in a group now requiring participant to be specified

Added

  • WhatsApp Protocol 2.1 support
  • Noise layer
  • Login using Consonance; a new dependency
  • New Registration parameters
  • Encryption of registration parameters
  • Auto saving of Config at registration
  • Log which endpoint we are connecting to
  • Support superadmin and multiple admins in group create notification
  • Better Config management and JSON config files support
  • AxolotlManager
  • Any Config property overriding in yowsup-cli
  • yowsup-cli config
  • yowsup-cli --log-dissononce
  • yowsup-cli --log-dissononce
  • Preview only registration and other http requests

Removed

  • Optional axolotl/e2e enc enabling, it's now forced.
  • S40 env
  • Password from Config
  • Outdated http parameters in registration
  • TimeTools along with python-dateutil dependency.
yowsup - v2.5.2

Published by tgalal over 7 years ago

  • Fixed xml-not-well-formed when data is sent from multiple threads simultaneously
  • Updated S40 env, thanks to @Mailaender
yowsup - v2.5.0

Published by tgalal over 8 years ago

v2.5.0

Core

  • Fixed python 2.6 support
  • Auto-reconnect on stream:error
  • Allow autotrust changed identities via an exposed layer property
  • Fixed block detection in exists request, initiated by code request
  • Fixed crash when node data is string

Protocol

  • WA1.6 support
  • Fully working group encryption support
  • Updated s40 token to 2.16.7
  • Fixed timestamp in authentication not being UTC
  • Fixed handling variant decrypt/encr fail scenarios

Known issues

  • No support for encrypted media yet
yowsup - v2.4.102

Published by tgalal over 8 years ago

  • Simpler env select using YowsupEnv.setEnv("env_name"), get using YowsupEnv.getCurrent()
  • yowsup-cli allows setting preferred env using -E/--env argument
yowsup - v2.4.48

Published by tgalal almost 9 years ago

Core

  • Fixed bug that avoid some acks from being sent, thanks to @t0rr3sp3dr0
  • Check fields in video message before parsing, thanks to @Menachem
  • Fixed image scaling in Palette mode, thanks to @janboll and @Salmon-Bard
  • Fixed image preview, thanks to @gagandeep
  • Fixed erroneous method in LiteAxolotlStore, thanks to @magicgoose
  • Fixed YowParallelLayer returning layer instead of the layer's interface

Protocol

  • Can now get status of users, thanks to @moyamo
  • Fixed login, thanks to @cgraefe
  • new profile privacy options, thanks to @jlguardi

Registration

  • Updated registration token, thanks to @mgp25
  • Updated android env data, thanks to @Holi0317

yowsup-cli demos

  • Send read receipts for received messages in cli demo, thanks to @jlguardi
  • Fixed Warning that demos are not using YowParallelLayer, thanks to @joaoricardo000
yowsup - v2.4

Published by tgalal about 9 years ago

Mostly core updates, and most importantly is the ability for a layer to expose an Interface for direct interaction from other layers/places. For example, doing a yowNetworkLayerInterface.connect() makes more sense than broadcasting an event across all other irrelevant layers. Or a storage layer that saves incoming and outgoing messages, and then a GUI which would like to query a conversation history would request the storage layer's interface which should expose methods like "getMessages"

Changes:

Protocol

  • Support sending receipt for multiple messages
  • Updated S40 env to 2.12.96

Core

  • Layers can now expose an InterfaceLayer for outside interaction
  • YowNetworkLayer and Auth Layer now expose an InterfaceLayer
  • Fixed message forwarding thanks to @jlguardi
  • Don't panic on try send something when offline
  • Allow setting props on stackbuilder, it passed them to the instantiated stack
  • Fixed interface not forwarding to upper layers unhandled protocolenties
  • Don't crash on UntrustedIdentityException, will silently ignore the message
  • Handle DuplicateMessageException
  • Added stack.send/receive

Cli

  • E2E enc is now enabled by default, remove -m/--moxie switch
  • Opt-out E2E enc using -M/--unmoxie
yowsup - v2.3.185

Published by tgalal about 9 years ago

Protocol

  • Recover from possible no session/no prekey in a received message, thanks to @danielapsmaior
  • Send/receive v2 enc messages, thanks to @CharlesOkwuagwu
yowsup - v2.3.183

Published by tgalal about 9 years ago

Core:

random endpoints selection, thanks to @jlguardi

Protocol:

Handle account ib
Fixed audio send

Demos:

improved cli demo usage display, thanks to @jlguardi
added /audio send to cli demo
support for image caption in cli demo, thanks to @jlguardi

yowsup - v2.3.167

Published by tgalal over 9 years ago

Core

Updated to e16 serv
Fixed callbacks for group info iq
Use s40 env by default
Updated to s40 v2.12.189
Fixed error in android env with python 2.6, thanks to Alexander Bergolth

Protocol

Removed "av" from enc nodes
Added contact sync notification

yowsup-cli

Deprecated --moxie
Optional arguments support in yowsup demo, thanks to @jlguardi
Fixed error when axolotl is not installed

yowsup - v2.3.123

Published by tgalal over 9 years ago

Core:

Create an ack or a forwarded message directly from receipt message, thanks to @jlguardi
Allow getting Id of set profile picture, thanks to @aesedepece
Some code clean ups, thanks to @emamirazavi
Fixed set status and set picture not triggering callbacks

Protocol:

  • Get contact's last seen time
  • Handle multiple items in receipt, thanks to Bram
  • Notifications for participants add,remove in a group thanks to Bram and @jlguardi
  • Receipts from participants in a group, thanks to Bram
  • Promote,demote participants and rest of groups version 2 support, thanks to @jlguardi

Demos:

  • New contacts sync demo, thanks to @girish946
  • New groups commands: /group promote, /group demote thanks to @jlguardi
  • New contacts commands: /contact lastseen
yowsup - ALIVE

Published by tgalal over 9 years ago

Core:

Allow specifying ping interval, thanks to @Cataractar
Connect behind http proxy support, thanks to @dinhoabreu

Protocol:

Updated s40 tokens
Updated android token, thanks to @dedmen
Audio and video receive support, thanks to @aesedepece
Fixed receive presence, thanks to @aesedepece
Get contact's profile picture, thanks to @aesedepece
Handle calls, thanks to @aesedepece
Fixed ack errors, thanks to @aguiraf
Propagate StreamFeaturesProtocolEntity to upper layers, thanks to @ant9000
Fixes to incoming receipt, thanks to @prasselpikachu
Group info v2, thanks to @ant9000
Don't stream error on web notifications, thanks to @aesedepece

Demos:

Fixed keys_get in cli demo, thanks to @tvandergeer
Fixed invite to group in cli demo
Added kick from group in cli demo

yowsup - Fixes here and there

Published by tgalal over 9 years ago

Core:

Fixed problem reading identity which caused reg error
Keep connection alive through perioding pinging, thanks to @galmeida
Fixed compatibility with the whole python 2.6-3.4 spectrum
Added StackBuilder to make stack construction easier

Protocol:

Distinguish received delivered and read receipt, thanks to @NickCis
Fixed leave groups, thanks to @[email protected]
Added Profile Layer
Add participants to a group, thanks to @emamirazavi
Fixes to registration, thanks to @aesedepece
Updated S40 registration token
Save next challenge and use in next auth, thanks to @samiexa
Get contact profile picture, thanks to Jamie Gloudon

yowsup-cli and demos:

Fixed groups jid handling in sendclient, thanks to @fire855
Fixed readline redundant dependency in linux, thanks to @NickCis
Added group_invite in cli demo to add participants to a group, thanks to @emamirazavi
Added leave_group to cli demo

yowsup - Break the walls down!

Published by tgalal almost 10 years ago

The update brings support for End-to-End encryption newly introduced in WhatsApp's Android clients (AKA Axolotl) (AKA Textsecure).

New Dependencies:

  • python-axolotl
  • pillow

General:

  • As of January 2015, Yowsup is GPLv3 licensed (previouly was MIT)

Protocol Specific:

  • Experimental Axolotl support (end-to-end encryption)
  • Upload and send images
  • Fixed broadcast (thanks to @mgp25)
  • Fixed registration no_routes error
  • Initial support for groups v2

Core:

  • Easy switch/ add new enviornment (S40/Android ..etc)
  • Added _sendIq in YowProtocolLayer and YowInterfaceLayer with callbacks for Iq result and error
  • Updated registration token

yowsup-cli/demos:

  • Added new send and exit demo
  • Added E2E encryption in yowsup and echo client demos
  • Added image_send to yowsup demo
yowsup - WA 1.5 + new features

Published by tgalal almost 10 years ago

Protocol Specific:

  • Upgraded to WA 1.5
  • Fixed previews in images
  • Pass pongs to upper layers
  • Add chatstate support (typing/ paused), thanks to @galmeida
  • Added support for send/recv location, thanks to @felix-dumit
  • Added support for send/recv vcards, thanks to @uelhav
  • Added potential fix for not receiving registratio sms
  • Ack notifications

Core:

  • Write date to socket as they come, thanks to @galmeida
  • Parallels layers now get events sent by siblings
  • Broadcast event on login

yowsup-cli/ demos:

  • Added send typing/paused state to cli demo
  • Echo demo now echoes images, thanks to @felix-dumit
  • Echo demo now echoes vcards, thanks to @uelhav
  • Fixed readline/pyreadline dependency problem