Skip to content

Releases: jcubic/jquery.terminal

2.32.0

28 Feb 08:34
1e17923
Compare
Choose a tag to compare

Features

  • add insert typing animation
  • add --text-shadow css variable
  • new API method parse_formatting
  • allow to use terminal style of external element #731

Bugfix

  • fix calculating number of rows (affecting less command)
  • fix glow with prism and error messages #729
  • fix prism and typing animation #726
  • fix various TypeScript typing errors
  • fix spacing between lines
  • fix wrong mouse cursor on terminal cursor and character before
  • fix catastrophic reflow when executing hundreds of echos in a loop
  • fix empty lines in prompt (visible when using typing animation) #734
  • fix trimming whitespace with echo keep_words #738
  • fix JSON working on processing nested formatting with html entities #735
  • fix echo array of numbers #747
  • improve performance when terminal don't have height
  • fix partial text (echo without newline) rendering #751

2.31.1

30 Dec 13:34
9a7086f
Compare
Choose a tag to compare

Bugfix

  • fixing low severity self XSS with potential more security implications #727

2.31.0

27 Dec 16:30
eb85cf1
Compare
Choose a tag to compare

Breaking

  • remove undocumented echo_command (that was used by old echo_newline extension)

Features

  • scroll to bottom for each line in multiline typing animation
  • allow to use --glow: 1 with default animation
  • new API terminal::enter same as echo_command but supports animation
  • add global option execAnimationDelay default - 100
  • make execAnimation work only with execHash #723

Bugfix

  • fix prompt that return string or promise (in animation and set_prompt) #724
  • fix formatting in typing animation #721
  • fix formatting colors and --glow #725
  • fix record stop command being recorded #719

2.30.2

23 Dec 14:55
9134a67
Compare
Choose a tag to compare

Bugfix

  • fix animated exec array with sync commands #722

2.30.1

14 Dec 23:16
361182d
Compare
Choose a tag to compare

Bugfix

  • fix record built-in commands in URL hash

2.30.0

14 Dec 23:00
e41fa26
Compare
Choose a tag to compare

Features

  • add span to xml formatting
  • allow to use class attribute in XML formatting (span, link, and img)
  • new API methods clear_buffer() and get_output_buffer() #717

Bugfix

  • fix bug on Android with GBoard keyboard #693
  • fix refresh when scrollbar appear (using scrollbar-gutter)
  • fix link color to pass WCAG contrast ratio
  • remove tabindex attribute on links
  • add label to clipboard textarea for a11y
  • allow to escape angle brackets in XML formatting #710
  • fix black line before the image #708
  • fix scroll to bottom when echo an image #716
  • fix multiple echo with !flush && !newline #709
  • fix updating hash for long async commands #703

2.29.3

14 Oct 08:30
77cebb5
Compare
Choose a tag to compare

Bugfix

  • fix echo raw interfering with echo without newline #695
  • update hash with proper array if hash is escaped
  • invalidate cache and update CMD on term::refresh() #699
  • allow to add horizontal scrollbar with single wrap options #692
  • handle promise rejection in onInit #691

2.29.2

12 Sep 17:16
2979a48
Compare
Choose a tag to compare

Bugfix

  • fix linkify of urls (better url detection)
  • fix linkify urls in command line (enable link in cmd)
  • fix two bugs with echo without newline (when prompt have 0 width and lines have different length)
  • fix applying glow shadow to transparent text
  • fix async responsive greetings
  • fix multiple echo of async functions and promises mixed with strings
  • fix get_output() on lines that are promises #687
  • fix echo newline when one of the values is promise or function
  • fix invalid css when partial output is no longer partial
  • add padding to terminal size i term::geometry() #686
  • clear extended commands from view when calling import_view #690

2.29.1

23 Aug 13:49
cfb2d8d
Compare
Choose a tag to compare

Bugfix

  • remove all: unset CSS that was breaking resizing events and visibility of textarea

2.29.0

23 Aug 13:48
75cd8cb
Compare
Choose a tag to compare

Breaking

  • remove undocumented <large>/<big>/<wide> and add <font> tag to XML formatter

Feature

  • add animation to exec and execAnimation option #679
  • add warning when calling invoke_key on disabled terminal #678
  • if interpreter returns a promise and it's animating the terminal will not pause (for exec array)
  • allow to use brackets inside extended commands (e.g. JavaScript code to hide commands)
  • expose $.terminal.xml_formatter.tags
  • add --glow conditional hack

Bugfix

  • tweak types for cmd function prompt
  • fix broken order of execution in exec when using pause/resume
  • fix mixing extended commands and terminal formatting
  • fix invoking get_command() in interpreter (clear command after user action)
  • fix parse_command when command have leading spaces #681