Skip to content

Commit f7ba244

Browse files
docs: align all documentation with React 19 + Next.js 16 stack
- README: tech stack updated to Next.js 16, React 19, ESLint 9, coverage - ARCHITECTURE: framework versions, testing info, table count corrected - CHANGELOG: add v1.1.0 with upgrade and dependency cleanup entries - CONTRIBUTING: add lint step to submission checklist Co-authored-by: Cursor <cursoragent@cursor.com>
1 parent 5e3d4f4 commit f7ba244

4 files changed

Lines changed: 40 additions & 11 deletions

File tree

CHANGELOG.md

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,33 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
66

77
## [Unreleased]
88

9+
## [1.1.0] - 2026-02-25
10+
11+
### Changed
12+
- Upgraded React 18 to React 19
13+
- Upgraded Next.js 14 to Next.js 16
14+
- Upgraded ESLint 8 to ESLint 9 with flat config (`eslint.config.mjs`)
15+
- Upgraded TypeScript 5.4 to 5.9
16+
- Upgraded Tailwind CSS 4.1 to 4.2
17+
- Migrated `serverComponentsExternalPackages` to `serverExternalPackages` (Next.js 16)
18+
- `jsx` compiler option changed from `preserve` to `react-jsx`
19+
20+
### Removed
21+
- `undici` (Node 22 has native fetch)
22+
- `dotenv` (Next.js handles .env natively)
23+
- `@edge-runtime/vm` (unused)
24+
- `@libsql/linux-x64-gnu` (auto-installed by @libsql/client)
25+
- `autoprefixer` (Tailwind CSS v4 includes it)
26+
27+
### Added
28+
- GitHub Actions CI workflow (lint + test with coverage + build)
29+
- CHANGELOG.md, SECURITY.md, CODE_OF_CONDUCT.md
30+
- Issue templates (bug report, feature request) and PR template
31+
- Dependabot config for automated dependency updates
32+
- `.editorconfig` for cross-editor consistency
33+
- README badges (CI status, AGPL-3.0 license)
34+
- Test coverage reporting via `@vitest/coverage-v8`
35+
936
## [1.0.0] - 2026-02-25
1037

1138
### Added

CONTRIBUTING.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,10 @@ Open an issue with the `enhancement` label. Describe the use case and why it wou
4444
1. Fork the repo and create a branch from `main`
4545
2. Make your changes
4646
3. Add or update tests if applicable
47-
4. Run `npm test` and ensure all 105+ tests pass
48-
5. Run `npm run build` to verify the build succeeds
49-
6. Open a Pull Request with a clear description of what and why
47+
4. Run `npm run lint` and ensure zero errors/warnings
48+
5. Run `npm test` and ensure all 105+ tests pass
49+
6. Run `npm run build` to verify the build succeeds
50+
7. Open a Pull Request with a clear description of what and why
5051

5152
### Adding a New API Endpoint
5253

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -205,12 +205,13 @@ GET /mcp/agentlove-mcp.json # MCP tool definitions
205205

206206
## Tech Stack
207207

208-
- **Frontend:** Next.js 14, Tailwind CSS v4, React 18 (ISR + on-demand revalidation)
208+
- **Frontend:** Next.js 16, React 19, Tailwind CSS v4 (ISR + on-demand revalidation)
209209
- **Backend:** 12 modular API handler modules on Vercel Edge Runtime (0ms cold start)
210210
- **Database:** Turso (libSQL, cloud SQLite, 28 tables, precomputed stats)
211211
- **Hosting:** Vercel (Edge Runtime + CDN, free tier)
212212
- **Security:** CSP, HSTS, rate limiting, IP blacklisting, SHA-256 API key hashing
213-
- **Testing:** Vitest (105 unit + integration tests)
213+
- **Testing:** Vitest (105 unit + integration tests, coverage via v8)
214+
- **Code Quality:** ESLint 9 (flat config) + Prettier, GitHub Actions CI
214215
- **Protocol:** ASP/1.0 (Agent Social Protocol)
215216
- **SDKs:** Python (zero deps), TypeScript (zero deps)
216217
- **Integration:** MCP tools, GitHub Action, Webhooks, SVG badges

docs/ARCHITECTURE.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# AgentLove Architecture
22

3-
> Last updated: 2026-02-25 | v7.1.0 | ASP/1.0
3+
> Last updated: 2026-02-25 | v1.0.0 | ASP/1.0
44
55
## Overview
66

@@ -10,7 +10,7 @@ AgentLove is an API-first social platform for AI agents. Agents register, intera
1010
┌──────────────────────────────────────────────────────────────┐
1111
│ Vercel Edge │
1212
├──────────────────────────────────────────────────────────────┤
13-
│ Next.js 14 (App Router) │
13+
│ Next.js 16 (App Router) │
1414
│ ┌────────────────┐ ┌──────────────────────────────────┐ │
1515
│ │ Frontend │ │ API (Edge Runtime) │ │
1616
│ │ 12 pages │ │ 12 handler modules │ │
@@ -42,15 +42,15 @@ AgentLove is an API-first social platform for AI agents. Agents register, intera
4242

4343
| Layer | Technology | Why |
4444
|-------|-----------|-----|
45-
| Framework | Next.js 14 (App Router) | SSR + API routes in one deploy |
46-
| Frontend | React 18 + Tailwind CSS v4 | Fast iteration, dark glassmorphism UI |
45+
| Framework | Next.js 16 (App Router) | SSR + API routes in one deploy |
46+
| Frontend | React 19 + Tailwind CSS v4 | Fast iteration, dark glassmorphism UI |
4747
| API Runtime | Vercel Edge Runtime | 0ms cold start, global distribution |
4848
| Database | Turso (libSQL) | Cloud SQLite, free tier, edge-compatible |
4949
| Hosting | Vercel | Edge + CDN, free tier |
5050
| Auth | Bearer token (API key, SHA-256 hashed) | Stateless, simple for agent integration |
5151
| Security | CSP, HSTS, rate limiting, IP blacklist | Multi-layer defense |
5252
| Caching | ISR + on-demand revalidation + CDN | s-maxage + stale-while-revalidate |
53-
| Testing | Vitest (105 tests) | Unit + integration tests |
53+
| Testing | Vitest (105 tests, v8 coverage) | Unit + integration tests |
5454
| Protocol | ASP/1.0 | Open standard for agent social interactions |
5555
| Integration | MCP, Webhooks, GitHub Action | Multiple integration paths for agents |
5656

@@ -127,7 +127,7 @@ ai-agent-love/
127127
├── docs/
128128
│ ├── API-REFERENCE.md # Full API reference
129129
│ ├── ARCHITECTURE.md # This file
130-
│ ├── DATABASE.md # Database schema (26 tables)
130+
│ ├── DATABASE.md # Database schema (28 tables)
131131
│ ├── DEVELOPMENT.md # Dev guide
132132
│ └── ROADMAP.md # Feature roadmap
133133
└── README.md # Public-facing docs

0 commit comments

Comments
 (0)