Skip to content

Latest commit

 

History

History
234 lines (172 loc) · 8.02 KB

CHANGELOG.md

File metadata and controls

234 lines (172 loc) · 8.02 KB

v0.62.0 (16th March 2021)

This release breaks backward compatibility !

BEFORE

  • bma.network.peers was pointing to /network/peering/peers request

AFTER

  • bma.network.peers point to /network/peers request
  • bma.network.peering_peers point to /network/peering/peers request

Features

  • #141 Helper function to get best available nodes (for a real p2p client)
  • #130 Allow building Block instance from local Duniter json

Fixes

  • #143 Block : fix computed_inner_hash(), sign() and proof_of_work bug
  • Fixed documentation version on new release

Development

  • #147 Support pylint v1.7.2 rule R0801

  • #118 Set up complete CI/CD pipeline

  • Thanks @vtexier, @Moul, @matograine, @HugoTrentesaux

v0.61.0 (30th November 2020)

  • #59 add GVA query support and example

  • #137 add GVAEndpoint and GVASUBEndpoint classes

  • fix bug in API.reverse_url

  • Readme: Update dependencies list

  • Upgrade to Poetry v1.1.x

  • Fix regex to update the documentation version

  • fix bug in pylint on examples

  • Add v0.58.1 and v0.60.1 changelogs

v0.60.1 (7th November 2020)

  • #133, !116: Fix: Add support for libnacl from v1.7.2

v0.60.0 (26th September 2020)

  • #60, !106: Drop Python v3.5 support
  • #86, !106: Scrypt: migrate from pylibscrypt to hashlib.scrypt from the standard Python 3.6 lib
  • #111, !111: Clearly define the copyright and license statements
  • #68, !106: Package in Debian Bullseye v11

  • Thanks @vtexier, @Moul

v0.58.1 (7th November 2020)

  • #133, !116: Fix: Add support for libnacl from v1.7.2

v0.58.0 (10th September 2020)

Note: This is the last major release with Python v3.5 support.

As Python 3.5 security fixes have been dropped on September 13th of 2020.

CI/CD

  • #127: Change deprecated keyword in .gitlab-ci.yml
  • #124: Fix publish_doc job not working

Dependencies

  • !107: Fix pylint v2.6.0 new checks
  • Update black to v20.8b1, format code
  • !102: Update base58 to v2
  • !102: Update Sphinx to v3

Examples

  • !104: Rework send membership and identity documents examples

Documentation

  • !102: Add Repology’s packaging status to the Readme
  • !103: Rename file to CONTRIBUTING.md to be recognised by GitLab

  • Thanks @vtexier, @Moul

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 and Head 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

CI/CD

  • #66, !93 Migrate to Poetry (build and development environment)

  • Thanks @vtexier, @Moul

v0.56.0 (20th January 2020)

Code

  • #58, !84: Introduce WS2P API support: BREAK BACKWARD COMPATIBILITY:
    • bma.ws: now websocket connections use the special WSConnection class and async, 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 of exit()
  • !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

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

  • Thanks @vtexier, @Moul

v0.55.1 (19th July 2019)

  • #102: wheel build does not longer include duniterpy sub-folders
  • Trigger release only on master not on tag as protected environment variables are not shared with pipelines started on a tag
  • Fix Makefile: rebuild not working

v0.55.0 (18th July 2019)

Code

  • Refactor request api.ws2p.heads in api.bma.network.ws2p_heads (BMA command to get ws2p heads)
  • Fix bug in PubSec v1 secret key length check while loading

Checks

Pylint

  • Add Pylint as a dev dependency to check code validity
  • Add pylint command to the Makefile
  • #91, !65: Apply Pylint on the code

Black

  • #54: Add Black as dev dependency to format the code (not PEP8 compliant)
  • Add format and check-format commands to the MakeFile
  • !63: Format the code with Black

Others

  • Makefile: check command for mypy, pylint, and check-format checks
  • #94: Apply Mypy, Pylint and Black on tests and examples folders

CI

  • Add MyPy, Black, and Pylint jobs
  • Rename mypy job to check which run make check: mypy, pylint, check-format
  • Add check-format job at the first stage

Build

  • Add build command to the Makefile
  • Install build dependencies separately via a requirements_deploy.txt file
  • #98, !72: Do not include tests folder in the wheel package for PyPi distribution

CD

  • Add deploy and deploy_test commands to the Makefile
  • #99, !74: Add job for PyPi test deployment
  • !73: Trigger PyPi release job only on tag
  • Move github-sync stage in release stage as an after-script step
  • #100, !75: Use extends instead of Yaml anchors in .gitlab-ci.yml (requires GitLab v12+)
  • Also trigger the pipeline when the Makefile changes

Project

  • #96, !70: Add support for PEP 561 for DuniterPy type hints to be recognized by mypy when imported
  • Remove not used coveralls dependency

v0.54.3 (29th May 2019)

  • Upload again to PyPi as previous release haven’t been uploaded thanks to the tag
  • Transaction: fix time type

v0.54.2 (27th May 2019)

  • fix Transaction document generation
  • lock transaction document generation with a test

v0.54.1 (9th May 2019)

  • Transaction: add eq() and hash() methods
  • Transaction Unlock parameters: add eq() and hash() methods
  • Transaction: add 'time' variable for read and write but not for doc generation
  • output conditions: add eq() and hash() methods
  • test transaction equality at all levels

  • Thanks @Moul, @vtexier

v0.54.0 (5th May 2019)

Code/tests

  • Fix OutputSource and InputSource from_inline() regex matching
  • Transaction document: tests and code: drop versions 2 and 3 management
  • Block document: code: drop vensions 2 and 3 management
  • Block document: Upgrade blocks to v11 and TX to v10
  • Add OutputSource.inline_condition() method
  • output conditions: fix 'parser' variables default definition
  • output conditions: add token() and compose() tests

Other

  • CI: Do not trigger build, tests, type check on modification of non-relevant files
  • Makefile: use python3 module to run tests and type check
  • Add coveralls as dev dependency
  • setup.py: add classifiers: Python versions, Intended Audience
  • Add CHANGELOG.md from v0.53.1

  • Thanks @Moul, @vtexier

v0.53.1 (18 April 2019)

  • Implement equality __eq__() and __hash__() methods for InputSource and OutputSource classes

Thanks @Moul, @vtexier

v0.53.0 (30 March 2019)

  • To be completed…