From bddf412f264c244a13a903d4f9a812347874d720 Mon Sep 17 00:00:00 2001 From: steffel <2143646+steffenix@users.noreply.github.com> Date: Mon, 17 May 2021 14:20:30 +0200 Subject: [PATCH 1/2] chore(release): 0.4.0 --- CHANGELOG.md | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 CHANGELOG.md diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 00000000..e2b149e6 --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,31 @@ +# Changelog + +All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines. + +## [0.4.0](https://github.com/yearn/yearn-vaults/compare/v0.3.5...v0.4.0) (2021-05-17) + + +### Features + +* add emergency procedures ([#295](https://github.com/steffenix/yearn-vaults/issues/295)) ([aa9630a](https://github.com/yearn/yearn-vaults/commits/aa9630a25ee327233a990e1eb240612a4464d7eb)) +* add management to initialize ([#271](https://github.com/steffenix/yearn-vaults/issues/271)) ([f97088d](https://github.com/yearn/yearn-vaults/commits/f97088d1313044e43fe2f8c6e98641d10544abd4)) +* base wrapper add doc to public facing function ([#290](https://github.com/steffenix/yearn-vaults/issues/290)) ([93ebbb5](https://github.com/yearn/yearn-vaults/commits/93ebbb5f8655ac812afa4aced5fb41370ef33add)) +* develop without solidity 0.8 ([#342](https://github.com/steffenix/yearn-vaults/issues/342)) ([35cf726](https://github.com/yearn/yearn-vaults/commits/35cf726465d2879d7af932040d798105cb7870d7)), closes [#302](https://github.com/steffenix/yearn-vaults/issues/302) [#303](https://github.com/steffenix/yearn-vaults/issues/303) [#308](https://github.com/steffenix/yearn-vaults/issues/308) [#309](https://github.com/steffenix/yearn-vaults/issues/309) [#326](https://github.com/steffenix/yearn-vaults/issues/326) [#299](https://github.com/steffenix/yearn-vaults/issues/299) [#331](https://github.com/steffenix/yearn-vaults/issues/331) [#332](https://github.com/steffenix/yearn-vaults/issues/332) [#328](https://github.com/steffenix/yearn-vaults/issues/328) [#335](https://github.com/steffenix/yearn-vaults/issues/335) [#337](https://github.com/steffenix/yearn-vaults/issues/337) +* setEmergencyExit should allow to be called by vault guardian and vault management ([#300](https://github.com/steffenix/yearn-vaults/issues/300)) ([3db9ded](https://github.com/yearn/yearn-vaults/commits/3db9deded94c11b0536214be3fc1ac57b439212c)) +* test for double accounting on withdrawal los ([#267](https://github.com/steffenix/yearn-vaults/issues/267)) ([c8f0e5a](https://github.com/yearn/yearn-vaults/commits/c8f0e5a6a08600d5330088edd1054b5c2253584c)) + + +### Bug Fixes + +* affilaite token withdraw share value calc ([#270](https://github.com/steffenix/yearn-vaults/issues/270)) ([54bdc1b](https://github.com/yearn/yearn-vaults/commits/54bdc1b1a83a7fa40006b7b35c2f511c8ba3ebe8)) +* audit updates ([#284](https://github.com/steffenix/yearn-vaults/issues/284)) ([c818595](https://github.com/yearn/yearn-vaults/commits/c818595d1699077d20285c5fdd28ed2a9f564b6c)), closes [#281](https://github.com/steffenix/yearn-vaults/issues/281) [#279](https://github.com/steffenix/yearn-vaults/issues/279) [#283](https://github.com/steffenix/yearn-vaults/issues/283) [#277](https://github.com/steffenix/yearn-vaults/issues/277) +* baseStrategy doc ([#289](https://github.com/steffenix/yearn-vaults/issues/289)) ([73705dc](https://github.com/yearn/yearn-vaults/commits/73705dcf5b8c263cd858804cc61dbd88d4dd54e2)) +* comments in Vault.vy ([#314](https://github.com/steffenix/yearn-vaults/issues/314)) ([98e2bf7](https://github.com/yearn/yearn-vaults/commits/98e2bf707294438e3d69d69471b9de6f64367a65)) +* compute credit error ([#330](https://github.com/steffenix/yearn-vaults/issues/330)) ([fba599e](https://github.com/yearn/yearn-vaults/commits/fba599ec92f33b181e19f6c199aeccb7f2fb0a8d)) +* correct spelling and usage of degradation ([#338](https://github.com/steffenix/yearn-vaults/issues/338)) ([ba373fd](https://github.com/yearn/yearn-vaults/commits/ba373fd3fd0931ee0701f7036326cea49bbd1798)) +* deposit should not happen if amount is lower than price ([#312](https://github.com/steffenix/yearn-vaults/issues/312)) ([f7a6bf5](https://github.com/yearn/yearn-vaults/commits/f7a6bf53e133c9a39d867771c1a7d442b6488710)) +* inconsistent Liquidations in BaseStrategy Emergency Exit Mode ([#311](https://github.com/steffenix/yearn-vaults/issues/311)) ([6159b87](https://github.com/yearn/yearn-vaults/commits/6159b8727b520f7f4694b02d773a7ed0b6cc1c22)) +* missing param ([#286](https://github.com/steffenix/yearn-vaults/issues/286)) ([7ffbee8](https://github.com/yearn/yearn-vaults/commits/7ffbee8da7d7667ba08cc8bb8c2af0939246a96f)) +* prevent clone of clone ([#301](https://github.com/steffenix/yearn-vaults/issues/301)) ([7acbb4f](https://github.com/yearn/yearn-vaults/commits/7acbb4fc47e3e13c54d4df89e00614b2c6c2a238)) +* typo in package name ([564b0c0](https://github.com/yearn/yearn-vaults/commits/564b0c0943081aa50af5c7e4e20cef7c3b5b5a36)) +* update code snippet ([#293](https://github.com/steffenix/yearn-vaults/issues/293)) ([1a1f36c](https://github.com/yearn/yearn-vaults/commits/1a1f36c6789604fd339cf8395d49a8f08ddef55e)) From 1badc831be84332e275fd06a555594842fa0b523 Mon Sep 17 00:00:00 2001 From: steffel <2143646+steffenix@users.noreply.github.com> Date: Mon, 17 May 2021 13:57:28 +0200 Subject: [PATCH 2/2] chore: bump API_VERSION --- contracts/BaseStrategy.sol | 2 +- contracts/Vault.vy | 2 +- ethpm-config.yaml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/contracts/BaseStrategy.sol b/contracts/BaseStrategy.sol index 7b8261a7..de0eac0b 100644 --- a/contracts/BaseStrategy.sol +++ b/contracts/BaseStrategy.sol @@ -188,7 +188,7 @@ abstract contract BaseStrategy { * @return A string which holds the current API version of this contract. */ function apiVersion() public pure returns (string memory) { - return "0.3.5"; + return "0.4.0"; } /** diff --git a/contracts/Vault.vy b/contracts/Vault.vy index 2692d5ef..38bc6ea9 100644 --- a/contracts/Vault.vy +++ b/contracts/Vault.vy @@ -35,7 +35,7 @@ https://github.com/iearn-finance/yearn-vaults/blob/master/SPECIFICATION.md """ -API_VERSION: constant(String[28]) = "0.3.5" +API_VERSION: constant(String[28]) = "0.4.0" from vyper.interfaces import ERC20 diff --git a/ethpm-config.yaml b/ethpm-config.yaml index 66feb518..eedc5e2d 100644 --- a/ethpm-config.yaml +++ b/ethpm-config.yaml @@ -1,5 +1,5 @@ package_name: vault -version: 0.3.5 +version: 0.4.0 settings: deployment_networks: - mainnet