@lunarisdigitalsolutions/lunapack 1.5.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 +65 -0
  2. package/package.json +6 -6
package/CHANGELOG.md CHANGED
@@ -7,6 +7,71 @@ 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
+
10
75
  ## Version 1.5.0 - 2026-09-02
11
76
 
12
77
  ### Conditional Packs
package/package.json CHANGED
@@ -1,16 +1,16 @@
1
1
  {
2
2
  "name": "@lunarisdigitalsolutions/lunapack",
3
- "version": "1.5.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.5.0",
10
- "@lunarisdigitalsolutions/lunapack-linux-x64": "1.5.0",
11
- "@lunarisdigitalsolutions/lunapack-linux-arm64": "1.5.0",
12
- "@lunarisdigitalsolutions/lunapack-macos-x64": "1.5.0",
13
- "@lunarisdigitalsolutions/lunapack-macos-arm64": "1.5.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",