Skip to content

Releases: asciinema/asciinema-player

3.9.0

04 Feb 10:34
Compare
Choose a tag to compare

Notable changes:

  • keyboard shortcuts are now easily discoverable via help popup triggered with ? key or the keyboard icon in the control bar
  • added "step back", triggered with , (comma) key, a complementary feature for existing "step forward" (. key)
  • refactored websocket driver, and upgraded it for recent changes in ALiS protocol (uses WS subprotocol negotiation, supports both 8 and 16 color palettes, partially supports input and marker events, and more)
  • player's core can now be run in a split mode, which greatly improves UI responsiveness in certain cases (see below)

The split mode, runs player's UI and player's core (parsing, terminal emulation) in separate OS threads, which improves UI's responsiveness during playback. In this setup the UI code runs in the window context, while the processing code runs in a WebWorker. The benefit of this configuration is typically observed only for high frame-rate / high bandwidth recordings. The player hosted on asciinema.org runs in the split mode. For typical demos/sessions it's not worth the setup hassle. This is advanced setup and in 99% of the cases you don't need it.

3.9.0-rc.2

03 Feb 20:55
Compare
Choose a tag to compare
3.9.0-rc.2 Pre-release
Pre-release
v3.9.0-rc.2

Bump version

3.9.0-rc.1

02 Feb 18:07
Compare
Choose a tag to compare
3.9.0-rc.1 Pre-release
Pre-release
v3.9.0-rc.1

Fix logging in worker

3.8.3-rc.1

11 Jan 18:38
Compare
Choose a tag to compare
3.8.3-rc.1 Pre-release
Pre-release
v3.8.3-rc.1

Bump version

3.8.2

09 Jan 19:07
Compare
Choose a tag to compare

Notable changes:

  • fixed blinking of ascii drawing chars (#273)
  • background color is no longer brightened (value + 8) when blink attribute is set - this caused ugly rendering in some scenarios, and no terminals I tested do this either

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