AxLabs has released neow3j v3.23.0, achieving compatibility with the latest Neo v3.7 release. This update introduces support for new native contract features and documents four major changes to the SDK and devpack.
New features
The new version of neow3j includes the recently implemented keccak256 hash function in the CryptoLib
native contract. Additionally, the update supports NeoToken’s native contracts GetCommitteeAddress
method, a helper function recently made public for the convenience of developers.
Other changes include the addition of the execNeoxpCommandWithDefaultConfig
method, which simplifies the execution of neoxp commands when using neow3j for testing. Furthermore, native contracts in the devpack now use the expected default call flags instead of default CallFlags.All
with the option to overwrite it.
Breaking through change
The latest release introduces three major changes to 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 has been renamed to keccak256. These changes require developers to update their codebases to ensure compatibility with the new version.
One important change has been introduced for the devpack to increase its independence from other modules. This change includes replicating the InteropService, Opcode, StackItemType, and WitnessScope classes. Users who were previously using these components should switch to the new ones io.neow3j.devpack.constants
classes to maintain functionality when using the devpack. SDK usage still requires the original classes to be used.
A full list of changes can be found in the release notes:
https://github.com/neow3j/neow3j/releases/tag/3.23.0