Skip to content

chore(deps-dev): bump prettier-plugin-solidity from 1.0.0-beta.6 to 1.0.0-rc.1#259

Closed
dependabot[bot] wants to merge 1 commit intomasterfrom
dependabot/npm_and_yarn/prettier-plugin-solidity-1.0.0-rc.1
Closed

chore(deps-dev): bump prettier-plugin-solidity from 1.0.0-beta.6 to 1.0.0-rc.1#259
dependabot[bot] wants to merge 1 commit intomasterfrom
dependabot/npm_and_yarn/prettier-plugin-solidity-1.0.0-rc.1

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github Nov 7, 2022

Bumps prettier-plugin-solidity from 1.0.0-beta.6 to 1.0.0-rc.1.

Release notes

Sourced from prettier-plugin-solidity's releases.

v1.0.0-rc.1

This is our first release candidate for a stable v1.0.0!

This version includes some significant changes:

  • We removed the explicitTypes option, since we believe that this belongs to a linter. The behavior now is the same one that you would get if using explicitTypes: "preserve", meaning that we'll never convert an uint to an uint256 or vice versa.
  • In previous versions, the parameters of a function definition would always be split if there were more than two of them. Starting now, we only split them if the line doesn't fit in line-width. Plus, the way this works is that first the parameters are split, then the modifiers (if they also don't fit in a single line), and finally the return parameters (also only if they don't fit).
  • The exponentiation operator (**) now has spaces around it. This is more consistent with other operators, and it looks better for long variable names (that is, base ** decimals is better than base**decimals). We do know that this is not as nice for some cases (2 ** 10), but we are erring on the side of consistency and a better worst-case scenario.

As an example, a function like this:

contract Foo {
  function f(uint x, uint y, uint z) mod1 mod2 { x**y**z; }
}

would be formatted in the previous version like this:

contract Foo {
    function f(
        uint256 x,
        uint256 y,
        uint256 z
    ) mod1 mod2 {
        x**y**z;
    }
}

and now it will be formatted like this:

contract Foo {
    function f(uint x, uint y, uint z) mod1 mod2 {
        x ** y ** z;
    }
}

Please upgrade to the latest version and let us if you find any issues!

v1.0.0-dev.22

This new release provides some bug fixes and new formatting added by solidity.

#643 #683 #685 #693

... (truncated)

Commits
  • 3e61cab Bump to 1.0.0-rc.1
  • 84a4c9c Merge pull request #752 from prettier-solidity/cleaning_AssemblyAssignment
  • 642bb7e Changing function's name
  • f692f67 removing unnecessary join
  • 1f7caa4 Upgrade parser and fix several issues (#750)
  • 5af6a55 Add spaces around exponentiation operator (#751)
  • 51805d6 Bump jest from 29.2.1 to 29.2.2 (#749)
  • 6b56883 Bump eslint from 8.25.0 to 8.26.0 (#748)
  • 0cc0d10 Merge pull request #746 from prettier-solidity/dependabot/npm_and_yarn/jest-2...
  • a62d6d6 Merge pull request #744 from prettier-solidity/dependabot/npm_and_yarn/eslint...
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [prettier-plugin-solidity](https://github.com/prettier-solidity/prettier-plugin-solidity) from 1.0.0-beta.6 to 1.0.0-rc.1.
- [Release notes](https://github.com/prettier-solidity/prettier-plugin-solidity/releases)
- [Commits](prettier-solidity/prettier-plugin-solidity@v1.0.0-beta.6...v1.0.0-rc.1)

---
updated-dependencies:
- dependency-name: prettier-plugin-solidity
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Nov 7, 2022
@codecov
Copy link
Copy Markdown

codecov Bot commented Nov 7, 2022

Codecov Report

Base: 100.00% // Head: 100.00% // No change to project coverage 👍

Coverage data is based on head (e7e2362) compared to base (f586dac).
Patch has no changes to coverable lines.

Additional details and impacted files
@@            Coverage Diff            @@
##            master      #259   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            2         2           
  Lines           47        47           
  Branches         8         8           
=========================================
  Hits            47        47           

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@dependabot @github
Copy link
Copy Markdown
Contributor Author

dependabot Bot commented on behalf of github Nov 21, 2022

Superseded by #263.

@dependabot dependabot Bot closed this Nov 21, 2022
@dependabot dependabot Bot deleted the dependabot/npm_and_yarn/prettier-plugin-solidity-1.0.0-rc.1 branch November 21, 2022 02:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants