AxLabs has just announced the release of neow3j v3.23.0, which now supports the latest Neo v3.7 release. This update brings in new features and enhancements, including compatibility with new native contract functions. It also includes documentation of four breaking changes that developers need to be aware of across the SDK and devpack.
New Features
One of the key features of the new neow3j version is the addition of the keccak256 hash function in the CryptoLib
native contract. Additionally, developers can now utilize the GetCommitteeAddress
method in the NeoToken native contract, which has been made public for easier access and integration.
Another notable addition is the execNeoxpCommandWithDefaultConfig
method, which simplifies the execution of neoxp commands during testing with neow3j. Moreover, the native contracts in the devpack now come with expected default call flags, allowing for easier customization and control.
Breaking changes
The latest release brings about three breaking changes for the SDK. The wsPort
has been removed from io.neow3j.protocol.core.response.NeoGetVersion.NeoVersion
, and the sha3 methods in the io.neow3j.crypto.Hash
class have been renamed to keccak256. Developers are advised to update their code to ensure smooth transition to the new version.
As for the devpack, a significant breaking change has been implemented to improve its independence from other modules. This involves replicating certain classes like InteropService, Opcode, StackItemType, and WitnessScope. Users who relied on these components will need to switch to the new io.neow3j.devpack.constants
classes to maintain functionality. For SDK usage, the original classes should still be used.
For more details on the changes introduced in this release, refer to the official release notes available at:
https://github.com/neow3j/neow3j/releases/tag/3.23.0