Skip to content

Latest commit

 

History

History
141 lines (89 loc) · 4.3 KB

CHANGELOG.md

File metadata and controls

141 lines (89 loc) · 4.3 KB

Changelog

All notable changes to this project will be documented in this file.

The format is based on Common Changelog, and this project adheres to Semantic Versioning.

5.0.6 - 2023-04-13

Changed

  • Bump submodules (@PaulRBerg)
  • Bump Node.js dependencies (@PaulRBerg)
  • Improve writing in comments (@PaulRBerg)

Removed

  • Remove rimraf Node.js dependency (@PaulRBerg)

5.0.5 - 2023-03-17

Removed

  • Remove problematic src/=src/ remapping (#41) (@PaulRBerg)

5.0.4 - 2023-03-17

Changed

  • Bump submodules (@PaulRBerg)

5.0.3 - 2023-03-03

Changed

  • Bump submodules (@PaulRBerg)
  • Format contracts with forge fmt (@PaulRBerg)
  • Improve documentation (@PaulRBerg)

5.0.2 - 2023-02-07

Fixed

  • Delete stale prb-math submodule (@PaulRBerg)

5.0.1 - 2023-02-06

Fixed

  • Fix installation in Node.js projects with pinst (@PaulRBerg)

5.0.0 - 2023-02-06

Changed

  • Change license to MIT (@PaulRBerg)
  • Delete the "_" prefix from admin functions (@PaulRBerg)
  • Improve custom error and function parameter names (@PaulRBerg)
  • Improve documentation (@PaulRBerg)
  • Improve formatting by running the latest Prettier plugin (@PaulRBerg)
  • Improve wording and grammar in NatSpec comments (@PaulRBerg)
  • Move contracts to src directory (@PaulRBerg)
  • Perform approval before transfer in transferFrom (@PaulRBerg)
  • Refactor amount to value in the approve function of the ERC20 contract (@PaulRBerg)
  • Refactor the NonStandardERC20 contract to NonCompliantERC20 (@PaulRBerg)
  • Refactor nonRecoverableTokens to tokenDenylist in ERC20Recover (@PaulRBerg)
  • Optimize calculations in the approve, burn, and mint functions of the ERC20 contract (@PaulRBerg)
  • Use named arguments in function calls (@PaulRBerg)

Added

  • Add new contract Adminable, which supersedes Ownable (@PaulRBerg)
  • Add new contract ERC20Normalizer (@PaulRBerg)

Removed

  • Remove PRBMath re-exports (@PaulRBerg)
  • Remove Ownable contract (@PaulRBerg)
  • Remove GodModeERC20 contract (@PaulRBerg)

4.1.1 - 2022-04-06

Fixed

  • Implement the constructor in the NonStandardERC20 contract (@PaulRBerg)

4.1.0 - 2022-04-06

Added

  • Add burn and mint methods in the NonStandardERC20 contract (@PaulRBerg)
  • Add a new contract ERC20GodMode that replicates GodModeERC20 (@PaulRBerg)

4.0.0 - 2022-04-04

Changed

  • Refactor the Erc prefix into ERC in all ERC-20 references (#25) (@PaulRBerg)

Removed

  • The Admin and IAdmin contracts and their related bindings (@PaulRBerg)

3.9.0 - 2022-04-03

Changed

  • Define the custom errors in the smart contract interface files (@PaulRBerg)

3.8.1 - 2022-03-11

Fixed

  • Include CHANGELOG, LICENSE and README in the package shipped to npm (@PaulRBerg)

3.8.0 - 2022-03-08

Changed

  • Change the package name from @PaulRBerg/contracts to @prb/contracts (@PaulRBerg)
  • Switch from prb-math package to @prb/math (@PaulRBerg)
  • Update links in README and package.json files (@PaulRBerg)

Fixed

  • Fix the EIP-2612 permit typehash (#24) (@surbhiaudichya)