@dotenvx/dotenvx 1.60.1 → 1.60.2
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 +7 -1
- package/README.md +2 -2
- package/package.json +1 -1
- package/src/cli/actions/encrypt.js +2 -2
- package/src/cli/actions/rotate.js +2 -2
- package/src/cli/actions/set.js +2 -2
- package/src/lib/main.js +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -2,7 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
|
|
4
4
|
|
|
5
|
-
[Unreleased](https://github.com/dotenvx/dotenvx/compare/v1.60.
|
|
5
|
+
[Unreleased](https://github.com/dotenvx/dotenvx/compare/v1.60.2...main)
|
|
6
|
+
|
|
7
|
+
## [1.60.2](https://github.com/dotenvx/dotenvx/compare/v1.60.1...v1.60.2) (2026-04-07)
|
|
8
|
+
|
|
9
|
+
### Changed
|
|
10
|
+
|
|
11
|
+
* Communicate `local key` and `armored key` (for Ops stored keys) ([#778](https://github.com/dotenvx/dotenvx/pull/778))
|
|
6
12
|
|
|
7
13
|
## [1.60.1](https://github.com/dotenvx/dotenvx/compare/v1.60.0...v1.60.1) (2026-04-06)
|
|
8
14
|
|
package/README.md
CHANGED
|
@@ -1572,7 +1572,7 @@ Encrypt the contents of a `.env` file to an encrypted `.env` file.
|
|
|
1572
1572
|
$ echo "HELLO=Dotenvx" > .env
|
|
1573
1573
|
|
|
1574
1574
|
$ dotenvx encrypt
|
|
1575
|
-
◈ encrypted (.env) + key (.env.keys)
|
|
1575
|
+
◈ encrypted (.env) + local key (.env.keys)
|
|
1576
1576
|
⮕ next run [dotenvx ext gitignore --pattern .env.keys] to gitignore .env.keys
|
|
1577
1577
|
⮕ next run [DOTENV_PRIVATE_KEY='122...0b8' dotenvx run -- yourcommand] to test decryption locally
|
|
1578
1578
|
```
|
|
@@ -1587,7 +1587,7 @@ $ echo "HELLO=Dotenvx" > .env
|
|
|
1587
1587
|
$ echo "HELLO=Production" > .env.production
|
|
1588
1588
|
|
|
1589
1589
|
$ dotenvx encrypt -f .env.production
|
|
1590
|
-
◈ encrypted (.env.production) + key (.env.keys)
|
|
1590
|
+
◈ encrypted (.env.production) + local key (.env.keys)
|
|
1591
1591
|
⮕ next run [dotenvx ext gitignore --pattern .env.keys] to gitignore .env.keys
|
|
1592
1592
|
⮕ next run [DOTENV_PRIVATE_KEY='bff...bc4' dotenvx run -- yourcommand] to test decryption locally
|
|
1593
1593
|
```
|
package/package.json
CHANGED
|
@@ -57,10 +57,10 @@ async function encrypt () {
|
|
|
57
57
|
let msg = `◈ encrypted (${changedFilepaths.join(',')})`
|
|
58
58
|
if (localKeyAddedEnv) {
|
|
59
59
|
const envKeysFilepath = localDisplayPath(localKeyAddedEnv.envKeysFilepath)
|
|
60
|
-
msg += ` + key (${envKeysFilepath})`
|
|
60
|
+
msg += ` + local key (${envKeysFilepath})`
|
|
61
61
|
}
|
|
62
62
|
if (remoteKeyAddedEnv) {
|
|
63
|
-
msg += ' + key ⛨'
|
|
63
|
+
msg += ' + armored key ⛨'
|
|
64
64
|
}
|
|
65
65
|
logger.success(msg)
|
|
66
66
|
} else if (unchangedFilepaths.length > 0) {
|
|
@@ -64,10 +64,10 @@ async function rotate () {
|
|
|
64
64
|
let msg = `⟳ rotated (${changedFilepaths.join(',')})`
|
|
65
65
|
if (localKeyAddedEnv) {
|
|
66
66
|
const envKeysFilepath = localDisplayPath(localKeyAddedEnv.envKeysFilepath)
|
|
67
|
-
msg += ` + key (${envKeysFilepath})`
|
|
67
|
+
msg += ` + local key (${envKeysFilepath})`
|
|
68
68
|
}
|
|
69
69
|
if (remoteKeyAddedEnv) {
|
|
70
|
-
msg += ' + key ⛨'
|
|
70
|
+
msg += ' + armored key ⛨'
|
|
71
71
|
}
|
|
72
72
|
logger.success(msg)
|
|
73
73
|
} else if (unchangedFilepaths.length > 0) {
|
package/src/cli/actions/set.js
CHANGED
|
@@ -59,10 +59,10 @@ async function set (key, value) {
|
|
|
59
59
|
const remoteKeyAddedEnv = processedEnvs.find((processedEnv) => processedEnv.remotePrivateKeyAdded)
|
|
60
60
|
let keyAddedSuffix = ''
|
|
61
61
|
if (localKeyAddedEnv) {
|
|
62
|
-
keyAddedSuffix = ` + key (${localDisplayPath(localKeyAddedEnv.envKeysFilepath)})`
|
|
62
|
+
keyAddedSuffix = ` + local key (${localDisplayPath(localKeyAddedEnv.envKeysFilepath)})`
|
|
63
63
|
}
|
|
64
64
|
if (remoteKeyAddedEnv) {
|
|
65
|
-
keyAddedSuffix = ' + key ⛨'
|
|
65
|
+
keyAddedSuffix = ' + armored key ⛨'
|
|
66
66
|
}
|
|
67
67
|
|
|
68
68
|
if (spinner) spinner.stop()
|
package/src/lib/main.js
CHANGED
|
@@ -199,10 +199,10 @@ const set = function (key, value, options = {}) {
|
|
|
199
199
|
const remoteKeyAddedEnv = processedEnvs.find((processedEnv) => processedEnv.remotePrivateKeyAdded)
|
|
200
200
|
|
|
201
201
|
if (localKeyAddedEnv) {
|
|
202
|
-
keyAddedSuffix = ` + key (${localDisplayPath(localKeyAddedEnv.envKeysFilepath)})`
|
|
202
|
+
keyAddedSuffix = ` + local key (${localDisplayPath(localKeyAddedEnv.envKeysFilepath)})`
|
|
203
203
|
}
|
|
204
204
|
if (remoteKeyAddedEnv) {
|
|
205
|
-
keyAddedSuffix = ' + key ⛨'
|
|
205
|
+
keyAddedSuffix = ' + armored key ⛨'
|
|
206
206
|
}
|
|
207
207
|
|
|
208
208
|
if (changedFilepaths.length > 0) {
|