Skip to content
This repository was archived by the owner on Apr 21, 2025. It is now read-only.

build(deps-dev): Bump prettier-plugin-java from 1.0.1 to 1.5.0 in /tools#2037

Closed
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/npm_and_yarn/tools/prettier-plugin-java-1.5.0
Closed

build(deps-dev): Bump prettier-plugin-java from 1.0.1 to 1.5.0 in /tools#2037
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/npm_and_yarn/tools/prettier-plugin-java-1.5.0

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

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

Bumps prettier-plugin-java from 1.0.1 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
  • ccc76f6 v1.4.0
  • 4fc862f chore: update CHANGELOG
  • 2dcc39f refactor: remove nested inline rules in java parser
  • bd29090 fix: do not crash on yield static imports
  • 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-java](https://github.com/jhipster/prettier-java) from 1.0.1 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.0.1...prettier-plugin-java@1.5.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added deps Dependency update dev-workflow Developer productivity, CI, builds, and/or processes labels Oct 18, 2021
@stale
Copy link
Copy Markdown

stale Bot commented Oct 25, 2021

This item has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale Bot added the resolved:stale No recent activity on the issue or PR label Oct 25, 2021
@dependabot @github
Copy link
Copy Markdown
Contributor Author

dependabot Bot commented on behalf of github Nov 15, 2021

Superseded by #2046.

@dependabot dependabot Bot closed this Nov 15, 2021
@dependabot dependabot Bot deleted the dependabot/npm_and_yarn/tools/prettier-plugin-java-1.5.0 branch November 15, 2021 06:02
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

deps Dependency update dev-workflow Developer productivity, CI, builds, and/or processes resolved:stale No recent activity on the issue or PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants