@lunarisdigitalsolutions/lunapack 1.6.0 → 1.7.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 +86 -0
- package/package.json +6 -6
package/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,92 @@ pack-package, documentation, CI, build, test, and release-process changes.
|
|
|
7
7
|
|
|
8
8
|
Update this section before creating a release tag.
|
|
9
9
|
|
|
10
|
+
## Version 1.7.0 - 2026-11-21
|
|
11
|
+
|
|
12
|
+
### Resource Limits
|
|
13
|
+
|
|
14
|
+
- Luna now applies finite, configurable ceilings to project and pack manifests,
|
|
15
|
+
lock files, pack documents, snapshots, selected files, dependency graphs,
|
|
16
|
+
rendered content, Git output, and OCI downloads and archives. `luna config`
|
|
17
|
+
manages scoped limits; project settings can only lower built-in defaults,
|
|
18
|
+
and cannot raise a stricter user-project or global setting. Global-user and
|
|
19
|
+
user-project settings can raise effective limits within finite hard ceilings.
|
|
20
|
+
Over-limit inputs fail before parsing or project mutation with observed
|
|
21
|
+
values and units in the diagnostic. The same effective limits protect OCI
|
|
22
|
+
pack publication.
|
|
23
|
+
|
|
24
|
+
### Git Sources
|
|
25
|
+
|
|
26
|
+
- Git operations now reject `http://` and `git://` sources by default. The
|
|
27
|
+
scope-wide `git.allow-insecure-transport` preference provides a warned
|
|
28
|
+
opt-in; opted-in HTTP operations skip Git credential helpers. Secure HTTPS
|
|
29
|
+
operations require certificate verification and a direct final URL because
|
|
30
|
+
redirects are disabled. Git URLs containing queries or fragments and
|
|
31
|
+
checkout smudge filters are rejected; option-like repository locations are
|
|
32
|
+
rejected before Git runs.
|
|
33
|
+
|
|
34
|
+
### Lifecycle Hooks
|
|
35
|
+
|
|
36
|
+
- Authorized scripts now warn with names of inherited environment variables
|
|
37
|
+
outside the effective allow-list. Warnings do not filter the child
|
|
38
|
+
environment. Each script hook now has a 300-second default timeout, with
|
|
39
|
+
optional project and user policy from 1 through 1,800 seconds; the shortest
|
|
40
|
+
configured timeout applies. Timeouts terminate the process tree and fail the
|
|
41
|
+
lifecycle operation, separately from caller cancellation.
|
|
42
|
+
|
|
43
|
+
### Added
|
|
44
|
+
|
|
45
|
+
- `luna audit --strict` now verifies every pack- and link-managed target against
|
|
46
|
+
its locked SHA-256 digest. It returns `2` for missing or modified targets,
|
|
47
|
+
while invalid usage or unreadable state returns `1`; `--fail-fast` stops after
|
|
48
|
+
the first integrity violation. Strict reads remain inside the selected
|
|
49
|
+
workspace and reject symbolic-link or reparse-point paths. Strict audit uses
|
|
50
|
+
text output; combining `--strict` with `--format json` returns exit code `1`
|
|
51
|
+
with a JSON failure envelope.
|
|
52
|
+
- `luna doctor` reports project-relevant Git, credential-store, state, and
|
|
53
|
+
profile/cache problems with remediation. Its default checks are offline;
|
|
54
|
+
`--network` enables bounded, noninteractive checks for configured Git and OCI
|
|
55
|
+
sources.
|
|
56
|
+
- Install, update, local pack validation, and OCI publication now screen
|
|
57
|
+
pack-managed UTF-8 text for hidden Unicode. Bidi controls and U+200B block
|
|
58
|
+
before side effects unless `--allow-hidden-characters` is supplied; other
|
|
59
|
+
Unicode format characters remain warnings. `luna audit` reports installed
|
|
60
|
+
findings without changing state or success behavior. BOM-tagged UTF-16 and
|
|
61
|
+
UTF-32 content is decoded, and recoverable controls in NUL-containing or
|
|
62
|
+
invalid UTF-8 payloads remain enforceable without rejecting opaque bytes
|
|
63
|
+
alone. Managed paths reject terminal-control and hidden-format characters.
|
|
64
|
+
Diagnostic retention is bounded to 1,000 findings per payload with an
|
|
65
|
+
omission summary.
|
|
66
|
+
- `luna audit`, `luna outdated`, and `luna validate <pack-reference>` accept
|
|
67
|
+
`--format json` for versioned machine-readable results. JSON stays on
|
|
68
|
+
standard output while human-readable diagnostics use standard error; audit
|
|
69
|
+
results include stable finding codes and severity counts.
|
|
70
|
+
- `luna sbom` exports lock-derived dependency inventories as CycloneDX 1.6/1.7
|
|
71
|
+
or SPDX 2.3/3.0.1 JSON, with optional safe project-relative file output.
|
|
72
|
+
- Luna records bounded per-user lifecycle script attempt history and adds
|
|
73
|
+
`luna hooks history` for read-only inspection of recent commands, authorization
|
|
74
|
+
sources, durations, and outcomes. History persistence failures warn without
|
|
75
|
+
changing script results or rollback behavior.
|
|
76
|
+
|
|
77
|
+
### Fixed
|
|
78
|
+
|
|
79
|
+
- Lifecycle scripts now complete reliably on macOS by tracking hook descendants
|
|
80
|
+
through process relationships instead of a platform-native process queue.
|
|
81
|
+
- `luna doctor` now removes temporary writability probes explicitly after the
|
|
82
|
+
probe handle closes on macOS and other Unix hosts, while allowing platform
|
|
83
|
+
temp-directory aliases without weakening reparse-point checks.
|
|
84
|
+
- Lifecycle consent always displays the pack ID, resolved command and arguments,
|
|
85
|
+
and optional description even when informational output is suppressed.
|
|
86
|
+
- Canceling noninteractive lifecycle hooks no longer waits for detached
|
|
87
|
+
descendants that retain output handles. Unread output may be discarded.
|
|
88
|
+
- Pack and link updates now preserve locally modified managed targets removed
|
|
89
|
+
from their next selection and warn that the files are no longer managed.
|
|
90
|
+
Pack updates support explicit deletion with `--remove-modified`.
|
|
91
|
+
- Git links now fetch selected files missing from cached content using the
|
|
92
|
+
resolved commit.
|
|
93
|
+
- Luna resolves Git from trusted absolute `PATH` entries instead of a
|
|
94
|
+
same-directory executable, and rejects credential-bearing HTTP Git URLs.
|
|
95
|
+
|
|
10
96
|
## Version 1.6.0 - 2026-11-17
|
|
11
97
|
|
|
12
98
|
### Catalog Eligibility and Preferences
|
package/package.json
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lunarisdigitalsolutions/lunapack",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.7.0",
|
|
4
4
|
"description": "Luna CLI.",
|
|
5
5
|
"bin": {
|
|
6
6
|
"luna": "run-luna.mjs"
|
|
7
7
|
},
|
|
8
8
|
"optionalDependencies": {
|
|
9
|
-
"@lunarisdigitalsolutions/lunapack-win64": "1.
|
|
10
|
-
"@lunarisdigitalsolutions/lunapack-linux-x64": "1.
|
|
11
|
-
"@lunarisdigitalsolutions/lunapack-linux-arm64": "1.
|
|
12
|
-
"@lunarisdigitalsolutions/lunapack-macos-x64": "1.
|
|
13
|
-
"@lunarisdigitalsolutions/lunapack-macos-arm64": "1.
|
|
9
|
+
"@lunarisdigitalsolutions/lunapack-win64": "1.7.0",
|
|
10
|
+
"@lunarisdigitalsolutions/lunapack-linux-x64": "1.7.0",
|
|
11
|
+
"@lunarisdigitalsolutions/lunapack-linux-arm64": "1.7.0",
|
|
12
|
+
"@lunarisdigitalsolutions/lunapack-macos-x64": "1.7.0",
|
|
13
|
+
"@lunarisdigitalsolutions/lunapack-macos-arm64": "1.7.0"
|
|
14
14
|
},
|
|
15
15
|
"files": [
|
|
16
16
|
"run-luna.mjs",
|