Release Notes
auto-sub — v1.0.0
Date: 2025-11-16
Summary
Small maintenance release with documentation, code cleanup, and metadata updates to improve maintainability and developer experience.
Highlights
- Code clarity: Translated all Vietnamese inline comments in
src/content_script.tsto English for better readability and future contributions. - Bugfix / Refactor: Fixed drag event listener leak by storing and using bound handler references; ensured event listeners are removed properly during cleanup.
- Dead code removed: Removed unused timer logic and other minor dead-code to simplify maintenance.
- Documentation: Added a concise
README.mdwith quick-start, usage, and development information. - License: Added an MIT
LICENSEfile. Copyright updated to Doan Qang Huy (2025). - Package metadata: Updated
package.json:authorset toDoan Qang Huylicenseset toMITengines.nodeset to>=22
- Build: Verified TypeScript build completes successfully (
npm run build).
Files changed (not exhaustive)
src/content_script.ts— comment translations, event-handler refactor, minor cleanup.README.md— new project README (Node.js >=22 noted).LICENSE— MIT license added.package.json— author/license/engines updated.
Upgrade / Installation notes
- Recommended Node.js version: >= 22.
- To build locally:
npm install
npm run buildSuggested Git & release commands
git add -A
git commit -m "chore: release v1.0.0 — docs & cleanup"
git tag -a v1.0.0 -m "Release v1.0.0 — docs & cleanup"
git push origin main --tagsNotes
If you want me to publish the tag, create a GitHub Release, or shorten this for the GitHub UI, I can do that next.
Full Changelog: https://github.com/quanghuybest2k2/auto-sub/commits/v1.0.0