What's Changed
Non-breaking changes and improvements:
- Add enum types (#2874, #2915, #2925, #2977)
- Add
_abi_decode
builtin (#2882) - Add
create_from_blueprint
andcreate_copy_of
builtins (#2895) - Add
default_return_value
kwarg for calls (#2839) - Add
min_value
andmax_value
builtins for numeric types (#2935) - Add
uint2str
builtin (#2879) - Add vyper signature to bytecode (#2860)
Other fixes and improvements:
- Call internal functions from constructor (#2496)
- Arithmetic for new int types (#2843)
- Allow
msg.data
inraw_call
withoutslice
(#2902) - Per-method calldatasize checks (#2911)
- Type inference and annotation of arguments for builtin functions (#2817)
- Allow varargs for
print
(#2833) - Add
error_map
output format for tooling consumption (#2939) - Multiple evaluation of contract address in call (GHSA-4v9q-cgpw-cf38)
- Improve ast output (#2824)
- Allow
@nonreentrant
on view functions (#2921) - Add
shift()
support for signed integers (#2964) - Enable dynarrays of strings (#2922)
- Fix off-by-one bounds check in certain safepow cases (#2983)
- Optimizer improvements (#2647, #2868, #2914, #2843, #2944)
- Reverse order in which exceptions are reported (#2838)
- Fix compile-time blowup for large contracts (#2981)
- Rename
vyper-ir
binary tofang
(#2936)
Many other small bugfixes, optimizations and refactoring also made it into this release! Special thanks to @tserg and @pandadefi for contributing several important bugfixes, refactoring and features to this release!
New Contributors
- @code-review-doctor made their first contribution in #2826
- @big-tech-sux made their first contribution in #2837
- @Doc-Pixel made their first contribution in #2807
- @0xMaka made their first contribution in #2861
- @McCoady made their first contribution in #2884
- @pandadefi made their first contribution in #2874
- @diogoperillo made their first contribution in #2906
- @adam429 made their first contribution in #2946
- @challet made their first contribution in #2978
- @r4VP4 made their first contribution in #2980
- @krakxn made their first contribution in #2990
Full Changelog: v0.3.3...v0.3.4