Vyper

Latest version: v0.3.10

Safety actively analyzes 630523 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 8

0.4.0b5

Not secure
What's Changed
* feat[ir]: add `eval_once` sanity fences to more builtins by charles-cooper in https://github.com/vyperlang/vyper/pull/3835
* chore[ci]: merge mypy job into lint by charles-cooper in https://github.com/vyperlang/vyper/pull/3840
* fix[ir]: unique symbol name by trocher in https://github.com/vyperlang/vyper/pull/3848
* feat[ir]: emit `djump` in dense selector table by harkal in https://github.com/vyperlang/vyper/pull/3849
* feat[tool]: improvements to AST annotation by charles-cooper in https://github.com/vyperlang/vyper/pull/3829
* docs: typo in test comment by eltociear in https://github.com/vyperlang/vyper/pull/3850
* feat[tool]: add `node_id` map to source map by charles-cooper in https://github.com/vyperlang/vyper/pull/3811
* feat[lang]: allow downcasting of bytestrings by charles-cooper in https://github.com/vyperlang/vyper/pull/3832
* feat: drop istanbul and berlin support by charles-cooper in https://github.com/vyperlang/vyper/pull/3843


**Full Changelog**: https://github.com/vyperlang/vyper/compare/v0.4.0b4...v0.4.0b5

0.4.0b4

Not secure
What's Changed
* docs: update logo in readme, remove competition reference by charles-cooper in https://github.com/vyperlang/vyper/pull/3837
* docs: add rationale for floordiv rounding behavior by charles-cooper in https://github.com/vyperlang/vyper/pull/3845
* fix[ci]: release artifacts by charles-cooper in https://github.com/vyperlang/vyper/pull/3839


**Full Changelog**: https://github.com/vyperlang/vyper/compare/v0.4.0b3...v0.4.0b4

0.4.0b3

