Add changelog entry and cite version in docs

This commit is contained in:
Jordan Eldredge committed 2026-10-15 10:00:18 -07:00
1 parent f2705c7412
commit fb74c51d21
2 files changed
+3

No files matched your search

@@ -46,6 +46,8 @@ webamp.setTracksToPlay([
### `setTracks(tracks: Track[]): void`
**Since** [Unreleased](../12_changelog.md#unreleased)
Replace the playlist with an array of [`Track`s](01_track.md) without starting playback. Any current playback is stopped, and the first track is loaded so that it is ready to play.
```ts
@@ -14,6 +14,7 @@ If you want access to the changes in this section before they are officially rel
- Webamp's buttons can now be reached with Tab and activated with Enter or Space, and screen readers announce them as buttons with names that match their existing tooltips (for example "Play" or "Toggle Shuffle"). Buttons without a tooltip, like the equalizer's "On" and "Auto", now have names too.
- The Milkdrop window now has a stable id, `#milkdrop-window`, like `#main-window`, `#equalizer-window` and `#playlist-window`.
- Added a new Webamp instance method: [`webamp.onMediaError(cb)`](./06_API/03_instance-methods.md#onmediaerrorcb-error--code-number---void---void), which is called when a track fails to load or play.
- Added a new Webamp instance method: [`webamp.setTracks(tracks)`](./06_API/03_instance-methods.md#settrackstracks-track-void), which replaces the playlist without starting playback.
### Bug Fixes