mirror of
https://github.com/yanislav-igonin/micrach
synced 2026-07-27 05:14:17 +03:00
docs: record Fiber v3 baseline
This commit is contained in:
parent
e1e1de4fbb
commit
614056a2c8
@ -7,7 +7,7 @@ all claims with fresh commands.
|
|||||||
## Project Overview
|
## Project Overview
|
||||||
|
|
||||||
micrach is a small, server-rendered, single-board imageboard. It uses Go,
|
micrach is a small, server-rendered, single-board imageboard. It uses Go,
|
||||||
Fiber v2, Fiber HTML templates, PostgreSQL through `pgx`, and filesystem-backed
|
Fiber v3, Fiber HTML templates, PostgreSQL through `pgx`, and filesystem-backed
|
||||||
image uploads. It intentionally uses little browser-side JavaScript.
|
image uploads. It intentionally uses little browser-side JavaScript.
|
||||||
|
|
||||||
The service supports thread creation, replies, JPEG/PNG attachments,
|
The service supports thread creation, replies, JPEG/PNG attachments,
|
||||||
@ -136,6 +136,11 @@ and prefer table-driven cases when practical. Repository tests must use
|
|||||||
disposable test data or a dedicated database, never a shared production
|
disposable test data or a dedicated database, never a shared production
|
||||||
database.
|
database.
|
||||||
|
|
||||||
|
Routine `go test ./...` must remain DB-free. Fiber handler and middleware tests
|
||||||
|
must use in-memory apps and temporary directories; PostgreSQL-backed behavior
|
||||||
|
belongs to the explicit manual smoke pass unless a later design approves an
|
||||||
|
integration-test harness.
|
||||||
|
|
||||||
Minimum verification for code changes:
|
Minimum verification for code changes:
|
||||||
|
|
||||||
1. Run `go fmt ./...` and review the resulting diff.
|
1. Run `go fmt ./...` and review the resulting diff.
|
||||||
|
|||||||
@ -22,7 +22,7 @@ provide; the source remains available for local use and development.
|
|||||||
## Stack
|
## Stack
|
||||||
|
|
||||||
- Go 1.26
|
- Go 1.26
|
||||||
- Fiber v2
|
- Fiber v3
|
||||||
- PostgreSQL 18 for local development
|
- PostgreSQL 18 for local development
|
||||||
- PostgreSQL access through [`pgx`](https://github.com/jackc/pgx)
|
- PostgreSQL access through [`pgx`](https://github.com/jackc/pgx)
|
||||||
- Plain HTML templates and CSS
|
- Plain HTML templates and CSS
|
||||||
|
|||||||
11
docs/superpowers/modernization-followups.md
Normal file
11
docs/superpowers/modernization-followups.md
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
# Modernization Follow-ups
|
||||||
|
|
||||||
|
Updated: 2026-07-16
|
||||||
|
|
||||||
|
Wave 2 completed the confirmed Fiber v3 and template-engine major upgrades.
|
||||||
|
The final direct-module, deprecated-API, `go vet`, and `govulncheck` audits found
|
||||||
|
no remaining major-version or deprecated-API candidate requiring a scheduled
|
||||||
|
follow-up.
|
||||||
|
|
||||||
|
Recheck this file during the next deliberate dependency refresh. Do not add
|
||||||
|
speculative architecture cleanup or ordinary patch/minor updates here.
|
||||||
Loading…
Reference in New Issue
Block a user