Releases: asciinema/asciinema-player
3.9.0
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
v3.9.0-rc.2 Bump version
3.9.0-rc.1
v3.9.0-rc.1 Fix logging in worker
3.8.3-rc.1
v3.8.3-rc.1 Bump version
3.8.2
3.8.1
3.8.0
Notable changes:
- added support for colons in SGR color sequences - fixes (asciinema/avt#9, #154, #231)
- added support for
auto/<theme-name>
specification fortheme
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
v3.7.2-rc.7 Bump version
3.7.2-rc.6
v3.7.2-rc.6 Bump version
3.7.2-rc.5
v3.7.2-rc.5 Fix npm auth in GH actions