sf-decomposer 6.6.0 → 6.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 CHANGED
@@ -5,6 +5,13 @@
5
5
 
6
6
  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.
7
7
 
8
+ ## [6.7.0](https://github.com/mcarvin8/sf-decomposer/compare/v6.6.0...v6.7.0) (2026-04-04)
9
+
10
+
11
+ ### Features
12
+
13
+ * **metadata:** bump xml-disassembler from 2.2.3 to 2.3.0 ([#394](https://github.com/mcarvin8/sf-decomposer/issues/394)) ([e47a82c](https://github.com/mcarvin8/sf-decomposer/commit/e47a82cbfeabebbea31e4e6e71297de8264b10ab))
14
+
8
15
  ## [6.6.0](https://github.com/mcarvin8/sf-decomposer/compare/v6.5.0...v6.6.0) (2026-03-30)
9
16
 
10
17
 
package/README.md CHANGED
@@ -71,7 +71,7 @@ A Salesforce CLI plugin that **decomposes** large metadata XML files into smalle
71
71
 
72
72
  ## Requirements
73
73
 
74
- The [xml-disassembler](https://github.com/mcarvin8/xml-disassembler) dependency ships with native binaries for these platforms:
74
+ The [xml-disassembler](https://github.com/mcarvin8/xml-disassembler) NodeJS dependency, which depends on a Rust crate, ships with native binaries for these platforms:
75
75
 
76
76
  | Platform | Architectures |
77
77
  | ----------- | ---------------------------------- |
@@ -79,7 +79,7 @@ The [xml-disassembler](https://github.com/mcarvin8/xml-disassembler) dependency
79
79
  | **Linux** | x64, arm64, ia32 |
80
80
  | **Windows** | x64 |
81
81
 
82
- Other platforms may require building the Rust extension from source (see the xml-disassembler repo).
82
+ If other platforms or architectures require support, please open an issue in the [Rust repository](https://github.com/mcarvin8/xml-disassembler-rust).
83
83
 
84
84
  ---
85
85
 
@@ -259,6 +259,18 @@ The plugin looks for `sfdx-project.json` from the current directory up to the dr
259
259
  Error (1): sfdx-project.json not found in any parent directory.
260
260
  ```
261
261
 
262
+ ### Package Directories Not Found for Given Metadata Type
263
+
264
+ This plugin relies on the @salesforce/source-deploy-retrieve metadata registry to map each metadata type to its expected directory name.
265
+
266
+ If you provide a metadata type whose corresponding directory does not exist in any of your package directories, the plugin will fail with the following error:
267
+
268
+ ```
269
+ No directories named ${metadataTypeEntry.directoryName} were found in any package directory.
270
+ ```
271
+
272
+ For example, if you attempt to decompose Custom Labels but none of your package directories contain a "labels" folder, the plugin will throw this error.
273
+
262
274
  ### XML disassemble output (Rust crate)
263
275
 
264
276
  The xml-disassembler Node plugin uses a **Rust crate** for XML decomposing and recomposing. Disassemble errors and messages are shown in the terminal.
package/oclif.lock CHANGED
@@ -10237,10 +10237,10 @@ ws@^8.15.0:
10237
10237
  resolved "https://registry.npmjs.org/ws/-/ws-8.18.3.tgz"
10238
10238
  integrity sha512-PEIGCY5tSlUt50cqyMXfCzX+oOPqN0vuGqWzbcJ2xvnkzkq46oOpz7dQaTDBdfICb4N14+GARUDw2XV2N4tvzg==
10239
10239
 
10240
- xml-disassembler@^2.2.3:
10241
- version "2.2.3"
10242
- resolved "https://registry.yarnpkg.com/xml-disassembler/-/xml-disassembler-2.2.3.tgz#1e52627cefabfa8d87a53b3e510aff07981b7040"
10243
- integrity sha512-xFJUAQBV7+vkF/hjqEL/BPQvOnPV/8rK+mmnjeqnwLM70FzbdPRajauwSDfFXIIbcj298kSvLQSSiRraIddkUQ==
10240
+ xml-disassembler@^2.3.0:
10241
+ version "2.3.0"
10242
+ resolved "https://registry.yarnpkg.com/xml-disassembler/-/xml-disassembler-2.3.0.tgz#2106f660da110360e9219cd88947a0b3130debfb"
10243
+ integrity sha512-KLqKMlqlQKuIoWAKFbKu3mZc4OzamxtQLEgIJNneuyte3D2CQrunRdzmTTjo/+RO6vFLoSraTTbg4smWAYMkEw==
10244
10244
  dependencies:
10245
10245
  fs-extra "^11.3.4"
10246
10246
  tslib "^2.6.2"
@@ -191,5 +191,5 @@
191
191
  ]
192
192
  }
193
193
  },
194
- "version": "6.6.0"
194
+ "version": "6.7.0"
195
195
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "sf-decomposer",
3
3
  "description": "Split large Salesforce metadata files into version-control-friendly pieces and rebuild deployment-ready files.",
4
- "version": "6.6.0",
4
+ "version": "6.7.0",
5
5
  "dependencies": {
6
6
  "@oclif/core": "^4",
7
7
  "@salesforce/core": "^8.26.3",
@@ -9,7 +9,7 @@
9
9
  "@salesforce/source-deploy-retrieve": "^12.32.1",
10
10
  "fs-extra": "^11.3.3",
11
11
  "p-limit": "^7.3.0",
12
- "xml-disassembler": "^2.2.3"
12
+ "xml-disassembler": "^2.3.0"
13
13
  },
14
14
  "devDependencies": {
15
15
  "@commitlint/cli": "^20.4.2",