Skip to content

Commit

Permalink
v4.0.0-beta.0
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisn committed Nov 30, 2024
1 parent 8a3cd2f commit a37238b
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 3 deletions.
33 changes: 33 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,38 @@
# Peaks.js

## 4.0.0-beta.0

* (#548) Added `zoomview.update` event, which is emitted when the time
range visible in the zoomable waveform view changes (@chrisn)

* (#545) Fixed error on clicking to insert a segment at the edge of the
waveform view (@chrisn)

* (#544) Added segment `markers` and `overlay` options, to individual
segments to be created as marker-style or overlay-style (@chrisn)

* (#533) Clicking on a segment marker now brings that marker to the top
of the z-order, to allow it to be dragged (@chrisn)

* (#546) The deprecated `peaks.ready` event has now been removed. You must
now provide a callback function to `Peaks.init()` (@chrisn)

* (#550) Fixed `touchend` event handling, by registering it as non-passive
(@chrisn)

* (#551) Fixed point and segment marker font defaults. These now use the
`fontFamily`, `fontSize`, and `fontStyle` options (@chrisn)

* (#553) Fixed `segments.dblclick` events (@chrisn)

* The waveform cache is now cleared on calling `peaks.destroy()` (@chrisn)

* Fixed a bug where points and segments would not be displayed in the
zoomable waveform view after the view's width is changed (@chrisn)

* The waveform views now initialise themselves to the correct position if the
playhead time is not zero when `Peaks.init()` is called (@chrisn)

## 3.4.2 (2024/08/15)

* (#536) Prevent the zoomview from scrolling when set to `auto` zoom level
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "peaks.js",
"version": "3.4.2",
"version": "4.0.0-beta.0",
"description": "JavaScript UI component for displaying audio waveforms",
"main": "./dist/peaks.min.js",
"module": "./dist/peaks.esm.js",
Expand Down

0 comments on commit a37238b

Please sign in to comment.