diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index d8b275711..e3234b098 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -60,5 +60,5 @@ jobs: -H "Accept: application/vnd.github.v3+json" \ -H "Authorization: token $GITHUB_TOKEN" \ 'https://api.github.com/repos/katspaugh/wavesurfer.js/releases' \ - -d "{\"tag_name\":\"$NEW_VERSION\", \"name\": \"$NEW_VERSION\", \"owner\": \"wavesurfer.js\" }" + -d "{\"tag_name\":\"$NEW_VERSION\", \"name\": \"$NEW_VERSION\"}" fi diff --git a/CHANGES.md b/CHANGES.md index 300bd0a22..4692b0020 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,10 +1,12 @@ wavesurfer.js changelog ======================= -4.7.0 (unreleased) +5.0.0 (02.05.2021) ------------------ +- Add new `vertical` parameter enabling displaying waveforms vertically (#2195) - Fixed `exportPCM()` to return a Promise containing valid JSON data with `noWindow` (#1896, #1954) +- Nullify `onaudioprocess` on remove to not execute in background (#2218) - Playhead plugin: add a new plugin that allows the setting of a independent "play head", or song-start position. (#2209) - Markers plugin: fix a bug where markers at the end of a track would cause @@ -13,8 +15,6 @@ wavesurfer.js changelog - Fix mouseup not firing if click & drag a region handle & release outside the browser window (#2213) - Added new `showTooltip` param allowing disabling region `title` tooltip (#2213) -- Nullify `onaudioprocess` on remove to not execute in background (#2218) -- Add new `vertical` parameter enabling displaying waveforms vertically (#2195) 4.6.0 (04.03.2021) ------------------ diff --git a/bower.json b/bower.json index 05e47aff3..8a5c27a61 100644 --- a/bower.json +++ b/bower.json @@ -1,6 +1,6 @@ { "name": "wavesurfer.js", - "version": "4.6.0", + "version": "5.0.0", "homepage": "https://wavesurfer-js.org", "authors": [ "katspaugh " diff --git a/package.json b/package.json index 62aa9cf90..03ee61273 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "wavesurfer.js", - "version": "4.6.0", + "version": "5.0.0", "description": "Interactive navigable audio visualization using Web Audio and Canvas", "main": "dist/wavesurfer.js", "directories": { diff --git a/src/plugin/playhead/index.js b/src/plugin/playhead/index.js index c0edee0de..9dcb8bf18 100644 --- a/src/plugin/playhead/index.js +++ b/src/plugin/playhead/index.js @@ -43,7 +43,7 @@ export default class PlayheadPlugin { * used by wavesurfer to correctly instantiate the plugin. * * @param {PlayheadPluginParams} params parameters use to initialise the plugin - * @since 4.7.0 + * @since 5.0.0 * @return {PluginDefinition} an object representing the plugin */ static create(params) { diff --git a/src/util/orientation.js b/src/util/orientation.js index af9b1e0f4..439c4629c 100644 --- a/src/util/orientation.js +++ b/src/util/orientation.js @@ -58,7 +58,7 @@ const isProxy = Symbol("isProxy"); * @param {object} target The object to be wrapped and oriented * @param {bool} vertical Whether the element is oriented vertically * @returns {Proxy} An oriented object with attr translation via verticalAttrMap - * @since 4.7.0 + * @since 5.0.0 */ export default function withOrientation(target, vertical) { if (target[isProxy]) {