Releases: usecannon/cannon
v2.18.2
What's Changed
- fix(cli): forge test param with fork-url by @mjlescano in #1449
- feat(website): improve deploy tab styles by @noahlitvin in #1462
Full Changelog: v2.18.1...v2.18.2
v2.18.1
What's Changed
- fix(cli): forge test param with fork-url by @mjlescano in #1449
Full Changelog: v2.18.0...v2.18.1
v2.18.0
-
Partial Build Detection - To streamline deployments that involve upgrading existing deployments and multiple signers (EOAs for contract deployments, multisigs for configuration changes, etc.), Cannon now automatically records the completed deployment state securely on-chain.
To enable this feature, specify deployer addresses at the top of your cannonfile:deployers = ["0xabcd...", "0xefgh...."]
This list will be used to find the previous deployment data by scanning an onchain database with these deployers. (It doesn't impact other aspects of deployment.) -
Web App Contract Deployment - If a deployment involves smart contracts from a cloned package, this can now be executed in the web app (no long requiring a partial build using the CLI).
-
Explicit Dependency Detection - Cannon will now explicitly error if a dependency has not been found in nearly every case (rather than silently ignoring which it had done up to this point). If you notice this error after upgrading, you should correct these missing dependencies or explicitly set an empty value.
What's Changed
- fix(ci): update branches actions execution by @mjlescano in #1380
- feat(builder): error when a dependency input cannot be found. by @dbeal-eth in #1360
- feat: automataic versioning by @dbeal-eth in #1361
- chore(hotfix): add
--no-request-limit
to default anvil options by @mjlescano in #1382 - fix(builder): ctx timestamp type by @mjlescano in #1383
- fix(website): only render tooltip on numbers 256 and 128 by @mjlescano in #1359
- fix(website): protocol fallback by @mjlescano in #1384
- fix(website): interact by @nicosampler in #1377
- fix(website): CAN-503. by @nicosampler in #1394
- fix(cli): cypress binary was missing by @saeta-eth in #1395
- fix(website): Decode function revert errors in web app by @FuzzB0t in #1369
- feat(cli): Support
--anvil.*
flags by @saeta-eth in #1358 - feat(cli): Support
--forge.*
flags by @saeta-eth in #1385 - fix(gitops): remove breaking re-renders by @mjlescano in #1396
- fix(website): useSafeTransactionStatus also uses new safe abi by @saeta-eth in #1397
- feat(cli): clean unused deps by @dbeal-eth in #1399
- chore(release): v2.18.0-alpha.0 by @mjlescano in #1403
- fix(cli): publish command using ipfs hash by @saeta-eth in #1398
- chore: add branch name validations by @mjlescano in #1400
- fix(cli): correct chain id handling in publish command when using package reference by @saeta-eth in #1407
- fix(ci): branch check message by @mjlescano in #1411
- fix(publish): chain id setup backmerge by @mjlescano in #1412
- chore(ci): remove upload to ipfs from pull requests by @mjlescano in #1414
- fix(cli): decode instability by @saeta-eth in #1415
- fix(build): remove NX by @mjlescano in #1413
- fix(builder): remove constructor from router abi by @saeta-eth in #1417
- feat(cli): Enhance CLI command help by @saeta-eth in #1418
- fix: Alpha 2.18 deploy by @mjlescano in #1420
- chore(release): backmerge alpha to dev by @mjlescano in #1421
- docs: add forge options by @saeta-eth in #1423
- fix(ci): allow branch name validation with uppercase letters by @mjlescano in #1432
- fix(website): CAN-560 by @nicosampler in #1424
- chore(release): v2.18.0-alpha.1 by @mjlescano in #1434
- chore(deps): update viem by @saeta-eth in #1436
- feat(website): add snaxchain color by @noahlitvin in #1419
- fix(buidler): foundry build issues by @mjlescano in #1439
Full Changelog: v2.17.4...v2.18.0
v2.17.3
What's Changed
- fix(publish): chain id setup by @mjlescano in #1408
Full Changelog: v2.17.2...v2.17.3
v2.17.2
What's Changed
- chore(stable): release v2.17.1 by @mjlescano in #1375
- fix(website): CAN-519 wallet disconnection on page change by @nicosampler in #1374
- feat(website): add search input in interact dropdown extra contracts by @nicosampler in #1363
- feat(website): add safe transaction status hook by @saeta-eth in #1371
- fix(website): gitops deployment was missing chainId by @mjlescano in #1378
- add
--no-request-size-limit
to default anvil options by @dbeal-eth in #1379
Full Changelog: v2.17.1...v2.17.2
v2.17.1
What's Changed
- chore(release): 2.17.0 by @mjlescano in #1349
- chore(package): add repository key to package.json files by @mjlescano in #1350
- fix(inspect): debug info by @mjlescano in #1352
- feat(cli): run end-to-end tests in parallel by @saeta-eth in #1353
- fix: use pnpm in some places where it is not used by @saeta-eth in #1356
- feat(website): CAN-479 - Refactor custom providers by @nicosampler in #1331
- chore(cli): add debug level util function by @saeta-eth in #1355
- fix(website): misc by @dbeal-eth in #1339
- fix(website): Display all contracts in a package in deployments tab by @FuzzB0t in #1354
- fix(cli): Refactor pin command by @FuzzB0t in #1320
- feat(website): use custom providers when forking by @nicosampler in #1365
- fix(website): CAN-493 switch chain instead of sign by @nicosampler in #1362
- chore(website): pin stable to 2.17.0 by @mjlescano in #1366
- fix(website): publish box render by @mjlescano in #1368
- fix(website): Sorting contracts in interact page alphabetically by @FuzzB0t in #1370
- feat(website): CAN-474 link to navigate to a package. by @nicosampler in #1357
- fix(cli): settings lost their memoized values by @saeta-eth in #1367
- feat(create2): allow to set ifExists = "continue" by @mjlescano in #1372
- fix(website): explore page scroll by @mjlescano in #1373
Full Changelog: v2.17.0...v2.17.1
v2.17.0
What's Changed
- chore(release): 2.16.7 by @mjlescano in #1343
- chore: migrate to pnpm by @mjlescano in #1313
- fix: Reverting changes to create2 deploy by @FuzzB0t in #1332
- fix(builder): when specifying artifact and abiOf, prioritize abiOf by @dbeal-eth in #1345
- chore(release): v2.16.8 by @mjlescano in #1347
- fix(builder): create2 revert handling & depends by @mjlescano in #1348
Full Changelog: v2.16.7...v2.17.0
v2.16.7
What's Changed
- chore(website): type getPackage using the API types by @nicosampler in #1307
- fix(cli): use a fixed version on the decode e2e tests by @saeta-eth in #1341
- fix(cli): Fix frame connection with unknown chain by @saeta-eth in #1340
- fix(cli): change RPC to publish packages by @saeta-eth in #1342
- fix(cli): display of IPFS loader label by @saeta-eth in #1323
- fix(builder): Error passthrough on rpc errors by @FuzzB0t in #1324
Full Changelog: v2.16.6...v2.16.7
v2.16.6
What's Changed
- chore(release): 2.16.5 by @mjlescano in #1322
- feat(cli):
cannon decode
supports transaction hash by @saeta-eth in #1319 - fix(website): Add null check to variable on txn display by @FuzzB0t in #1325
- fix(builder): Remove the throw error when the contract is already deployed by @saeta-eth in #1327
- fix(cli): typo fix by @noahlitvin in #1326
Full Changelog: v2.16.5...v2.16.6
v2.16.5
What's Changed
- chore: release v2.16.4 by @saeta-eth in #1309
- refactor(cli): deprecate
--provider-url
for--rpc-url
by @saeta-eth in #1242 - fix(cli): normalize pk when prompted by @saeta-eth in #1310
- fix(website): Fix unknown chain bug in package page by @FuzzB0t in #1300
- chore(ci): add ipfs cache to e2e tests by @mjlescano in #1308
- feat(cli):
cannon diff
command by @dbeal-eth in #1261 - fix(cli): remove
--fork-url
and similar from build command by @dbeal-eth in #1290 - chore: release v2.16.5-alpha.0 by @saeta-eth in #1314
- feat(builder): change behavior of create2 to fail on existing contract by @dbeal-eth in #1291
- feat(builder): add immutable capability to diamond proxy by @dbeal-eth in #1281
- fix: misc medium priority fixes by @dbeal-eth in #1292
- fix: a number of issues with cannon settings handling by @dbeal-eth in #1315
- chore: fix package-lock by @mjlescano in #1316
- chore: Add dependabot config recommendation to readme by @FuzzB0t in #1312
- fix(builder): Default address warning only on live builds by @FuzzB0t in #1311
- fix(website): Use Ipfs reference for partial deploy on web by @FuzzB0t in #1305
- fix(website): default to upgrade from when prev package found by @FuzzB0t in #1318
- feat(website): improve run box by @noahlitvin in #1284
- fix(builder): Let interpolated strings include other strings by @FuzzB0t in #1317
Full Changelog: v2.16.4...v2.16.5