chore update docs dependencies to v3.15.1#761
Open
renovate[bot] wants to merge 1 commit intomasterfrom
Open
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% 75.96% -0.14%
Complexity 252 252
============================================
Files 46 46
Lines 1000 928 -72
============================================
- Hits 761 705 -56
+ Misses 239 223 -16 ☔ 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
1e0cb9d to
1628ed6
Compare
1628ed6 to
71c689c
Compare
4327294 to
d0a0618
Compare
d0a0618 to
f6c805b
Compare
f6c805b to
64f34d1
Compare
64f34d1 to
99ec0c9
Compare
99ec0c9 to
e180393
Compare
e180393 to
a17f47e
Compare
a17f47e to
4ab4fa8
Compare
4ab4fa8 to
dedb761
Compare
dedb761 to
40da994
Compare
40da994 to
43c8698
Compare
43c8698 to
54d8549
Compare
54d8549 to
dcd1c1e
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
3.7.1→3.15.1Release Notes
asciinema/asciinema-player (asciinema-player)
v3.15.1: 3.15.1Compare Source
Patch release, fixing theme color normalization (introduced in 3.15.0), which caused broken background color rendering for colors defined using short form (
#fff).v3.15.0Compare Source
v3.14.15: 3.14.15Compare Source
A π release!
v3.14.0: 3.14.0Compare Source
This is a significant release, with major refactoring to the terminal renderer.
Notable changes:
boldIsBrightoption (see below)New terminal renderer
The terminal renderer is now 2x faster, resulting in reduced (typically zero) frame skips, and lower CPU and memory usage. In practice, the playback is smoother (up to 60 FPS, since there's no fixed frame rate) even for the most demanding animations.
There are 4 changes in this new implementation that contribute to better performance:
<canvas>,Other than improving performance, moving block symbol rendering to a crisp, pixelated canvas resulted in perfect alignment of block chars with the background. No more visual glitches for ANSI art!
Last but not least, 4 Powerline symbols (2 arrows, 2 triangles) and the smooth mosaic character set are now rendered as SVG instead of relying on fonts, giving them better alignment and making those glyphs look consistent across browsers/platforms.
Check out these cool demos to see the new renderer in action:
https://asciinema.org/a/648882 - Amiga themed Terminal Multiplexer
https://asciinema.org/a/370006 - Impossible Flappy
https://asciinema.org/a/150828 - term81 - voxel
https://asciinema.org/a/150843 - term81 - tunnel
https://asciinema.org/a/141032 - cbeams
https://asciinema.org/a/423181 - Tetris
https://asciinema.org/a/335029 - Gorched
New
boldIsBrightoptionSince the early days, the player assumed the classic (legacy) logic of "when text has the bold attribute it should be rendered in high-intensity/bright variant of its color", e.g., bold + color 2 was rendered as bold + color 10. This logic was often used by terminal emulators in the past, and many of them provided a setting for enabling/disabling this behavior.
With this version, the "bold makes it bright" is disabled by default (
boldIsBright: false), but it can be enabled by settingboldIsBright: truewhen initializing the player. Whether you should use it or not depends on your terminal and its corresponding setting. Many modern terminal emulators don't enable this behavior by default, so when in doubt, just leave it off.v3.13.5: 3.13.5Compare Source
v3.13.4: 3.13.4Compare Source
Tiny patch release with just:
v3.13.3: 3.13.3Compare Source
Just a few small tweaks:
<pre>from interfering with terminal's border-radiusv3.13.2: 3.13.2Compare Source
Notable changes:
Nerd Font symbols (Powerline, Devicons, Font Awesome, Octicons, Pomicons, Codicons, ...) (https://github.com/ryanoasis/nerd-fonts/wiki/Glyph-Sets-and-Code-Points) are now properly rendered as long as the
Symbols Nerd Fontis loaded on the web page.You can add
Symbols Nerd Fontby downloadingNerdFontsSymbolsOnly.zipfrom Nerd Font releases page, then adding this@font-facedeclaration to your CSS:v3.13.1Compare Source
v3.13.0Compare Source
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
audioUrloption, 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: trueoption 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 theautoplaywill 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
audioUrlis 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 (
mkey) for muting/unmuting.Note that for the audio playback to work:
autoplay: trueoption - 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.jsto package exports to allow pre-3.8.0 usage (#263)v3.8.0: 3.8.0Compare Source
Notable changes:
auto/<theme-name>specification forthemeoption (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
themeoption when initializing the player. When thethemeoption was not used, the player favored the embedded theme, falling back toasciinematheme. 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
themeoption (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.