Skip to content

Commit

Permalink
docs(protocol): roll v1.7.0
Browse files Browse the repository at this point in the history
  • Loading branch information
PaulRBerg committed Oct 20, 2021
1 parent 5247b5d commit c02751b
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 1 deletion.
23 changes: 23 additions & 0 deletions packages/protocol/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
2 changes: 1 addition & 1 deletion packages/protocol/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down

0 comments on commit c02751b

Please sign in to comment.