Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
feat!: Remove deprecated features, update upgrade guides (#4089)
Below are the changelog entries for each deprecated feature removed by this commit.

-----

feat(config)!: `manifest.dash.defaultPresentationDelay` has been replaced by `manifest.defaultPresentationDelay` (deprecated in v3.0.0)

feat(config)!: Configuration of factories should be plain factory functions, not constructors; these will not be invoked with `new` (deprecated in v3.1.0)

feat(player)!: `shaka.Player.prototype.addTextTrack()` has been replaced by `addTextTrackAsync()`, which returns a `Promise` (deprecated in v3.1.0)

feat(ui)!: `shaka.ui.TrackLabelFormat` has been renamed to `shaka.ui.Overlay.TrackLabelFormat` (deprecated in v3.1.0)

feat(ui)!: `shaka.ui.FailReasonCode` has been renamed to `shaka.ui.Overlay.FailReasonCode` (deprecated in v3.1.0)

feat(offline)!: `shaka.offline.Storage.prototype.store()` returns `AbortableOperation` instead of `Promise` (deprecated in v3.0.0)

feat(offline)!: `shaka.offline.Storage.prototype.getStoreInProgress()` has been removed; concurrent operations are supported, so callers don't need to check this (deprecated in v3.0.0)

feat!: `shaka.util.Uint8ArrayUtils.equal` has been replaced by `shaka.util.BufferUtils.equal`, which can handle multiple types of buffers (deprecated in v3.0.0)

feat(manifest)!: `shaka.media.SegmentIndex.prototype.destroy()` has been replaced by `release()`, which is synchronous (deprecated in v3.0.0)

feat(manifest)!: `shaka.media.SegmentIterator.prototype.seek()`, which mutates the iterator, has been replaced by `shaka.media.SegmentIndex.getIteratorForTime()` (deprecated in v3.1.0)

feat(manifest)!: `shaka.media.SegmentIndex.prototype.merge()` has become private; use `mergeAndEvict()` instead (deprecated in v3.2.0)

feat(plugin)!: `AbrManager` plugins must implement the `playbackRateChanged()` method (deprecated in v3.0.0)

feat(plugin)!: `shaka.extern.Cue.prototype.spacer` has been replaced by the more clearly-named `lineBreak` (deprecated in v3.1.0)

feat(plugin)!: `IUIElement` plugins must have a `release()` method (not `destroy()`) (deprecated in v3.0.0)
  • Loading branch information
joeyparrish committed Apr 12, 2022
1 parent fe8b9ab commit ac5acc8
Show file tree
Hide file tree
Showing 22 changed files with 108 additions and 1,005 deletions.
10 changes: 2 additions & 8 deletions docs/tutorials/index.json
Expand Up @@ -20,12 +20,6 @@
{ "application-level-redirects": { "title": "Application-Level Redirects" } },
{ "blob-url": { "title": "Blob URL" } },
{ "faq": { "title": "Frequently Asked Questions" } },
{ "upgrade": {
"title": "Upgrade Guide",
"children": {
"upgrade-v2-5": { "title": "Upgrade Guide, v2.5 => v3" },
"upgrade-v3": { "title": "Upgrade Guide, v3" },
"upgrade-manifest": { "title": "Shaka Player Manifest Upgrade Guide" }
}
} }
{ "upgrade": { "title": "Upgrade Guide" } },
{ "upgrade-manifest": { "title": "ManifestParser Upgrade Guide" } }
]

0 comments on commit ac5acc8

Please sign in to comment.