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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

build: bump prettier from 1.8.2 to 1.12.0 #389

Closed

Conversation

dependabot-preview[bot]
Copy link

Bumps prettier from 1.8.2 to 1.12.0.

Release notes

Sourced from prettier's releases.

Prettier 1.12: Fixes, Features, and Formatting, Oh My!

馃敆 Release Notes

Prettier 1.11: CSS fixes and new TypeScript feature support

馃敆 Release Notes

1.11.0-rc.1

No release notes provided.

1.10: One Year of Prettier 馃巶

馃敆 Release Notes

1.9.1

Changelog

1.9.0: JSX Fragments, EditorConfig and Arrow Parens

image

This release adds an option for arrow function parens in arguments, support for the new JSX fragment syntax (<>), support for .editorconfig files, and nice additions to our GraphQL and Markdown support.

Highlights

JavaScript

Option to add parens in arrow function arguments (#3324) by rattrayalex and suchipi

When printing arrow functions, Prettier omitted parens around the arguments if they weren鈥檛 strictly necessary, like so:

// no parens
foo => {};

// parens
(foo: Number) => {};

// parens
({ foo }) => {}

// parens
(foo = 5) => {}

This lead to the most commented thread in our issue tracker. Prettier now has the --arrow-parens option (arrowParens in the config) that can assume two values today:

  • "avoid" - (default) preserve the behavior that omits parens when possible
  • "always" - always includes parens

JSX fragment syntax (#3237) by duailibe

Prettier will now recognize and format JSX with the new fragment syntax, like the code below:
... (truncated)

Changelog

Sourced from prettier's changelog.

1.12.0

1.11.1

link

  • 1.11.0 was incorrectly shipped with the wrong version of the TypeScript parser, which broke conditional types. This release fixes it.
  • Fixed an issue relating to deprecated parsers (#4072)

1.11.0

1.10.2

link

  • Fixed an issue printing .vue files with self-closing tags. (#3705 by duailibe)

1.10.1

link

  • Fixed an issue where the CLI fails to resolve a file.

1.10.0

link

1.9.2

link

  • Fixed trailing comma not being printed in function calls if the last arg was an arrow (#3428 by duailibe)
  • Ignore whitespace after the /** in docblocks (#3430 by duailibe)
  • Fixed a bug where get and set class properties arrows would print an unnecessary semicolon with --no-semi (#3434 by duailibe)
  • Fixed a bug for missing .editorconfig files (#3439 by josephfrazier)
  • Fix comments being moved in class methods and object properties with the babylon parser (#3441 by duailibe)
  • Better printing of member chains with a TSNonNullExpression (! character) (#3442 by duailibe)
  • Fix missing commas in object properties when a pretter-ignore comment is present (#3448 by duailibe)
  • Fix printing union types inside a function param type (#3446 by duailibe)
  • Fix closing parens on multi-line intersection/union type (#3436 by josephfrazier)
  • Don't break single argument destructuring arguments (for arrays and with simple default values) (#3443 by duailibe)

1.9.1

... (truncated)

Commits
  • 6ae20cb 1.12.0
  • 99300d9 Use webpack to bundle the playground (#4299)
  • a3be9f5 fix lint
  • 4edfb67 Include webpack to bundle the playground
  • 46c8a4c Move sw-toolbox to website dependencies (#4297)
  • 63a2ded Never print a semicolon after export default interface Foo {} (#4128)
  • 7819a8f [flow] Upgrade flow to 0.69 and enable ?. support (#4296)
  • 57bc700 Stop marking all comments in named exports as leading comments (#4292)
  • 6794a14 Inline Angular async tests and beforeEach, etc. (#4241)
  • 79d480e Blog post announcing first alpha release of PHP plugin (#4289)
  • 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 ignore this [minor|major] version will close this PR and stop Dependabot creating any more for this minor/major 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)
  • @dependabot use [this|these] label[s] will set the current labels as the default for future PRs for this repo and language

Additionally, you can set the following in your Dependabot dashboard:

  • Update frequency (including time of day and day of week)
  • Automerge options (never/patch/minor, and dev/runtime dependencies)
  • Out-of-range updates (receive only lockfile updates, if desired)

Finally, you can contact us by mentioning @dependabot.

Bumps [prettier](https://github.com/prettier/prettier) from 1.8.2 to 1.12.0.
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/master/CHANGELOG.md)
- [Commits](prettier/prettier@1.8.2...1.12.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
@dependabot-preview
Copy link
Author

Superseded by #397.

@dependabot-preview dependabot-preview bot deleted the dependabot/npm_and_yarn/prettier-1.12.0 branch April 17, 2018 05:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant