From c02751bedc5b4bc62ff1662411ac10aab5808477 Mon Sep 17 00:00:00 2001 From: Paul Razvan Berg Date: Wed, 20 Oct 2021 17:50:27 +0100 Subject: [PATCH] docs(protocol): roll v1.7.0 --- packages/protocol/CHANGELOG.md | 23 +++++++++++++++++++++++ packages/protocol/package.json | 2 +- 2 files changed, 24 insertions(+), 1 deletion(-) diff --git a/packages/protocol/CHANGELOG.md b/packages/protocol/CHANGELOG.md index 5f4922d9..2bcceba4 100644 --- a/packages/protocol/CHANGELOG.md +++ b/packages/protocol/CHANGELOG.md @@ -5,6 +5,28 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [1.7.0] - 2021-10-20 + +### Changed + +- Mark `@ethersproject/abi`, `@ethersproject/bytes` and `@ethersproject/providers` as normal deps instead of dev deps. +- Move types from `typechain` directory to `dist/types`. +- Rename `HToken__MaturityPast` custom error to `HToken__MaturityPassed`. +- Ship declaration maps and source maps with the npm package. +- Upgrade to `@paulrberg/contracts` v3.6.1. +- Upgrade to `ethers` v5.4.7. +- Upgrade to `prb-math` v2.4.0 and remove `prb-math.js` dev dep. +- Upgrade to Solidity v0.8.9. + +### Fixed + +- Compare collateral ceiling to contract balance in the `BalanceSheetV1` contract. +- Revert when the calculated underlying amount is zero in the `redeem` function in the `HToken` contract. + +## Removed + +- `artifacts` from npm package. + ## [1.6.0] - 2021-09-24 ### Added @@ -67,6 +89,7 @@ Versioning](https://semver.org/spec/v2.0.0.html). - Zero edge case in `getSeizableCollateralAmount` function. +[1.7.0]: https://github.com/hifi-finance/hifi/compare/@hifi/protocol@1.6.0...@hifi/protocol@1.7.0 [1.6.0]: https://github.com/hifi-finance/hifi/compare/@hifi/protocol@1.5.0...@hifi/protocol@1.6.0 [1.5.0]: https://github.com/hifi-finance/hifi/compare/@hifi/protocol@1.4.0...@hifi/protocol@1.5.0 [1.4.0]: https://github.com/hifi-finance/hifi/releases/tag/@hifi/protocol@1.4.0 diff --git a/packages/protocol/package.json b/packages/protocol/package.json index dcfccb4e..f69ad2e0 100644 --- a/packages/protocol/package.json +++ b/packages/protocol/package.json @@ -1,7 +1,7 @@ { "name": "@hifi/protocol", "description": "The core Hifi fixed-rate, fixed-term lending protocol", - "version": "1.6.0", + "version": "1.7.0", "author": { "name": "Hifi", "email": "contact@hifi.finance",