Compare commits
4
Commits
3b989103c6
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
bbb534a088 | ||
|
|
8f53de040e | ||
|
|
99d8a452e8 | ||
|
|
148e4eb84a |
No files matched your search
@@ -1,9 +1,9 @@
|
|||||||
fastapi==0.162.0
|
fastapi==0.165.0
|
||||||
uvicorn==0.54.0
|
uvicorn==0.54.0
|
||||||
sqlalchemy==2.1.6
|
sqlalchemy==2.1.9
|
||||||
pymysql==1.2.3
|
pymysql==1.2.4
|
||||||
cryptography==50.0.2
|
cryptography==50.0.2
|
||||||
pydantic==2.14.1
|
pydantic==2.14.4
|
||||||
pyjwt==2.15.1
|
pyjwt==2.15.1
|
||||||
bcrypt==5.0.0
|
bcrypt==5.0.0
|
||||||
httpx==0.28.1
|
httpx==0.28.1
|
||||||
+1
-1
@@ -70,7 +70,7 @@ services:
|
|||||||
|
|
||||||
# ── Nginx ────────────────────────────────────────────────────────────────────
|
# ── Nginx ────────────────────────────────────────────────────────────────────
|
||||||
nginx:
|
nginx:
|
||||||
image: nginx:1.30.6-alpine
|
image: nginx:1.30.7-alpine
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
deploy:
|
deploy:
|
||||||
resources:
|
resources:
|
||||||
|
|||||||
@@ -0,0 +1,86 @@
|
|||||||
|
# Yolkbook 2026.11 Release Notes
|
||||||
|
|
||||||
|
## 2026-11-22: v2026.11 release
|
||||||
|
|
||||||
|
### Summary
|
||||||
|
|
||||||
|
A maintenance release. Nginx moves to 1.30.7, which fixes a batch of security issues, and FastAPI, SQLAlchemy, Pydantic and PyMySQL get routine updates. No features changed, there are no database or configuration changes, and existing data and login sessions carry over.
|
||||||
|
|
||||||
|
### Changes since v2026.10
|
||||||
|
|
||||||
|
#### Internal
|
||||||
|
- The README's clone URL now points to the new CHNS repository location (`3b98910`).
|
||||||
|
|
||||||
|
### Deployment notes
|
||||||
|
|
||||||
|
- No new or changed environment variables, no database migrations, and no volume or port changes.
|
||||||
|
- The nginx image tag changed, and the API image must be rebuilt to pick up the new Python packages:
|
||||||
|
```bash
|
||||||
|
git pull
|
||||||
|
docker compose build --pull api
|
||||||
|
docker compose pull
|
||||||
|
docker compose up -d
|
||||||
|
```
|
||||||
|
|
||||||
|
### Documentation
|
||||||
|
|
||||||
|
- None. The README was checked against the current code and was already accurate.
|
||||||
|
|
||||||
|
### Dependency updates
|
||||||
|
|
||||||
|
| Component | From | To | Type | Notes |
|
||||||
|
|---|---|---|---|---|
|
||||||
|
| Nginx (image) | 1.30.6-alpine | **1.30.7-alpine** | patch | Security release, see below |
|
||||||
|
| fastapi | 0.162.0 | **0.165.0** | minor | Adds opt-in concurrency, request body and form parsing limits. All are off by default, so behavior is unchanged. Starlette stays at 1.10.0 |
|
||||||
|
| sqlalchemy | 2.1.6 | **2.1.9** | patch | |
|
||||||
|
| pydantic | 2.14.1 | **2.14.4** | patch | pydantic-core 2.50.1 → 2.50.5 comes with it |
|
||||||
|
| pymysql | 1.2.3 | **1.2.4** | patch | |
|
||||||
|
| Python (API base image) | 3.14-slim (3.14.10) | 3.14-slim (3.14.10, rebuilt 2026-11-17) | rebuild | Fresh OS packages from the upstream rebuild |
|
||||||
|
|
||||||
|
Unpinned packages these depend on (certifi, idna, anyio, opentelemetry-api, and others) were refreshed by rebuilding the image. uvicorn, cryptography, PyJWT, bcrypt, httpx, MySQL 8.4.13 and Chart.js 4.6.1 were already current.
|
||||||
|
|
||||||
|
### Security
|
||||||
|
|
||||||
|
- Nginx 1.30.7 fixes CVE-2026-125283, CVE-2026-123007, CVE-2026-123633, CVE-2026-121810, CVE-2026-123634, CVE-2026-113425, CVE-2026-120967, CVE-2026-123640 and CVE-2026-118899. None of them appear to be reachable with Yolkbook's nginx config (plain HTTP behind your reverse proxy, `try_files` without `alias`, no `resolver`, no stream or mail modules), but staying on a patched release is the safe default.
|
||||||
|
- opentelemetry-api, which FastAPI pulls in, is at 1.45.2, which includes the fix for CVE-2026-126360. Yolkbook doesn't configure OpenTelemetry, so this wasn't reachable either.
|
||||||
|
- `pip-audit` reports no known vulnerabilities in the final image.
|
||||||
|
|
||||||
|
### Code changes
|
||||||
|
|
||||||
|
- None.
|
||||||
|
|
||||||
|
### Deferred / skipped
|
||||||
|
|
||||||
|
- **MySQL 9.7 LTS:** a major database upgrade that needs a one-way data migration. MySQL 8.4 LTS is still supported for years, so there's no pressure to move. When it's time, it needs its own release with a backup and an upgrade test on a copy of production data.
|
||||||
|
- **Nginx 1.31.x:** the mainline (development) branch. Yolkbook stays on the 1.30 stable branch.
|
||||||
|
- **Python 3.15:** released about a month ago. Python 3.14 still gets full bugfix support. Revisit once the dependencies have had time to ship tested wheels for it.
|
||||||
|
|
||||||
|
### Verification
|
||||||
|
|
||||||
|
Tested on an isolated copy of the stack loaded with a backup of production data:
|
||||||
|
|
||||||
|
- A clean `docker build --no-cache --pull` of the API image succeeded, and `pip check` found no broken requirements.
|
||||||
|
- An automated smoke test of every API endpoint passed with no failures, both before the update (82 checks) and after each update and the final clean build (84 checks, including comparison against the pre-update snapshot). It covered login and lockout, create/edit/delete for eggs, flock, feed, and other purchases, validation errors, admin user management, impersonation, password and timezone changes, logout, and rejection of tampered tokens.
|
||||||
|
- Every list endpoint and every stats endpoint returned identical output before and after the update, and a login token issued before the update was still accepted afterwards.
|
||||||
|
- All pages and static assets loaded through nginx 1.30.7, and `nginx -t` accepted the config.
|
||||||
|
- No errors or tracebacks in the API logs during any run.
|
||||||
|
|
||||||
|
### Rollback
|
||||||
|
|
||||||
|
- Starting commit: `3b98910`
|
||||||
|
- Image tags (on the server, for running the previous images immediately):
|
||||||
|
- `nginx:1.30.6-alpine-pre-update-eggtracker-2026-11-22`
|
||||||
|
- `eggtracker-api:latest-pre-update-eggtracker-2026-11-22`
|
||||||
|
- `mysql:8.4.13-pre-update-eggtracker-2026-11-22`
|
||||||
|
- `python:3.14-slim-pre-update-eggtracker-2026-11-22`
|
||||||
|
- Database backup: `~/backups/eggtracker/eggtracker-pre-update-2026-11-22.sql.gz` (4.4 KB). This release doesn't change the schema or data, so a restore shouldn't be needed.
|
||||||
|
- Restore command (only if data needs to go back to the pre-update state):
|
||||||
|
```bash
|
||||||
|
zcat ~/backups/eggtracker/eggtracker-pre-update-2026-11-22.sql.gz | docker compose exec -T db sh -c 'mysql -uroot -p"$MYSQL_ROOT_PASSWORD"'
|
||||||
|
```
|
||||||
|
|
||||||
|
### Commits
|
||||||
|
|
||||||
|
- `148e4eb` fix(deps): bump nginx 1.30.6-alpine → 1.30.7-alpine
|
||||||
|
- `99d8a45` chore(deps): bump sqlalchemy 2.1.6 → 2.1.9, pydantic 2.14.1 → 2.14.4, pymysql 1.2.3 → 1.2.4
|
||||||
|
- `8f53de0` chore(deps): bump fastapi 0.162.0 → 0.165.0
|
||||||
Reference in new issue
Block a user