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

chore(deps): update dependency prettier-plugin-solidity to v1.0.0 #149

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jul 28, 2023

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
prettier-plugin-solidity 1.0.0-beta.19 -> 1.0.0 age adoption passing confidence

Release Notes

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

v1.0.0

Compare Source

We are happy to release the first stable version of Prettier Solidity! πŸŽ‰ πŸŽ‰

What does this mean for you as a user? Semantic versioning doesn't make a lot of sense for a formatter, so it's hard to give hard rules about what will be the meaning of future versions. But we'll try to follow these guidelines:

  • We won't make big formatting changes within the same major version. For example, you shouldn't get all your function signatures changed just because you upgraded to, say, v1.1.0.
  • We won't remove any option within the same major version.
  • We'll use patch versions (e.g., moving from 1.2.3 to 1.2.4) for bug fixes and very minor formatting changes.
  • We'll use minor versions (e.g., moving from 1.2.3 to 1.3.0) for new language constructs, new options (if any) and somewhat bigger formatting changes.

What separates a "very minor formatting change" from a "bigger one" is hard to define precisely, of course, so some of these decisions will be very subjective, but we'll try to do our best.

Thanks for using our plugin and remember to star the repo! ⭐

v1.0.0-rc.1

Compare Source

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.24

Compare Source

v1.0.0-dev.23

Compare Source

v1.0.0-dev.22

Compare Source

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

#​643
#​683
#​685
#​693
#​694

v1.0.0-dev.21

Compare Source

v1.0.0-beta.24

Compare Source

v1.0.0-beta.20

Compare Source


Configuration

πŸ“… Schedule: Branch creation - "after 9pm,before 9am" in timezone Asia/Kolkata, Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

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

πŸ”• Ignore: Close this PR and you won't be reminded about this update again.


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

This PR has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot added the renovate label Jul 28, 2023
@vercel
Copy link

vercel bot commented Jul 28, 2023

The latest updates on your projects. Learn more about Vercel for Git β†—οΈŽ

Name Status Preview Comments Updated (UTC)
sway βœ… Ready (Inspect) Visit Preview πŸ’¬ Add feedback Aug 2, 2023 3:45am
sway-static βœ… Ready (Inspect) Visit Preview πŸ’¬ Add feedback Aug 2, 2023 3:45am

@renovate renovate bot force-pushed the renovate/prettier-plugin-solidity-1.0.x branch from dedb5e6 to 027d7dd Compare July 28, 2023 21:17
@renovate renovate bot force-pushed the renovate/prettier-plugin-solidity-1.0.x branch from 027d7dd to 4a8c4a1 Compare July 30, 2023 18:47
@renovate renovate bot force-pushed the renovate/prettier-plugin-solidity-1.0.x branch from 4a8c4a1 to 044a4a4 Compare July 30, 2023 22:32
@renovate renovate bot force-pushed the renovate/prettier-plugin-solidity-1.0.x branch from 044a4a4 to 07d66e0 Compare July 31, 2023 01:17
@renovate renovate bot force-pushed the renovate/prettier-plugin-solidity-1.0.x branch from 07d66e0 to a32803f Compare July 31, 2023 16:29
@renovate renovate bot force-pushed the renovate/prettier-plugin-solidity-1.0.x branch from a32803f to ea52ad4 Compare July 31, 2023 18:27
@renovate renovate bot force-pushed the renovate/prettier-plugin-solidity-1.0.x branch from ea52ad4 to 6f9a8a0 Compare July 31, 2023 21:06
@renovate renovate bot force-pushed the renovate/prettier-plugin-solidity-1.0.x branch from 6f9a8a0 to 1dc8bde Compare August 1, 2023 17:30
@renovate renovate bot force-pushed the renovate/prettier-plugin-solidity-1.0.x branch from 1dc8bde to 7a12f0d Compare August 1, 2023 18:07
@renovate renovate bot force-pushed the renovate/prettier-plugin-solidity-1.0.x branch from 7a12f0d to d88934e Compare August 1, 2023 22:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

0 participants