Releases: usecannon/cannon
v2.19.0
What's Changed
- fix(cli): add private source code notice by @mjlescano in #1441
- chore(cli): remove
--preset
flag by @saeta-eth in #1425 - fix(cli): private source code message by @mjlescano in #1442
- docs: update provider url deprecation warning by @mjlescano in #1470
- fix(docs): context documentation by @mjlescano in #1459
- fix(cli): update decode/trace documentation and logging by @mjlescano in #1433
- test(repo): add tests for repo package by @mjlescano in #1479
- fix(cli): wipe should not try to find the package in ipfs by @saeta-eth in #1475
- feat(cli): --write-script-format has foundry option by @saeta-eth in #1477
- feat(router): CAN-596 add web-solc to compile on browser by @mjlescano in #1481
- fix(cli): Incorrect display of
privateSourceCode
in CLI output by @saeta-eth in #1487 - hotfix(builder): update @usecannon/router to fix dependency by @mjlescano in #1500
- chore(builder): switch to Viem's setCode for Ganache by @saeta-eth in #1496
- chore(cli): rename
setupAnvil
in favor ofensureFoundryCompatibility
by @saeta-eth in #1482 - chore(cli): refactor
configureSigners
function by @saeta-eth in #1483 - feat(cli): add --skip-upgrade-record flag by @mjlescano in #1526
Full Changelog: v2.18.4...v2.19.0
v2.18.3
What's Changed
- fix(cli): add private source code notice by @mjlescano in #1441
- fix(cli): Fix e2e tests by @saeta-eth in #1450
- chore(cli): remove
--preset
flag by @saeta-eth in #1425 - fix(build): add clean command before build by @mjlescano in #1445
- fix(website): CAN-574 queueInput support for ipfs://qm by @nicosampler in #1447
- fix(website): CAN-540 safe tx service input. by @nicosampler in #1444
- fix(website): CAN-466 safeInputAddress by @nicosampler in #1410
- fix(builder): correctly parse accesses on config.target for invoke steps by @mjlescano in #1465
- fix(cli): private source code message by @mjlescano in #1442
- docs: update provider url deprecation warning by @mjlescano in #1470
- fix(website): CAN-569 by @nicosampler in #1466
- fix(website): CAN-582 by @nicosampler in #1469
- fix(website): CAN-584 by @nicosampler in #1472
- fix(website): CAN-502 - safes from custom chains by @nicosampler in #1463
- hotfix(website): use builder provided rpcs for registry requests by @mjlescano in #1476
- fix(docs): context documentation by @mjlescano in #1459
- fix(website): existing contract deployment by @mjlescano in #1446
- fix(cli): update decode/trace documentation and logging by @mjlescano in #1433
- test(repo): add tests for repo package by @mjlescano in #1479
- fix(cli): wipe should not try to find the package in ipfs by @saeta-eth in #1475
- fix(website): CAN-590 by @nicosampler in #1480
- feat(cli): --write-script-format has foundry option by @saeta-eth in #1477
- fix(website): CAN-592 by @nicosampler in #1484
- feat(router): CAN-596 add web-solc to compile on browser by @mjlescano in #1481
- fix(cli): Incorrect display of
privateSourceCode
in CLI output by @saeta-eth in #1487 - fix(website): handle array values in interact by @saeta-eth in #1490
- fix(website): CAN-602 by @nicosampler in #1489
Full Changelog: v2.18.2...v2.18.3
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