Not secure
What's Changed
* feat[lang]: protect external calls with keyword by charles-cooper in https://github.com/vyperlang/vyper/pull/2938
* chore[ci]: roll back GH actions/*artifacts version by charles-cooper in https://github.com/vyperlang/vyper/pull/3838

**Full Changelog**: https://github.com/vyperlang/vyper/compare/v0.4.0b2...v0.4.0b3

0.4.0b2

Not secure
What's Changed
* docs: fixup release date by charles-cooper in https://github.com/vyperlang/vyper/pull/3819
* fix[codegen]: bounds check for signed index accesses by charles-cooper in https://github.com/vyperlang/vyper/pull/3817
* feat[tool]: validate AST nodes early in the pipeline by charles-cooper in https://github.com/vyperlang/vyper/pull/3809
* feat[tool]: delay global constraint check by charles-cooper in https://github.com/vyperlang/vyper/pull/3810
* chore[ci]: fix apt-get failure in era pipeline by charles-cooper in https://github.com/vyperlang/vyper/pull/3821
* chore[ux]: improve an exports error message by charles-cooper in https://github.com/vyperlang/vyper/pull/3822
* chore: Upgrade GitHub action dependencies by DanielSchiavini in https://github.com/vyperlang/vyper/pull/3807
* fix[codegen]: range bound check for signed integers by DanielSchiavini in https://github.com/vyperlang/vyper/pull/3814
* chore: remove tox rules for lint commands by charles-cooper in https://github.com/vyperlang/vyper/pull/3826
* feat[tool]: export variable read/write access by charles-cooper in https://github.com/vyperlang/vyper/pull/3790
* chore: improve codegen test coverage report by charles-cooper in https://github.com/vyperlang/vyper/pull/3824
* chore[ci]: pin eth-abi for decode regression by charles-cooper in https://github.com/vyperlang/vyper/pull/3834
* feat: add utility functions to `OrderedSet` by harkal in https://github.com/vyperlang/vyper/pull/3833


**Full Changelog**: https://github.com/vyperlang/vyper/compare/v0.4.0b1...v0.4.0b2

0.4.0b1

Not secure
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.

What's Changed
* Update `FUNDING.yml` by pcaversaccio in https://github.com/vyperlang/vyper/pull/3636
* docs: fix nit in v0.3.10 release notes by charles-cooper in https://github.com/vyperlang/vyper/pull/3638
* docs: add note on `pragma` parsing by pcaversaccio in https://github.com/vyperlang/vyper/pull/3640
* fix: block memory allocation overflow by charles-cooper in https://github.com/vyperlang/vyper/pull/3639
* fix: reorder compilation of branches in stmt.py by charles-cooper in https://github.com/vyperlang/vyper/pull/3603
* feat: remove builtin constants by tserg in https://github.com/vyperlang/vyper/pull/3350
* refactor: merge `annotation.py` and `local.py` by tserg in https://github.com/vyperlang/vyper/pull/3456
* fix: add missing test for memory allocation overflow by charles-cooper in https://github.com/vyperlang/vyper/pull/3650
* fix: edit link to style guide by engn33r in https://github.com/vyperlang/vyper/pull/3658
* docs: retire securityvyperlang.org by charles-cooper in https://github.com/vyperlang/vyper/pull/3660
* chore: fix test for `slice` by tserg in https://github.com/vyperlang/vyper/pull/3633
* refactor: internal handling of imports by charles-cooper in https://github.com/vyperlang/vyper/pull/3655
* docs: update resources section by pcaversaccio in https://github.com/vyperlang/vyper/pull/3656
* improvement: assert descriptions in Crowdfund finalize() and participate() by nfwsncked in https://github.com/vyperlang/vyper/pull/3064
* add abi_types unit tests by iFrostizz in https://github.com/vyperlang/vyper/pull/3662
* fix: remove hex-ir from format cli options list by engn33r in https://github.com/vyperlang/vyper/pull/3657
* refactor: test directory structure by charles-cooper in https://github.com/vyperlang/vyper/pull/3664
* feat: deprecate `vyper-serve` by tserg in https://github.com/vyperlang/vyper/pull/3666
* perf: lazy eval of f-strings in IRnode ctor by charles-cooper in https://github.com/vyperlang/vyper/pull/3602
* docs: add script to help working on the compiler by charles-cooper in https://github.com/vyperlang/vyper/pull/3674
* refactor: builtin functions inherit from `VyperType` by tserg in https://github.com/vyperlang/vyper/pull/3559
* docs: add warnings at the top of all example token contracts by charles-cooper in https://github.com/vyperlang/vyper/pull/3676
* docs: typo in `on_chain_market_maker.vy` by eltociear in https://github.com/vyperlang/vyper/pull/3677
* feat: implement new IR for vyper (venom IR) by harkal in https://github.com/vyperlang/vyper/pull/3659
* chore: move venom tests to `tests/unit/compiler` by charles-cooper in https://github.com/vyperlang/vyper/pull/3684
* add comptime check for uint2str input by iFrostizz in https://github.com/vyperlang/vyper/pull/3671
* Refactor ctx.add_instruction() and friends by harkal in https://github.com/vyperlang/vyper/pull/3685
* fix: remove .keyword from Call AST node by charles-cooper in https://github.com/vyperlang/vyper/pull/3689
* chore: test all output formats by charles-cooper in https://github.com/vyperlang/vyper/pull/3683
* feat: implement "stateless" modules by charles-cooper in https://github.com/vyperlang/vyper/pull/3663
* feat: add short options `-v` and `-O` to the CLI by charles-cooper in https://github.com/vyperlang/vyper/pull/3695
* feat: search path resolution for cli by charles-cooper in https://github.com/vyperlang/vyper/pull/3694
* fix: type annotation of helper function by harkal in https://github.com/vyperlang/vyper/pull/3702
* chore: improve exception handling in IR generation by charles-cooper in https://github.com/vyperlang/vyper/pull/3705
* feat: Implement target constrained venom jump instruction by harkal in https://github.com/vyperlang/vyper/pull/3687
* chore: update lint dependencies by DanielSchiavini in https://github.com/vyperlang/vyper/pull/3704
* feat: replace `enum` with `flag` keyword by AlbertoCentonze in https://github.com/vyperlang/vyper/pull/3697
* feat: Refactor assert_tx_failed into a context by DanielSchiavini in https://github.com/vyperlang/vyper/pull/3706
* feat: allow range with two arguments and bound by DanielSchiavini in https://github.com/vyperlang/vyper/pull/3679
* feat: improve panics in IR generation by charles-cooper in https://github.com/vyperlang/vyper/pull/3708
* docs: clarify `address.codehash` for empty account by pcaversaccio in https://github.com/vyperlang/vyper/pull/3711
* docs: indexed arguments for events are limited by f3rmion in https://github.com/vyperlang/vyper/pull/3715
* refactor: reimplement AST folding by tserg in https://github.com/vyperlang/vyper/pull/3669
* feat: remove `deploy` instruction from venom by harkal in https://github.com/vyperlang/vyper/pull/3703
* feat: require type annotations for loop variables by tserg in https://github.com/vyperlang/vyper/pull/3596
* feat: Add `bb` and `bb_runtime` output options by harkal in https://github.com/vyperlang/vyper/pull/3700
* refactor: constant folding by charles-cooper in https://github.com/vyperlang/vyper/pull/3719
* chore: improve diagnostics for invalid for loop annotation by tserg in https://github.com/vyperlang/vyper/pull/3721
* refactor: for loop target parsing by charles-cooper in https://github.com/vyperlang/vyper/pull/3724
* fix: allow using interface defs from imported modules by charles-cooper in https://github.com/vyperlang/vyper/pull/3725
* Add Vyper online compiler tooling by 0x0077 in https://github.com/vyperlang/vyper/pull/3680
* feat: add support for constants in imported modules by charles-cooper in https://github.com/vyperlang/vyper/pull/3726
* chore: bump sphinx version by charles-cooper in https://github.com/vyperlang/vyper/pull/3728
* refactor: remove duplicate terminus checking code by tserg in https://github.com/vyperlang/vyper/pull/3541
* feat: allow constant interfaces by tserg in https://github.com/vyperlang/vyper/pull/3718
* fix: dead code analysis inside for loops by charles-cooper in https://github.com/vyperlang/vyper/pull/3731
* fix[venom]: liveness analysis in some loops by harkal in https://github.com/vyperlang/vyper/pull/3732
* feat: add more venom instructions by charles-cooper in https://github.com/vyperlang/vyper/pull/3733
* fix: `opcodes` and `opcodes_runtime` outputs by trocher in https://github.com/vyperlang/vyper/pull/3735
* fix: concat buffer bug by charles-cooper in https://github.com/vyperlang/vyper/pull/3738
* chore: fix typos by Thabokani in https://github.com/vyperlang/vyper/pull/3749
* docs: Fix typos by BoboTiG in https://github.com/vyperlang/vyper/pull/3747
* docs: Upgrade dependencies and fixes by BoboTiG in https://github.com/vyperlang/vyper/pull/3745
* fix: disallow `value=` passing for delegate and static raw_calls by charles-cooper in https://github.com/vyperlang/vyper/pull/3755
* feat: rename `vyper.interfaces` to `ethereum.ercs` by ControlCplusControlV in https://github.com/vyperlang/vyper/pull/3741
* fix: bad assertion in expr.py by charles-cooper in https://github.com/vyperlang/vyper/pull/3758
* feat: remove Index AST node by tserg in https://github.com/vyperlang/vyper/pull/3757
* refactor: `ExprVisitor` type validation by tserg in https://github.com/vyperlang/vyper/pull/3739
* perf: reimplement `IRnode.__deepcopy__` by charles-cooper in https://github.com/vyperlang/vyper/pull/3761
* chore: improve exception for type validation by tserg in https://github.com/vyperlang/vyper/pull/3759
* feat[lang]: singleton modules with ownership hierarchy by charles-cooper in https://github.com/vyperlang/vyper/pull/3729
* fix: fuzz test not updated to use TypeMismatch by charles-cooper in https://github.com/vyperlang/vyper/pull/3768
* chore: run mypy as part of lint rule in Makefile by charles-cooper in https://github.com/vyperlang/vyper/pull/3771
* chore: fix StringEnum._generate_next_value_ signature by charles-cooper in https://github.com/vyperlang/vyper/pull/3770
* docs: adopt a new theme: `shibuya` by BoboTiG in https://github.com/vyperlang/vyper/pull/3754
* chore: improve some error messages by charles-cooper in https://github.com/vyperlang/vyper/pull/3775
* feat: add python `sys.path` to vyper path by charles-cooper in https://github.com/vyperlang/vyper/pull/3763
* fix: iterator modification analysis by charles-cooper in https://github.com/vyperlang/vyper/pull/3764
* feat[lang]: remove named reentrancy locks by charles-cooper in https://github.com/vyperlang/vyper/pull/3769
* refactor: `get_search_paths()` for vyper cli by charles-cooper in https://github.com/vyperlang/vyper/pull/3778
* docs: add missing cli flags by pcaversaccio in https://github.com/vyperlang/vyper/pull/3736
* perf: levenshtein optimization by charles-cooper in https://github.com/vyperlang/vyper/pull/3780
* feat: frontend optimizations by charles-cooper in https://github.com/vyperlang/vyper/pull/3781
* feat: optimize `VyperNode.deepcopy` by charles-cooper in https://github.com/vyperlang/vyper/pull/3784
* chore: deduplicate test files by tserg in https://github.com/vyperlang/vyper/pull/3773
* feat: more frontend optimizations by charles-cooper in https://github.com/vyperlang/vyper/pull/3785
* feat[lang]: use keyword arguments for struct instantiation by tserg in https://github.com/vyperlang/vyper/pull/3777
* chore: fix formatting and docs for new struct instantiation syntax by tserg in https://github.com/vyperlang/vyper/pull/3792
* fix: assembly dead code eliminator by charles-cooper in https://github.com/vyperlang/vyper/pull/3791
* chore: add color to mypy output by charles-cooper in https://github.com/vyperlang/vyper/pull/3793
* chore: replace occurrences of 'enum' by 'flag' by trocher in https://github.com/vyperlang/vyper/pull/3794
* introduce floordiv, ban regular div for integers by charles-cooper in https://github.com/vyperlang/vyper/pull/2937
* feat: default code offset = 3 by bout3fiddy in https://github.com/vyperlang/vyper/pull/3454
* docs: floordiv by tserg in https://github.com/vyperlang/vyper/pull/3797
* feat: improve warnings, refactor `vyper_warn()` by charles-cooper in https://github.com/vyperlang/vyper/pull/3800
* fix: prevent range over decimal by trocher in https://github.com/vyperlang/vyper/pull/3798
* chore: add another borrowship test by charles-cooper in https://github.com/vyperlang/vyper/pull/3802
* fix: pickleability of `CompilerData` by charles-cooper in https://github.com/vyperlang/vyper/pull/3803
* chore: add prefix to ERC interfaces by tserg in https://github.com/vyperlang/vyper/pull/3804
* fix: mutability check for interface implements by tserg in https://github.com/vyperlang/vyper/pull/3805
* feat[lang]: implement function exports by charles-cooper in https://github.com/vyperlang/vyper/pull/3786
* docs: add missing `annotated_ast` flag by pcaversaccio in https://github.com/vyperlang/vyper/pull/3813
* feat[lang]: auto-export events in ABI by charles-cooper in https://github.com/vyperlang/vyper/pull/3808
* docs: prepare v0.4.0 beta by charles-cooper in https://github.com/vyperlang/vyper/pull/3812
* feat[ux]: improve error message for importing ERC20 by charles-cooper in https://github.com/vyperlang/vyper/pull/3816

New Contributors
* engn33r made their first contribution in https://github.com/vyperlang/vyper/pull/3658
* iFrostizz made their first contribution in https://github.com/vyperlang/vyper/pull/3662
* AlbertoCentonze made their first contribution in https://github.com/vyperlang/vyper/pull/3697
* f3rmion made their first contribution in https://github.com/vyperlang/vyper/pull/3715
* 0x0077 made their first contribution in https://github.com/vyperlang/vyper/pull/3680
* Thabokani made their first contribution in https://github.com/vyperlang/vyper/pull/3749
* BoboTiG made their first contribution in https://github.com/vyperlang/vyper/pull/3747

**Full Changelog**: https://github.com/vyperlang/vyper/compare/v0.3.10...v0.4.0b1

0.3.10

Not secure
v0.3.10 is a performance focused release that additionally ships numerous bugfixes. It adds a `codesize` optimization mode ([3493](https://github.com/vyperlang/vyper/pull/3493)), adds new vyper-specific `#pragma` directives ([3493](https://github.com/vyperlang/vyper/pull/3493)), uses Cancun’s `MCOPY` opcode for some compiler generated code ([#3483](https://github.com/vyperlang/vyper/pull/3483)), and generates selector tables which now feature O(1) performance ([#3496](https://github.com/vyperlang/vyper/pull/3496)).

Breaking changes
- add runtime code layout to initcode ([3584](https://github.com/vyperlang/vyper/pull/3584))
- drop evm versions through istanbul ([3470](https://github.com/vyperlang/vyper/pull/3470))
- remove vyper signature from runtime ([3471](https://github.com/vyperlang/vyper/pull/3471))
- only allow valid identifiers to be nonreentrant keys ([3605](https://github.com/vyperlang/vyper/pull/3605))

Non-breaking changes and improvements
- O(1) selector tables ([3496](https://github.com/vyperlang/vyper/pull/3496))
- implement bound= in ranges ([3537](https://github.com/vyperlang/vyper/pull/3537), [#3551](https://github.com/vyperlang/vyper/pull/3551))
- add optimization mode to vyper compiler ([3493](https://github.com/vyperlang/vyper/pull/3493))
- improve batch copy performance ([3483](https://github.com/vyperlang/vyper/pull/3483), [#3499](https://github.com/vyperlang/vyper/pull/3499), [#3525](https://github.com/vyperlang/vyper/pull/3525))

Notable fixes
- fix ecrecover() behavior when signature is invalid ([GHSA-f5x6-7qgp-jhf3](https://github.com/vyperlang/vyper/security/advisories/GHSA-f5x6-7qgp-jhf3), [#3586](https://github.com/vyperlang/vyper/pull/3586))
- fix: order of evaluation for some builtins ([3583](https://github.com/vyperlang/vyper/pull/3583), [#3587](https://github.com/vyperlang/vyper/pull/3587))
- fix: memory allocation in certain builtins using msize ([3610](https://github.com/vyperlang/vyper/pull/3610))
- fix: _abi_decode() input validation in certain complex expressions ([3626](https://github.com/vyperlang/vyper/pull/3626))
- fix: pycryptodome for arm builds ([3485](https://github.com/vyperlang/vyper/pull/3485))
- let params of internal functions be mutable ([3473](https://github.com/vyperlang/vyper/pull/3473))
- typechecking of folded builtins in ([3490](https://github.com/vyperlang/vyper/pull/3490))
- update tload/tstore opcodes per latest 1153 EIP spec ([3484](https://github.com/vyperlang/vyper/pull/3484))
- fix: raw_call type when max_outsize=0 is set ([3572](https://github.com/vyperlang/vyper/pull/3572))
- fix: implements check for indexed event arguments ([3570](https://github.com/vyperlang/vyper/pull/3570))
- fix: type-checking for _abi_decode() arguments ([3626](https://github.com/vyperlang/vyper/pull/3623))

Other docs updates, chores and fixes
- relax restrictions on internal function signatures ([3573](https://github.com/vyperlang/vyper/pull/3573))
- note on security advisory in release notes for versions 0.2.15, 0.2.16, and 0.3.0 ([3553](https://github.com/vyperlang/vyper/pull/3553))
- fix: yanked version in release notes ([3545](https://github.com/vyperlang/vyper/pull/3545))
- update release notes on yanked versions ([3547](https://github.com/vyperlang/vyper/pull/3547))
- improve error message for conflicting methods IDs ([3491](https://github.com/vyperlang/vyper/pull/3491))
- document epsilon builtin ([3552](https://github.com/vyperlang/vyper/pull/3552))
- relax version pragma parsing ([3511](https://github.com/vyperlang/vyper/pull/3511))
- fix: issue with finding installed packages in editable mode ([3510](https://github.com/vyperlang/vyper/pull/3510))
- add note on security advisory for ecrecover in docs ([3539](https://github.com/vyperlang/vyper/pull/3539))
- add asm option to cli help ([3585](https://github.com/vyperlang/vyper/pull/3585))
- add message to error map for repeat range check ([3542](https://github.com/vyperlang/vyper/pull/3542))
- fix: public constant arrays ([3536](https://github.com/vyperlang/vyper/pull/3536))

New Contributors
* 0xmahdirostami made their first contribution in https://github.com/vyperlang/vyper/pull/3558
* shmuel44 made their first contribution in https://github.com/vyperlang/vyper/pull/3566

**Full Changelog**: https://github.com/vyperlang/vyper/compare/v0.3.9...v0.3.10

Page 2 of 8

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.