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 com.github.ajalt.mordant:mordant from 2.0.0-beta13 to 3.0.1 #3212

Merged

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jan 6, 2025

Bumps com.github.ajalt.mordant:mordant from 2.0.0-beta13 to 3.0.1.

Release notes

Sourced from com.github.ajalt.mordant:mordant's releases.

3.0.1

Fixed

3.0.0

Added

  • New TerminalDetection object that can be used to detect terminal capabilities without creating a terminal instance.
  • Added new optional methods to TerminalInterface to control raw mode: getTerminalSize, readInputEvent, enterRawMode, and shouldAutoUpdateSize.
  • Added new terminal implementation that uses the Foreign Function and Memory (FFM) API added in JDK 22.
  • Split the library up into modules, so you can produce smaller JVM artifacts by only using the parts you need.
  • Added support for raw mode and input events to JS and wasmJS targets when running on node.js.
  • Added tvOS and watchOS native targets to all modules except the new mordant-markdown module.
  • Added ability to control raw mode with the TerminalRecorder.
  • Added support for unicode input in raw mode.
  • Added nonInteractiveWidth and nonInteractiveHeight to Terminal terminal constructor to set a different width when the terminal is not interactive (e.g. when redirecting output to a file) [(#140)](ajalt/mordant#140)

Changed

  • Breaking Change Moved Terminal.info.width and height to Terminal.size.width and height.
  • Breaking Change TerminalInterface.info is now a method with parameters instead of a property.
  • Breaking Change Moved Markdown widget to separate mordant-markdown module, which is not included by default. If you use markdown rendering, you need to add that module to you dependencies.
  • Breaking Change Combined all ColumnWidth subclasses into a single class with factory methods. If you were using ColumnWidth.Custom, you should now use the ColumnWidth constructor.
  • Breaking Change The following Terminal methods are now extensions: prompt(), info(), danger(), warning(), success(), muted()
  • Breaking Change Renamed TerminalInfo.crClearsLine to supportsAnsiCursor
  • In raw mode on POSIX systems, pressing the escape key once will now immediately return an Escape event. [(#193)](ajalt/mordant#193)
  • Renamed Terminal.info property to Terminal.terminalInfo. The old name is deprecated.

Removed

  • Removed constructor overloads for Terminal. There is now one constructor with all default parameters.
  • Removed Terminal.colors. All colors rendered with the terminal are now automatically downsampled.
  • Removed previously deprecated methods.

Fixed

2.7.2

Fixed

  • Fixed raw mode on macOS for JVM and native not using the correct termios constants. [(#180)](ajalt/mordant#180)
  • Raw mode on macOS and Linux will now report the ESC ESC sequence as an Escape key event.
  • Fixed raw mode on GraalVM native image not compiling with musl libc. Contributed by @​hubvd [(#189)](ajalt/mordant#189)

2.7.2

Added

Fixed

... (truncated)

Changelog

Sourced from com.github.ajalt.mordant:mordant's changelog.

3.0.1

Fixed

3.0.0

Added

  • New TerminalDetection object that can be used to detect terminal capabilities without creating a terminal instance.
  • Added new optional methods to TerminalInterface to control raw mode: getTerminalSize, readInputEvent, enterRawMode, and shouldAutoUpdateSize.
  • Added new terminal implementation that uses the Foreign Function and Memory (FFM) API added in JDK 22.
  • Split the library up into modules, so you can produce smaller JVM artifacts by only using the parts you need.
  • Added support for raw mode and input events to JS and wasmJS targets when running on node.js.
  • Added tvOS and watchOS native targets to all modules except the new mordant-markdown module.
  • Added ability to control raw mode with the TerminalRecorder.
  • Added support for unicode input in raw mode.
  • Added nonInteractiveWidth and nonInteractiveHeight to Terminal terminal constructor to set a different width when the terminal is not interactive (e.g. when redirecting output to a file) [(#140)](ajalt/mordant#140)

Changed

  • Breaking Change Moved Terminal.info.width and height to Terminal.size.width and height.
  • Breaking Change TerminalInterface.info is now a method with parameters instead of a property.
  • Breaking Change Moved Markdown widget to separate mordant-markdown module, which is not included by default. If you use markdown rendering, you need to add that module to you dependencies.
  • Breaking Change Combined all ColumnWidth subclasses into a single class with factory methods. If you were using ColumnWidth.Custom, you should now use the ColumnWidth constructor.
  • Breaking Change The following Terminal methods are now extensions: prompt(), info(), danger(), warning(), success(), muted()
  • Breaking Change Renamed TerminalInfo.crClearsLine to supportsAnsiCursor
  • In raw mode on POSIX systems, pressing the escape key once will now immediately return an Escape event. [(#193)](ajalt/mordant#193)
  • Renamed Terminal.info property to Terminal.terminalInfo. The old name is deprecated.

Removed

  • Removed constructor overloads for Terminal. There is now one constructor with all default parameters.
  • Removed Terminal.colors. All colors rendered with the terminal are now automatically downsampled.
  • Removed previously deprecated methods.

Fixed

2.7.2

Fixed

  • Fixed raw mode on macOS for JVM and native not using the correct termios constants. [(#180)](ajalt/mordant#180)
  • Raw mode on macOS and Linux will now report the ESC ESC sequence as an Escape key event.
  • Fixed raw mode on GraalVM native image not compiling with musl libc. Contributed by @​hubvd [(#189)](ajalt/mordant#189)

2.7.1

Added

Fixed

... (truncated)

Commits
  • e749e3e Release version 3.0.1
  • 45baa5b Specify variadic arguments for ffm ioctl call (#240)
  • aab4a28 Update TIOCGWINSZ constant for ffm on arm mac (#239)
  • 4643f10 Disambiguate mordant.pro (#232)
  • 008f9d0 Release version 3.0.0
  • 3ca2acd Rename Terminal.info to terminalInfo
  • 5ae773d Move some Terminal methods to extensions
  • 11efd7b Combine ColumnWidth subclasses
  • b3a7043 Remove deprecated methods
  • 13ec9ce Make mordant-omnibus publish on all MPP targets (#228)
  • 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 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.github.ajalt.mordant:mordant](https://github.com/ajalt/mordant) from 2.0.0-beta13 to 3.0.1.
- [Release notes](https://github.com/ajalt/mordant/releases)
- [Changelog](https://github.com/ajalt/mordant/blob/master/CHANGELOG.md)
- [Commits](ajalt/mordant@2.0.0-beta13...3.0.1)

---
updated-dependencies:
- dependency-name: com.github.ajalt.mordant:mordant
  dependency-type: direct:production
  update-type: version-update:semver-major
...

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 Jan 6, 2025
@dependabot dependabot bot requested review from a team, m-zagorski, borichellow, MohamadJaara, vitorhugods and sergeibakhtiarov and removed request for a team January 6, 2025 13:40
Copy link

sonarqubecloud bot commented Jan 7, 2025

Copy link
Contributor

github-actions bot commented Jan 7, 2025

Test Results

3 381 tests  ±0   3 273 ✅ ±0   5m 45s ⏱️ +37s
  580 suites ±0     108 💤 ±0 
  580 files   ±0       0 ❌ ±0 

Results for commit cc4aff6. ± Comparison against base commit ff2a93c.

♻️ This comment has been updated with latest results.

Copy link
Contributor

github-actions bot commented Jan 7, 2025

@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 54.13%. Comparing base (ff2a93c) to head (cc4aff6).

Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #3212      +/-   ##
===========================================
- Coverage    54.13%   54.13%   -0.01%     
===========================================
  Files         1264     1264              
  Lines        36833    36833              
  Branches      3738     3738              
===========================================
- Hits         19941    19938       -3     
- Misses       15451    15453       +2     
- Partials      1441     1442       +1     

see 2 files with indirect coverage changes


Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update ff2a93c...cc4aff6. Read the comment docs.

@datadog-wireapp
Copy link

Datadog Report

Branch report: dependabot/gradle/com.github.ajalt.mordant-mordant-3.0.1
Commit report: be00437
Test service: kalium-jvm

✅ 0 Failed, 3273 Passed, 108 Skipped, 1m 3.43s Total Time

@yamilmedina yamilmedina enabled auto-merge January 7, 2025 12:27
@yamilmedina yamilmedina added this pull request to the merge queue Jan 7, 2025
Merged via the queue into develop with commit e3639ec Jan 7, 2025
23 checks passed
@yamilmedina yamilmedina deleted the dependabot/gradle/com.github.ajalt.mordant-mordant-3.0.1 branch January 7, 2025 13:01
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 👕 size: XS type: chore 🧹
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants