Skip to content

@svta/cml-error-codes 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 ​

Changed ​

  • 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 no longer describes the peer dependencies. The website lists them from package.json on the package page.

0.1.2 - 2026-10-18 ​

Changed ​

  • Update @svta/cml-utils to 1.6.2
  • 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.

0.1.1 - 2026-09-15 ​

Changed ​

  • Update @svta/cml-utils to 1.6.1

0.1.0 - 2026-09-07 ​

Added ​

  • Initial implementation of SVTA2070: Standardized Error Codes, per rfc/error-codes.md
  • SvtaErrorCategory and one code catalog per category: SvtaUnknownErrorCode, SvtaMediaContentErrorCode, SvtaPlaybackErrorCode, SvtaNetworkErrorCode, SvtaContentProtectionErrorCode, SvtaAccessibilityErrorCode, SvtaRemotePlayErrorCode, SvtaAdvertisingErrorCode, and SvtaCustomErrorCode
  • Every code and category as an individual SVTA_* constant, and the SvtaErrorCode union type
  • getSvtaErrorCategory and getSvtaErrorIndex for the category and index arithmetic of the specification
  • httpStatusToSvtaErrorCode and vastErrorToSvtaErrorCode to embed HTTP response statuses and IAB VAST error codes. vastErrorToSvtaErrorCode(1009) returns 7999

A Streaming Video Technology Alliance project.