sf-decomposer 6.5.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,20 @@
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
+
15
+ ## [6.6.0](https://github.com/mcarvin8/sf-decomposer/compare/v6.5.0...v6.6.0) (2026-03-30)
16
+
17
+
18
+ ### Features
19
+
20
+ * **metadata:** bump @salesforce/source-deploy-retrieve ([#392](https://github.com/mcarvin8/sf-decomposer/issues/392)) ([c94ff30](https://github.com/mcarvin8/sf-decomposer/commit/c94ff30c38d12aec42dac5f58f18658520d7d1e7))
21
+
8
22
  ## [6.5.0](https://github.com/mcarvin8/sf-decomposer/compare/v6.4.0...v6.5.0) (2026-03-26)
9
23
 
10
24
 
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
@@ -2156,17 +2156,17 @@
2156
2156
  cli-progress "^3.12.0"
2157
2157
  terminal-link "^3.0.0"
2158
2158
 
2159
- "@salesforce/source-deploy-retrieve@^12.31.30":
2160
- version "12.31.30"
2161
- resolved "https://registry.yarnpkg.com/@salesforce/source-deploy-retrieve/-/source-deploy-retrieve-12.31.30.tgz#2a1ac651601526be200e86c2d960a2188832755f"
2162
- integrity sha512-gTEkoFPypIWmmnC9e1TigP+tnAdUUXcU4ZGYwL/vmd5McCXKLN11EhLCngmrnafJmM8cMPMcdnVI0cFGNgoIeQ==
2159
+ "@salesforce/source-deploy-retrieve@^12.32.1":
2160
+ version "12.32.1"
2161
+ resolved "https://registry.yarnpkg.com/@salesforce/source-deploy-retrieve/-/source-deploy-retrieve-12.32.1.tgz#9d027b0fb9e1ef61ebb896af804109518f71bd19"
2162
+ integrity sha512-q3u6bxgv3b4UscVvtWXCllgf5WouQd86IG7Kg76kyFryTTMBoSJIygRXNm5EMwlsHwBvfJhTn8zdpesJ1HkgPQ==
2163
2163
  dependencies:
2164
2164
  "@salesforce/core" "^8.27.1"
2165
2165
  "@salesforce/kit" "^3.2.4"
2166
2166
  "@salesforce/ts-types" "^2.0.12"
2167
2167
  "@salesforce/types" "^1.6.0"
2168
2168
  fast-levenshtein "^3.0.0"
2169
- fast-xml-parser "^5.5.7"
2169
+ fast-xml-parser "^5.5.9"
2170
2170
  got "^11.8.6"
2171
2171
  graceful-fs "^4.2.11"
2172
2172
  ignore "^5.3.2"
@@ -5274,7 +5274,7 @@ fast-xml-parser@5.3.4:
5274
5274
  dependencies:
5275
5275
  strnum "^2.1.0"
5276
5276
 
5277
- fast-xml-parser@^5.5.7:
5277
+ fast-xml-parser@^5.5.9:
5278
5278
  version "5.5.9"
5279
5279
  resolved "https://registry.yarnpkg.com/fast-xml-parser/-/fast-xml-parser-5.5.9.tgz#e59637abebec3dbfbb4053b532d787af6ea11527"
5280
5280
  integrity sha512-jldvxr1MC6rtiZKgrFnDSvT8xuH+eJqxqOBThUVjYrxssYTo1avZLGql5l0a0BAERR01CadYzZ83kVEkbyDg+g==
@@ -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.5.0"
194
+ "version": "6.7.0"
195
195
  }
package/package.json CHANGED
@@ -1,15 +1,15 @@
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.5.0",
4
+ "version": "6.7.0",
5
5
  "dependencies": {
6
6
  "@oclif/core": "^4",
7
7
  "@salesforce/core": "^8.26.3",
8
8
  "@salesforce/sf-plugins-core": "^12.2.6",
9
- "@salesforce/source-deploy-retrieve": "^12.31.30",
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",