Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update other minor updates #40

Merged
merged 1 commit into from
Sep 24, 2024
Merged

Update other minor updates #40

merged 1 commit into from
Sep 24, 2024

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jun 1, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@nomicfoundation/hardhat-network-helpers (source) ^1.0.10 -> ^1.0.12 age adoption passing confidence
@openzeppelin/contracts (source) ^4.8.2 -> ^4.9.6 age adoption passing confidence
@types/chai (source) ^4.3.16 -> ^4.3.19 age adoption passing confidence
@types/mocha (source) >=9.1.1 -> >=10.0.8 age adoption passing confidence
chai (source) ^4.4.1 -> ^4.5.0 age adoption passing confidence
eslint (source) ^8.57.0 -> ^8.57.1 age adoption passing confidence
hardhat (source) ^2.22.3 -> ^2.22.12 age adoption passing confidence
prettier-plugin-solidity ^1.3.1 -> ^1.4.1 age adoption passing confidence
solidity-coverage ^0.8.12 -> ^0.8.13 age adoption passing confidence
ts-node (source) >=8.10.2 -> >=10.9.2 age adoption passing confidence
typescript (source) >=4.9.5 -> >=5.6.2 age adoption passing confidence

Release Notes

nomicfoundation/hardhat (@​nomicfoundation/hardhat-network-helpers)

v1.0.12

Compare Source

This release adds support for development on the ZKsync chain.

Changes
  • 8fa15e7: Added support for ZKsync's development mode.

v1.0.11

Compare Source

This release adds support for using network helpers on anvil network (thanks @​tmigone!)


💡 The Nomic Foundation is hiring! Check our open positions.


chaijs/chai (chai)

v4.5.0

Compare Source

eslint/eslint (eslint)

v8.57.1

Compare Source

nomiclabs/hardhat (hardhat)

v2.22.12: Hardhat v2.22.12

Compare Source

This release includes a refactor to our internal solidity tracing logic that should result in a ~10% performance improvement for many workloads.

v2.22.11: Hardhat v2.22.11

Compare Source

This release adds support for the latest solc versions (0.8.25, 0.8.26, and 0.8.27). Additionally, it includes bug fixes, documentation improvements, and dependency updates.

Changes
  • 601d543: Fixed a problem with provider events when provider.init was explicitly called before the first request.
  • 224159e: Added support for solc versions 0.8.25, 0.8.26, and 0.8.27
  • b43ed78: Added link to Ignition docs in sample projects
  • 07e0a9c: Hardhat node can now handle large response objects by streaming them.
  • 12d1980: Upgrade chokidar

💡 The Nomic Foundation is hiring! Check our open positions.


v2.22.10: Hardhat v2.22.10

Compare Source

This is a small bug fix release to improve debug logs during Hardhat Network initialization.

Changes
  • 409e99f: Fixed debug logs in Hardhat Network initialization process.
  • 46cd7a1: Removed the experimentalAddHardhatNetworkMessageTraceHook API

💡 The Nomic Foundation is hiring! Check our open positions.


v2.22.9: Hardhat v2.22.9

Compare Source

This is a small bug fix release remove a warning message against the local Hardhat node when deploying with Hardhat Ignition.

Changes
  • 6771f00: Do not send http_setLedgerOutputEnabled messages beyond the HTTP Provider to prevent unwanted warnings in the logs of the local hardhat node

💡 The Nomic Foundation is hiring! Check our open positions.


v2.22.8: Hardhat v2.22.8

Compare Source

This is a small bug fix release to resolve a bug with large responses from debug_traceTransaction.

Changes
  • f5d5d15: Fixed an issue with debug_traceTransaction when large responses were generated
  • 31d9d77: Upgraded EDR to v0.5.2

💡 The Nomic Foundation is hiring! Check our open positions.


v2.22.7: Hardhat v2.22.7

Compare Source

This releases add support for RIP-7212 (Precompile for secp256r1 Curve Support). See the Hardhat network reference for details on how to enable the precompile.

Changes


💡 The Nomic Foundation is hiring! Check our open positions.


v2.22.6: Hardhat v2.22.6

Compare Source

Changes


💡 The Nomic Foundation is hiring! Check our open positions.


v2.22.5: Hardhat v2.22.5

Compare Source

This release re-enables support for hardhat-tracer and adds limited support for blob transactions, along with performance improvements and bug fixes.

Changelog

  • f65dc7c: Improved the validation of network and forking URLs (thanks @​kshyun28!)
  • 5d46baa: Internal changes to allow hardhat-tracer to be re-enabled with Hardhat after the EDR upgrade
  • 6e36f3f: Bump EDR to v0.4.0. This adds support for eth_maxPriorityFeePerGas, limited support for blob transactions, improves performance and fixes some bugs. Check out the v0.4.0 EDR release and v0.3.8 EDR release for more details.

