Summary
Added
- SRC9 (Outside Execution) integration to account presets (#1201)
SNIP12HashSpanImpl
toopenzeppelin_utils::cryptography::snip12
(#1180)- GovernorComponent with the following extensions: (#1180)
- GovernorCoreExecutionComponent
- GovernorCountingSimpleComponent
- GovernorSettingsComponent
- GovernorTimelockExecutionComponent
- GovernorVotesQuorumFractionComponent
- GovernorVotesComponent
is_tx_version_valid
utility function toopenzeppelin_account::utils
(#1224)
Changed
- Remove
mut
fromdata
param incompute_hash_on_elements
(#1206) - Remove
mut
fromcalls
param in__execute__
function of Account and EthAccount components (#1224) - Remove
mut
fromcalls
param in__validate__
function of Account and EthAccount components (#1224)
Changed (Breaking)
- Bump snforge_std to v0.34.0 (#1239)
- Bump scarb to v2.9.1 (#1239)
- The initializer in
OwnableComponent
now checks thatowner
is not the zero address (#1221) - Add
verifying_contract
member to theDelegation
struct used in Votesdelegate_by_sig
(#1214)
use crate::votes::VotesComponent::VotingUnitsTrait; - VotingUnitsTrait moved from
openzeppelin_governance::votes::votes
toopenzeppelin_governance::votes::VotesComponent
(#1214) - VestingComponent
release
function won't emit an event or attempt to transfer when the amount is zero (#1209) - Bump snforge_std to v0.33.0 (#1203)
Fixed
- Scarb manifest dependencies (#1249):
- Move
openzeppelin_utils
from dev dep to dep in governance manifest - Remove
openzeppelin_utils
as dep in access package - Change
openzeppelin_account
tocrate
insrc9.cairo
- Move
Full Changes List
- Release v0.19.0 by @immrsd in #1204
- Add src9 component to account presets by @ericnordelo in #1201
- Chore(deps): Bump crate-ci/typos from 1.27.2 to 1.27.3 by @dependabot in #1205
- Bump snforge, unignore tests by @andrew-fleming in #1203
- Minor improvements for the introspection module by @ericnordelo in #1210
- Minor improvements for the token module by @ericnordelo in #1208
- Minor improvements for the finance module by @ericnordelo in #1209
- Fix missing -m flag in git commit command Update CONTRIBUTING.md by @famouswizard in #1215
- Update README by @ericnordelo in #1216
- Minor improvements to testing package by @andrew-fleming in #1212
- Minor improvements to the merkle tree package by @andrew-fleming in #1213
- Minor governance module improvements plus adding veryfing_contract to Delegation by @ericnordelo in #1214
- Refactor Development Cycle Documentation for Clarity and Consistency by @donatik27 in #1217
- Update Merkle Tree documentation to use Pedersen hash function by @Hopium21 in #1220
- Chore(deps): Bump DavidAnson/markdownlint-cli2-action from 17.0.0 to 18.0.0 by @dependabot in #1219
- Bump scarb version to 2.8.5 by @ericnordelo in #1222
- Minor improvements to Utils package by @andrew-fleming in #1206
- Minor improvements to Upgrades package by @immrsd in #1225
- Clean up and small refactors to the access module by @ggonzalez94 in #1221
- Minor improvements to Account package by @immrsd in #1224
- Add Governor component by @ericnordelo in #1180
- Pre-release 0.20.0-rc.0 by @ericnordelo in #1227
- Chore(deps): Bump crate-ci/typos from 1.27.3 to 1.28.0 by @dependabot in #1231
- Update scarb version in docs by @ericnordelo in #1233
- Chore(deps): Bump crate-ci/typos from 1.28.0 to 1.28.1 by @dependabot in #1236
- Chore(deps): Bump crate-ci/typos from 1.28.1 to 1.28.2 by @dependabot in #1240
- Add Governor documentation by @ericnordelo in #1235
- Bump scarb to v2.9.1 by @andrew-fleming in #1239
- Fix transient deps by @andrew-fleming in #1249
- Add Governor to governance README by @ericnordelo in #1250
New Contributors
- @famouswizard made their first contribution in #1215
- @donatik27 made their first contribution in #1217
- @Hopium21 made their first contribution in #1220
Full Changelog: v0.19.0...v0.20.0