Skip to content

@svta/cml-webvtt changelog ​

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

Unreleased ​

1.1.0 - 2026-12-01 ​

Changed ​

  • The reuseCue parameter of WebVttParser.parse() no longer has an effect. The parser always keeps the current cue and region between calls. The parse() form with two arguments is now deprecated.
  • The README now has a When to use section. The section names the tasks that the package covers and the entry point of each task.
  • The README and the homepage field of package.json now link to the package page on the website, cml.svta.org/packages/webvtt.

Fixed ​

  • The published package includes NOTICE.md.
  • WebVttParser.parse() no longer throws a TypeError if a chunk ends inside a cue.
  • WebVttTransformStream no longer fails if a chunk ends inside a cue.
  • A REGION block that spans two chunks no longer loses the region settings.
  • The parser no longer reads the block after a REGION block with no settings as region settings.
  • The parser no longer reports an empty style sheet for a STYLE block with no lines.
  • If a region setting or a cue setting occurs more than once, the parser now uses the last valid value.
  • The parser now ignores a line or position cue setting with an invalid alignment, such as line:42%,left.
  • The position cue setting no longer accepts the alignment auto.
  • The parser no longer reports a signature error for a file with only CR line breaks.
  • The parser no longer replaces the text u2029 in a cue with a line break. The parser now replaces the U+2029 paragraph separator, the same as the U+2028 line separator.
  • The parser now ends the header at a line with -->. The cue of that line is no longer lost (#785).
  • A line with --> now ends a REGION, STYLE, or NOTE block. The cue of that line is no longer lost (#785).
  • A timing line after a malformed timing line now starts a new cue (#785).
  • The parser now reads a REGION or STYLE block that follows a NOTE block (#785).
  • The parser now keeps a cue with an identifier that starts with REGION or STYLE (#785).
  • The parser no longer reports an error for a file that contains only the WEBVTT signature with no line break (#785).
  • The parser now reads the last block of an input that does not end with a line break (#785).
  • The parser no longer drops a timing line after cue text on the last line of the input (#785).

1.0.10 - 2026-10-18 ​

Changed ​

  • README: the usage example prints its results instead of calling an undefined assert.
  • Peer dependency ranges are now caret ranges, for example ^1.6.2 instead of 1.6.2. A later patch or minor release of a peer no longer requires a new release of this package.

1.0.9 - 2026-09-15 ​

Changed ​

  • Update @svta/cml-utils to 1.6.1

1.0.8 - 2026-07-28 ​

Changed ​

  • Update @svta/cml-utils to 1.6.0

1.0.7 - 2026-07-21 ​

Fixed ​

  • WebVttTransformStream no longer reads the bare TransformStream global at module scope: importing only non-stream exports is now fully tree-shakeable, and importing the package never throws on runtimes without the Web Streams API. Instantiating WebVttTransformStream on such runtimes throws a descriptive error instead (#382)

1.0.6 - 2026-05-13 ​

Changed ​

  • Update @svta/cml-utils to 1.5.0

1.0.5 - 2026-02-11 ​

Changed ​

  • Update @svta/cml-utils to 1.4.0

1.0.4 - 2026-02-04 ​

Changed ​

  • Update @svta/cml-utils to 1.3.0

1.0.3 - 2026-02-03 ​

Changed ​

  • Update @svta/cml-utils to 1.2.0

1.0.2 - 2025-12-26 ​

Changed ​

  • Update @svta/cml-utils to 1.1.0 (#279)

1.0.1 - 2025-12-22 ​

Fixed ​

  • Use fixed version numbers for all CML peer dependencies (#277)

1.0.0 - 2025-10-24 ​

Changed ​

Changed ​

  • Remove CommonJS exports (#192)
  • Convert to mono-repo (#238)
  • Produce single bundled export for each package (#260)

A Streaming Video Technology Alliance project.