@lunarisdigitalsolutions/lunapack 1.4.0 → 1.6.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.
Files changed (2) hide show
  1. package/CHANGELOG.md +100 -0
  2. package/package.json +6 -6
package/CHANGELOG.md CHANGED
@@ -7,6 +7,106 @@ 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.6.0 - 2026-11-17
11
+
12
+ ### Catalog Eligibility and Preferences
13
+
14
+ - Pack manifests can set `directInstallable: false` for dependency-only
15
+ releases. Discover and search show directly installable raw and composite
16
+ packs by default, with `--only-composites` available for composite-only
17
+ results; install, update, and outdated selection exclude dependency-only
18
+ roots while preserving composite dependency resolution, validation, and
19
+ inspection. `luna config set|list|remove` manages scoped preferences for
20
+ catalog filtering and next-step guidance. Use `--project` to store values in
21
+ `lunapack.yml` (`--local` remains an alias), `--user-project` for
22
+ project-specific user settings, or `--global` for user-wide settings.
23
+
24
+ ### OCI Registry Sources And Publishing
25
+
26
+ - `luna sources add oci` registers normalized HTTPS OCI registry sources without
27
+ contacting the registry. `luna sources ignore` and `unignore` manage
28
+ per-project, per-user source state; source listings show local ignore status.
29
+ Ignore updates leave `config.yml` unchanged for compatibility with older CLI
30
+ readers.
31
+ - `luna init` now adds `/.lunapack/` to the project-root `.gitignore` while
32
+ preserving existing content.
33
+ - OCI registry releases now participate in discovery, direct resolution,
34
+ validation, inspection, installation, and updates. Lock files retain the
35
+ registry, repository, version tag, and verified manifest/content digests.
36
+ - `luna publish <folder> --target <source>` publishes a validated pack as an
37
+ OCI artifact, rejects existing version tags, and reports the verified
38
+ manifest digest without running pack hooks or changing project state.
39
+ - Registry authentication now supports anonymous access, source-bound
40
+ operating-system credential storage, interactive challenge prompts, and
41
+ optional Azure `DefaultAzureCredential` for ACR. Luna does not provide
42
+ registry credentials through LunaPack-specific environment variables.
43
+ Unavailable sources produce partial-result diagnostics instead of
44
+ success-shaped empty catalogs.
45
+
46
+ ### Composite Packs
47
+
48
+ - Composite references can define file and directory remaps for their active
49
+ dependency subtree. Consumer mappings retain precedence, and conflicting
50
+ equal-depth composite mappings stop planning.
51
+ - Composite reference parameters now accept exact `${{ expression }}` bindings
52
+ for typed parameter pass-through and `iif(condition, whenTrue, whenFalse)`
53
+ selection. Invalid references, cycles, and target-type mismatches stop before
54
+ project changes.
55
+
56
+ ### Conditional Packs
57
+
58
+ - Lock files now persist only active conditional composite references, preventing
59
+ inactive dependencies from invalidating later project state validation.
60
+
61
+ ### Lifecycle Hooks
62
+
63
+ - Hook conditions now support `scriptsSkipped()` and
64
+ `previousScriptState()` for fallback instructions based on global script
65
+ suppression or the nearest earlier script in the same pack and event.
66
+
67
+ ### Fixed
68
+
69
+ - Pack installation no longer rejects equivalent Git repository URLs solely
70
+ because one has a trailing slash or `.git` suffix. Genuine source identity
71
+ mismatches still fail with pack- and source-specific diagnostics.
72
+ - Project-state save failures now identify the affected state file and report
73
+ its validation issues instead of returning a generic schema error.
74
+
75
+ ## Version 1.5.0 - 2026-09-02
76
+
77
+ ### Conditional Packs
78
+
79
+ - Composite pack references now accept parameter conditions. False references
80
+ and dependencies reachable only through them are omitted from files, hooks,
81
+ ownership, lock state, and pack-defined external-source requirements.
82
+ - Install and update dry runs now prompt for configurable parameters before
83
+ planning. Use `--prompt-parameters` on a real install or update to answer all
84
+ optional parameters with their declared defaults offered.
85
+ - Parameters now support mutually exclusive `requiredWhen` expressions and
86
+ deterministic declaration-order prompting. Parameters reachable only through
87
+ inactive references are skipped while shared packs reached by an active path
88
+ remain promptable.
89
+
90
+ - Install and update dry runs now accept `--skip-parameters` for noninteractive
91
+ previews that use declared defaults and supplied values.
92
+ - Updates now accept explicit parameters, project-variable exclusions, and
93
+ command target remappings. Named updates can persist provided remappings with
94
+ `--save-remap`.
95
+
96
+ ### Source Selection
97
+
98
+ - Install and update output now identifies the selected source name and type
99
+ when the same pack release is available from multiple configured sources.
100
+
101
+ ### Fixed
102
+
103
+ - Dynamic pack and source completion candidates no longer replace stable
104
+ argument names in `--help` output.
105
+ - Git source discovery and search no longer crash when a pack declares a
106
+ multi-value parameter default.
107
+ - `luna validate` now validates directly referenced draft packs from configured
108
+ Git sources as well as local sources.
109
+
10
110
  ## Version 1.4.0 - 2026-09-01
11
111
 
12
112
  ### Conditional Hooks
package/package.json CHANGED
@@ -1,16 +1,16 @@
1
1
  {
2
2
  "name": "@lunarisdigitalsolutions/lunapack",
3
- "version": "1.4.0",
3
+ "version": "1.6.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.4.0",
10
- "@lunarisdigitalsolutions/lunapack-linux-x64": "1.4.0",
11
- "@lunarisdigitalsolutions/lunapack-linux-arm64": "1.4.0",
12
- "@lunarisdigitalsolutions/lunapack-macos-x64": "1.4.0",
13
- "@lunarisdigitalsolutions/lunapack-macos-arm64": "1.4.0"
9
+ "@lunarisdigitalsolutions/lunapack-win64": "1.6.0",
10
+ "@lunarisdigitalsolutions/lunapack-linux-x64": "1.6.0",
11
+ "@lunarisdigitalsolutions/lunapack-linux-arm64": "1.6.0",
12
+ "@lunarisdigitalsolutions/lunapack-macos-x64": "1.6.0",
13
+ "@lunarisdigitalsolutions/lunapack-macos-arm64": "1.6.0"
14
14
  },
15
15
  "files": [
16
16
  "run-luna.mjs",