Skip to content

Commit 40425c0

Browse files
committed
chore: version packages
1 parent 5ce13ec commit 40425c0

3 files changed

Lines changed: 26 additions & 11 deletions

File tree

.changeset/security-hardening-config.md

Lines changed: 0 additions & 10 deletions
This file was deleted.

CHANGELOG.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,30 @@
11
# training-app
22

3+
## 1.2.0
4+
5+
### Minor Changes
6+
7+
- 0b33cdd: Harden security across configuration, auth, and HTTP headers.
8+
9+
**Requires running DB migrations on deploy** (two migrations included).
10+
11+
Configuration & API surface:
12+
13+
- Explicit `auth` config on `users` and `clients` (2h token expiration, 5 max login attempts, 10 min lockout, `secure` cookies in production, `sameSite: Lax`)
14+
- Add `serverURL`, CORS and CSRF whitelists scoped to `NEXT_PUBLIC_BASE_URL`
15+
- Disable the unused GraphQL API and remove its routes to shrink the public API surface
16+
- Restrict Media uploads to images and cap file size at 5 MB
17+
18+
Auth & data:
19+
20+
- Enforce a minimum password length of 15 characters (NIST) on `users` and `clients`
21+
- Enable versioning/audit history on `plans` and `clients` (migration `20260618_162028_security_versioning`)
22+
- Drop the `share-links` version tables and type to avoid retaining live tokens in history (migration `20260618_172305_drop_share_links_versions`)
23+
24+
HTTP security headers (`next.config.ts`):
25+
26+
- HSTS (with preload), `X-Content-Type-Options`, `X-Frame-Options`, `Referrer-Policy`, `Permissions-Policy`, and a `frame-ancestors 'self'` CSP
27+
328
## 1.1.1
429

530
### Patch Changes

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "training-app",
3-
"version": "1.1.1",
3+
"version": "1.2.0",
44
"description": "Aplikacja treningowa na Payload 3",
55
"license": "MIT",
66
"type": "module",

0 commit comments

Comments
 (0)