asciinema/asciinema-player (asciinema-player)
### [`v3.5.0`](https://togithub.com/asciinema/asciinema-player/releases/tag/v3.5.0): 3.5.0
[Compare Source](https://togithub.com/asciinema/asciinema-player/compare/v3.4.0...v3.5.0)
- added *experimental* websocket-based live streaming protocol (ALiS)
- more efficient parsing of typescript and ttyrec recordings
- improved logging
- fixed buffering in websocket driver
- added term size detection in raw handler of websocket driver
https://www.npmjs.com/package/asciinema-player/v/3.5.0
### [`v3.4.0`](https://togithub.com/asciinema/asciinema-player/releases/tag/v3.4.0): 3.4.0
[Compare Source](https://togithub.com/asciinema/asciinema-player/compare/v3.3.0...v3.4.0)
- introduced [new parsers for typescript and ttyrec formats](https://togithub.com/asciinema/asciinema-player#playing-other-recording-formats)
- added [markers](https://togithub.com/asciinema/asciinema-player#markers-1)
- added [`controls` option](https://togithub.com/asciinema/asciinema-player#controls) for controling visibility of control bar
- added scrubbing support to the progress bar, allowing for navigattion through the timeline of a recording. Thanks to [@blake-mealey](https://togithub.com/blake-mealey) for this contribution [#166](https://togithub.com/asciinema/asciinema-player/pull/166)!
- added offline state for live drivers
- fixed `idleTimeLimit` option behaviour with input ("i") events
- fixed time display when pre-buffering in live drivers
- added ability for configuring live drivers' `minFrameTime`
- right mouse button clicks on scrubber are now ignored
- prefixed most CSS classes to minimize clashes with host page CSS
- other CSS improvements like removing legacy prefixes, etc
- refactorings to driver initialization and poster rendering
### [`v3.3.0`](https://togithub.com/asciinema/asciinema-player/releases/tag/v3.3.0): 3.3.0
[Compare Source](https://togithub.com/asciinema/asciinema-player/compare/v3.2.0...v3.3.0)
- improved initialization with regards to obtaining font metrics (helps when embedding in Reveal.js slides)
- exposed input recorded with `asciinema rec --stdin` via `input` events
- added `inputOffset` source option to shift fired input events in time
- fixed `player.play()` to not act like toggle
- disabled font ligatures
- added `minFrameTime` source option to change FPS cap (default: 1/60s)
- smoother playback without jitter for websocket and eventsource drivers thanks to (now) default buffer of 100ms
- improved handling of current time for live drivers
- changed loading indicator to more obvious, good looking one
- refactored player core with regards to states player can be in
***
Example use of new `input` event:
```javascript
const player = AsciinemaPlayer.create('/demo.cast', document.getElementById('demo'));
player.addEventListener('input', { data } => {
console.log('input!', JSON.stringify(data));
})
```
`inputOffset` source option can be used to shift fired input events in time, e.g. when you need them to fire earlier due to audio samples taking extra time to be emitted:
```javascript
const player = AsciinemaPlayer.create({
url: '/demo.cast',
inputOffset: -0.25
}, document.getElementById('demo'));
player.addEventListener('input', { data } => {
// this is fired 250 ms earlier than it would be without `inputOffset`
playSound(data);
})
```
### [`v3.2.0`](https://togithub.com/asciinema/asciinema-player/releases/tag/v3.2.0): 3.2.0
[Compare Source](https://togithub.com/asciinema/asciinema-player/compare/v3.1.2...v3.2.0)
- moved control bar below last terminal line
- added frame stepping with dot key (when paused)
- added ability to implement custom format parser with `{ url: "...", parser: parserFn }` source - [doc](https://togithub.com/asciinema/asciinema-player#parsing-other-recording-formats)
- disabled logging by default, can be enabled with `{ logger: console }` option - [doc](https://togithub.com/asciinema/asciinema-player#logger)
- upgraded VT module to latest version
- further improvements to Websocket and EventSource (SSE) drivers
- code refactoring, bundler related upgrades
### [`v3.1.2`](https://togithub.com/asciinema/asciinema-player/releases/tag/v3.1.2): 3.1.2
[Compare Source](https://togithub.com/asciinema/asciinema-player/compare/v3.1.1...v3.1.2)
- fixed error thrown by ResizeObserver when resizing browser window
- improvements to Websocket and EventSource (SSE) drivers (these are not yet officially supported, will document them in README once they're ready for prime time)
### [`v3.1.1`](https://togithub.com/asciinema/asciinema-player/releases/tag/v3.1.1): 3.1.1
[Compare Source](https://togithub.com/asciinema/asciinema-player/compare/v3.1.0...v3.1.1)
- upgraded VT module to latest version
- improved buffer implementation for live sources (websocket, SSE)
### [`v3.1.0`](https://togithub.com/asciinema/asciinema-player/releases/tag/v3.1.0): 3.1.0
[Compare Source](https://togithub.com/asciinema/asciinema-player/compare/v3.0.1...v3.1.0)
- added support for faint graphic rendition
- added Nord color theme
- implemented ansi.sys variant of DECSC/DECRC control sequences: CSI s and CSI u
- fixed charset switching (shift out/in control sequence behaviour)
- fixed upper line clearing when scrolling down within scroll region
- improved soft reset (DECSTR control sequence) - charset states (G0, G1, GL) are now reset as well
### [`v3.0.1`](https://togithub.com/asciinema/asciinema-player/releases/tag/v3.0.1): 3.0.1
[Compare Source](https://togithub.com/asciinema/asciinema-player/compare/v3.0.0...v3.0.1)
### [`v3.0.0`](https://togithub.com/asciinema/asciinema-player/releases/tag/v3.0.0): 3.0.0
[Compare Source](https://togithub.com/asciinema/asciinema-player/compare/v3.0.0-rc.4...v3.0.0)
Brand new player rewritten from scratch. Smaller, faster, better.
### [`v3.0.0-rc.4`](https://togithub.com/asciinema/asciinema-player/releases/tag/v3.0.0-rc.4): 3.0.0-rc.4
[Compare Source](https://togithub.com/asciinema/asciinema-player/compare/v3.0.0-rc.3...v3.0.0-rc.4)
### [`v3.0.0-rc.3`](https://togithub.com/asciinema/asciinema-player/releases/tag/v3.0.0-rc.3): 3.0.0-rc.3
[Compare Source](https://togithub.com/asciinema/asciinema-player/compare/v3.0.0-rc.2...v3.0.0-rc.3)
### [`v3.0.0-rc.2`](https://togithub.com/asciinema/asciinema-player/releases/tag/v3.0.0-rc.2): 3.0.0-rc.2
[Compare Source](https://togithub.com/asciinema/asciinema-player/compare/v3.0.0-rc.1...v3.0.0-rc.2)
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
[ ] If you want to rebase/retry this PR, check this box
This PR has been generated by Mend Renovate. View repository job log here.
This PR contains the following updates:
3.0.0-rc.1
->3.5.0
Release Notes
asciinema/asciinema-player (asciinema-player)
### [`v3.5.0`](https://togithub.com/asciinema/asciinema-player/releases/tag/v3.5.0): 3.5.0 [Compare Source](https://togithub.com/asciinema/asciinema-player/compare/v3.4.0...v3.5.0) - added *experimental* websocket-based live streaming protocol (ALiS) - more efficient parsing of typescript and ttyrec recordings - improved logging - fixed buffering in websocket driver - added term size detection in raw handler of websocket driver https://www.npmjs.com/package/asciinema-player/v/3.5.0 ### [`v3.4.0`](https://togithub.com/asciinema/asciinema-player/releases/tag/v3.4.0): 3.4.0 [Compare Source](https://togithub.com/asciinema/asciinema-player/compare/v3.3.0...v3.4.0) - introduced [new parsers for typescript and ttyrec formats](https://togithub.com/asciinema/asciinema-player#playing-other-recording-formats) - added [markers](https://togithub.com/asciinema/asciinema-player#markers-1) - added [`controls` option](https://togithub.com/asciinema/asciinema-player#controls) for controling visibility of control bar - added scrubbing support to the progress bar, allowing for navigattion through the timeline of a recording. Thanks to [@blake-mealey](https://togithub.com/blake-mealey) for this contribution [#166](https://togithub.com/asciinema/asciinema-player/pull/166)! - added offline state for live drivers - fixed `idleTimeLimit` option behaviour with input ("i") events - fixed time display when pre-buffering in live drivers - added ability for configuring live drivers' `minFrameTime` - right mouse button clicks on scrubber are now ignored - prefixed most CSS classes to minimize clashes with host page CSS - other CSS improvements like removing legacy prefixes, etc - refactorings to driver initialization and poster rendering ### [`v3.3.0`](https://togithub.com/asciinema/asciinema-player/releases/tag/v3.3.0): 3.3.0 [Compare Source](https://togithub.com/asciinema/asciinema-player/compare/v3.2.0...v3.3.0) - improved initialization with regards to obtaining font metrics (helps when embedding in Reveal.js slides) - exposed input recorded with `asciinema rec --stdin` via `input` events - added `inputOffset` source option to shift fired input events in time - fixed `player.play()` to not act like toggle - disabled font ligatures - added `minFrameTime` source option to change FPS cap (default: 1/60s) - smoother playback without jitter for websocket and eventsource drivers thanks to (now) default buffer of 100ms - improved handling of current time for live drivers - changed loading indicator to more obvious, good looking one - refactored player core with regards to states player can be in *** Example use of new `input` event: ```javascript const player = AsciinemaPlayer.create('/demo.cast', document.getElementById('demo')); player.addEventListener('input', { data } => { console.log('input!', JSON.stringify(data)); }) ``` `inputOffset` source option can be used to shift fired input events in time, e.g. when you need them to fire earlier due to audio samples taking extra time to be emitted: ```javascript const player = AsciinemaPlayer.create({ url: '/demo.cast', inputOffset: -0.25 }, document.getElementById('demo')); player.addEventListener('input', { data } => { // this is fired 250 ms earlier than it would be without `inputOffset` playSound(data); }) ``` ### [`v3.2.0`](https://togithub.com/asciinema/asciinema-player/releases/tag/v3.2.0): 3.2.0 [Compare Source](https://togithub.com/asciinema/asciinema-player/compare/v3.1.2...v3.2.0) - moved control bar below last terminal line - added frame stepping with dot key (when paused) - added ability to implement custom format parser with `{ url: "...", parser: parserFn }` source - [doc](https://togithub.com/asciinema/asciinema-player#parsing-other-recording-formats) - disabled logging by default, can be enabled with `{ logger: console }` option - [doc](https://togithub.com/asciinema/asciinema-player#logger) - upgraded VT module to latest version - further improvements to Websocket and EventSource (SSE) drivers - code refactoring, bundler related upgrades ### [`v3.1.2`](https://togithub.com/asciinema/asciinema-player/releases/tag/v3.1.2): 3.1.2 [Compare Source](https://togithub.com/asciinema/asciinema-player/compare/v3.1.1...v3.1.2) - fixed error thrown by ResizeObserver when resizing browser window - improvements to Websocket and EventSource (SSE) drivers (these are not yet officially supported, will document them in README once they're ready for prime time) ### [`v3.1.1`](https://togithub.com/asciinema/asciinema-player/releases/tag/v3.1.1): 3.1.1 [Compare Source](https://togithub.com/asciinema/asciinema-player/compare/v3.1.0...v3.1.1) - upgraded VT module to latest version - improved buffer implementation for live sources (websocket, SSE) ### [`v3.1.0`](https://togithub.com/asciinema/asciinema-player/releases/tag/v3.1.0): 3.1.0 [Compare Source](https://togithub.com/asciinema/asciinema-player/compare/v3.0.1...v3.1.0) - added support for faint graphic rendition - added Nord color theme - implemented ansi.sys variant of DECSC/DECRC control sequences: CSI s and CSI u - fixed charset switching (shift out/in control sequence behaviour) - fixed upper line clearing when scrolling down within scroll region - improved soft reset (DECSTR control sequence) - charset states (G0, G1, GL) are now reset as well ### [`v3.0.1`](https://togithub.com/asciinema/asciinema-player/releases/tag/v3.0.1): 3.0.1 [Compare Source](https://togithub.com/asciinema/asciinema-player/compare/v3.0.0...v3.0.1) ### [`v3.0.0`](https://togithub.com/asciinema/asciinema-player/releases/tag/v3.0.0): 3.0.0 [Compare Source](https://togithub.com/asciinema/asciinema-player/compare/v3.0.0-rc.4...v3.0.0) Brand new player rewritten from scratch. Smaller, faster, better. ### [`v3.0.0-rc.4`](https://togithub.com/asciinema/asciinema-player/releases/tag/v3.0.0-rc.4): 3.0.0-rc.4 [Compare Source](https://togithub.com/asciinema/asciinema-player/compare/v3.0.0-rc.3...v3.0.0-rc.4) ### [`v3.0.0-rc.3`](https://togithub.com/asciinema/asciinema-player/releases/tag/v3.0.0-rc.3): 3.0.0-rc.3 [Compare Source](https://togithub.com/asciinema/asciinema-player/compare/v3.0.0-rc.2...v3.0.0-rc.3) ### [`v3.0.0-rc.2`](https://togithub.com/asciinema/asciinema-player/releases/tag/v3.0.0-rc.2): 3.0.0-rc.2 [Compare Source](https://togithub.com/asciinema/asciinema-player/compare/v3.0.0-rc.1...v3.0.0-rc.2)Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.