Skip to content

v1.2.0

Compare
Choose a tag to compare
@thibault-martinez thibault-martinez released this 29 Mar 19:22
· 40 commits to master since this release

1.2.0

DO NOT USE IN PRODUCTION !
1.2.1 will be released quickly to fix a security issue

Type Details
Date March 29th, 2018
Tag v1.2.0
Description Performance analysis and improvements.
Added
  • Tag Model
  • Address Model
  • Seed Model
  • Bigint Class
Changed
  • Keccak384 now works with pointers instead of vectors
  • Kerl now works with bytes instead of trits
  • Signing operations have been drastically optimized
  • Trytes, trits and bytes conversion optimizations
  • Improvement of some API calls
Removed
  • Sponge interface
  • Sponge factory
Upgrading v1.2.0 brings extensive small changes to the API that leads to breaking changes.
  • Many Types::Trytes params have been converted to Models::Address, Models::Tag, Models::Seed types. We tried to make this change as smooth as possible by using implicit conversion. However, depending on your implementation, this may break the compilation. Alternatively, some validity checks that were previously done in the Extended or Core functions have been moved to these models, meaning that some exceptions may be triggered at different locations. Keep in mind that Models::Seed, Models::Tag and Models::Address ensure a valid state at any time (invalid addresses, tags or seeds are rejected by an exception).
  • Some parameters of the Extended API have been moved (in terms of position, or moved to the new Address, Seed or Tag models), changed to optional or removed. This mostly impacts parameters related to seed and addresses security, as well as start and end offset.
  • Some Extended functions that were not standard (due to legacy code) have been removed to sanitize the API.
The list of changes is too big to address all breaking changes here in a relevant way. Please refer to the updated Doxygen documentation. Keep in mind that even though you may have multiple breaking changes, these should be straightforward to fix and should not impact the overall logic of your program.