Bump vyper from 0.1.0b10 to 0.3.3
Bumps vyper from 0.1.0b10 to 0.3.3.
Release notes
Sourced from vyper's releases.
v0.3.3
What's Changed
This is a bugfix release. It patches an off-by-one error in the storage allocation mechanism for dynamic arrays reported by
@haltman-atin #2820Other fixes and improvements:
- Add a print built-in which allows printing debugging messages in hardhat. (#2818)
- Fix various error messages (#2798, #2805)
New Contributors
@ngmislmade their first contribution in vyperlang/vyper#2815Full Changelog: https://github.com/vyperlang/vyper/compare/v0.3.2...v0.3.3
v0.3.2
Breaking changes:
- Increase the bounds of the decimal type (#2730)
- Generalize and simplify the semantics of the convert builtin (#2694)
- Restrict hex and bytes literals (#2736, #2872)
Non-breaking changes and improvements:
- Implement dynamic arrays (#2556, #2606, #2615)
- Support all ABIv2 integer and bytes types (#2705)
- Add storage layout override mechanism (#2593)
- Support
<address>.codeattribute (#2583)- Add
tx.gaspricebuiltin (#2624)- Allow structs as constant variables (#2617)
- Implement
skip_contract_checkkwarg (#2551)- Support EIP-2678 ethPM manifest files (#2628)
- Add
metadataoutput format (#2597)- Allow
msg.*variables in internal functions (#2632)- Add
unsafe_arithmetic builtins (#2629)- Add subroutines to Vyper IR (#2598)
- Add
selectopcode to Vyper IR (#2690)- Allow lists of any type as loop variables (#2616)
- Improve suggestions in error messages (#2806)
Notable fixes:
- Clamping of returndata from external calls in complex expressions (GHSA-4mrx-6fxm-8jpg, GHSA-j2x6-9323-fp7h)
- Bytestring equality for (
N<=32) (GHSA-7vrm-3jc8-5wwm)- Typechecking of constant variables (#2580, #2603)
- Referencing immutables in constructor (#2627)
- Arrays of interfaces in for loops (#2699)
Lots of optimizations, refactoring and other fixes made it into this release! For the full list, please see the changelog.
Special thanks to returning contributors
@tserg,@skellet0rand@fubuloubu!
... (truncated)
Changelog
Sourced from vyper's changelog.
v0.3.3
Date released: 2022-04-22
This is a bugfix release. It patches an off-by-one error in the storage allocation mechanism for dynamic arrays reported by
@haltman-atin[#2820](https://github.com/vyperlang/vyper/issues/2820) <https://github.com/vyperlang/vyper/issues/2820>_Other fixes and improvements:
- Add a
[#2818](https://github.com/vyperlang/vyper/issues/2818) <https://github.com/vyperlang/vyper/pull/2818>_)- Fix various error messages (
[#2798](https://github.com/vyperlang/vyper/issues/2798) <https://github.com/vyperlang/vyper/pull/2798>,[#2805](https://github.com/vyperlang/vyper/issues/2805) <https://github.com/vyperlang/vyper/pull/2805>)v0.3.2
Date released: 2022-04-17
Breaking changes:
- Increase the bounds of the
decimaltype ([#2730](https://github.com/vyperlang/vyper/issues/2730) <https://github.com/vyperlang/vyper/pull/2730>_)- Generalize and simplify the semantics of the
convertbuiltin ([#2694](https://github.com/vyperlang/vyper/issues/2694) <https://github.com/vyperlang/vyper/pull/2694>_)- Restrict hex and bytes literals (
[#2736](https://github.com/vyperlang/vyper/issues/2736) <https://github.com/vyperlang/vyper/pull/2736>,[#2872](https://github.com/vyperlang/vyper/issues/2872) <https://github.com/vyperlang/vyper/pull/2782>)Non-breaking changes and improvements:
- Implement dynamic arrays (
[#2556](https://github.com/vyperlang/vyper/issues/2556) <https://github.com/vyperlang/vyper/pull/2556>,[#2606](https://github.com/vyperlang/vyper/issues/2606) <https://github.com/vyperlang/vyper/pull/2606>,[#2615](https://github.com/vyperlang/vyper/issues/2615) <https://github.com/vyperlang/vyper/pull/2615>_)- Support all ABIv2 integer and bytes types (
[#2705](https://github.com/vyperlang/vyper/issues/2705) <https://github.com/vyperlang/vyper/pull/2705>_)- Add storage layout override mechanism (
[#2593](https://github.com/vyperlang/vyper/issues/2593) <https://github.com/vyperlang/vyper/pull/2593>_)- Support
<address>.codeattribute ([#2583](https://github.com/vyperlang/vyper/issues/2583) <https://github.com/vyperlang/vyper/pull/2583>_)- Add
tx.gaspricebuiltin ([#2624](https://github.com/vyperlang/vyper/issues/2624) <https://github.com/vyperlang/vyper/pull/2624>_)- Allow structs as constant variables (
[#2617](https://github.com/vyperlang/vyper/issues/2617) <https://github.com/vyperlang/vyper/pull/2617>_)- Implement
skip_contract_checkkwarg ([#2551](https://github.com/vyperlang/vyper/issues/2551) <https://github.com/vyperlang/vyper/pull/2551>_)- Support EIP-2678 ethPM manifest files (
[#2628](https://github.com/vyperlang/vyper/issues/2628) <https://github.com/vyperlang/vyper/pull/2628>_)- Add
metadataoutput format ([#2597](https://github.com/vyperlang/vyper/issues/2597) <https://github.com/vyperlang/vyper/pull/2597>_)- Allow
msg.*variables in internal functions ([#2632](https://github.com/vyperlang/vyper/issues/2632) <https://github.com/vyperlang/vyper/pull/2632>_)- Add
unsafe_arithmetic builtins ([#2629](https://github.com/vyperlang/vyper/issues/2629) <https://github.com/vyperlang/vyper/pull/2629>_)- Add subroutines to Vyper IR (
[#2598](https://github.com/vyperlang/vyper/issues/2598) <https://github.com/vyperlang/vyper/pull/2598>_)- Add
selectopcode to Vyper IR ([#2690](https://github.com/vyperlang/vyper/issues/2690) <https://github.com/vyperlang/vyper/pull/2690>_)- Allow lists of any type as loop variables (
[#2616](https://github.com/vyperlang/vyper/issues/2616) <https://github.com/vyperlang/vyper/pull/2616>_)- Improve suggestions in error messages (
[#2806](https://github.com/vyperlang/vyper/issues/2806) <https://github.com/vyperlang/vyper/pull/2806>_)Notable Fixes:
- Clamping of returndata from external calls in complex expressions (
GHSA-4mrx-6fxm-8jpg <https://github.com/vyperlang/vyper/security/advisories/GHSA-4mrx-6fxm-8jpg>,GHSA-j2x6-9323-fp7h <https://github.com/vyperlang/vyper/security/advisories/GHSA-j2x6-9323-fp7h>)- Bytestring equality for (N`_)
- Typechecking of constant variables (
[#2580](https://github.com/vyperlang/vyper/issues/2580) <https://github.com/vyperlang/vyper/pull/2580>,[#2603](https://github.com/vyperlang/vyper/issues/2603) <https://github.com/vyperlang/vyper/pull/2603>)- Referencing immutables in constructor (
[#2627](https://github.com/vyperlang/vyper/issues/2627) <https://github.com/vyperlang/vyper/pull/2627>_)- Arrays of interfaces in for loops (
[#2699](https://github.com/vyperlang/vyper/issues/2699) <https://github.com/vyperlang/vyper/pull/2699>_)
... (truncated)
Commits
48e326fadd v0.3.3 release notes (#2822)e991b1ffix off-by-one in dynamic array length calculation (#2821)981ec17add print builtin (#2818)37fd1e0fix signature for get_type_from_annotation (#2805)ff6ddcefix: error message for kwargs at call site (#2798)c270363doc: update learn.vyperlang.org hyperlink (#2815)b1942c0fix: package version (#2816)3b6a411docs: release notes for 0.3.2 (#2795)857bc86fea: improve error messages (#2806)ead39cedocs: minor fixes (#2808)- Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)@dependabot use these labelswill set the current labels as the default for future PRs for this repo and language@dependabot use these reviewerswill set the current reviewers as the default for future PRs for this repo and language@dependabot use these assigneeswill set the current assignees as the default for future PRs for this repo and language@dependabot use this milestonewill set the current milestone as the default for future PRs for this repo and language
You can disable automated security fix PRs for this repo from the Security Alerts page.