-
-
Notifications
You must be signed in to change notification settings - Fork 3
chore update docs dependencies to v3.12.1 #761
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Important Review skippedBot user detected. To trigger a single review, invoke the You can disable this status message by setting the Comment |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #761 +/- ##
=========================================
Coverage 76.10% 76.10%
Complexity 252 252
=========================================
Files 46 46
Lines 1000 1000
=========================================
Hits 761 761
Misses 239 239 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
0373212
to
0235559
Compare
0235559
to
19d31cf
Compare
19d31cf
to
13d4d47
Compare
13d4d47
to
38330b9
Compare
38330b9
to
12cc79b
Compare
12cc79b
to
f83d947
Compare
f83d947
to
1e0cb9d
Compare
This PR contains the following updates:
3.7.1
->3.12.1
Release Notes
asciinema/asciinema-player (asciinema-player)
v3.12.1
: 3.12.1Compare Source
This version includes additional fix for seeking past the end of recording and restarting the playback.
v3.12.0
: 3.12.0Compare Source
Notable changes:
Live audio playback
The
audioUrl
option, introduced in v3.11, can now also be used with live (WebSocket) sources:The URL should be a live audio source - either a direct HTTP audio stream (.mp3, .aac, .ogg, etc) such as Icecast/Shoutcast endpoint, or HLS playlist (.m3u8).
Note that it's not recommended to use
autoplay: true
option together withaudioUrl
- browsers often require explicit user activity (click, tap) to enable sound, which in the player's case would be starting the playback by clicking on the play button. Without user click theautoplay
will start the playback but the sound likely won't be there.Also, for the audio playback to work a server that handles the audio URL (e.g. Icecast) must be configured to allow CORS requests from the page (URL) that hosts the player.
New adaptive buffering
The WebSocket driver uses adaptive buffer (expressed in time) to ensure smooth, stutter free playback of live sessions with minimal latency.
The previous algorithm used a moving average over a sliding window of N recent latencies. It did ok-ish job, but given the sparse nature of the event stream (no constant rate) it turned out to be not ideal. Here's how it performed. Red dots are measured latencies, green line is effective buffer time:
The new algorithm uses time based EMA (exponential moving average), which is much more relevant for sparse events, resulting in more stable and overall lower buffer size when applied to a wide spectrum of terminal activities (here applied to the same input latencies as the one above):
v3.11.1
: 3.11.1Compare Source
This release brings additional fixes for audio loading in Safari.
v3.11.0
: 3.11.0Compare Source
Notable changes:
,
and.
keysThe main new thing in this version is the synced audio playback.
When
audioUrl
is passed as an option when mounting the player on the page, the player automatically creates hidden audio element, ensures the audio file is ready for playback, and syncs audio playback position with the terminal recording playback (pause, resume, seek just work).There's also a new button (icon) and keyboard shortcut (
m
key) for muting/unmuting.Note that for the audio playback to work:
autoplay: true
option - browsers often require explicit user activity (click, tap) to enable soundCheck out this demo:
v3.10.0
: 3.10.0Compare Source
Notable changes:
https://www.npmjs.com/package/asciinema-player/v/3.10.0
v3.9.0
: 3.9.0Compare Source
Notable changes:
?
key or the keyboard icon in the control bar,
(comma) key, a complementary feature for existing "step forward" (.
key)https://www.npmjs.com/package/asciinema-player/v/3.9.0
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.
v3.8.2
: 3.8.2Compare Source
Notable changes:
v3.8.1
: 3.8.1Compare Source
Notable changes:
dist/bundle/asciinema-player.min.js
to package exports to allow pre-3.8.0 usage (#263)v3.8.0
: 3.8.0Compare Source
Notable changes:
auto/<theme-name>
specification fortheme
option (see below)"type": "module"
to package.json to fix import error with some bundlers (thanks @MaddyGuthridge)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 thetheme
option was not used, the player favored the embedded theme, falling back toasciinema
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 nowauto/asciinema
.Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.