github tact-lang/tact v1.6.7
Release 1.6.7

latest releases: v1.6.13, v1.6.12, v1.6.11...
4 months ago

Language features

  • Fixed incorrect error message for bounced messages: PR #2932
  • Added compile-time map literals: PR #2881
  • Added the inMsg() built-in function as an optimized version of msg.toSlice(): PR #2850
  • Compiler now generates more efficient code for structure fields serialization: PR #2836
  • Compiler now generates more efficient code for Address? fields deserialization: PR #2834
  • Optimized self.notify, self.reply, and self.forward in BaseTrait by using the message function directly where possible and avoiding unnecessary use of alias: PR #2515
  • Compiler now generates more efficient code for if statements: PR #2844
  • Any message now has an opcode() method to obtain its opcode: PR #2886
  • Contract init function now can have parameters with as annotations: PR #2890
  • [fix] Compiler now correctly handles get functions with an empty message parameter: PR #2892

Standard Library

  • Improved gas consumption of the cashback function: PR #2882
  • Improved gas efficiency for the BaseTrait functions: PR #2913

Tooling

  • Formatter now shortens Foo { value: value } to Foo { value }: PR #2884
  • Formatter now supports formatting several files and directories: PR #2906
  • [fix] Formatter now correctly formats trailing comments after the last field: PR #2912

Docs

  • Added inMsg() function to the gas best practices page: PR #2850
  • Fixed the description of StateInit.hasSameBasechainAddress() function: PR #2848

Release contributors

Don't miss a new tact release

NewReleases is sending notifications on new releases.