DuniterPy 0.57.0 est sortie !
Pour l’installer, c’est simple :
pip3 install --user --upgrade
Ou modifiez votre fichier requirements.txt pour pip:
duniterpy==0.57.*
Nouveautés
- Authentification à partir d’un fichier Scuttlebutt .ssb/secret
- Authentification à partir d’un fichier d’identifiants
- Nouvelle commande BMA :
client(bma.wot.requirements_of_pending, minsig)
- La classe
HeadV2
hérite maintenant des classes précédentes (contient les propriétés de toutes les versions précédentesHead, HeadV0, HeadV1
). Attention, cela brise la compatibilité avec l’ancienne classe !
Correctifs
- Correctif bug sur le champ
software_version
des messages WS2Pv1 pas accepté si un mot clé suivait la version (1.7.21-beta
est maintenant accepté) - Correctif bug de
bma.blockhain.revoked
qui appellait l’url/blockchain/with/excluded
CHANGELOG
v0.57.0 (2nd April 2020)
Code
Enhancements
- #123 Implement authentication from Scuttlebutt .ssb/secret file
- #77 Implement authentication from credentials file
-
#122, !99 Implement
/wot/requirements-of-pending
command support in BMA api -
#120, !98
HeadV2
,HeadV1
,HeadV0
andHead
classes now each inherit from previous class BREAK BACKWARD COMPATIBILITY
Fixes
-
#119, !96
software_version
field in WS2Pv1 messages now accept a string after patch number (1.7.21-beta
accepted) -
#114, !100 Fix
bma.blockhain.revoked
command class calling/blockchain/with/excluded
url
Documentation
- #104 add CONTRIBUTE.md file with release workflow