Skip to content

Releases: neandertech/cue4s

v0.0.10

16 Dec 11:18
2ea1f1b

Choose a tag to compare

This release reshuffles some of the internal interfaces, and introduces a way to define user components, simplifying the process of creating custom interactive terminal components.

The support is experimental and may be adjusted in the future, but the general pattern can be seen in the example which implements a tic-tac-toe game in the terminal.

What's Changed

Full Changelog: v0.0.9...v0.0.10

v0.0.9

20 Apr 12:08

Choose a tag to compare

This release removes JNA dependency that was added to non-JVM projects by mistake.

Full Changelog: v0.0.8...v0.0.9

v0.0.8

13 Apr 11:40

Choose a tag to compare

This release fixes some significant issues that could lead to terminal state corruption.

What's Changed

  • Fix terminal state being corrupted if no prompts are executed by @keynmol in #42

Full Changelog: v0.0.7...v0.0.8

v0.0.7

17 Jan 19:01
52b1f65

Choose a tag to compare

This release

  • adds basic windows support (see #40 for caveats on windows native)
  • cleans up prompt API and adds default values to text/number inputs

What's Changed

New Contributors

  • @JD557 made their first contribution in #36

Full Changelog: v0.0.6...v0.0.7

v0.0.6

06 Dec 10:47
0386c93

Choose a tag to compare

This release adds GraalVM native image configuration, and fixes Linux native code.

What this means is that this is the first release that should work on both GraalVM Native Image and Scala Native, on both MacOS and Linux.

Give it a go:

  1. GraalVM Native Image: scala-cli package --dep tech.neander::cue4s::0.0.6 -e 'cue4s.Prompts.sync.use(_.singleChoice("ABC?", List("a","b","c")))' --native-image -f -o image-cue4s --graalvm-args --no-fallback --install-exit-handlers
  2. Scala Native: scala-cli run --dep tech.neander::cue4s::0.0.6 -e 'cue4s.Prompts.sync.use(_.singleChoice("ABC?", List("a","b","c")))' --native

What's Changed

  • Start adding configuration for graal by @keynmol in #33
  • Use zone allocated termios on linux by @keynmol in #34

Full Changelog: v0.0.5...v0.0.6

v0.0.5

05 Dec 11:24
ccc7280

Choose a tag to compare

Massive improvements to overal ergonomics, better platform support, and dedicated linux support.

What's Changed

Full Changelog: v0.0.4...v0.0.5

v0.0.4

02 Dec 19:38

Choose a tag to compare

What's Changed

Full Changelog: v0.0.3...v0.0.4

v0.0.3

30 Nov 18:50

Choose a tag to compare

This is a big release, focusing on fixing various aspects of cancellation, adding confirmation and password prompt, and re-designing the internals to allow for more usecases.

What's Changed

Full Changelog: v0.0.2...v0.0.3

v0.0.2

27 Nov 19:12

Choose a tag to compare

This release dramatically improves the UX when dealing with single/multi-choice prompts with large number of alternaives –
using pagination!

CleanShot 2024-11-27 at 19 10 36

What's Changed

Full Changelog: v0.0.1...v0.0.2

v0.0.1

25 Nov 09:23

Choose a tag to compare

This is a chunky release with major bugfixes in rendering, code cleanup, and handling prompt cancellation (upon receiving SIGINT/Ctrl+C).

The most annoying rendering bugs were fixed, and this library is ready for a first release.

What's Changed

New Contributors

Full Changelog: https://github.com/neandertech/cue4s/commits/v0.0.1