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

Bump com.formdev:flatlaf from 2.+ to 3.2.2 #73

Closed
wants to merge 1 commit into from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Oct 16, 2023

Bumps com.formdev:flatlaf from 2.+ to 3.2.2.

Release notes

Sourced from com.formdev:flatlaf's releases.

3.2.2

This is a bug fix release that fixes a JDK 19+ bug regarding HTML text in buttons. If you use HTML text in buttons and your application runs in Java 19 or later, then it is recommended to upgrade to this version.

Change Log

Fixed bugs

  • Button: Fixed painting icon and text at wrong location when using HTML text, left/right vertical alignment and running in Java 19+. (issue #746)
  • CheckBox and RadioButton: Fixed cut off right side when border is removed and horizontal alignment is set to right. (issue #734)
  • TabbedPane: Fixed NPE when using focusable component as tab component and switching theme. (issue #745)

3.2.1

This is a bug fix release that fixes a memory leak in class MultiResolutionImageSupport, which may, in worst case, result in an out-of-memory situation. See change log below for details.

Change Log

Fixed bugs

  • Fixed memory leak in MultiResolutionImageSupport.create(int,Dimension[],Function<Dimension,Image>), which caches images created by the producer function. Used by FlatSVGIcon.getImage() and FlatSVGUtils.createWindowIconImages(). If you use one of these methods, it is strongly recommended to upgrade to this version, because if the returned image is larger and painted very often it may result in an out-of-memory situation. (issue #726)
  • FileChooser: Fixed occasional NPE in FlatShortcutsPanel on Windows. (issue #718)
  • TextField: Fixed placeholder text painting, which did not respect horizontal alignment property of JTextField. (issue #721)
  • Popop: Fixed drop shadow if popup overlaps a heavyweight component. (Windows 10 only; issue #626)

3.2

Highlights

New SVG renderer

The FlatLaf Extras library now used JSVG library (instead of svgSalamander) for SVG rendering. JSVG provides improved SVG rendering and uses less memory compared to svgSalamander.

IntelliJ Themes improved

Many improvements and fixed were made to the FlatLaf IntelliJ Themes Pack. If you use those themes it is highly recommended to upgrade to this release.

TabbedPane: rounded selection

... (truncated)

Changelog

Sourced from com.formdev:flatlaf's changelog.

3.2.2

Fixed bugs

  • Button: Fixed painting icon and text at wrong location when using HTML text, left/right vertical alignment and running in Java 19+. (issue #746)
  • CheckBox and RadioButton: Fixed cut off right side when border is removed and horizontal alignment is set to right. (issue #734)
  • TabbedPane: Fixed NPE when using focusable component as tab component and switching theme. (issue #745)

3.2.1

Fixed bugs

  • Fixed memory leak in MultiResolutionImageSupport.create(int,Dimension[],Function<Dimension,Image>), which caches images created by the producer function. Used by FlatSVGIcon.getImage() and FlatSVGUtils.createWindowIconImages(). If you use one of these methods, it is strongly recommended to upgrade to this version, because if the returned image is larger and painted very often it may result in an out-of-memory situation. (issue #726)
  • FileChooser: Fixed occasional NPE in FlatShortcutsPanel on Windows. (issue #718)
  • TextField: Fixed placeholder text painting, which did not respect horizontal alignment property of JTextField. (issue #721)
  • Popup: Fixed drop shadow if popup overlaps a heavyweight component. (Windows 10 only; issue #626)

3.2

New features and improvements

  • TabbedPane: Support rounded underline selection and rounded card tabs. (PR #703)
  • FlatLaf window decorations:
    • Support for Windows on ARM 64-bit. (issue #443, PR #707)
    • Support toolbox-style "small" window title bar. (issue #659, PR #702)
  • Extras: Class FlatSVGIcon now uses JSVG library (instead of svgSalamander) for rendering. JSVG provides improved SVG rendering and uses less memory compared to svgSalamander. (PR #684)
  • ComboBox: Improved location of selected item in popup if list is large and scrollable.
  • FileChooser: Show localized text for all locales supported by Java's Metal look and feel. (issue #680)
  • Added system property flatlaf.useNativeLibrary to allow disabling loading of FlatLaf native library. (issue #674)
  • IntelliJ Themes:

... (truncated)

Commits

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 show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @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 [com.formdev:flatlaf](https://github.com/JFormDesigner/FlatLaf) from 2.+ to 3.2.2.
- [Release notes](https://github.com/JFormDesigner/FlatLaf/releases)
- [Changelog](https://github.com/JFormDesigner/FlatLaf/blob/main/CHANGELOG.md)
- [Commits](https://github.com/JFormDesigner/FlatLaf/commits/3.2.2)

---
updated-dependencies:
- dependency-name: com.formdev:flatlaf
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file java Pull requests that update Java code labels Oct 16, 2023
@codecov
Copy link

codecov bot commented Oct 16, 2023

Codecov Report

All modified lines are covered by tests ✅

Comparison is base (9dcfd29) 16.35% compared to head (186cdcf) 16.35%.
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff            @@
##               main      #73   +/-   ##
=========================================
  Coverage     16.35%   16.35%           
  Complexity       66       66           
=========================================
  Files            58       58           
  Lines          1608     1608           
  Branches        131      131           
=========================================
  Hits            263      263           
  Misses         1334     1334           
  Partials         11       11           
Flag Coverage Δ
?
JDK 16.35% <ø> (ø)
macos-latest 16.35% <ø> (?)
ubuntu-latest 16.35% <ø> (?)
windows-latest 16.35% <ø> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Oct 23, 2023

Superseded by #74.

@dependabot dependabot bot closed this Oct 23, 2023
@dependabot dependabot bot deleted the dependabot/gradle/com.formdev-flatlaf-3.2.2 branch October 23, 2023 10:47
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 java Pull requests that update Java code
Development

Successfully merging this pull request may close these issues.

2 participants