1.17.0 upgrade notes

Changelog: one 1.17.0 entry, the security follow-ups prepared as 1.16.8 first, then e-mail, the name, Postgres;
the mail service is live with enrolment "pending". PROGRAMISTA §6 rows 71 (renamed), 74 and 75; iapl-upgrade
"→ 1.17.0, security"; iapl-setup, iapl-debug, email.md, deployment.md: a new site waits for approval while the
service runs with "pending". Reference skills, AGENTS.md and the reference index on 1.17.0.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
Radosław Smoliński
2026-11-26 11:09:53 +01:00
co-authored by Claude Opus 5.5
parent 3bfe377f1b
commit 2f6a81acbf
12 changed files with 31 additions and 32 deletions
+3 -3
View File
@@ -58,7 +58,7 @@ Mail needs **no variable**. A site with no SMTP server in the panel sends throug
domain (or moved to another one) enrols by itself on its first e-mail; the old address's connection in the
database is its own past. Remove `IAPL_NOINDEX` at launch as always — a site that still has it counts as a
non-public copy and sends nothing.
- **Staging and copies.** A site is active as soon as it enrols, so a staging site sends real mail. A **copy of
- **Staging and copies.** Under open enrolment a site is active as soon as it enrols, so a staging site sends real mail (while the service runs with enrolment "pending" (from its launch until Intecion switches to open enrolment), every new site waits for approval). A **copy of
production's database** on a non-public site — a host that matches `iapl({ developmentHosts })` (built in:
`*.dev.netscale.pl`, Intecion's development domain; **no env needed**) or one with `IAPL_NOINDEX=1` — neither enrols nor
sends by itself (its data is production's) until an admin presses "Connect again", and never uses or touches
@@ -363,7 +363,7 @@ the panel). Code inside it that runs **without** the transaction's `req` needs a
"forgot password" (it reserves the request interval outside the transaction), an e-mail adapter reading its settings,
`payload.kv`, a project hook that calls the Local API without `req`. With the default pool of 10, **ten such requests
at the same moment held all ten connections and each waited for an eleventh — the whole site stopped, for good**
(measured on 1.16.8 and the 1.17.0 branch: 12 form submissions or 12 "forgot password" requests at once, an ordinary
(measured on 1.16.7 and the 1.17.0 branch: 12 form submissions or 12 "forgot password" requests at once, an ordinary
page got no answer).
Since 1.17.0 the plugin keeps a few connections free of transactions (`connectionReserve`):
@@ -384,7 +384,7 @@ Since 1.17.0 the plugin keeps a few connections free of transactions (`connectio
Measured on Postgres 17, default pool of 10 (`test/transactionPool*.test.ts`):
| At the same moment | 1.16.8 / `connectionReserve: false` | 1.17.0 |
| At the same moment | 1.16.7 / `connectionReserve: false` | 1.17.0 |
|---|---|---|
| 12 or 30 form submissions, or 12 or 30 "forgot password" | site stops for good, pages too | all finish, a page answers in milliseconds |
| 9 / 12 / 30 submissions whose hook writes without `req` | 9 finish (363 ms); 12 and 30 stop the site | all finish (under 2 s) |