diff --git a/.gitea/workflows/announce-release.yml b/.gitea/workflows/announce-release.yml index f7d7b46..8ffc9f2 100644 --- a/.gitea/workflows/announce-release.yml +++ b/.gitea/workflows/announce-release.yml @@ -24,10 +24,10 @@ jobs: announce: permissions: contents: read - uses: poli0981/.github/.gitea/workflows/announce-release.yml@c133a00dc7a0bd7bd68253d415758b408d615fa4 # ops v2026.11.4 + uses: poli0981/.github/.gitea/workflows/announce-release.yml@b93b3711b3049a879cfdfd515f7e72c23864da8f # ops v2026.11.5 with: tag_override: ${{ inputs.tag || '' }} - ops_ref: c133a00dc7a0bd7bd68253d415758b408d615fa4 + ops_ref: b93b3711b3049a879cfdfd515f7e72c23864da8f # Only what the shared workflow declares — not `inherit`, which would hand # every repository secret (the Android signing keys included) to it. secrets: diff --git a/.gitea/workflows/notify-ci-failure.yml b/.gitea/workflows/notify-ci-failure.yml index 6a72300..83831d8 100644 --- a/.gitea/workflows/notify-ci-failure.yml +++ b/.gitea/workflows/notify-ci-failure.yml @@ -17,8 +17,8 @@ jobs: permissions: contents: read actions: read - uses: poli0981/.github/.gitea/workflows/notify-ci-failure.yml@c133a00dc7a0bd7bd68253d415758b408d615fa4 # ops v2026.11.4 + uses: poli0981/.github/.gitea/workflows/notify-ci-failure.yml@b93b3711b3049a879cfdfd515f7e72c23864da8f # ops v2026.11.5 with: - ops_ref: c133a00dc7a0bd7bd68253d415758b408d615fa4 + ops_ref: b93b3711b3049a879cfdfd515f7e72c23864da8f secrets: DISCORD_CI_WEBHOOK: ${{ secrets.DISCORD_CI_WEBHOOK }} diff --git a/.gitea/workflows/notify-release-pipeline.yml b/.gitea/workflows/notify-release-pipeline.yml index 281ba55..cc36dde 100644 --- a/.gitea/workflows/notify-release-pipeline.yml +++ b/.gitea/workflows/notify-release-pipeline.yml @@ -18,9 +18,9 @@ jobs: permissions: contents: read actions: read - uses: poli0981/.github/.gitea/workflows/notify-release-pipeline.yml@c133a00dc7a0bd7bd68253d415758b408d615fa4 # ops v2026.11.4 + uses: poli0981/.github/.gitea/workflows/notify-release-pipeline.yml@b93b3711b3049a879cfdfd515f7e72c23864da8f # ops v2026.11.5 with: - ops_ref: c133a00dc7a0bd7bd68253d415758b408d615fa4 + ops_ref: b93b3711b3049a879cfdfd515f7e72c23864da8f # Only the webhook the shared workflow declares — not `inherit`. secrets: DISCORD_RELEASE_PIPELINE_WEBHOOK: ${{ secrets.DISCORD_RELEASE_PIPELINE_WEBHOOK }} diff --git a/.gitea/workflows/qodana.yml b/.gitea/workflows/qodana.yml index 1faa518..4e91a07 100644 --- a/.gitea/workflows/qodana.yml +++ b/.gitea/workflows/qodana.yml @@ -62,7 +62,7 @@ jobs: if: ${{ needs.tokens.outputs.typescript == 'true' }} permissions: contents: read - uses: poli0981/.github/.gitea/workflows/reusable-qodana.yml@c133a00dc7a0bd7bd68253d415758b408d615fa4 # ops v2026.11.4 + uses: poli0981/.github/.gitea/workflows/reusable-qodana.yml@b93b3711b3049a879cfdfd515f7e72c23864da8f # ops v2026.11.5 with: runs-on: ubuntu-latest linter: qodana-js @@ -77,7 +77,7 @@ jobs: if: ${{ needs.tokens.outputs.rust == 'true' }} permissions: contents: read - uses: poli0981/.github/.gitea/workflows/reusable-qodana.yml@c133a00dc7a0bd7bd68253d415758b408d615fa4 # ops v2026.11.4 + uses: poli0981/.github/.gitea/workflows/reusable-qodana.yml@b93b3711b3049a879cfdfd515f7e72c23864da8f # ops v2026.11.5 with: runs-on: windows-latest within-docker: true diff --git a/.gitea/workflows/release.yml b/.gitea/workflows/release.yml index bd995a1..c2b2acc 100644 --- a/.gitea/workflows/release.yml +++ b/.gitea/workflows/release.yml @@ -373,7 +373,7 @@ jobs: if: ${{ startsWith(github.ref, 'refs/tags/v') }} permissions: contents: read - uses: poli0981/.github/.gitea/workflows/publish-r2.yml@c133a00dc7a0bd7bd68253d415758b408d615fa4 # ops v2026.11.4 + uses: poli0981/.github/.gitea/workflows/publish-r2.yml@b93b3711b3049a879cfdfd515f7e72c23864da8f # ops v2026.11.5 with: app: youtube-generator artifact: r2-release diff --git a/.gitea/workflows/security.yml b/.gitea/workflows/security.yml index b8c58b8..35ca946 100644 --- a/.gitea/workflows/security.yml +++ b/.gitea/workflows/security.yml @@ -82,7 +82,7 @@ jobs: scan: permissions: contents: read - uses: poli0981/.github/.gitea/workflows/security.yml@c133a00dc7a0bd7bd68253d415758b408d615fa4 # ops v2026.11.4 + uses: poli0981/.github/.gitea/workflows/security.yml@b93b3711b3049a879cfdfd515f7e72c23864da8f # ops v2026.11.5 with: node: true rust: true diff --git a/.github/ISSUE_TEMPLATE/accessibility.yml b/.github/ISSUE_TEMPLATE/accessibility.yml index dd5fb02..077997f 100644 --- a/.github/ISSUE_TEMPLATE/accessibility.yml +++ b/.github/ISSUE_TEMPLATE/accessibility.yml @@ -77,8 +77,8 @@ body: id: version attributes: label: App version - description: From the About page. Example `v1.7.0`. - placeholder: v1.7.0 + description: From the About page. Example `v1.7.1`. + placeholder: v1.7.1 validations: required: true - type: dropdown diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml index 76a29fb..40a58e5 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.yml +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -12,8 +12,8 @@ body: id: version attributes: label: App version - description: From the About page. Example `v1.7.0`. - placeholder: v1.7.0 + description: From the About page. Example `v1.7.1`. + placeholder: v1.7.1 validations: required: true - type: dropdown diff --git a/.gitlab/issue_templates/Accessibility.md b/.gitlab/issue_templates/Accessibility.md index 724cbab..8ef5ed9 100644 --- a/.gitlab/issue_templates/Accessibility.md +++ b/.gitlab/issue_templates/Accessibility.md @@ -47,7 +47,7 @@ e.g. "With NVDA, the Copy Title button is announced only as 'button'." --> - Medium — it works, but inconsistently or confusingly - Low — a minor annoyance -**App version** (About page, e.g. `v1.7.0`): +**App version** (About page, e.g. `v1.7.1`): **Where are you running YTDescGen?** (web / Windows / Linux / macOS 1.6.0 or older / Android / local dev): diff --git a/.gitlab/issue_templates/Bug.md b/.gitlab/issue_templates/Bug.md index e3bfc90..564549f 100644 --- a/.gitlab/issue_templates/Bug.md +++ b/.gitlab/issue_templates/Bug.md @@ -5,7 +5,7 @@ between a fix today and a fix in three weeks. Security problems: never here, e-mail security@poli0981.dev (see SECURITY.md). --> -**App version** (About page, e.g. `v1.7.0`): +**App version** (About page, e.g. `v1.7.1`): **Where are you running YTDescGen?** (keep one) - Web (ytgenerator.stream) diff --git a/CHANGELOG.md b/CHANGELOG.md index 16931ef..4a077bb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,28 @@ All notable changes to YTDescGen ship as tagged releases on `main`. +## v1.7.1 — 2026-12-05 + +A maintenance release. The desktop and Android apps move to **Tauri 2.13**, and the scheduled dependency updates close three advisories in the development tools. Nothing about what the app generates changes, and your data stays where it is. Web, desktop (Windows, Linux) and Android all ship as 1.7.1. + +### Changed + +- **Tauri 2.13** (tauri 2.13.0, wry 0.58, tao 0.38, dialog plugin 2.9.0) brings upstream fixes, among them a crash when the main-thread context was dropped off the main thread. On Android, Back on the first page is now left to the system, so Android 16 plays its predictive back-to-home animation. +- **Linux**: Tauri's Linux stack moved from gtk-rs 0.18 to gtk 0.19 / glib 0.22 / webkit2gtk 3, which retires glib 0.18's unsoundness advisory (GHSA-wrw7-89jp-8q8g) and the unmaintained proc-macro-error. The `.deb` and `.rpm` also carry Tauri's GStreamer plugin for `asset://` media now (`/usr/lib/YTDescGen/gstreamer-1.0/`); YTDescGen never enables that protocol, so nothing loads it. + +### Security + +- **cross-spawn 7.1.2** (critical: command and argument injection on Windows, GHSA-ghv9-86vm-4v8m and related), **ws 8.23.1** through wrangler 4.171.0 (high: memory exhaustion from automatic pong replies, GHSA-37g9-w4hg-h9qr) and **minimatch 11.0.10** (low). All three sat in development and deploy tools — eslint, wrangler's local runtime — not in anything the app or the website runs. `npm audit` reports nothing again. wrangler 4.171.0 was two days old: taken as a security fix, the way Renovate's security pull requests skip the release age. + +### Under the hood + +- Renovate's two pull requests (all non-major, Tauri) folded into one with the lockfiles they lacked, everything else at least 3 days old: eslint 10.16, typescript-eslint 8.74, vite 8.4 (rolldown 1.3), lucide-react 1.85, react-router-dom 7.18.7, simple-icons 16.39, marked 18.4.0, knip 6.50, serde 1.0.229, @tauri-apps/api and cli 2.13.0; muda (0.22.0) and webkit2gtk (3.0.0) held below releases younger than that. actions/setup-node v7.2.0; zizmor 1.33.1, with the hashes Renovate had left at 1.32.0's. THIRD_PARTY_NOTICES regenerated. +- `bundle.targets` lists `nsis`, `msi`, `appimage`, `deb` and `rpm` instead of `"all"`, which gained Arch's `pacman` package in Tauri 2.13 — the release files stay the same six. +- The shared workflows from the ops repository move to its v2026.11.5 (.NET restores without ICU, more Velopack apps in the release notifier — nothing this repository uses changes). +- `src-tauri/osv-scanner.toml` keeps four unmaintained notices (the zbus crates, chrono); the glib and proc-macro-error entries, their `deny.toml` note and Renovate's glib rule are gone. +- typecheck, typecheck:all, lint, format:check, validate:locales, knip, check:version, check:tauri, check:licenses, check:copyright, **1156 tests**, build and `cargo fmt` / `clippy` / `test` all pass; initial load 279.7 of 280 KB gzip. zizmor 1.33.1 finds nothing in the workflows. The desktop app ran under `tauri dev` with a test identifier: it loads in WebView2, saves to localStorage, writes, lists, reads and deletes a backup, refuses a bad file name, and both native dialogs return nothing when cancelled. +- Six manifests bumped 1.7.0 → 1.7.1. + ## v1.7.0 — 2026-11-26 **YTDescGen has moved.** The GitHub account behind the project was suspended in November 2026, and with it went the repository, the releases page, the issue tracker, the wiki and Discussions, and the pipeline that deployed the website. This release is the move: the source now lives on the maintainer's own Gitea, issues on a GitLab mirror, downloads on `releases.poli0981.dev`, and every link in the app points there. Nothing about what the app generates changes. Web, desktop (Windows, Linux) and Android all ship as 1.7.0; there is no macOS build any more. diff --git a/DISCLAIMER.md b/DISCLAIMER.md index ec1c53e..2f272a4 100644 --- a/DISCLAIMER.md +++ b/DISCLAIMER.md @@ -4,7 +4,7 @@ YTDescGen is a personal project built by a single maintainer (`@poli0981`) for use with the [`@SkullMute`](https://www.youtube.com/@SkullMute) YouTube channel and shared publicly as open source. It is **not a commercial product** and there is no support obligation. -Code, documentation, locale translations, and design decisions in this repository were **co-authored with the assistance of Anthropic's Claude Code (Claude Opus models; v1.0.0 through v1.5.1, v1.6.0 and v1.7.0 with Claude Opus 5.5, v1.5.2 with Claude Fable 5.2)**. All commits, releases, and architectural decisions are reviewed and approved by the maintainer before merging. +Code, documentation, locale translations, and design decisions in this repository were **co-authored with the assistance of Anthropic's Claude Code (Claude Opus models; v1.0.0 through v1.5.1, v1.6.0, v1.7.0 and v1.7.1 with Claude Opus 5.5, v1.5.2 with Claude Fable 5.2)**. All commits, releases, and architectural decisions are reviewed and approved by the maintainer before merging. This disclosure applies to: diff --git a/docs/ARCHITECTURE.md b/docs/ARCHITECTURE.md index 95cfaa2..f769640 100644 --- a/docs/ARCHITECTURE.md +++ b/docs/ARCHITECTURE.md @@ -2,7 +2,7 @@ ## YTDescGen — Technical Architecture -Reflects **v1.7.0**. Implementation details (configs, interfaces, file formats, CI) are in [TECH-SPEC.md](TECH-SPEC.md); desktop and Android builds in [PACKAGING.md](PACKAGING.md); running the web deployment in [HOSTING.md](HOSTING.md). +Reflects **v1.7.1**. Implementation details (configs, interfaces, file formats, CI) are in [TECH-SPEC.md](TECH-SPEC.md); desktop and Android builds in [PACKAGING.md](PACKAGING.md); running the web deployment in [HOSTING.md](HOSTING.md). --- diff --git a/docs/CONTENT-INVENTORY.md b/docs/CONTENT-INVENTORY.md index 29f613d..b43d5f1 100644 --- a/docs/CONTENT-INVENTORY.md +++ b/docs/CONTENT-INVENTORY.md @@ -1,6 +1,6 @@ # Content Inventory -A static manifest of every video type, game genre, content warning, tech note, store, link field and cross-post platform surfaced in YTDescGen's editor (as of v1.7.0). Maintained manually — when adding a new option to one of the source files below, **add a row here too** in the same PR. +A static manifest of every video type, game genre, content warning, tech note, store, link field and cross-post platform surfaced in YTDescGen's editor (as of v1.7.1). Maintained manually — when adding a new option to one of the source files below, **add a row here too** in the same PR. This file exists for **transparency** — anyone curious about what the editor can describe (without installing the app or reading the source) can scan it in one minute. diff --git a/docs/FEATURES.md b/docs/FEATURES.md index 27b9486..6d2a559 100644 --- a/docs/FEATURES.md +++ b/docs/FEATURES.md @@ -1,6 +1,6 @@ # Complete Feature List -## YTDescGen — All Features (v1.7.0) +## YTDescGen — All Features (v1.7.1) --- diff --git a/docs/PACKAGING.md b/docs/PACKAGING.md index 960c8b3..5c0ee09 100644 --- a/docs/PACKAGING.md +++ b/docs/PACKAGING.md @@ -2,7 +2,7 @@ ## YTDescGen — Tauri 2 Desktop and Android Apps -Reflects **v1.7.0**: Windows and Linux desktop apps plus an Android APK, all built from the same Tauri 2 project in `src-tauri/` (macOS still builds locally on a Mac, but releases stopped shipping it after 1.6.0: there is no macOS runner on Gitea). The web app is deployed separately — see [HOSTING.md](HOSTING.md). +Reflects **v1.7.1**: Windows and Linux desktop apps plus an Android APK, all built from the same Tauri 2 project in `src-tauri/` (macOS still builds locally on a Mac, but releases stopped shipping it after 1.6.0: there is no macOS runner on Gitea). The web app is deployed separately — see [HOSTING.md](HOSTING.md). --- @@ -62,7 +62,7 @@ The icons come from the one brand logo: `npx tauri icon assets/brand/logo.svg` r { "$schema": "https://raw.githubusercontent.com/tauri-apps/tauri/dev/crates/tauri-cli/schema.json", "productName": "YTDescGen", - "version": "1.7.0", + "version": "1.7.1", "identifier": "com.skullmute.ytdescgen", "build": { "beforeBuildCommand": "npm run build", @@ -318,7 +318,7 @@ Next to them: `SHA256SUMS`. The newest APK is also at `releases.poli0981.dev/you ### The release workflow (Gitea Actions) -Pushing a `v*` tag (signed, e.g. `v1.7.0`) runs [.gitea/workflows/release.yml](../.gitea/workflows/release.yml) on the maintainer's PC (the Gitea runner). It starts with a **`verify`** job, and every build job `needs: verify`: +Pushing a `v*` tag (signed, e.g. `v1.7.1`) runs [.gitea/workflows/release.yml](../.gitea/workflows/release.yml) on the maintainer's PC (the Gitea runner). It starts with a **`verify`** job, and every build job `needs: verify`: ```yaml - run: npm ci # a clean install: package-manager-cache: false diff --git a/docs/ROADMAP.md b/docs/ROADMAP.md index 00ba7af..f5fce28 100644 --- a/docs/ROADMAP.md +++ b/docs/ROADMAP.md @@ -2,7 +2,7 @@ ## YTDescGen — Phased Development Plan -> **Status (2026-11-26): maintenance mode, from v1.6.0.** YTDescGen is +> **Status (2026-12-05): maintenance mode, from v1.6.0.** YTDescGen is > feature-complete: it stays maintained but takes no new features — see > [Maintenance mode](#maintenance-mode--from-v160) below. Phases 1–4 are the > original plan, kept as a record; notes added beside or under an item say @@ -394,6 +394,14 @@ The app's links follow; macOS builds stop; SonarCloud and Dependabot give way to the shared security scan and Renovate — [CHANGELOG.md](../CHANGELOG.md#v170--2026-11-26). +## v1.7.1 — Tauri 2.13 and dependency updates ✅ SHIPPED 2026-12-05 + +A maintenance release: the desktop and Android apps move to Tauri 2.13, +whose Linux stack leaves the unsound glib 0.18 behind, and the scheduled +dependency updates close three advisories in the development tools +(cross-spawn, ws, minimatch) — +[CHANGELOG.md](../CHANGELOG.md#v171--2026-12-05). + --- ## Maintenance mode — from v1.6.0 @@ -519,4 +527,4 @@ YTDescGen is in maintenance mode. | Phase 5 | Extensions | Frozen | — | **MVP usable after Phase 1** (~3-4 days). Full-featured after Phase 3 (~7-10 days). -**v1.0.0 shipped on 2026-09-30; the current release is v1.7.0 (2026-11-26), the first from Gitea. Maintenance mode since v1.6.0.** +**v1.0.0 shipped on 2026-09-30; the current release is v1.7.1 (2026-12-05). Maintenance mode since v1.6.0; on Gitea since v1.7.0.** diff --git a/docs/TECH-SPEC.md b/docs/TECH-SPEC.md index d95b6ab..d600bac 100644 --- a/docs/TECH-SPEC.md +++ b/docs/TECH-SPEC.md @@ -2,7 +2,7 @@ ## YTDescGen — Implementation Details -Reflects **v1.7.0**. The module map and data flow are in [ARCHITECTURE.md](ARCHITECTURE.md), the desktop and Android builds in [PACKAGING.md](PACKAGING.md), and running the web deployment (Cloudflare Worker, Turnstile, secrets, rollback) in [HOSTING.md](HOSTING.md). +Reflects **v1.7.1**. The module map and data flow are in [ARCHITECTURE.md](ARCHITECTURE.md), the desktop and Android builds in [PACKAGING.md](PACKAGING.md), and running the web deployment (Cloudflare Worker, Turnstile, secrets, rollback) in [HOSTING.md](HOSTING.md). --- @@ -13,7 +13,7 @@ Reflects **v1.7.0**. The module map and data flow are in [ARCHITECTURE.md](ARCHI ```json { "name": "yt-desc-gen", - "version": "1.7.0", + "version": "1.7.1", "private": true, "license": "Apache-2.0", "type": "module", @@ -53,51 +53,51 @@ Reflects **v1.7.0**. The module map and data flow are in [ARCHITECTURE.md](ARCHI "dependencies": { "@fontsource-variable/inter": "^5.3.0", "@fontsource-variable/jetbrains-mono": "^5.3.0", - "@tauri-apps/api": "^2.12.4", - "@tauri-apps/plugin-opener": "^2.7.2", + "@tauri-apps/api": "^2.13.0", + "@tauri-apps/plugin-opener": "^2.7.3", "clsx": "^2.1.1", "cmdk": "^1.1.1", "i18next": "~26.6.0", - "i18next-resources-to-backend": "^1.2.4", - "lucide-react": "^1.66.0", + "i18next-resources-to-backend": "^1.3.0", + "lucide-react": "^1.85.0", "motion": "^13.5.1", "radix-ui": "^1.8.1", "react": "^19.3.1", "react-dom": "^19.3.1", - "react-i18next": "^17.1.11", - "react-router-dom": "^7.18.5", - "simple-icons": "^16.36.0", + "react-i18next": "^17.1.13", + "react-router-dom": "^7.18.7", + "simple-icons": "^16.39.0", "sonner": "^2.0.8", - "zustand": "^5.0.16" + "zustand": "^5.1.0" }, "devDependencies": { "@eslint/js": "^10.0.1", "@resvg/resvg-js": "2.6.2", - "@tailwindcss/postcss": "^4.3.4", - "@tauri-apps/cli": "2.12.4", + "@tailwindcss/postcss": "^4.3.5", + "@tauri-apps/cli": "2.13.0", "@testing-library/jest-dom": "^7.0.1", "@testing-library/react": "^16.3.3", - "@types/node": "^26.6.6", - "@types/react": "^19.3.0", + "@types/node": "^26.6.11", + "@types/react": "^19.3.3", "@types/react-dom": "^19.3.0", "@typescript/native": "npm:typescript@^7.0.2", - "@vitejs/plugin-react": "^6.2.1", + "@vitejs/plugin-react": "^6.3.0", "@vitest/coverage-v8": "^4.1.12", - "autoprefixer": "^10.6.2", - "eslint": "^10.14.0", + "autoprefixer": "^10.7.1", + "eslint": "^10.16.0", "eslint-plugin-react-hooks": "^7.1.1", - "knip": "^6.44.1", - "marked": "18.1.3", - "postcss": "^8.5.32", - "prettier": "^3.9.10", + "knip": "^6.50.0", + "marked": "18.4.0", + "postcss": "^8.5.34", + "prettier": "^3.10.1", "prettier-plugin-tailwindcss": "^0.8.1", - "tailwindcss": "^4.3.3", + "tailwindcss": "^4.3.5", "tsx": "^4.23.15", "typescript": "npm:@typescript/typescript6@^6.0.2", - "typescript-eslint": "^8.72.1", - "vite": "^8.3.5", + "typescript-eslint": "^8.74.0", + "vite": "^8.4.0", "vitest": "^4.1.12", - "wrangler": "4.156.2" + "wrangler": "4.171.0" } } ``` @@ -592,7 +592,7 @@ An unknown version is read as 0: every migration step is idempotent, so running ## 5. CI (Gitea Actions) -The workflows are in `.gitea/workflows/` and run on Gitea Actions (since November 2026; GitHub Actions before the account was suspended). The runner is the maintainer's PC: `windows-latest` jobs run on the host, `ubuntu-*` jobs in Docker (`docker.gitea.com/runner-images`); scheduled runs sit inside 13:00–16:00 UTC, the hours the PC is on. The shared workflows come from the ops repository `poli0981/.github`, pinned to a tag's commit (v2026.11.4). +The workflows are in `.gitea/workflows/` and run on Gitea Actions (since November 2026; GitHub Actions before the account was suspended). The runner is the maintainer's PC: `windows-latest` jobs run on the host, `ubuntu-*` jobs in Docker (`docker.gitea.com/runner-images`); scheduled runs sit inside 13:00–16:00 UTC, the hours the PC is on. The shared workflows come from the ops repository `poli0981/.github`, pinned to a tag's commit (v2026.11.5). | Workflow | Runs on | Jobs | | ------------------------------------------------------ | --------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | @@ -654,7 +654,7 @@ Then `deploy` (pushes on `main`, after `check` succeeds): ## 6. Testing Strategy -Vitest runs `tests/**/*.test.{ts,tsx}` and `src/**/*.test.{ts,tsx}` in the **node** environment, with `globals: true`: 1156 tests in 55 files at v1.7.0. Directories: `tests/engine`, `store`, `styles` (WCAG AA contrast of the colour tokens), `utils` (backup detect / sanitize / restore, quick entry, validation, the migration page), `worker` (router, rate limits, cookie, Turnstile verdicts, headers, gate language), `build` (legal pages, web-only plugins), `config`, `hooks`, `i18n`, `scripts`. No test renders components: React Testing Library is installed but jsdom is not, so a rendering test would need both jsdom and a `// @vitest-environment jsdom` docblock. +Vitest runs `tests/**/*.test.{ts,tsx}` and `src/**/*.test.{ts,tsx}` in the **node** environment, with `globals: true`: 1156 tests in 55 files at v1.7.1. Directories: `tests/engine`, `store`, `styles` (WCAG AA contrast of the colour tokens), `utils` (backup detect / sanitize / restore, quick entry, validation, the migration page), `worker` (router, rate limits, cookie, Turnstile verdicts, headers, gate language), `build` (legal pages, web-only plugins), `config`, `hooks`, `i18n`, `scripts`. No test renders components: React Testing Library is installed but jsdom is not, so a rendering test would need both jsdom and a `// @vitest-environment jsdom` docblock. Engine tests build a full `GeneratorInput` and pass a mock translator (`tests/helpers/mock-t.ts`) that reads the real `templates.json` files (en, vi, ja): diff --git a/docs/i18n/vi/CONTENT-INVENTORY.md b/docs/i18n/vi/CONTENT-INVENTORY.md index e248ad9..77e5c55 100644 --- a/docs/i18n/vi/CONTENT-INVENTORY.md +++ b/docs/i18n/vi/CONTENT-INVENTORY.md @@ -1,6 +1,6 @@ # Danh mục Nội dung -Bản kê khai tĩnh cho mọi loại video, thể loại game, cảnh báo nội dung, ghi chú kỹ thuật, cửa hàng, trường link và nền tảng đăng chéo trong editor của YTDescGen (tính đến v1.7.0). Cập nhật thủ công — khi thêm mục mới vào một trong các file nguồn dưới đây, **thêm dòng tương ứng vào đây** trong cùng PR. +Bản kê khai tĩnh cho mọi loại video, thể loại game, cảnh báo nội dung, ghi chú kỹ thuật, cửa hàng, trường link và nền tảng đăng chéo trong editor của YTDescGen (tính đến v1.7.1). Cập nhật thủ công — khi thêm mục mới vào một trong các file nguồn dưới đây, **thêm dòng tương ứng vào đây** trong cùng PR. File này tồn tại để **minh bạch** — bất kỳ ai tò mò về việc editor có thể mô tả được gì (mà không cần cài app hay đọc source) đều có thể quét trong một phút. diff --git a/docs/i18n/vi/DISCLAIMER.md b/docs/i18n/vi/DISCLAIMER.md index 76b31e2..54d830e 100644 --- a/docs/i18n/vi/DISCLAIMER.md +++ b/docs/i18n/vi/DISCLAIMER.md @@ -6,7 +6,7 @@ YTDescGen là dự án cá nhân do một người duy trì (`@poli0981`) để dùng cho kênh YouTube [`@SkullMute`](https://www.youtube.com/@SkullMute), và chia sẻ công khai dưới dạng mã nguồn mở. Đây **không phải sản phẩm thương mại** và không có nghĩa vụ hỗ trợ. -Mã nguồn, tài liệu, bản dịch locale, và các quyết định thiết kế trong repo này được **đồng tác giả với sự hỗ trợ của Anthropic's Claude Code (các model Claude Opus; từ bản v1.0.0 đến v1.5.1, bản v1.6.0 và v1.7.0 dùng Claude Opus 5.5, bản v1.5.2 dùng Claude Fable 5.2)**. Tất cả commit, release, và quyết định kiến trúc được người duy trì xem xét và phê duyệt trước khi merge. +Mã nguồn, tài liệu, bản dịch locale, và các quyết định thiết kế trong repo này được **đồng tác giả với sự hỗ trợ của Anthropic's Claude Code (các model Claude Opus; từ bản v1.0.0 đến v1.5.1, bản v1.6.0, v1.7.0 và v1.7.1 dùng Claude Opus 5.5, bản v1.5.2 dùng Claude Fable 5.2)**. Tất cả commit, release, và quyết định kiến trúc được người duy trì xem xét và phê duyệt trước khi merge. Tuyên bố này áp dụng cho: diff --git a/package-lock.json b/package-lock.json index 092d0d8..946745f 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "yt-desc-gen", - "version": "1.7.0", + "version": "1.7.1", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "yt-desc-gen", - "version": "1.7.0", + "version": "1.7.1", "license": "Apache-2.0", "dependencies": { "@fontsource-variable/inter": "^5.3.0", diff --git a/package.json b/package.json index 7b09c0e..0cdf470 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "yt-desc-gen", - "version": "1.7.0", + "version": "1.7.1", "private": true, "license": "Apache-2.0", "type": "module", diff --git a/src-tauri/Cargo.lock b/src-tauri/Cargo.lock index 4c106ec..2aae8fa 100644 --- a/src-tauri/Cargo.lock +++ b/src-tauri/Cargo.lock @@ -4804,7 +4804,7 @@ dependencies = [ [[package]] name = "yt-desc-gen" -version = "1.7.0" +version = "1.7.1" dependencies = [ "serde", "tauri", diff --git a/src-tauri/Cargo.toml b/src-tauri/Cargo.toml index 101f187..9a8505b 100644 --- a/src-tauri/Cargo.toml +++ b/src-tauri/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "yt-desc-gen" -version = "1.7.0" +version = "1.7.1" description = "YouTube Gameplay Description Generator" authors = ["poli0981"] edition = "2021" diff --git a/src-tauri/tauri.conf.json b/src-tauri/tauri.conf.json index eb9339d..590857d 100644 --- a/src-tauri/tauri.conf.json +++ b/src-tauri/tauri.conf.json @@ -1,7 +1,7 @@ { "$schema": "https://raw.githubusercontent.com/tauri-apps/tauri/dev/crates/tauri-cli/schema.json", "productName": "YTDescGen", - "version": "1.7.0", + "version": "1.7.1", "identifier": "com.skullmute.ytdescgen", "build": { "beforeBuildCommand": "npm run build",