CDT v3.0.0-rc2 Release Notes
Pre-releaseThis is a RELEASE CANDIDATE for version 3.0.0.
This release contains several bug fixes and several changes to support the migration to the AntelopeIO organization. Please note that this release references changes committed in the EOS Network Foundation mandel.cdt repo.
Read on for details.
Changes
The change from EOSIO.CDT to CDT may involve several small changes necessary for your project.
- The binaries are no longer prefixed with
eosio
but withcdt
instead, soeosio-cpp
is nowcdt-cpp
, etc. - CMake projects instead of using
find_package(eosio.cdt)
it is now simplyfind_package(cdt)
. - All of the library path and namespaces have remained the same to not cause issues with this release. The next release will more than likely have those names replaced with those files being deprecated but still available to allow for a grace period to transition.
Bug fixes
WASM bloat fix
An issue was introduced in CDT v1.8.x, which resulted in a much larger binary size for the compiled WASM files than those generated by v1.7.x of CDT. The larger WASM files meant increased resource costs when deployed on-chain. This release of CDT now fixes that regression.
Include Ricardian contracts in generated ABIs
Another regression in an old version of CDT caused the compiler to not include Ricardians contracts into the generated ABI files. The fix for that regression is also included in this release.
Further details on changes since last release
Contributors
Special thanks to the contributors that submitted patches for this release:
- @larryk85
- @softprofe
- @oschwaldp-oci
- @ClaytonCalabrese
- @ndcgundlach
- @bogniq
- @arhag
- @linh2931
- @spoonincode
- @dimas1185
- @766C6164
Full list of changes since last release
PRs
- (mandel.cdt#35) update readme
- (mandel.cdt#36) Backport support stdarray
- (mandel.cdt#40) update head of llvm for fixing wasm bloat
- (mandel.cdt#44) Backport support for nested optional, maps and tuples
- (mandel.cdt#51) Add changes for bug repairs
- (2) Remove mandel references from CDT and update CDT urls
- (3) new CICD based on ENF runners & new platform framework
- (6) Bugfix for ricardian contracts being generated
- (7) [3.0] Antelope rename changes
Full Changelog: dc52e43...v3.0.0-rc2