Skip to content

Commit a37238b

Browse files
committed
v4.0.0-beta.0
1 parent 8a3cd2f commit a37238b

File tree

3 files changed

+36
-3
lines changed

3 files changed

+36
-3
lines changed

CHANGELOG.md

+33
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,38 @@
11
# Peaks.js
22

3+
## 4.0.0-beta.0
4+
5+
* (#548) Added `zoomview.update` event, which is emitted when the time
6+
range visible in the zoomable waveform view changes (@chrisn)
7+
8+
* (#545) Fixed error on clicking to insert a segment at the edge of the
9+
waveform view (@chrisn)
10+
11+
* (#544) Added segment `markers` and `overlay` options, to individual
12+
segments to be created as marker-style or overlay-style (@chrisn)
13+
14+
* (#533) Clicking on a segment marker now brings that marker to the top
15+
of the z-order, to allow it to be dragged (@chrisn)
16+
17+
* (#546) The deprecated `peaks.ready` event has now been removed. You must
18+
now provide a callback function to `Peaks.init()` (@chrisn)
19+
20+
* (#550) Fixed `touchend` event handling, by registering it as non-passive
21+
(@chrisn)
22+
23+
* (#551) Fixed point and segment marker font defaults. These now use the
24+
`fontFamily`, `fontSize`, and `fontStyle` options (@chrisn)
25+
26+
* (#553) Fixed `segments.dblclick` events (@chrisn)
27+
28+
* The waveform cache is now cleared on calling `peaks.destroy()` (@chrisn)
29+
30+
* Fixed a bug where points and segments would not be displayed in the
31+
zoomable waveform view after the view's width is changed (@chrisn)
32+
33+
* The waveform views now initialise themselves to the correct position if the
34+
playhead time is not zero when `Peaks.init()` is called (@chrisn)
35+
336
## 3.4.2 (2024/08/15)
437

538
* (#536) Prevent the zoomview from scrolling when set to `auto` zoom level

package-lock.json

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "peaks.js",
3-
"version": "3.4.2",
3+
"version": "4.0.0-beta.0",
44
"description": "JavaScript UI component for displaying audio waveforms",
55
"main": "./dist/peaks.min.js",
66
"module": "./dist/peaks.esm.js",

0 commit comments

Comments
 (0)