hazo_env 0.14.0 → 0.14.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 (2) hide show
  1. package/CHANGE_LOG.md +15 -0
  2. package/package.json +3 -3
package/CHANGE_LOG.md CHANGED
@@ -1,5 +1,20 @@
1
1
  # hazo_env — Change Log
2
2
 
3
+ ## 0.14.1 — 2026-11-23
4
+
5
+ Fix: `resolvePeerDir()` no longer requires the current directory's basename
6
+ to end in `-blue`/`-green`. When no color suffix is found, it reads the
7
+ optional `configSuffix` parameter (populated from the INI's `dir_suffix`)
8
+ to compute the peer as `<basename>-<opposite>` — e.g. `~/kinstripe` with
9
+ `dir_suffix = blue` peers with `~/kinstripe-green`. This eliminates the
10
+ previously-"unavoidable" directory rename during the blue-green migration.
11
+
12
+ - **`resolvePeerDir()`** (`src/deploy/peer.ts`): new optional third
13
+ parameter `configSuffix?: string`.
14
+ - **`runBuild()`** (`src/deploy/build.ts`): passes `config.dir_suffix` on
15
+ the no-state fallback path.
16
+ - **`runInit()`** (`src/deploy/init.ts`): passes `config.dir_suffix`.
17
+
3
18
  ## 0.14.0 — 2026-11-09
4
19
 
5
20
  New: `resolveConnectConfig()` (`src/resolve/connect.ts`) and `doctor()`'s
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hazo_env",
3
- "version": "0.14.0",
3
+ "version": "0.14.1",
4
4
  "description": "Canonical environment resolver — typed env names, per-env DB/file/secret config, doctor and CLI for hazo apps",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -91,8 +91,8 @@
91
91
  "@types/react": "^19.0.0",
92
92
  "@types/react-dom": "^19.0.0",
93
93
  "hazo_core": "^2.5.0",
94
- "hazo_config": "^2.7.2",
95
- "hazo_connect": "^4.3.5",
94
+ "hazo_config": "^2.9.2",
95
+ "hazo_connect": "^4.6.1",
96
96
  "hazo_files": "^3.7.0",
97
97
  "next": "^16.0.10",
98
98
  "react": "^19.0.0",