Releases: PaulRBerg/prb-proxy
Releases · PaulRBerg/prb-proxy
v4.0.2
Changed
- Install
prb-test
andforge-std
as Node.js packages (#179) (@andreivladbrg, @PaulRBerg) - Make Node.js the default installation option (@PaulRBerg)
- Update import paths to include
src
(#179) (@PaulRBerg) - Use Solidity v0.8.23 (#182) (@PaulRBerg)
Added
- Include
test/utils
in Node.js package (#179) (@andreivladbrg, @PaulRBerg)
Removed
- Remove git submodules (#179) (@andreivladbrg, @PaulRBerg)
v4.0.1
Changed
- Improve documentation (#163) (@PaulRBerg, @IaroslavMazur)
- Rename
noProxy
toonlyNonProxyOwner
(#165) (@PaulRBerg, @IaroslavMazur) - Rename
owner
parameter touser
(#165) (@PaulRBerg, @IaroslavMazur)
Removed
- Remove unused errors (#164) (@PaulRBerg, @IaroslavMazur)
v4.0.0
Changed
- Breaking: Merge the registry and the factory (#81) (@PaulRBerg)
- Breaking: Rename
getCurrentProxy
togetProxy
(@PaulRBerg) - Breaking: Simplify the envoy permission system (#72) (@PaulRBerg)
- Breaking: Use
owner
instead oftx.origin
as CREATE2 salt (#130) (@PaulRBerg) - Bump Solidity pragmas (@PaulRBerg)
- Change license to MIT (#49) (@PaulRBerg)
- Rename custom errors to use single underscore (b954b5) (@PaulRBerg)
- Improve formatting and documentation (@PaulRBerg)
- Lower pragma to
>=0.8.4
in interface files (46a34c) (@PaulRBerg) - Make the
owner
an immutable variable (#120) (@PaulRBerg) - Make
VERSION
a string (699f76) (@PaulRBerg) - Reduce deployment size by setting optimizer runs to 200 (c2f955) (@PaulRBerg)
Added
- Add ability to deploy a proxy and execute a delegate call to a target in a single transaction (@PaulRBerg)
- Add ASCII art (@PaulRBerg)
- Add plugin system (#53) (@cleanunicorn, @PaulRBerg)
- Emit event in
setPermission
(b277fd) (@PaulRBerg) - Provide testing utilities for deploying precompiled bytecodes (@PaulRBerg)
- Store the registry address as an immutable variable in the proxy (@PaulRBerg)
Removed
- Breaking: Remove
PRBProxyFactory
contract (#81) (@PaulRBerg) - Breaking: Remove proxy storage (#120) (@PaulRBerg)
- Breaking: Remove
transferOwnership
functionality (#119) (@PaulRBerg)
Fixed
- Fix bug that permitted unintentional calls to fallback functions (#50) (@PaulRBerg)
v4.0.0-beta.6
Changed
- Change
proxies
getter togetProxy
(#100) (@PaulRBerg) - Improve documentation in NatSpec comments (@PaulRBerg)
- Make the registry in charge of plugins (#120) (@PaulRBerg)
- Make the
owner
an immutable variable (#120) (@PaulRBerg) - Rename
methodList
tomethods
(@PaulRBerg) - Use
owner
instead oftx.origin
as CREATE2 salt (#130) (@PaulRBerg)
Added
- Add
deployAndExecuteAndInstallPlugin
function (#134) (@PaulRBerg) - Add
deployAndInstallPlugin
function (#131) (@PaulRBerg) - Add new getters for reading the plugins and the permissions (#120) (@PaulRBerg)
- Store plugin methods in reverse mapping (#131) (@PaulRBerg)
Removed
- Remove
deployAndExecuteFor
function (#113) (@PaulRBerg) - Remove
minGasReserve
storage variable (#114) (@PaulRBerg) - Remove
nextSeeds
storage variable (#130) (@PaulRBerg) - Remove
PRBProxyAnnex
(#120) (@PaulRBerg) - Remove proxy storage (#120) (@PaulRBerg)
- Remove
transferOwnership
functionality (#119) (@PaulRBerg)
Fixed
- Check for plugin method collisions (#129) (@PaulRBerg)
v4.0.0-beta.5
Changed
- Change key name in
nextSeeds
(@PaulRBerg) - Simplify nesting structure in
script
(@PaulRBerg) - Revert with reason strings in precompiles (@PaulRBerg)
- Various small improvements (@PaulRBerg)
- Use relative paths in imports in
script
andtest
(@PaulRBerg)
v4.0.0-beta.4
Changed
- Bump pragma in scripts to
>=0.8.19
(@PaulRBerg) - Change license of test utils to MIT (@PaulRBerg)
- Improve documentation (@PaulRBerg)
- Improve names of custom errors and functions (@PaulRBerg)
- Inherit storage in plugin (#92) (@PaulRBerg)
- Move
PRBProxyStorage
tosrc/abstracts
(@PaulRBerg) - Provide default mnemonic in base script (@PaulRBerg)
- Rename
PRBProxyHelpers
toPRBProxyAnnex
(#96) (@PaulRBerg) - Replace getters with public mappings (@PaulRBerg)
- Switch order of return parameters in the
run
function of scripts (@PaulRBerg) - Use named parameter in error reverts (@PaulRBerg)
Added
- Add ASCII art (@PaulRBerg)
- Add
SablierV2ProxyPlugin
abstract (#92) (@PaulRBerg) - Provide testing utilities for deploying precompiled bytecodes (@PaulRBerg)
Removed
- Remove development-related Node.js dependencies (@PaulRBerg)
- Remove problematic src/=src/ remapping (@PaulRBerg)
Fixed
- Use constructor instead of
setUp
function in base script (@PaulRBerg)
v4.0.0-beta.3
Changed
- Improve documentation (@PaulRBerg)
- Make
permissions
andplugins
mappings public (#84) (@andreivladbrg) - Reorder storage variables (
d86514
) (@PaulRBerg)
Added
- Add
IRPProxyStorage
interface (#84) (@andreivladbrg)
Removed
- Remove getters
getPermission
andgetPluginForMethod
(#84) (@andreivladbrg)
v4.0.0-beta.2
Changed
- Merge the registry and the factory (#81) (@PaulRBerg)
- Rename
deployer
tooperator
(#81) (@PaulRBerg) - Set the owner via the
transientProxyOwner
storage variable (#81) (@PaulRBerg) - Transfer ownership via the registry (#81) (@PaulRBerg)
- Bump submodules (@PaulRBerg)
- Improve documentation (@PaulRBerg)
- Make
VERSION
a string (699f76) (@PaulRBerg)
Added
- Add
OpenZeppelin/openzeppelin-contracts
submodule
Removed
- Breaking: Remove
PRBProxyFactory
contract (#81) (@PaulRBerg) - Remove
PaulRBerg/prb-contracts
submodule
v4.0.0-beta.1
Changed
- Change license to MIT (#49) (@PaulRBerg)
- Format contracts with Forge Formatter (@PaulRBerg)
- Improve documentation (@PaulRBerg)
- Improve formatting (@PaulRBerg)
- Improve names of custom errors, events, and functions (@PaulRBerg)
- Lower pragma to
>=0.8.4
in interface files (46a34c) (@PaulRBerg) - Mark factory as immutable (bcc8aa) (@PaulRBerg)
- Move interface files in a nested directory (b954b5) (@PaulRBerg)
- Move the
setPermission
function to an enshrined target contract (3f5794) (@PaulRBerg) - Reduce deployment size by setting optimizer runs to 200 (c2f955) (@PaulRBerg)
- Rename custom errors to use single underscore (b954b5) (@PaulRBerg)
- Simplify the envoy permission system (#72) (@PaulRBerg)
- Update pragmas (@PaulRBerg)
- Use named arguments in function calls (@PaulRBerg)
Added
- Add
deployAndExecute
functions (ce9d29) (@PaulRBerg) - Add enshrined target contract
PRBProxyHelpers
(4ca1c9) (@PaulRBerg) - Add plugin system and fallback function (#53) (@cleanunicorn, @PaulRBerg)
- Add storage contract that replicates the storage layout of the proxy (1449da) (@PaulRBerg)
- Emit event in
setPermission
(b277fd) (@PaulRBerg) - Re-implement the
setMinGasReserve
function in the enshrined target (e6fdfb) (@PaulRBerg)
Fixed
- Fix bug that permitted unintentional calls to fallback functions (#50) (@PaulRBerg)
v2.0.0
Changed
- Change the package name from
prb-proxy
to@prb/proxy
(@PaulRBerg) - Change the extension for types from
.d.ts
to.ts
(@PaulRBerg) - Upgrade to latest versions of
ethers
(@PaulRBerg) - Upgrade to Solidity v0.8.12 (@PaulRBerg)
- Use modern Solidity
create2
instead of inline assembly (#20)
(@transmissions11) - Use modern Solidity
target.code.length
instead of inline assembly (@PaulRBerg)
(#19) (@transmissions11)
Added
- Add support for Avalanche (@PaulRBerg)
Fixed
- Fix old owner address in
TransferOwnership
(#29 (@PaulRBerg)
Removed
- Remove the
setMinGasReserve
function (@PaulRBerg)