@minecraft-docker/mcctl 1.15.3 → 1.15.4

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 CHANGED
@@ -5,6 +5,19 @@ 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.15.4] - 2026-02-08
9
+
10
+ ### Fixed
11
+ - **Console Better Auth Config** - Explicitly pass `baseURL` and `secret` to Better Auth configuration
12
+ - Better Auth was not auto-detecting environment variables in some deployment scenarios
13
+ - Now reads `BETTER_AUTH_BASE_URL` and `BETTER_AUTH_SECRET` explicitly in config
14
+ - **Console HTTP Session Persistence** - Fix login redirect loop in HTTP environments
15
+ - Added `advanced.useSecureCookies` toggle based on protocol detection
16
+ - Previously, production mode defaulted to Secure cookies, causing browsers to reject cookies over HTTP (e.g., `http://192.168.x.x:5000`)
17
+ - Resolves 307 redirect loop after successful login on HTTP deployments
18
+ - **Console trustedOrigins Dedup** - Remove duplicate `localhost:5000` entry from trustedOrigins
19
+ - Only add `baseURL` to trustedOrigins when it differs from the default `http://localhost:5000`
20
+
8
21
  ## [1.15.3] - 2026-02-08
9
22
 
10
23
  ### Fixed
package/README.md CHANGED
@@ -77,6 +77,11 @@ mcctl logs myserver
77
77
 
78
78
  ## Changelog
79
79
 
80
+ ### v1.15.4 (2026-02-08)
81
+ - **fix(console)**: Explicitly pass `baseURL` and `secret` to Better Auth config
82
+ - **fix(console)**: Fix HTTP session persistence - disable Secure cookies on HTTP environments
83
+ - **fix(console)**: Remove duplicate trustedOrigins entry for localhost:5000
84
+
80
85
  ### v1.15.3 (2026-02-08)
81
86
  - **fix(cli)**: Correct `BETTER_AUTH_URL` to `BETTER_AUTH_BASE_URL` in ecosystem.config.cjs
82
87
  - **fix(console)**: Fix trustedOrigins env var name to `BETTER_AUTH_BASE_URL`
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@minecraft-docker/mcctl",
3
- "version": "1.15.3",
3
+ "version": "1.15.4",
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.15.3",
59
- "@minecraft-docker/shared": "^1.15.3",
58
+ "@minecraft-docker/mod-source-modrinth": "^1.15.4",
59
+ "@minecraft-docker/shared": "^1.15.4",
60
60
  "better-sqlite3": "^12.6.2",
61
61
  "commander": "^12.0.0",
62
62
  "js-yaml": "^4.1.0",