💡 The Nomic Foundation is hiring! Check our open positions.


v2.22.4: Hardhat v2.22.4

Compare Source

This release includes bug fixes, performance enhancements, and an improvement to the task system to support BigInt arguments.

Changelog

  • 22bcbf5: Added BigInt task argument type.
  • 2c533f0: Bumped EDR dependency to 0.3.7.
  • 3203639: Fixed an issue in the solidity source map decoding module.
  • 5d7a604: Fixed an issue with solc version selection.
  • 3c6de8f: Now solcjs is run in a subprocess, which leads to better error reporting and allows it to run multiple compilation jobs at the same time.
  • 6447e80: Improved performance by reducing back-and-forth with EDR when it's not necessary.

💡 The Nomic Foundation is hiring! Check our open positions.


prettier-solidity/prettier-plugin-solidity (prettier-plugin-solidity)

v1.4.1

Compare Source

@​pcaversaccio let us know that one of our formatting decisions was formatting an expected result so this was quickly reverted to the previous standard.

// Input
contract Comments {
    function ifElse() public {
        if (condition) {
            // ...
        } // Reason for else case
        else {
            // ...
        }
    }
}

// v1.4.0
contract Comments {
    function ifElse() public {
        if (condition) {
            // ...
        } else {
            // Reason for else case
            // ...
        }
    }
}

// v1.4.1
contract Comments {
    function ifElse() public {
        if (condition) {
            // ...
        } // Reason for else case
        else {
            // ...
        }
    }
}

v1.4.0

Compare Source

As we are preparing for a version 2.0.0 of this plugin there were a few tweaks in the formatting that we needed to address before proceeding forward.

Empty assembly blocks

// Input
contract Assembly {
    function assemblyEmptyBlocks() public {
        assembly {}
        assembly {
            for {} lt(x, y) {} {}
        }
    }
}

// v1.3.1
contract Assembly {
    function assemblyEmptyBlocks() public {
        assembly {

        }
        assembly {
            for {

            } lt(x, y) {

            } {

            }
        }
    }
}

// v1.4.0
contract Assembly {
    function assemblyEmptyBlocks() public {
        assembly {}
        assembly {
            for {} lt(x, y) {} {}
        }
    }
}

Assembly stack assignments

In versions of Solidity prior to v0.5.0 there was a syntax called stack assignment where the last value of the stack would be allocated to a variable. This statement is independent of what happens before it but in some cases the developer could write it in the same line as the last statement.
So far we have been formatting this in the same line as the previous statement but since in v2.0.0 we will have access to an AST much closer to the actual grammar of solidity, it makes more sense to keep it in a separate statement.

// Input
contract Assembly {
    function stackAssignment() public {
        assembly {
            4 =: y
        }
    }
}

// v1.3.1
contract Assembly {
    function assemblyEmptyBlocks() public {
        assembly {
            4 =: y
        }
    }
}

// v1.4.0
contract Assembly {
    function assemblyEmptyBlocks() public {
        assembly {
            4
            =: y
        }
    }
}

HexLiterals in multiple lines

Solidity allows to declare long HexLiterals as a list of HexLiterals separated by white space. The only reason for using this feature is to display said HexLiteral in multiple lines.

// Input
contract HexLiteral {
    bytes8 hex1 = hex'Dead' hex'Beef';
}

// v1.3.1
contract Assembly {
    bytes8 hex1 = hex'Dead' hex'Beef';
}

// v1.4.0
contract Assembly {
    bytes8 hex1 =
        hex'Dead'
        hex'Beef';
}

Modifier Definitions and Function TypeNames

These 2 cases should format in the same way a function definition does but they remained with separate behaviours.

// Input
contract ModifierDefinitions {
   modifier long() override(Foo , Bar, Baz, Very, VeryVery, VeryLong, OverrideList) { _; }
   modifier threeParams(uint a, uint b, uint c) {}
}

// v1.3.1
contract ModifierDefinitions {
   modifier long()
       override(
           Foo,
           Bar,
           Baz,
           Very,
           VeryVery,
           VeryLong,
           OverrideList
       ) {
       _;
   }
   modifier threeParams(
       uint a,
       uint b,
       uint c
   ) {}
}

// v1.4.0
contract ModifierDefinitions {
   modifier long()
       override(
           Foo,
           Bar,
           Baz,
           Very,
           VeryVery,
           VeryLong,
           OverrideList
       )
   {
       _;
   }
   modifier threeParams(uint a, uint b, uint c) {}
}
// Input
contract FunctionTypeNames {
   struct StructWithFunctionTypes {
       function(bytes32, bytes32, bytes32, bytes32, bytes32, bytes32) internal view[] d;
   }
}

