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): bump prettier-plugin-java from 1.4.0 to 1.5.0 #16717

Merged
merged 1 commit into from
Oct 18, 2021

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Oct 18, 2021

Bumps prettier-plugin-java from 1.4.0 to 1.5.0.

Release notes

Sourced from prettier-plugin-java's releases.

v1.5.0

Latest v1.5.0

Enhancements

  • Split record parameters on several lines if thez do not fit on a single line (#509)

    // Input
    public record Person(
        String firstName, String lastName, String email,
        String phoneNumber,
        String streetAddress,
        String city,
        String state,
        String zipCode
    ) {}
    // Prettier 1.4.0
    public record Person(
    String firstName, String lastName, String email, String phoneNumber, String streetAddress, String city, String state, String zipCode
    ) {}
    // Prettier 1.5.0
    public record Person(
    String firstName,
    String lastName,
    String email,
    String phoneNumber,
    String streetAddress,
    String city,
    String state,
    String zipCode
    ) {}

  • Support pattern matching in switch statements preview feature (#511)

    // Input
    class T {
      static String formatterPatternSwitch(Object o) {
        return switch (o) {
          case
        Integer i ->
    String.format("int %d", i);
    
    case Long l    -> String.format("long %d", l);
    case Double d  -> String.format("double %f", d);

... (truncated)

Changelog

Sourced from prettier-plugin-java's changelog.

Latest v1.5.0

Enhancements

  • Split record parameters on several lines if thez do not fit on a single line (#509)

    // Input
    public record Person(
        String firstName, String lastName, String email,
        String phoneNumber,
        String streetAddress,
        String city,
        String state,
        String zipCode
    ) {}
    // Prettier 1.4.0
    public record Person(
    String firstName, String lastName, String email, String phoneNumber, String streetAddress, String city, String state, String zipCode
    ) {}
    // Prettier 1.5.0
    public record Person(
    String firstName,
    String lastName,
    String email,
    String phoneNumber,
    String streetAddress,
    String city,
    String state,
    String zipCode
    ) {}

  • Support pattern matching in switch statements preview feature (#511)

    // Input
    class T {
      static String formatterPatternSwitch(Object o) {
        return switch (o) {
          case
        Integer i ->
    String.format("int %d", i);
    
    case Long l    -> String.format("long %d", l);
    case Double d  -> String.format("double %f", d);
    case String s  -> String.format("String %s", s);

... (truncated)

Commits
  • a9fe7da Publish
  • 226429b chore: setup lerna to have independant version for each packages
  • 92d80c2 chore: update CHANGELOG
  • e75133d feat: improve printing of class with long typeParameterList
  • 2f7efa4 feat: support pattern matching in switch statements
  • c2653b9 feat: split record parameters on several lines
  • See full diff 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-java](https://github.com/jhipster/prettier-java) from 1.4.0 to 1.5.0.
- [Release notes](https://github.com/jhipster/prettier-java/releases)
- [Changelog](https://github.com/jhipster/prettier-java/blob/main/CHANGELOG.md)
- [Commits](https://github.com/jhipster/prettier-java/compare/v1.4.0...prettier-plugin-java@1.5.0)

---
updated-dependencies:
- dependency-name: prettier-plugin-java
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added theme: dependencies Pull requests that update a dependency file theme: jhipster-internals labels Oct 18, 2021
@qmonmert qmonmert merged commit f3dacdf into main Oct 18, 2021
@qmonmert qmonmert deleted the dependabot/npm_and_yarn/prettier-plugin-java-1.5.0 branch October 18, 2021 06:04
@pascalgrimaud pascalgrimaud added this to the 7.3.1 milestone Oct 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
theme: dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants