@hivemagnus/magnus 3.0.0 → 3.0.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 (1) hide show
  1. package/package.json +10 -10
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hivemagnus/magnus",
3
- "version": "3.0.0",
3
+ "version": "3.0.1",
4
4
  "description": "Install, upgrade and roll back a Magnus server and console with one command: `npx @hivemagnus/magnus init`, then `magnus upgrade`. Pins exact, tested component versions, backs up PostgreSQL before every migration and reverts automatically when the new version fails its health check.",
5
5
  "keywords": [
6
6
  "magnus",
@@ -47,7 +47,7 @@
47
47
  "clean": "node -e \"const fs=require('node:fs');fs.rmSync('dist',{recursive:true,force:true});fs.rmSync('tsconfig.tsbuildinfo',{force:true})\""
48
48
  },
49
49
  "dependencies": {
50
- "@hivemagnus/magnus-contracts": "3.0.0"
50
+ "@hivemagnus/magnus-contracts": "3.0.1"
51
51
  },
52
52
  "devDependencies": {
53
53
  "@types/node": "^24.19.2",
@@ -56,17 +56,17 @@
56
56
  },
57
57
  "magnusRelease": {
58
58
  "schema": 1,
59
- "version": "3.0.0",
59
+ "version": "3.0.1",
60
60
  "engines": {
61
61
  "node": "^24.22.3 || ^26.13.1"
62
62
  },
63
63
  "components": {
64
- "@hivemagnus/magnus-server": "3.0.0",
65
- "@hivemagnus/magnus-ui": "3.0.0",
66
- "@hivemagnus/magnus-contracts": "3.0.0",
67
- "@hivemagnus/magnus-agent": "3.0.0"
64
+ "@hivemagnus/magnus-server": "3.0.1",
65
+ "@hivemagnus/magnus-ui": "3.0.1",
66
+ "@hivemagnus/magnus-contracts": "3.0.1",
67
+ "@hivemagnus/magnus-agent": "3.0.1"
68
68
  },
69
- "breaking": true,
69
+ "breaking": false,
70
70
  "minUpgradeFrom": "2.10.2",
71
71
  "engineProtocol": 2,
72
72
  "newRequiredEnv": [],
@@ -77,8 +77,8 @@
77
77
  "selfUpgradeProtocol": 1,
78
78
  "minLauncher": 1
79
79
  },
80
- "summary": "Per-node credentials, phase 3: NODE_AUTH_MODE defaults to enforce on the server and the agent. The shared node secret is refused and no longer sent in either direction, HMAC-only evidence and decisions are refused, the automatic legacy upgrade is closed and NODE_AUTO_REGISTER is off. A server with the mode unset refuses to start while any real node lacks an active key or its agent does not sign evidence (or is 2.10.0/2.10.1), naming them; an explicit compat or warn keeps working for this major and is deprecated. NODE_MANAGER_SECRET and RESULT_SIGNING_SECRET are no longer required outside compat and warn. Adds server-key rotation (stage, promote, retire) and a two-ADMIN approval for scheduler-source settlements in place of the reviewer HMAC. No migrations. Upgrade from 2.10.2 only: optionally run 2.10.2 in warn for a day, confirm GET /api/v1/node-credentials/summary reports no blockers, remove NODE_AUTH_MODE and upgrade the server with --allow-major; 2.10.2 agents keep working, and moving an agent to 3.0.0 crosses a major, so it is done by hand on the node. Roll back by setting NODE_AUTH_MODE=compat. See docs/NODE_CREDENTIALS.md.",
81
- "notesUrl": "https://github.com/ChefTaco/magnus/releases/tag/v3.0.0",
80
+ "summary": "Agents can now be moved across a major version through the managed upgrade. magnus-server agents upgrade --to <3.x> --allow-major (allowMajor in POST /api/v1/agents/upgrade) adds to each request that crosses a major an authorization signed with the server key for that node, the version it runs, the target and its tarball integrity, valid one hour; 2.10.3 and later agents with a bound key verify it against the server key they pin, and refuse anything else. Without --allow-major such nodes stay MAJOR_VERSION. The dry run lists agents 2.10.0 to 2.10.2 as needing the 2.10.3 stepping stone, which this server installs as an ordinary patch. Procedure for a 2.10.2 fleet: agents upgrade --to 2.10.3, then --to 3.0.1 --allow-major. The 3.0.1 agent verifies the same authorization. No migrations and no new settings. See docs/NODE_CREDENTIALS.md, Moving agents across a major version.",
81
+ "notesUrl": "https://github.com/ChefTaco/magnus/releases/tag/v3.0.1",
82
82
  "allowScripts": {
83
83
  "@prisma/engines": true,
84
84
  "argon2": true,