bad1cc6ca0
Introduces internationalization (i18n) support with English and Turkish, adds unit tests and test setup with Vitest and React Testing Library, and updates documentation including README and changelog. Removes legacy publishing and usage guides, refactors components to use translation system, and updates build and test scripts in package.json. Also adds new utility modules for HLS and CORS, and improves PlayerContext and SettingsMenu for language support.
71 lines
2.5 KiB
Markdown
71 lines
2.5 KiB
Markdown
# Changelog
|
|
|
|
All notable changes to this project will be documented in this file.
|
|
|
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
|
|
## [Unreleased]
|
|
|
|
### Added
|
|
- ✅ Test infrastructure with Vitest and React Testing Library
|
|
- 🌍 Internationalization (i18n) system with English and Turkish support
|
|
- 📊 Comprehensive README with comparison table
|
|
- 📝 44 unit tests covering core functionality
|
|
- 🔄 Language prop for VideoPlayer component
|
|
|
|
### Changed
|
|
- 🌐 Replaced hardcoded strings with translation system
|
|
- 📦 Updated build configuration for better tree-shaking
|
|
|
|
### Fixed
|
|
- 🐛 TypeScript errors in test setup file
|
|
|
|
## [0.1.3] - 2025-01-29
|
|
|
|
### Changed
|
|
- 📦 Fixed CSS export path in package.json
|
|
- 🔧 Build configuration improvements
|
|
|
|
## [0.1.2] - 2025-01-29
|
|
|
|
### Added
|
|
- 📘 TypeScript declaration files support with vite-plugin-dts
|
|
- 🎯 Full type safety for all exports
|
|
|
|
## [0.1.1] - 2025-01-29
|
|
|
|
### Added
|
|
- 🎬 Initial release of Modern Video Player
|
|
- ▶️ Core playback controls (play, pause, seek, volume)
|
|
- 🎨 Modern, responsive UI with auto-hiding controls
|
|
- ⌨️ Comprehensive keyboard shortcuts (15+ shortcuts)
|
|
- 📱 Touch gesture support for mobile devices
|
|
- 🎞️ HLS streaming support with automatic quality switching
|
|
- 📝 Subtitle support (WebVTT and SRT)
|
|
- 🎵 Multiple audio track support
|
|
- 🖼️ Picture-in-Picture and Fullscreen support
|
|
- 🎚️ Playback speed control (0.25x to 2x)
|
|
- 🎨 Theme customization with CSS variables
|
|
- 🔧 Zero runtime dependencies
|
|
- 📦 Tiny bundle size (~15KB gzipped)
|
|
- 🔄 HTTP Range Request support for large files
|
|
- 🛡️ CORS error handling and helpful error messages
|
|
- ⚡ Lazy loading for HLS.js and settings menu
|
|
- 🎯 React 18+ support
|
|
- 📘 Full TypeScript support
|
|
|
|
### Technical Features
|
|
- 🏗️ Built with React 18, TypeScript 5, and Vite 7
|
|
- 🎨 CSS modules and CSS variables for styling
|
|
- 🧩 Component-based architecture with React Context
|
|
- 🪝 Custom hooks for keyboard shortcuts and touch gestures
|
|
- 📦 ESM and UMD build outputs
|
|
- 🔧 Aggressive bundle optimization with Terser
|
|
- 🌲 Tree-shaking support
|
|
|
|
[Unreleased]: https://gitea.hibna.com.tr/hibna/video-player/compare/v0.1.3...HEAD
|
|
[0.1.3]: https://gitea.hibna.com.tr/hibna/video-player/compare/v0.1.2...v0.1.3
|
|
[0.1.2]: https://gitea.hibna.com.tr/hibna/video-player/compare/v0.1.1...v0.1.2
|
|
[0.1.1]: https://gitea.hibna.com.tr/hibna/video-player/releases/tag/v0.1.1
|