v1.3.0
What's Changed
Exciting New Features 🎉
- Smart contract functions without args by @herissondev in #1181
- Implement json rpc by @Neylix in #1187
- Add Chain.get_transaction/1 by @bchamagne in #1189
- Add new Code module in SC library by @Neylix in #1198
- Add new library function Chain.get_burn_address by @Neylix in #1201
- Add keccak256 hash algorithm by @Neylix in #1203
- Handle args in functions by @herissondev in #1202
- Smart Contracts: Http library module by @bchamagne in #1185
- Rpc SC public function call by @herissondev in #1210
- String.to_hex now encode any string in hex by @Neylix in #1211
- restrict smart contract functions by @herissondev in #1212
- AEIP-18 token resupply implementation by @bchamagne in #1209
- AEIP-16 named actions by @bchamagne in #1219
- Add Map.delete function in SC by @Neylix in #1227
- AEIP-19 token recipients (#1214) by @Neylix in #1236
- Adapt the fee for multi recipients transactions by @samuelmanzanera in #1234
- Add Contract.call_function in SC language by @Neylix in #1248
- Smart Contracts: new syntax for condition block by @bchamagne in #1250
Enhancements
- JSON RPC methods that used transaction as payload now only takes 1 param by @bchamagne in #1226
- Smart Contracts: Limit public function execution to 500ms by @bchamagne in #1233
- Json RPC endpoint does not require content to be base16 by @Neylix in #1238
- Smart Contracts: limit Http module to 1 call per SC by @bchamagne in #1239
- Transform the LRU cache to use ETS with pointer to head/tail by @samuelmanzanera in #1097
- Smart Contracts: Use atoms instead of strings for scope_hierarchy & context_list by @bchamagne in #1261
- Smart Contracts: Contract.call_function/3 mockable by @bchamagne in #1265
Bug Fixes
- Fix SC log function by @Neylix in #1193
- Remove String.trim before parsing code by @Neylix in #1191
- Catch error in condition execution by @Neylix in #1194
- protect private variables by @herissondev in #1216
- fix condition kwargs parsing by @herissondev in #1218
- Refactor named action to use arity as key by @Neylix in #1235
- fix fee test generator by @bchamagne in #1240
- HydratingCache now properly handles a timeout of the hydrate function by @bchamagne in #1237
- Fix the ETS table before iterating on it to avoid 'invalid continuation' by @bchamagne in #1273
- Fix validation stamp resolved recipient order by @Neylix in #1275
Other Changes
- use PlugCrypto binary to term in bootstrap.info by @apoorv-2204 in #1180
- Scope refactor by @herissondev in #1199
- [Snyk] Upgrade highlight.js from 11.7.0 to 11.8.0 by @snyk-bot in #1050
- Update deps and remove babel by @Neylix in #1222
- Add node requirement by @gdaguin in #1230
- Refactor module call and function call in SC by @Neylix in #1221
New Contributors
Full Changelog: v1.2.7...v1.3.0