Skip to content

Releases: asciinema/asciinema-player

3.8.1

04 Oct 18:15
Compare
Choose a tag to compare

Notable changes:

  • upgraded avt to the latest version
  • added dist/bundle/asciinema-player.min.js to package exports to allow pre-3.8.0 usage (#263)

3.8.0

15 Jun 12:01
Compare
Choose a tag to compare

Notable changes:

  • added support for colons in SGR color sequences - fixes (asciinema/avt#9, #154, #231)
  • added support for auto/<theme-name> specification for theme option (see below)
  • added help overlay, triggered by "?" key
  • improved adaptive buffering algorithm in the websocket driver
  • improved rendering of block drawing characters
  • made text of the time display and marker tooltips bigger
  • made the control bar and markers use terminal theme's foreground and background colors
  • added tooltip for the fullscreen button
  • added "type": "module" to package.json to fix import error with some bundlers (thanks @MaddyGuthridge)
  • fixed player element focus behavior when clicking on a marker dot or the playback toggle button

https://www.npmjs.com/package/asciinema-player/v/3.8.0


Recordings made with asciinema CLI 3.0 or later may embed original terminal theme, which is used by the player when available.

Before this release the only way to let the player use the embedded theme automatically was not specifying the theme option when initializing the player. When the theme option was not used, the player favored the embedded theme, falling back to asciinema theme. There was no way to specify "use the original theme when available, fall back to monokai".

This release adds the ability to specify the above wish as { theme: "auto/monokai" }. You can use any built-in theme, e.g. { theme: "auto/dracula" }, and the player will use Dracula theme if the original theme was not captured at the time of recording.

To always use a specific theme regardless of the presence of the original theme in a recording file, use { theme: "<theme-name>" }, e.g. { theme: "dracula" }.

Default value of the theme option (when one not specified) is now auto/asciinema.

3.7.2-rc.7

07 Jun 14:21
Compare
Choose a tag to compare
3.7.2-rc.7 Pre-release
Pre-release
v3.7.2-rc.7

Bump version

3.7.2-rc.6

02 Jun 06:49
Compare
Choose a tag to compare
3.7.2-rc.6 Pre-release
Pre-release
v3.7.2-rc.6

Bump version

3.7.2-rc.5

01 Jun 20:12
Compare
Choose a tag to compare
3.7.2-rc.5 Pre-release
Pre-release
v3.7.2-rc.5

Fix npm auth in GH actions

3.7.2-rc.4

30 May 18:43
Compare
Choose a tag to compare
3.7.2-rc.4 Pre-release
Pre-release
v3.7.2-rc.4

Bump version

3.7.2-rc.3

27 Apr 15:30
Compare
Choose a tag to compare
3.7.2-rc.3 Pre-release
Pre-release
v3.7.2-rc.3

Bump version

3.7.2-rc.2

24 Apr 10:16
Compare
Choose a tag to compare
3.7.2-rc.2 Pre-release
Pre-release
v3.7.2-rc.2

Bump version

3.7.2-rc.1

04 Apr 16:01
Compare
Choose a tag to compare
3.7.2-rc.1 Pre-release
Pre-release
v3.7.2-rc.1

Bump version

3.7.1

24 Mar 10:50
Compare
Choose a tag to compare

Notable changes:

  • greatly improved rendering (position, alignment, accuracy) of ascii drawing, block elements, braille patterns and Powerline triangle symbols
  • fixed alignment of double-width chars (such as CJK, emoji)
  • new adaptive algorithm for buffering in live (websocket) driver, ensuring smooth playback on high-latency or high-jitter network connections
  • minor rendering performance improvement via UI updates batching
  • improved visibility of play button's drop shadow for themes with light background
  • code refactorings and cleanup

https://www.npmjs.com/package/asciinema-player/v/3.7.1

Demo showing the improved rendering in general:

asciicast

Screenshots showing the fixes to the character alignment and positioning:

image

image

image

image