@minecraft-docker/mcctl 1.11.0 → 1.12.1

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.
Files changed (3) hide show
  1. package/CHANGELOG.md +26 -0
  2. package/README.md +10 -10
  3. package/package.json +3 -3
package/CHANGELOG.md CHANGED
@@ -5,6 +5,32 @@ All notable changes to this project will be documented in this file.
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
+ ## [1.12.1] - 2026-02-07
9
+
10
+ ### Fixed
11
+ - **Console TypeScript Types** - Add `not_created` status to all SSE and API interface type definitions
12
+ - `useServerStatus` hook status union type
13
+ - `useServersSSE` hook `ServerStatusMap` and `onStatusChange` callback
14
+ - `IMcctlApiClient` `ServerSummary` interface
15
+ - `ServerStatusEvent` type in events.ts
16
+
17
+ ## [1.12.0] - 2026-02-06
18
+
19
+ ### Added
20
+ - **All-Servers SSE Status Endpoint** - `GET /api/servers-status` for streaming all server statuses via Server-Sent Events
21
+ - **Server Detail Delete Menu** - MoreVert button with delete option and confirmation dialog on server detail page
22
+ - **API Audit Logging** - Automatic audit log recording for server create, delete, start, stop, and restart actions via REST API
23
+ - `writeAuditLog()` helper function in audit-log-service for consistent logging
24
+ - Audit events logged in server actions endpoint (start/stop/restart)
25
+
26
+ ### Fixed
27
+ - **SSE URL Path** - Update SSE URL to `/api/sse/servers-status` in useServersSSE hook
28
+ - **Not Created Status Handling** - Handle `not_created` server status in card, list, and detail page views
29
+ - **Assign World Dialog** - Show all non-running servers in assign world dialog
30
+
31
+ ### Refactored
32
+ - Extract `mapContainerStatus()` and `mapHealthStatus()` to module-level functions in servers route
33
+
8
34
  ## [1.11.0] - 2026-02-06
9
35
 
10
36
  ### Added
package/README.md CHANGED
@@ -75,36 +75,36 @@ mcctl logs myserver
75
75
 
76
76
  ## Changelog
77
77
 
78
+ ### v1.12.1 (2026-02-07)
79
+ - **fix(console)**: Add `not_created` status to all SSE and API interface type definitions
80
+
81
+ ### v1.12.0 (2026-02-06)
82
+ - **feat(api)**: All-servers SSE status endpoint (`GET /api/servers-status`)
83
+ - **feat(console)**: Server detail delete menu with confirmation dialog
84
+ - **feat(api)**: Audit logging for server create, delete, start, stop, restart actions
85
+ - **fix(console)**: SSE URL path updated to `/api/sse/servers-status`
86
+ - **fix(console)**: Handle `not_created` server status in card, list, and detail page
87
+
78
88
  ### v1.11.0 (2026-02-06)
79
89
  - **feat(console)**: World management UI - list, reset, server assignment (#175)
80
90
  - **feat(console)**: Server options tab with config management (#229)
81
91
  - **feat(console)**: SSE real-time server status replaces polling (#223)
82
92
  - **feat(api)**: Server config and world reset endpoints (#229)
83
- - **feat(cli)**: Add shared package to `mcctl update --all`
84
93
  - **fix(api)**: Path traversal prevention and container status checks in world reset
85
- - **fix(cli)**: Always force update check when running `mcctl update`
86
94
 
87
95
  ### v1.10.0 (2026-02-05)
88
96
  - **feat**: Audit Log System - comprehensive activity tracking (#234, #235)
89
97
  - `mcctl audit list/purge/stats` CLI commands with filtering
90
98
  - 5 REST API endpoints (list, stats, purge, SSE stream)
91
99
  - Full Web UI: audit log page, dashboard widget, server activity tab
92
- - SQLite storage with WAL mode, auto-cleanup (90-day retention)
93
100
 
94
101
  ### v1.9.0 (2026-02-05)
95
102
  - **feat(cli)**: Add `--all` flag to `mcctl update` command
96
- - Update CLI and all installed services (mcctl-api, mcctl-console) together
97
103
 
98
104
  ### v1.8.0 (2026-02-05)
99
105
  - **feat(api,console)**: Pass sudo password from web console to server creation API (#230)
100
106
  - **feat(console)**: Replace ActivityFeed with ChangelogFeed on dashboard
101
107
 
102
- ### v1.7.12 (2026-02-05)
103
- - **fix(scripts)**: Correct TEMPLATE_DIR path duplication in create-server.sh (#230)
104
-
105
- ### v1.7.11 (2026-02-04)
106
- - **fix(shared)**: Check LEVEL config before WORLD_NAME for world size calculation
107
-
108
108
  [Full Changelog](https://github.com/smallmiro/minecraft-server-manager/releases)
109
109
 
110
110
  ## AI Assistant
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@minecraft-docker/mcctl",
3
- "version": "1.11.0",
3
+ "version": "1.12.1",
4
4
  "description": "CLI tool for managing Docker Minecraft servers with mc-router",
5
5
  "type": "module",
6
6
  "bin": {
@@ -55,8 +55,8 @@
55
55
  ],
56
56
  "dependencies": {
57
57
  "@clack/prompts": "^0.8.0",
58
- "@minecraft-docker/mod-source-modrinth": "^1.11.0",
59
- "@minecraft-docker/shared": "^1.11.0",
58
+ "@minecraft-docker/mod-source-modrinth": "^1.12.1",
59
+ "@minecraft-docker/shared": "^1.12.1",
60
60
  "commander": "^12.0.0",
61
61
  "js-yaml": "^4.1.0",
62
62
  "picocolors": "^1.1.0",