Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): bump vyper from 0.3.10 to 0.4.0 #1806

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dependabot[bot]
Copy link

@dependabot dependabot bot commented on behalf of github Jan 14, 2025

Bumps vyper from 0.3.10 to 0.4.0.

Release notes

Sourced from vyper's releases.

v0.4.0 ("Nagini")

v0.4.0 represents a major overhaul to the Vyper language. Notably, it overhauls the import system and adds support for code reuse. It also adds a new, experimental backend to Vyper which lays the foundation for improved analysis, optimization and integration with third party tools.

Breaking Changes

  • feat[tool]!: make cancun the default evm version (#4029)
  • feat[lang]: remove named reentrancy locks (#3769)
  • feat[lang]!: change the signature of block.prevrandao (#3879)
  • feat[lang]!: change ABI type of decimal to int168 (#3696)
  • feat[lang]: rename _abi_encode and _abi_decode (#4097)
  • feat[lang]!: add feature flag for decimals (#3930)
  • feat[lang]!: make internal decorator optional (#4040)
  • feat[lang]: protect external calls with keyword (#2938)
  • introduce floordiv, ban regular div for integers (#2937)
  • feat[lang]: use keyword arguments for struct instantiation (#3777)
  • feat: require type annotations for loop variables (#3596)
  • feat: replace enum with flag keyword (#3697)
  • feat: remove builtin constants (#3350)
  • feat: drop istanbul and berlin support (#3843)
  • feat: allow range with two arguments and bound (#3679)
  • fix[codegen]: range bound check for signed integers (#3814)
  • feat: default code offset = 3 (#3454)
  • feat: rename vyper.interfaces to ethereum.ercs (#3741)
  • chore: add prefix to ERC interfaces (#3804)
  • chore[ux]: compute natspec as part of standard pipeline (#3946)
  • feat: deprecate vyper-serve (#3666)

Module system

  • refactor: internal handling of imports (#3655)
  • feat: implement "stateless" modules (#3663)
  • feat[lang]: export interfaces (#3919)
  • feat[lang]: singleton modules with ownership hierarchy (#3729)
  • feat[lang]: implement function exports (#3786)
  • feat[lang]: auto-export events in ABI (#3808)
  • fix: allow using interface defs from imported modules (#3725)
  • feat: add support for constants in imported modules (#3726)
  • fix[lang]: prevent modules as storage variables (#4088)
  • fix[ux]: improve initializer hint for unimported modules (#4145)
  • feat: add python sys.path to vyper path (#3763)
  • feat[ux]: improve error message for importing ERC20 (#3816)
  • fix[lang]: fix importing of flag types (#3871)
  • feat: search path resolution for cli (#3694)
  • fix[lang]: transitive exports (#3888)
  • fix[ux]: error messages relating to initializer issues (#3831)
  • fix[lang]: recursion in uses analysis for nonreentrant functions (#3971)
  • fix[ux]: fix uses error message (#3926)
  • fix[lang]: fix uses analysis for nonreentrant functions (#3927)
  • fix[lang]: fix a hint in global initializer check (#4089)
  • fix[lang]: builtin type comparisons (#3956)

... (truncated)

Changelog

Sourced from vyper's changelog.

v0.4.0 ("Nagini")


Date released: 2024-06-20

v0.4.0 represents a major overhaul to the Vyper language. Notably, it overhauls the import system and adds support for code reuse. It also adds a new, experimental backend to Vyper which lays the foundation for improved analysis, optimization and integration with third party tools.

Breaking Changes

  • feat[tool]!: make cancun the default evm version ([#4029](https://github.com/vyperlang/vyper/issues/4029) <https://github.com/vyperlang/vyper/pull/4029>_)
  • feat[lang]: remove named reentrancy locks ([#3769](https://github.com/vyperlang/vyper/issues/3769) <https://github.com/vyperlang/vyper/pull/3769>_)
  • feat[lang]!: change the signature of block.prevrandao ([#3879](https://github.com/vyperlang/vyper/issues/3879) <https://github.com/vyperlang/vyper/pull/3879>_)
  • feat[lang]!: change ABI type of decimal to int168 ([#3696](https://github.com/vyperlang/vyper/issues/3696) <https://github.com/vyperlang/vyper/pull/3696>_)
  • feat[lang]: rename _abi_encode and _abi_decode ([#4097](https://github.com/vyperlang/vyper/issues/4097) <https://github.com/vyperlang/vyper/pull/4097>_)
  • feat[lang]!: add feature flag for decimals ([#3930](https://github.com/vyperlang/vyper/issues/3930) <https://github.com/vyperlang/vyper/pull/3930>_)
  • feat[lang]!: make internal decorator optional ([#4040](https://github.com/vyperlang/vyper/issues/4040) <https://github.com/vyperlang/vyper/pull/4040>_)
  • feat[lang]: protect external calls with keyword ([#2938](https://github.com/vyperlang/vyper/issues/2938) <https://github.com/vyperlang/vyper/pull/2938>_)
  • introduce floordiv, ban regular div for integers ([#2937](https://github.com/vyperlang/vyper/issues/2937) <https://github.com/vyperlang/vyper/pull/2937>_)
  • feat[lang]: use keyword arguments for struct instantiation ([#3777](https://github.com/vyperlang/vyper/issues/3777) <https://github.com/vyperlang/vyper/pull/3777>_)
  • feat: require type annotations for loop variables ([#3596](https://github.com/vyperlang/vyper/issues/3596) <https://github.com/vyperlang/vyper/pull/3596>_)
  • feat: replace enum with flag keyword ([#3697](https://github.com/vyperlang/vyper/issues/3697) <https://github.com/vyperlang/vyper/pull/3697>_)
  • feat: remove builtin constants ([#3350](https://github.com/vyperlang/vyper/issues/3350) <https://github.com/vyperlang/vyper/pull/3350>_)
  • feat: drop istanbul and berlin support ([#3843](https://github.com/vyperlang/vyper/issues/3843) <https://github.com/vyperlang/vyper/pull/3843>_)
  • feat: allow range with two arguments and bound ([#3679](https://github.com/vyperlang/vyper/issues/3679) <https://github.com/vyperlang/vyper/pull/3679>_)
  • fix[codegen]: range bound check for signed integers ([#3814](https://github.com/vyperlang/vyper/issues/3814) <https://github.com/vyperlang/vyper/pull/3814>_)
  • feat: default code offset = 3 ([#3454](https://github.com/vyperlang/vyper/issues/3454) <https://github.com/vyperlang/vyper/pull/3454>_)
  • feat: rename vyper.interfaces to ethereum.ercs ([#3741](https://github.com/vyperlang/vyper/issues/3741) <https://github.com/vyperlang/vyper/pull/3741>_)
  • chore: add prefix to ERC interfaces ([#3804](https://github.com/vyperlang/vyper/issues/3804) <https://github.com/vyperlang/vyper/pull/3804>_)
  • chore[ux]: compute natspec as part of standard pipeline ([#3946](https://github.com/vyperlang/vyper/issues/3946) <https://github.com/vyperlang/vyper/pull/3946>_)
  • feat: deprecate vyper-serve ([#3666](https://github.com/vyperlang/vyper/issues/3666) <https://github.com/vyperlang/vyper/pull/3666>_)

Module system

  • refactor: internal handling of imports ([#3655](https://github.com/vyperlang/vyper/issues/3655) <https://github.com/vyperlang/vyper/pull/3655>_)
  • feat: implement "stateless" modules ([#3663](https://github.com/vyperlang/vyper/issues/3663) <https://github.com/vyperlang/vyper/pull/3663>_)
  • feat[lang]: export interfaces ([#3919](https://github.com/vyperlang/vyper/issues/3919) <https://github.com/vyperlang/vyper/pull/3919>_)
  • feat[lang]: singleton modules with ownership hierarchy ([#3729](https://github.com/vyperlang/vyper/issues/3729) <https://github.com/vyperlang/vyper/pull/3729>_)
  • feat[lang]: implement function exports ([#3786](https://github.com/vyperlang/vyper/issues/3786) <https://github.com/vyperlang/vyper/pull/3786>_)
  • feat[lang]: auto-export events in ABI ([#3808](https://github.com/vyperlang/vyper/issues/3808) <https://github.com/vyperlang/vyper/pull/3808>_)
  • fix: allow using interface defs from imported modules ([#3725](https://github.com/vyperlang/vyper/issues/3725) <https://github.com/vyperlang/vyper/pull/3725>_)
  • feat: add support for constants in imported modules ([#3726](https://github.com/vyperlang/vyper/issues/3726) <https://github.com/vyperlang/vyper/pull/3726>_)
  • fix[lang]: prevent modules as storage variables ([#4088](https://github.com/vyperlang/vyper/issues/4088) <https://github.com/vyperlang/vyper/pull/4088>_)
  • fix[ux]: improve initializer hint for unimported modules ([#4145](https://github.com/vyperlang/vyper/issues/4145) <https://github.com/vyperlang/vyper/pull/4145>_)
  • feat: add python sys.path to vyper path ([#3763](https://github.com/vyperlang/vyper/issues/3763) <https://github.com/vyperlang/vyper/pull/3763>_)
  • feat[ux]: improve error message for importing ERC20 ([#3816](https://github.com/vyperlang/vyper/issues/3816) <https://github.com/vyperlang/vyper/pull/3816>_)
  • fix[lang]: fix importing of flag types ([#3871](https://github.com/vyperlang/vyper/issues/3871) <https://github.com/vyperlang/vyper/pull/3871>_)
  • feat: search path resolution for cli ([#3694](https://github.com/vyperlang/vyper/issues/3694) <https://github.com/vyperlang/vyper/pull/3694>_)
  • fix[lang]: transitive exports ([#3888](https://github.com/vyperlang/vyper/issues/3888) <https://github.com/vyperlang/vyper/pull/3888>_)
  • fix[ux]: error messages relating to initializer issues ([#3831](https://github.com/vyperlang/vyper/issues/3831) <https://github.com/vyperlang/vyper/pull/3831>_)

... (truncated)

Commits
  • e9db8d9 feat[docs]: v0.4.0 release (#4152)
  • 4594f8b fix[codegen]: panic on potential subscript eval order issue (#4159)
  • 3d9c537 fix[codegen]: panic on potential eval order issue for some builtins (#4157)
  • d92cd34 chore[docs]: add evaluation order warning for builtins (#4158)
  • a72488c fix[venom]: add unique_symbols check to venom pipeline (#4149)
  • c79c0b6 fix[venom]: alloca for default arguments (#4155)
  • 2d82a74 feat[test]: add more coverage to abi_decode fuzzer tests (#4153)
  • 69e5c05 feat[test]: implement abi_decode spec test (#4095)
  • 44bb281 fix[codegen]: add back in returndatasize check (#4144)
  • e9e9d78 fix[ux]: improve initializer hint for unimported modules (#4145)
  • Additional commits viewable in compare view

Dependabot compatibility score

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 rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will 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 version will 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 dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    You can disable automated security fix PRs for this repo from the Security Alerts page.

Bumps [vyper](https://github.com/vyperlang/vyper) from 0.3.10 to 0.4.0.
- [Release notes](https://github.com/vyperlang/vyper/releases)
- [Changelog](https://github.com/vyperlang/vyper/blob/master/docs/release-notes.rst)
- [Commits](vyperlang/vyper@v0.3.10...v0.4.0)

---
updated-dependencies:
- dependency-name: vyper
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Jan 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants