@shivaedev/create-app 0.20.0 → 0.21.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +17 -0
- package/package.json +4 -4
- package/template.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,22 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.21.0 - 2026-10-28
|
|
4
|
+
|
|
5
|
+
### Added
|
|
6
|
+
|
|
7
|
+
- Application HTTP routes registered through `appHost.routes` can use app services, with route construction errors and missing dependencies retained in the host's types. Generated apps register HTTP routes and static assets through this option.
|
|
8
|
+
- Application routes can answer foreign-origin preflights through native `HttpMiddleware.cors`. Host origin restrictions cover the configured RPC path and `/api/auth/*`, including `/api/auth`; other foreign origins still receive 403 there.
|
|
9
|
+
- Identity exports `sweepExpiredSessions`, an Effect over the application's SQL client that deletes expired Better Auth sessions and returns the number removed without mounting auth.
|
|
10
|
+
- The starter worker sweeps expired auth sessions daily at midnight UTC. New apps and apps using the starter updater receive the schedule.
|
|
11
|
+
- `authTestDatabase(pool).expireSessions(userId)` expires only the selected user's sessions; omit the user id to expire every session.
|
|
12
|
+
- Register schedule definitions beside queues on the admin Jobs page, with null payloads in failed runs, dead-letter listings and job lookups. Pages with no queues can register handlers and serve health.
|
|
13
|
+
- Read stored jobs with null payload schemas through the jobs service without changing queue payload validation.
|
|
14
|
+
- Show an empty state in the starter Jobs view when no queues or schedules are registered.
|
|
15
|
+
|
|
16
|
+
### Breaking
|
|
17
|
+
|
|
18
|
+
- Call `authTestDatabase(pool).expireSessions()` instead of yielding the `expireSessions` property directly.
|
|
19
|
+
|
|
3
20
|
## 0.20.0 - 2026-10-27
|
|
4
21
|
|
|
5
22
|
### Added
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@shivaedev/create-app",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.21.0",
|
|
4
4
|
"description": "Create and install a Platform application from the maintained starter",
|
|
5
5
|
"homepage": "https://github.com/ShivaeDev/platform/tree/main/packages/create-app#readme",
|
|
6
6
|
"bugs": {
|
|
@@ -58,13 +58,13 @@
|
|
|
58
58
|
"README.md"
|
|
59
59
|
],
|
|
60
60
|
"dependencies": {
|
|
61
|
-
"@shivaedev/sql": "0.
|
|
61
|
+
"@shivaedev/sql": "0.24.0"
|
|
62
62
|
},
|
|
63
63
|
"devDependencies": {
|
|
64
64
|
"@effect/platform-node": "4.0.5",
|
|
65
65
|
"@effect/platform-node-shared": "4.0.5",
|
|
66
|
-
"@shivaedev/quality": "0.
|
|
67
|
-
"@shivaedev/test-story": "0.
|
|
66
|
+
"@shivaedev/quality": "0.43.0",
|
|
67
|
+
"@shivaedev/test-story": "0.22.0",
|
|
68
68
|
"@types/node": "24.19.2",
|
|
69
69
|
"effect": "4.0.5",
|
|
70
70
|
"esbuild": "0.28.2",
|