// v1.3.1
contract FunctionTypeNames {
   struct StructWithFunctionTypes {
       function(bytes32, bytes32, bytes32, bytes32, bytes32, bytes32)
           internal
           view[] d;
   }
}

// v1.4.0
contract FunctionTypeNames {
   struct StructWithFunctionTypes {
       function(
           bytes32,
           bytes32,
           bytes32,
           bytes32,
           bytes32,
           bytes32
       ) internal view[] d;
   }
}

There are no comments for the else keyword

As we moved into v2.0.0 we got to review many of the formatting prettier inspired us that were in the backlog.
This particular decision had already been changed prettier and we base our work on old code released by prettier. @​pcaversaccio very diligently let us notice that this could not be reproduced in prettier, therefore it was quickly reverted in v1.4.1

// Input
contract Comments {
    function ifElse() public {
        if (condition) {
            // ...
        } // Reason for else case
        else {
            // ...
        }
    }
}

// v1.3.1
contract Comments {
    function ifElse() public {
        if (condition) {
            // ...
        } // Reason for else case
        else {
            // ...
        }
    }
}

// v1.4.0
contract Comments {
    function ifElse() public {
        if (condition) {
            // ...
        } else {
            // Reason for else case
            // ...
        }
    }
}
sc-forks/solidity-coverage (solidity-coverage)

v0.8.13

Compare Source

🐛 Bug Fixes

This release fixes a bug that caused the plugin to error when used with hardhat-viem in combination with a forked network.

What's Changed

New Contributors

Full Changelog: sc-forks/solidity-coverage@v0.8.12...v0.8.13

microsoft/TypeScript (typescript)

v5.6.2

Compare Source

v5.5.4: TypeScript 5.5.4

Compare Source

For release notes, check out the release announcement.

For the complete list of fixed issues, check out the

Downloads are available on:

v5.5.3: TypeScript 5.5.3

Compare Source

For release notes, check out the release announcement.

For the complete list of fixed issues, check out the

Downloads are available on:

v5.5.2: TypeScript 5.5

Compare Source

For release notes, check out the release announcement.

For the complete list of fixed issues, check out the

Downloads are available on:


Configuration

📅 Schedule: Branch creation - "before 10am on the first day of the month" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot requested a review from bdrhn9 June 1, 2024 03:03
@renovate renovate bot force-pushed the renovate/other-minor-updates branch 2 times, most recently from 96c5c6e to bc16014 Compare June 6, 2024 07:15
@renovate renovate bot force-pushed the renovate/other-minor-updates branch 4 times, most recently from 1351177 to 65ab7b6 Compare June 22, 2024 12:01
@renovate renovate bot force-pushed the renovate/other-minor-updates branch 2 times, most recently from fcfdffb to 59d57d8 Compare July 1, 2024 22:14
@renovate renovate bot force-pushed the renovate/other-minor-updates branch 2 times, most recently from 965e734 to f0c838f Compare July 25, 2024 16:31
@renovate renovate bot force-pushed the renovate/other-minor-updates branch 2 times, most recently from a5088a7 to d1173fa Compare August 1, 2024 23:44
@renovate renovate bot force-pushed the renovate/other-minor-updates branch from d1173fa to e40f4db Compare August 7, 2024 13:18
@renovate renovate bot force-pushed the renovate/other-minor-updates branch 3 times, most recently from a751875 to 9ab2aab Compare August 21, 2024 10:35
@renovate renovate bot force-pushed the renovate/other-minor-updates branch 3 times, most recently from 53a9149 to 7040e9e Compare August 29, 2024 07:14
@renovate renovate bot force-pushed the renovate/other-minor-updates branch from 7040e9e to 55f513a Compare September 2, 2024 13:26
@renovate renovate bot force-pushed the renovate/other-minor-updates branch 3 times, most recently from 3bddc77 to 77abc94 Compare September 16, 2024 15:52
@renovate renovate bot force-pushed the renovate/other-minor-updates branch 2 times, most recently from 4a27dca to ddb55b9 Compare September 24, 2024 15:11
@renovate renovate bot force-pushed the renovate/other-minor-updates branch from ddb55b9 to 98d373d Compare September 24, 2024 15:26
@bdrhn9 bdrhn9 merged commit 8958d16 into main Sep 24, 2024
1 check passed
@bdrhn9 bdrhn9 deleted the renovate/other-minor-updates branch September 24, 2024 15:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant