|
| 1 | +# Changelog |
| 2 | + |
| 3 | +All notable changes to this project will be documented in this file. |
| 4 | + |
| 5 | +Format loosely follows [Keep a Changelog](https://keepachangelog.com/en/1.1.0/) and (once stabilized) will align with [Semantic Versioning](https://semver.org/) for tagged releases. |
| 6 | + |
| 7 | +## [Unreleased] |
| 8 | + |
| 9 | +### Added |
| 10 | +- Nothing yet. |
| 11 | + |
| 12 | +### Changed |
| 13 | +- Nothing yet. |
| 14 | + |
| 15 | +### Fixed |
| 16 | +- Nothing yet. |
| 17 | + |
| 18 | +### Documentation |
| 19 | +- Nothing yet. |
| 20 | + |
| 21 | +### Internal |
| 22 | +- Nothing yet. |
| 23 | + |
| 24 | +### Notes |
| 25 | +- Nothing yet. |
| 26 | + |
| 27 | +## [0.1.0] - 2025-10-02 |
| 28 | + |
| 29 | +> Initial structured milestone capturing Week 3 outcomes (auth + UI/UX + tooling baseline). |
| 30 | +
|
| 31 | +### Added |
| 32 | +- Auth pages: Login, Register, Me (protected) with Chakra-based forms. |
| 33 | +- Central `AuthProvider` with single guarded bootstrap (`/api/me`). |
| 34 | +- Error mapping layer (`errors.ts`) with friendly codes (BAD_CREDENTIALS, EMAIL_EXISTS, etc.). |
| 35 | +- User normalization (role→roles[], displayName inference). |
| 36 | +- ProtectedRoute gating + framer-motion route/state transitions. |
| 37 | +- Health check card with interval polling, skeleton debounce, manual refresh. |
| 38 | +- Runtime Debug Panel (collapsible, probe history, copy helpers, error count, reduced-motion respect). |
| 39 | +- Chakra theme (dark mode default), selective component integration (Cards, Alerts, Buttons, Badges). |
| 40 | +- Sticky footer with version + commit hash + feedback link. |
| 41 | +- Environment variable typings (`vite-env.d.ts`). |
| 42 | +- Release automation script (`scripts/release.mjs`). |
| 43 | +- Changelog enforcement script (`scripts/check-changelog.mjs`). |
| 44 | +- Husky integration & commitlint hook enforcement. |
| 45 | +- Conventional commit rules (`commitlint.config.cjs`). |
| 46 | +- Vitest coverage thresholds (50%). |
| 47 | +- Developer Workflow Checklist (`docs/developer-workflow-checklist.md`). |
| 48 | +- Coverage & workflow docs surfaced in README / architecture. |
| 49 | +- CI enhancements (tests default, coverage gate, changelog step, ordered pipeline). |
| 50 | + |
| 51 | +### Changed |
| 52 | +- Layout refactored to full-height flex shell (`AppShell`) with sticky footer. |
| 53 | +- Forms migrated from basic HTML to Chakra primitives with inline validation. |
| 54 | +- Me page enhanced (avatar placeholder, role badges, grouped sections). |
| 55 | +- `README.md`: workflow, coverage threshold, release script, Husky/commitlint details, expanded scripts table. |
| 56 | +- `docs/architecture.md`: CI pipeline order clarity, tooling extension point, release automation details. |
| 57 | +- `TTD.md`: Expanded workflow/tooling backlog (test guard, auto-labeling, feature test heuristics). |
| 58 | + |
| 59 | +### Documentation |
| 60 | +- README: Auth lifecycle, runtime debug panel, planning artifacts. |
| 61 | +- `architecture.md`: Auth lifecycle, transitions, planning references. |
| 62 | +- Week 3 progress checklist (percent metrics & blockers). |
| 63 | +- Week 4 draft plan scaffold. |
| 64 | +- Developer workflow appendix (git hooks, commit message enforcement) & planning/workflow links. |
| 65 | + |
| 66 | +### Internal / Tooling / Dev Experience |
| 67 | +- Structured fetch wrapper (`api.ts`) with typed generics and error cause propagation. |
| 68 | +- Optional verbose auth bootstrap logging via `VITE_DEBUG_AUTH*` flags. |
| 69 | +- ESLint configuration tightened (import sorting / a11y plugins; explicit `lint` / `lint:fix`). |
| 70 | +- Standardized test invocation (`npm run test`) for coverage gating. |
| 71 | +- Added `release`, `changelog:check`, and `lint:fix` scripts to `package.json`. |
| 72 | +- Implemented `prepare` script for automatic Husky hook install. |
| 73 | + |
| 74 | +### Notes |
| 75 | +- Testing breadth still partial (protected route + basic form validation only). |
| 76 | +- Next minor release (`0.2.0`) will focus on auth test gap closure + first resilience enhancement (pause-on-error health polling or reduced-motion toggle). |
| 77 | +- Patch release pathway (`0.1.x`) available if urgent fixes needed. |
| 78 | + |
| 79 | +--- |
| 80 | + |
| 81 | +Guidelines: |
| 82 | + |
| 83 | +- Start new entries under [Unreleased]; move them into a dated version section when cutting a release (and optionally tagging in git). |
| 84 | +- Group changes under: Added / Changed / Fixed / Removed / Deprecated / Security / Docs / Internal as needed. |
| 85 | + |
| 86 | +[Unreleased]: https://github.com/sameboat-platform/frontend/compare/0.1.0...HEAD |
| 87 | +[0.1.0]: https://github.com/sameboat-platform/frontend/tree/0.1.0 |
0 commit comments