@dotenvx/dotenvx 1.57.5 → 1.58.0
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 +8 -1
- package/README.md +6 -6
- package/package.json +1 -1
- package/src/shared/logger.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.
|
|
5
|
+
[Unreleased](https://github.com/dotenvx/dotenvx/compare/v1.58.0...main)
|
|
6
|
+
|
|
7
|
+
## [1.58.0](https://github.com/dotenvx/dotenvx/compare/v1.57.5...v1.58.0) (2026-03-27)
|
|
8
|
+
|
|
9
|
+
### Changed
|
|
10
|
+
|
|
11
|
+
* Changed runtime injection message to format `⟐ injecting env (N) from FILE · dotenvx@VERSION` ([#770](https://github.com/dotenvx/dotenvx/pull/770))
|
|
6
12
|
|
|
7
13
|
## [1.57.5](https://github.com/dotenvx/dotenvx/compare/v1.57.4...v1.57.5) (2026-03-26)
|
|
8
14
|
|
|
@@ -35,6 +41,7 @@ All notable changes to this project will be documented in this file. See [standa
|
|
|
35
41
|
* improved error logs and compacted most to a single line ([#755](https://github.com/dotenvx/dotenvx/pull/755))
|
|
36
42
|
* introduced leading log glyphs as a visual status language:
|
|
37
43
|
|
|
44
|
+
* `⟐` success action (injected)
|
|
38
45
|
* `◈` success action (encrypted)
|
|
39
46
|
* `◇` success action (set plain value, decrypted)
|
|
40
47
|
* `⟳` success action (rotated)
|
package/README.md
CHANGED
|
@@ -34,7 +34,7 @@ or install globally - *unlocks dotenv for any language, framework, or platform!*
|
|
|
34
34
|
|
|
35
35
|
```sh
|
|
36
36
|
npm i -g @dotenvx/dotenvx
|
|
37
|
-
dotenvx
|
|
37
|
+
dotenvx encrypt
|
|
38
38
|
```
|
|
39
39
|
|
|
40
40
|
[](https://npmjs.com/@dotenvx/dotenvx)
|
|
@@ -46,7 +46,7 @@ dotenvx help
|
|
|
46
46
|
|
|
47
47
|
```sh
|
|
48
48
|
curl -sfS https://dotenvx.sh | sh
|
|
49
|
-
dotenvx
|
|
49
|
+
dotenvx encrypt
|
|
50
50
|
```
|
|
51
51
|
|
|
52
52
|
[](https://github.com/dotenvx/dotenvx.sh/blob/main/install.sh)
|
|
@@ -59,7 +59,7 @@ dotenvx help
|
|
|
59
59
|
|
|
60
60
|
```sh
|
|
61
61
|
brew install dotenvx/brew/dotenvx
|
|
62
|
-
dotenvx
|
|
62
|
+
dotenvx encrypt
|
|
63
63
|
```
|
|
64
64
|
|
|
65
65
|
[](https://github.com/dotenvx/homebrew-brew/blob/main/Formula/dotenvx.rb)
|
|
@@ -71,7 +71,7 @@ dotenvx help
|
|
|
71
71
|
<details><summary>with docker 🐳</summary><br>
|
|
72
72
|
|
|
73
73
|
```sh
|
|
74
|
-
docker run -it --rm -v $(pwd):/app dotenv/dotenvx
|
|
74
|
+
docker run -it --rm -v $(pwd):/app dotenv/dotenvx encrypt
|
|
75
75
|
```
|
|
76
76
|
|
|
77
77
|
[](https://hub.docker.com/r/dotenv/dotenvx)
|
|
@@ -85,7 +85,7 @@ docker run -it --rm -v $(pwd):/app dotenv/dotenvx help
|
|
|
85
85
|
```sh
|
|
86
86
|
curl -L -o dotenvx.tar.gz "https://github.com/dotenvx/dotenvx/releases/latest/download/dotenvx-$(uname -s)-$(uname -m).tar.gz"
|
|
87
87
|
tar -xzf dotenvx.tar.gz
|
|
88
|
-
./dotenvx
|
|
88
|
+
./dotenvx encrypt
|
|
89
89
|
```
|
|
90
90
|
|
|
91
91
|
[](https://github.com/dotenvx/dotenvx/releases)
|
|
@@ -99,7 +99,7 @@ tar -xzf dotenvx.tar.gz
|
|
|
99
99
|
|
|
100
100
|
```sh
|
|
101
101
|
winget install dotenvx
|
|
102
|
-
dotenvx
|
|
102
|
+
dotenvx encrypt
|
|
103
103
|
```
|
|
104
104
|
|
|
105
105
|
</details>
|
package/package.json
CHANGED
package/src/shared/logger.js
CHANGED
|
@@ -17,7 +17,7 @@ const levels = {
|
|
|
17
17
|
const error = (m) => bold(getColor('red')(`☠ ${m}`))
|
|
18
18
|
const warn = (m) => getColor('orangered')(`⚠ ${m}`)
|
|
19
19
|
const success = getColor('amber')
|
|
20
|
-
const successv = getColor('amber')
|
|
20
|
+
const successv = (m) => getColor('amber')(`⟐ ${m}`)
|
|
21
21
|
const info = getColor('gray')
|
|
22
22
|
const help = getColor('dodgerblue')
|
|
23
23
|
const verbose = getColor('plum')
|
|
@@ -57,7 +57,7 @@ function formatMessage (level, message) {
|
|
|
57
57
|
case 'success':
|
|
58
58
|
return success(formattedMessage)
|
|
59
59
|
case 'successv': // success with 'version'
|
|
60
|
-
return successv(
|
|
60
|
+
return successv(`${formattedMessage} · ${currentName}@${currentVersion}`)
|
|
61
61
|
// info
|
|
62
62
|
case 'info':
|
|
63
63
|
return info(formattedMessage)
|