1.9 KiB
1.9 KiB
Changelog
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project follows Semantic Versioning.
[Unreleased]
[3.0.1] - 2026-02-13
Changed
- Updated
baseline-browser-mappingto the latest version to refresh Baseline data.
Fixed
- Fixed Vite import-analysis failures for optional stream libraries by switching to runtime dynamic imports with
@vite-ignoreinhlsLoader,rtmpLoader, andmpegtsLoader. - Preserved CDN fallback behavior when
hls.js,flv.js, ormpegts.jsare not installed locally. - Ensured examples build flow remains stable with optional streaming dependencies.
[3.0.0] - 2026-02-13
Added
- Added
PlayerErrorBoundary(src/components/ErrorBoundary.tsx) and exported it from the public API. - Added release validation pipeline scripts:
typecheck,validate:publish, andprepublishOnly. - Added Prettier setup:
.prettierrc,.prettierignore,format, andformat:check. - Added
CHANGELOG.mdfor release notes tracking.
Changed
- Namespaced player CSS classes and keyframes with
sp-prefix for stronger style isolation. - Enabled strict TypeScript mode for library build via
tsconfig.lib.json. - Tightened ESLint rules for production code (
no-explicit-anyandban-ts-commentwarnings). - Centralized browser/vendor and streaming runtime typings in
src/types/vendor.d.ts.
Fixed
- Removed remaining production
anyusage in HLS, FLV/RTMP, and MPEG-TS setup/control utilities. - Updated internal tests and selectors to reflect namespaced CSS classes.
- Patched vulnerable transitive dependencies via
npm audit fix(@isaacs/brace-expansion,js-yaml,lodash).
[2.0.0]
Added
- Initial modern React video player release with HLS, FLV/RTMP, and MPEG-TS support.