Skip to content

Releases: jcubic/jquery.terminal

1.20.5

21 Aug 10:07
Compare
Choose a tag to compare

1.20.5

Bugfix

  • one more fix to position in normal function formatter (prism)

1.20.4

21 Aug 09:04
Compare
Choose a tag to compare

1.20.4

Bugfix

  • fix position in normal function formatter (prism)
  • fix syntax (prism) function name in developer tools

1.20.3

21 Aug 06:32
Compare
Choose a tag to compare

1.20.3

Bugfix

  • fix regression in overtyping #409

1.20.2

19 Aug 13:26
Compare
Choose a tag to compare

1.20.2

Bugfix

  • escape formatting when using unix formatting in cmd
  • fix cursor style while hover over links
  • one more fix cursor position

1.20.1

19 Aug 09:51
Compare
Choose a tag to compare

1.20.1

Bugfix

  • fix click after line for last line

1.20.0

19 Aug 09:41
Compare
Choose a tag to compare

1.20.0

Security

  • anyLinks option to disable anything exception http and ftp (when false - default) - it make possible to insert javascript links, which is potential XSS vulnerability

Features

  • linksNoFollow option (default false)
  • add UMD for utility files #418

Bug Fixes

  • handling backspaces in unix formatting #409
    • handle \r \n \r\n \n\r the same when adding leftovers before backspace in unix formatting
    • fix cursor position when text have tabs, found when fixing #409
    • other fixes to backspaces
  • fix font change in universal selector #415
  • fix regression bug in formatters (emoji demo) #416
  • fix cmd::resize() without args that make number of characters equal to 1 #413
  • fix click after line #419

1.19.1

19 Aug 09:40
Compare
Choose a tag to compare

1.19.1

Bug Fixes

  • fix type definition to match types from @types/jquery #412
  • fix infinite loop in regex formatter with loop option #409

1.19.0

21 Jul 12:33
Compare
Choose a tag to compare

Features

  • add TypeScript definition file
  • update formatters API to have a way to return position after replace from function formatter
  • regex formatters and $.tracking_replace now accept function as replacement
  • update unix formatters to use new API so they work with command line
  • set exit to false if no login provided

Bugs

  • fix overtyping function #409
  • remove CR characters only for display
  • don't invoke onPosition change when calling position and don't change the value
  • fix clearing CR characters that was causing removal of empty lines #411

1.18.0

08 Jul 07:22
Compare
Choose a tag to compare

1.18.0

Feature

  • looping regex formatters that replace until they don't match the regex
  • add tracking_replace to $.terminal namespace
  • $.terminal.syntax helper
  • new language for prism: "website" that handle html, javascript and css syntax

Bugs

  • handle formatters that replace backspaces and characters before #409
  • fix broken < > & with cmd + prism #410
  • fix background in prism with black background terminal
  • remove warning from nested_formatting when if find nested formatting

1.17.0

01 Jul 13:37
Compare
Choose a tag to compare

Features

  • add ascii_table utility in separated file
  • per user command line history
  • add $.terminal.parse_options which return same object as yargs parser
  • $.jrpc helper now return its own created promise instead of $.ajax
  • add wcwidth as dependency so it will always show wider characters correctly (in browsers will work the same as optional)
  • expose terminal exception in $.terminal namespace
  • new API option doubleTab #405

Bugfix

  • disable history in read & login (regression from 1.16.0 history interpreter option)
  • fix recursive error on extended commands (but it will only work on exact same commands without trailing white space)
  • create copy of Prism for formatter so it can be used with normal html based prism snippets
  • double fix: command line when formatter return empty formatting and prism that return empty formatting after ( and space
  • third fix fox jumping on right click
  • fix columns method
  • fix infinite loop when regex in formatters don't have g flag
  • fix parsing escape quotes
  • fix split equal to handle brackets when using without formatting
  • fix command line wrapping if prompt contain brackets as text #407
  • insert ^C where cursor was located #404
  • fix echo crlf (windows line ending) #408
  • allow to call cmd without arguments
  • rename undocumented remove API method to remove_line so you can call jQuery remove
  • fix throwing exception when there is error in formatter (it now only show alert)
  • fix double exception when exec command throw exception