# Changelog

All notable changes to this project are documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project follows [Semantic Versioning](https://semver.org/spec/v2.0.0.html) for release notes.

## [Unreleased]
### Added
- Documentation baseline refresh for full user/admin/api/ops manuals under `docs/`.
- Documentation index and search entries for canonical Markdown manuals.

### Changed
- `docs/index.html` quick links and filters now include Documentation category entries from `docs/data.json`.

## [1.4.0] - 2026-05-07
### Added
- Real production UI smoke checklist for 3.1 emotion toggle on `free1.sj88ai.com`.
- Manual-tag generate evidence and report artifacts for production validation.

### Changed
- Updated smoke harness behavior for long-running no-fallback script-generation requests.

## [1.3.0] - 2026-05-06
### Added
- Admin targeting and revenue backend endpoints to complete admin tabs.
- Public ad tracking compatibility route `POST /api/ads/track/:adId/:type`.
- Emotion Diversity V2 for Gemini 3.1 script generation (anti-repeat memory + diversity gate + forensic metadata).
- HTML documentation packs for website/admin/ads operational handoff.

### Fixed
- Free1 ad stats schema drift handling (`stat_date` backward-compatible add-column path).
- Auto Emotion toggle lock behavior so UI toggle state is respected end-to-end.

## [1.2.0] - 2026-05-05
### Added
- Gemini 3.1 TTS compatibility baseline and runtime smoke scripts.
- Script model selection in UI, including Gemini 3.1 emotion mode.
- `generate-scripts` deep attempt logging and admin log endpoints.
- Global key management improvements (`replace_global`, startup seed when empty).

### Changed
- Runtime default TTS model set to `gemini-3.1-flash-tts-preview`.
- Key routing policy standardized to `user > global` (env fallback removed).

## [1.1.0] - 2026-05-05
### Added
- Production smoke/evidence workflows under `docs/system_checks` and `docs/ui_checks`.
- Admin and test account operational flow for real-web validation.

### Fixed
- Login input format restriction by allowing username-style input (not email-only HTML validation).
- Production model selector visibility mismatch after deployment.

## [1.0.0] - 2026-05-04
### Added
- Runtime-only migration from `codexV2` into `AutoMixSJ88Free`.
- Dedicated production target lock for `https://free1.sj88ai.com`.
- SSL deploy baseline with service split (`automixsj88-free1` web + worker).
- Searchable docs portal (`docs/index.html` + `docs/data.json`).
