DuniterPy version 0.56.0 est sortie !
La grande nouveauté est le support de WS2P !
Vous allez pouvoir vous connecter à un serveur Duniter en WS2P comme ci vous étiez un véritable nœud Duniter ! De quoi faire des automates en Python basés sur les événements WS2P…
Attention : la connexion par websocket a changée ! Reportez-vous aux exemples du dossier examples
pour voir comment on se connecte en BMA et en WS2P en websocket.
La documentation automatique que personne ne lit est ici…
v0.56.0 (20th January 2020)
Code
- #58, !84: Introduce WS2P API support: BREAK BACKWARD COMPATIBILITY:
bma.ws
: now websocket connections use the specialWSConnection
class andasync
, check examples.- Add two examples, a helper to retrieve the WS2P API from BMA.
- #113, !89: Blocks signature verification is correctly handled now, differently from other documents.
- #112, !88: fix
Unlock.from_inline()
error on a newly created Unlock - !87: Typos in Block:
noonce
−>nonce
, hash - !82: Use
sys.exit()
instead ofexit()
- !79:
- Move tools out of the
helper
folder - Dedicate the
helper
folder to helpers - Introduce
output_available()
helper to check if an output is available
- Move tools out of the
Dependencies
- !91: fix the
attrs
/attr
dependency
Build
- #107, !81: Enhance version definition in
setup.py
CI/CD
- !78: Release on PyPI only on tags
Documentation
- #101, !80: Publish auto-documentation on GitLab Pages
- #106, !83: Migrate the
README
back to markdown, reword and update it. - !77: Improve v0.55.0 and add v0.55.1 changelog
- !92: Add v0.56.0 changelog