Hey everyone,
I know it's only been a couple of days since the big v0.1.0
release of hive-nectar
(and the two emergency patches that followed), but I couldn't leave well enough alone. Today, I'm happy to announce the release of version 0.1.3.
The main driver for this update was my personal obsession / OCD: I couldn't stop until the entire test suite was passing.
Getting a large, legacy codebase to a state where all tests pass without error is always a journey. The process uncovered a number of subtle bugs and areas that needed modernization. This effort resulted in a more stable and reliable library for everyone. A few of the key fixes include:
is_connected()
method was improved to more accurately reflect the connection state, preventing downstream errors that would occur when an RPC node was instantiated but not yet fully connected.On top of the bug fixes, I've also added some rudimentary support for Hive Application Framework (HAF) endpoints. A new nectar.haf
module has been added to the library to make these queries simple.
The first practical application of this is in fetching an account's reputation. When you now call Account("username").reputation()
, the library will first attempt to get the most up-to-date reputation score directly from a HAF endpoint. If that fails, it gracefully falls back to the cached reputation value stored on the account object (25).
This release is another big step forward in modernizing hive-nectar
, and I'm thrilled with the progress. The new version is now live on PyPI.
GitHub: https://github.com/TheCrazyGM/hive-nectar
DeepWiki: https://deepwiki.com/TheCrazyGM/hive-nectar
ReadTheDocs: https://hive-nectar.readthedocs.io
As always,
Michael Garcia a.k.a. TheCrazyGM
Your attention to detail is very welcome indeed, my friend, and congratulations on this notably-improved version. It's getting better and better! 😁🙏💚✨🤙