Release Notes

hexbytes v1.2.0 (2024-03-19)

Features

  • Add to_0x_hex() method to provide a quick, explicit way to get an 0x-prefixed string (#43)

hexbytes v1.1.0 (2024-03-01)

Internal Changes - for hexbytes Contributors

  • Change the name of master branch to main (#40)

  • Merge template updates, notably adding py312 support (#41)

hexbytes v1.0.0 (2023-11-07)

Breaking Changes

  • Move HexBytes prepend of 0x from hex method to __repr__ to not break hex of parent bytes class (#38)

  • Drop python 3.7 support (#39)

Internal Changes - for hexbytes Contributors

  • Added missing build dependency. (#32)

  • Add build.os config for readthedocs (#34)

  • Change to using pre-commit to manage linting tools (#35)

  • Merge project template updates and bump mypy to v1.5.1 (#36)

  • Merge template - .gitignore updates and other fixes (#37)

  • Merge template updates, including additional linting, move most lint config to pyproject.toml (#39)

HexBytes v0.3.1 (2023-06-08)

Improved Documentation

  • pull in ethereum-python-project-template updates (#31)

Internal Changes - for hexbytes Contributors

  • pull in ethereum-python-project-template updates (#31)

HexBytes v0.3.0 (2022-08-17)

Miscellaneous changes

Breaking changes

  • Drop support for Python 3.6, update Sphinx doc dependency requirement (#27)

HexBytes v0.2.3 (2022-08-11)

Features

  • Type signature now accepts memoryview when creating HexBytes. It converts to a bytes internally, so not any performance benefit. But at least it’s possible now, and mypy stops complaining. (#22)

Performance improvements

  • Improve speed of the check for 0x at the beginning of the hex string. Similar to changes in eth-utils. (Technically merged by #22, but first posted in #21) (#21)

Internal Changes - for hexbytes Contributors

  • Merged in latest changes from project template (#24)

Miscellaneous changes

HexBytes v0.2.2 (2021-08-25)

Miscellaneous changes

  • Pass mypy tests with –no-implicit-reexport (#15)

Internal Changes - for hexbytes Contributors

  • Merge in template changes from the last year. Pass pydocstyle tests at the new major version. (#16)

HexBytes v0.2.1 (2020-06-02)

Features

  • Officially support bytearray, int, and bool as inputs to HexBytes. Drop the dependency on eth-utils, for a much smaller & faster install. (#12)

v0.2.0

Released June 3, 2019

  • Breaking Changes

    • Dropped Python3.5 support (only in name at this release, but py3.6 features will be used soon #10

  • Features

    • A slice of HexBytes will now produce another HexBytes object #9

  • Maintenance

    • Added type hints #7

v0.1.0

Released Mar 1, 2018

  • Marked stable

  • eth-utils v1.0.1 support

v0.1.0-beta.1

Released Feb 21, 2018

  • pypy3 support

  • eth-utils v1-beta.2 support

  • Some generic template updates

v0.1.0-beta.0

Released Jan 30, 2018

  • Tested a basic integration with eth-rlp

  • Given the simplicity of the project and the longer usage history in web3.py, it is reasonable to bump to beta immediately.

v0.1.0-alpha.2

Released Jan 30, 2018

  • Added hypothesis tests

  • Added some docs

  • Update eth-utils to get all required functionality

  • Passes all tests

v0.1.0-alpha.1

  • Launched repository, claimed names for pip, RTD, github, etc