trm-core 9.10.4 → 9.10.5

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/LICENSE CHANGED
@@ -1,21 +1,21 @@
1
- MIT License
2
-
3
- Copyright (c) 2023 RegestaItalia
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
1
+ MIT License
2
+
3
+ Copyright (c) 2023 RegestaItalia
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
21
  SOFTWARE.
package/README.md CHANGED
@@ -1,55 +1,55 @@
1
- # <a href="https://docs.trmregistry.com/"><img src="https://docs.trmregistry.com/logo.png" height="40" alt="TRM"></a>
2
-
3
- [![Contributor Covenant](https://img.shields.io/badge/Contributor%20Covenant-1.3.0-4baaaa.svg)](https://github.com/RegestaItalia/trm-docs/blob/main/CODE_OF_CONDUCT.md)
4
- [![Core License](https://img.shields.io/github/license/RegestaItalia/trm-core)](https://github.com/RegestaItalia/trm-core)
5
- [![Core Latest version](https://img.shields.io/npm/v/trm-core)](https://www.npmjs.com/package/trm-core)
6
- [![Core Installs](https://img.shields.io/npm/dt/trm-core)](https://www.npmjs.com/package/trm-core)
7
- [![View Code Wiki](https://assets.codewiki.google/readme-badge/static.svg)](https://codewiki.google/github.com/regestaitalia/trm-docs)
8
-
9
- | 🚀 This project is funded and maintained by 🏦 | 🔗 |
10
- |-------------------------------------------------|----------------------------------------------------------------|
11
- | Regesta S.p.A. | [https://www.regestaitalia.eu/](https://www.regestaitalia.eu/) |
12
- | Clarex S.r.l. | [https://www.clarex.it/](https://www.clarex.it/) |
13
-
14
- [trm-core](https://www.npmjs.com/package/trm-core) is the server-side component of TRM.
15
-
16
- 🚚 **TRM (Transport Request Manager)** is a package manager inspired solution built leveraging CTS that simplifies SAP ABAP transports.
17
-
18
- <p align="center">
19
- <img src="https://docs.trmregistry.com/logo.png" alt="TRM Logo" />
20
- </p>
21
-
22
- TRM introduces **package-based software delivery** to the SAP ecosystem, bringing with it semantic versioning, dependency management, and automated deployment activities.
23
-
24
- # Requirements
25
-
26
- - [Node >=22.12.0](https://github.com/nodejs/node/releases/tag/v22.12.0)
27
-
28
- # Documentation
29
-
30
- Full documentation can be seen at [https://docs.trmregistry.com/](https://docs.trmregistry.com).
31
-
32
- # Usage
33
-
34
- `trm-core` is a low-level library and is **not intended to be used directly** by end users.
35
-
36
- In order to interact with SAP systems, `trm-core` must be consumed by a compatible client implementation.
37
-
38
- ## CLI Client
39
-
40
- Install the official CLI client via npm:
41
-
42
- ```bash
43
- npm install trm-client -g
44
- ```
45
-
46
- # Contributing
47
- Like every other TRM open-source projects, contributions are always welcomed ❤️.
48
-
49
- Make sure to open an issue first.
50
-
51
- Contributions will be merged upon approval.
52
-
53
- [Click here](https://docs.trmregistry.com/#/CONTRIBUTING) for the full list of TRM contribution guidelines.
54
-
55
- [<img src="https://trmregistry.com/public/contributors?image=true">](https://docs.trmregistry.com/#/?id=contributors)
1
+ # <a href="https://docs.trmregistry.com/"><img src="https://docs.trmregistry.com/logo.png" height="40" alt="TRM"></a>
2
+
3
+ [![Contributor Covenant](https://img.shields.io/badge/Contributor%20Covenant-1.3.0-4baaaa.svg)](https://github.com/RegestaItalia/trm-docs/blob/main/CODE_OF_CONDUCT.md)
4
+ [![Core License](https://img.shields.io/github/license/RegestaItalia/trm-core)](https://github.com/RegestaItalia/trm-core)
5
+ [![Core Latest version](https://img.shields.io/npm/v/trm-core)](https://www.npmjs.com/package/trm-core)
6
+ [![Core Installs](https://img.shields.io/npm/dt/trm-core)](https://www.npmjs.com/package/trm-core)
7
+ [![View Code Wiki](https://assets.codewiki.google/readme-badge/static.svg)](https://codewiki.google/github.com/regestaitalia/trm-docs)
8
+
9
+ | 🚀 This project is funded and maintained by 🏦 | 🔗 |
10
+ |-------------------------------------------------|----------------------------------------------------------------|
11
+ | Regesta S.p.A. | [https://www.regestaitalia.eu/](https://www.regestaitalia.eu/) |
12
+ | Clarex S.r.l. | [https://www.clarex.it/](https://www.clarex.it/) |
13
+
14
+ [trm-core](https://www.npmjs.com/package/trm-core) is the server-side component of TRM.
15
+
16
+ 🚚 **TRM (Transport Request Manager)** is a package manager inspired solution built leveraging CTS that simplifies SAP ABAP transports.
17
+
18
+ <p align="center">
19
+ <img src="https://docs.trmregistry.com/logo.png" alt="TRM Logo" />
20
+ </p>
21
+
22
+ TRM introduces **package-based software delivery** to the SAP ecosystem, bringing with it semantic versioning, dependency management, and automated deployment activities.
23
+
24
+ # Requirements
25
+
26
+ - [Node >=22.12.0](https://github.com/nodejs/node/releases/tag/v22.12.0)
27
+
28
+ # Documentation
29
+
30
+ Full documentation can be seen at [https://docs.trmregistry.com/](https://docs.trmregistry.com).
31
+
32
+ # Usage
33
+
34
+ `trm-core` is a low-level library and is **not intended to be used directly** by end users.
35
+
36
+ In order to interact with SAP systems, `trm-core` must be consumed by a compatible client implementation.
37
+
38
+ ## CLI Client
39
+
40
+ Install the official CLI client via npm:
41
+
42
+ ```bash
43
+ npm install trm-client -g
44
+ ```
45
+
46
+ # Contributing
47
+ Like every other TRM open-source projects, contributions are always welcomed ❤️.
48
+
49
+ Make sure to open an issue first.
50
+
51
+ Contributions will be merged upon approval.
52
+
53
+ [Click here](https://docs.trmregistry.com/#/CONTRIBUTING) for the full list of TRM contribution guidelines.
54
+
55
+ [<img src="https://trmregistry.com/public/contributors?image=true">](https://docs.trmregistry.com/#/?id=contributors)
package/changelog.txt CHANGED
@@ -1,395 +1,399 @@
1
- trm-core changelog
2
- =================
3
-
4
- Legend
5
- ------
6
- * : fixed
7
- ! : changed
8
- + : added
9
- - : removed
10
-
11
- 2026-07-29 v9.10.4
12
- -------------------
13
- ! postinstall script execution
14
- ! registry protocol update
15
-
16
- 2026-07-29 v9.10.3
17
- -------------------
18
- * rest refresh transport desc in tms
19
- * rest read transport status
20
-
21
- 2026-07-29 v9.10.2
22
- -------------------
23
- * rest delete from tms
24
-
25
- 2026-07-23 v9.10.1
26
- -------------------
27
- + node package for bundled solutions
28
-
29
- 2026-07-22 v9.10.0
30
- -------------------
31
- + changelog publish support
32
- ! trm-registry-types ^2.4.0
33
- + async publish
34
-
35
- 2026-07-20 v9.9.0
36
- -------------------
37
- * rest package update
38
- + error message on unauthenticated publish in public registry
39
- ! trm-server ^6.4.1
40
-
41
- 2026-07-20 v9.8.5
42
- -------------------
43
- ! audit
44
-
45
- 2026-07-05 v9.8.4
46
- -------------------
47
- * trm-rest install (temporary package)
48
- ! moved transport install generation as final step of install
49
- ! trm-registry-types ^2.2.0
50
-
51
- 2026-07-05 v9.8.3
52
- -------------------
53
- * rest client get installed packages
54
-
55
- 2026-07-05 v9.8.2
56
- -------------------
57
- * rest client response parsing
58
-
59
- 2026-07-05 v9.8.1
60
- -------------------
61
- - uuid dependency
62
-
63
- 2026-06-15 v9.8.0
64
- -------------------
65
- ! guard table read result fields order
66
- ! sanitize package contents from registry
67
-
68
- 2026-05-26 v9.7.0
69
- -------------------
70
- * install of trm-server and trm-rest
71
- ! trm-commons ^5.0.0
72
-
73
- 2026-05-08 v9.5.1
74
- -------------------
75
- * install of trm-server and trm-rest
76
-
77
- 2026-05-07 v9.5.0
78
- -------------------
79
- * avoid usage of r3trans when entries are provided by registry
80
- ! registry return type on publish
81
- ! trm-commons ^4.2.0
82
-
83
- 2026-04-29 v9.4.0
84
- -------------------
85
- ! trm-commons ^4.1.0
86
- * upgrade of trm-server/trm-rest post /ATRM/ package replacements
87
- ! usage of temporary packages instead of namespace
88
- ! avoid usage of r3trans when entries are provided by registry
89
-
90
- 2026-04-21 v9.3.0
91
- -------------------
92
- * avoid useless transport unpack for reading transport number
93
- ! usage with devc transport import when replacements are like original
94
- * ignore namespace import error when doesnt exist
95
- + optional filter installed packages
96
- - optional log parameter
97
- * install transport update in table
98
- + confirm overwrite on dirty package
99
- ! trm-server ^6.1.0
100
- ! trm-commons ^4.0.0
101
- ! node-r3trans ^2.0.2
102
-
103
- 2026-04-21 v9.1.0
104
- -------------------
105
- ! abstract registry log for downloads
106
- ! abstract registry contents endpoint (wip)
107
- ! skip usage of r3trans when registry provides content (wip)
108
-
109
- 2026-04-14 v9.0.0
110
- -------------------
111
- ! moved to namespace /ATRM/
112
- ! trm-commons ^3.7.1
113
- * polling progress bar
114
- * transport icon
115
- ! release check before TADIR transport (in publish)
116
- - sap entries in transport documentation
117
- ! release on transport install
118
- ! multiple customizing transports allowed
119
-
120
- 2026-03-11 v8.5.3
121
- -------------------
122
- + refresh transport text in cg3z
123
-
124
- 2026-03-11 v8.5.2
125
- -------------------
126
- + check transport existance in cg3y
127
-
128
- 2026-03-10 v8.5.1
129
- -------------------
130
- + stateless indicator in system connector
131
-
132
- 2026-03-09 v8.5.0
133
- -------------------
134
- + cg3z/cg3y actions
135
- + warning that indicates a process that should not be stopped
136
- * rest reconnect
137
-
138
- 2026-03-05 v8.4.4
139
- -------------------
140
- ! removed emoji in transport log
141
-
142
- 2026-03-04 v8.4.3
143
- -------------------
144
- ! temp: progress bar glue
145
-
146
- 2026-03-04 v8.4.2
147
- -------------------
148
- ! temp: progress bar in package dependency detection
149
-
150
- 2026-03-03 v8.4.1
151
- -------------------
152
- * rfc debug logger hide buffers
153
-
154
- 2026-03-03 v8.4.0
155
- -------------------
156
- * print message on install
157
- ! removed buffer from registry debug log output
158
- ! added manifest to all trm transports
159
- ! package replacement uses installed package namespace (if in update)
160
- ! trm-server ^5.2.0
161
- + import status logging
162
- ! pass global npm path to avoid useless calls
163
-
164
- 2026-02-17 v8.3.1
165
- -------------------
166
- + temp change to timeout (waiting for proper change)
167
-
168
- 2026-02-17 v8.3.0
169
- -------------------
170
- * npm global path
171
-
172
- 2026-02-17 v8.2.3
173
- -------------------
174
- * find dependencies in publish action
175
-
176
- 2026-02-17 v8.2.2
177
- -------------------
178
- * customer package indicator
179
-
180
- 2026-02-17 v8.2.1
181
- -------------------
182
- ! object dependency structure
183
-
184
- 2026-02-11 v8.2.0
185
- -------------------
186
- ! dependency detection moved to trm-server
187
- ! trm-server ^5.1.0
188
- ! package.json detection
189
-
190
- 2025-11-16 v8.1.4
191
- -------------------
192
- + execute trm-server post activities if necessary
193
-
194
- 2025-11-15 v8.1.3
195
- -------------------
196
- * multiple dependencies detected for same object
197
-
198
- 2025-11-07 v8.1.2
199
- -------------------
200
- - encode uri in registry endpoint
201
- + placeholder for lockfile parsing
202
-
203
- 2025-11-04 v8.1.1
204
- -------------------
205
- + moved lock file generation to core
206
- + lock file can be used to determine dependency version
207
- + package visibility to test publish endpoint
208
- + release tags
209
- ! getPackageHierarchy ignore multiple roots in setDevclass method
210
-
211
- 2025-10-30 v8.0.2
212
- -------------------
213
- * fix no dependency detection comparison with latest release
214
-
215
- 2025-10-24 v8.0.1
216
- -------------------
217
- * fix transport relevant for dependency detection issue
218
-
219
- 2025-10-21 v8.0.0
220
- -------------------
221
- ! implement registry v2
222
- - misuse of integrity
223
- * error messages on publish rollback
224
- ! trm-registry-types ^2.0.0
225
- ! transport rc read
226
- ! get workbench method
227
- + handle install transport for same package local/remote
228
- ! manifest.json keys order
229
-
230
- 2025-10-01 v7.5.5
231
- -------------------
232
- ! trm-commons ^3.4.2
233
-
234
- 2025-10-01 v7.5.4
235
- -------------------
236
- ! trm-commons ^3.4.0
237
-
238
- 2025-09-24 v7.5.3
239
- -------------------
240
- ! trm-commons ^3.3.2
241
-
242
- 2025-09-16 v7.5.2
243
- -------------------
244
- + DOMA senvi parser
245
-
246
- 2025-09-03 v7.5.1
247
- -------------------
248
- ! trm-commons ^3.2.0
249
-
250
- 2025-09-03 v7.5.0
251
- -------------------
252
- ! trm-commons ^3.1.0
253
- * npm global path
254
- + rfc closeConnection method
255
- ! private/protected methods/attributes
256
-
257
- 2025-08-27 v7.4.6
258
- -------------------
259
- * template manifest values
260
-
261
- 2025-08-17 v7.4.5
262
- -------------------
263
- ! node-r3trans ^2.0.1
264
- * r3trans options in getContent method
265
-
266
- 2025-07-30 v7.4.4
267
- -------------------
268
- ! node-r3trans ^2.0.0
269
-
270
- 2025-07-30 v7.4.3
271
- -------------------
272
- ! trm-commons ^2.0.0 as peer dependency
273
-
274
- 2025-07-29 v7.4.2
275
- -------------------
276
- ! enforce node engine >=22.12.0 with post install script
277
- ! protocol-registry ^2.0.0
278
-
279
- 2025-07-29 7.4.1
280
- -------------------
281
- ! trm-commons ^2.0.0
282
-
283
- 2025-07-29 7.4.0
284
- -------------------
285
- - dependency install doesn't ask for cust/lang/package replacements anymore if not needed
286
- ! install asks for cust/lang/package replacements when not provided by default parameter
287
- ! import logger shows package name
288
- ! trm-commons ^1.1.0
289
- ! trm-server ^5.0.0
290
- ! set/overwrite dependencies with or without automatic detection
291
- + manifest template for post activities, trm dependency and sap entries
292
- * local package install
293
-
294
- 2025-07-08 v7.3.0
295
- -------------------
296
- + enforce node engine ^22.12.0 with post install script
297
- * install package hierarchy
298
-
299
- 2025-06-04 v7.2.1
300
- -------------------
301
- * inquirer/logger prefix on install dependency
302
- + removed useless wb transport find on package first install
303
-
304
- 2025-06-03 v7.2.0
305
- -------------------
306
- * find dependency with custom object not found without devc reference
307
-
308
- 2025-06-03 v7.1.0
309
- -------------------
310
- * change tr owner on install tr update
311
-
312
- 2025-06-03 v7.0.0
313
- -------------------
314
- ! trm-server ^4.0.0
315
- + change tr owner on install tr update
316
-
317
- 2025-05-29 v6.9.1
318
- -------------------
319
- * remote function for updating server
320
- + confirm if objects exists but no root sap package found
321
-
322
- 2025-05-29 v6.9.0
323
- -------------------
324
- ! check server api auth before install and publish
325
- ! trm-server ^3.1.0
326
- ! read wb transport from package
327
-
328
- 2025-05-27 v6.8.0
329
- -------------------
330
- ! on install transport update, check tasks before add object attempt
331
- * commit before post activity run on RFC
332
- * post activity error log
333
- + node-rfc #327 -> device or resource busy, added workaround
334
-
335
- 2025-05-20 v6.7.1
336
- -------------------
337
- ! get installed packages from backend with trm-server version check
338
-
339
- 2025-05-14 v6.7.0
340
- -------------------
341
- ! trm-server ^3.0.0
342
- * abapgit ignored objects
343
- + post activity pre check
344
- + get installed packages from backend where possible
345
- + regen SAPLZTRM before post activity
346
- * rest sap-client
347
- + keep track of post activities based on latest release
348
-
349
- 2025-05-08 v6.6.0
350
- -------------------
351
- * no integrity with trm-server/trm-rest dependency allowed
352
- ! REST Client and RFC Client error generic -> specific
353
- ! REST Client error xml body parsing with title as message
354
- ! trm-server ^2.2.2
355
-
356
- 2025-05-08 v6.5.1
357
- -------------------
358
- ! rest error handling
359
-
360
- 2025-05-05 v6.5.0
361
- -------------------
362
- ! trm-commons ^1.0.0
363
- * upgrade trm-server fixes
364
- * core package.json location find
365
-
366
- 2025-04-28 v6.4.1
367
- -------------------
368
-
369
- ! node-r3trans ^1.5.0
370
-
371
- 2025-04-28 v6.4.0
372
- -------------------
373
-
374
- + post activities in abap manifest
375
- * return exception type for REST client
376
-
377
- 2025-02-06 v6.3.0
378
- -------------------
379
-
380
- * upgrading package remove previous ZTRM comments in workbench (import) transport
381
- + fetch package remote content
382
- * fix translation transport generation
383
- + move trm package dependencies to core
384
- + transport migration on overwrite
385
- ! DEVC, CUST and LANG are now TRM relevant
386
- * root superpackage on devc tr import blank
387
- + clear state on package install (remove from skipped transports)
388
- + add abapgit source code to TRM artifact
389
- + skip ignored objects listed in .abapgit.xml
390
- + add namespace in manifest
391
- ! abstract registry for custom implementation
392
- + add file system registry for local publish and install
393
- + add post activities
394
- ! cache transports in dependency detection for performance issues on big packages
395
- * check object existance before install
1
+ trm-core changelog
2
+ =================
3
+
4
+ Legend
5
+ ------
6
+ * : fixed
7
+ ! : changed
8
+ + : added
9
+ - : removed
10
+
11
+ 2026-07-29 v9.10.5
12
+ -------------------
13
+ + allow self signed certificates in rest client
14
+
15
+ 2026-07-29 v9.10.4
16
+ -------------------
17
+ ! postinstall script execution
18
+ ! registry protocol update
19
+
20
+ 2026-07-29 v9.10.3
21
+ -------------------
22
+ * rest refresh transport desc in tms
23
+ * rest read transport status
24
+
25
+ 2026-07-29 v9.10.2
26
+ -------------------
27
+ * rest delete from tms
28
+
29
+ 2026-07-23 v9.10.1
30
+ -------------------
31
+ + node package for bundled solutions
32
+
33
+ 2026-07-22 v9.10.0
34
+ -------------------
35
+ + changelog publish support
36
+ ! trm-registry-types ^2.4.0
37
+ + async publish
38
+
39
+ 2026-07-20 v9.9.0
40
+ -------------------
41
+ * rest package update
42
+ + error message on unauthenticated publish in public registry
43
+ ! trm-server ^6.4.1
44
+
45
+ 2026-07-20 v9.8.5
46
+ -------------------
47
+ ! audit
48
+
49
+ 2026-07-05 v9.8.4
50
+ -------------------
51
+ * trm-rest install (temporary package)
52
+ ! moved transport install generation as final step of install
53
+ ! trm-registry-types ^2.2.0
54
+
55
+ 2026-07-05 v9.8.3
56
+ -------------------
57
+ * rest client get installed packages
58
+
59
+ 2026-07-05 v9.8.2
60
+ -------------------
61
+ * rest client response parsing
62
+
63
+ 2026-07-05 v9.8.1
64
+ -------------------
65
+ - uuid dependency
66
+
67
+ 2026-06-15 v9.8.0
68
+ -------------------
69
+ ! guard table read result fields order
70
+ ! sanitize package contents from registry
71
+
72
+ 2026-05-26 v9.7.0
73
+ -------------------
74
+ * install of trm-server and trm-rest
75
+ ! trm-commons ^5.0.0
76
+
77
+ 2026-05-08 v9.5.1
78
+ -------------------
79
+ * install of trm-server and trm-rest
80
+
81
+ 2026-05-07 v9.5.0
82
+ -------------------
83
+ * avoid usage of r3trans when entries are provided by registry
84
+ ! registry return type on publish
85
+ ! trm-commons ^4.2.0
86
+
87
+ 2026-04-29 v9.4.0
88
+ -------------------
89
+ ! trm-commons ^4.1.0
90
+ * upgrade of trm-server/trm-rest post /ATRM/ package replacements
91
+ ! usage of temporary packages instead of namespace
92
+ ! avoid usage of r3trans when entries are provided by registry
93
+
94
+ 2026-04-21 v9.3.0
95
+ -------------------
96
+ * avoid useless transport unpack for reading transport number
97
+ ! usage with devc transport import when replacements are like original
98
+ * ignore namespace import error when doesnt exist
99
+ + optional filter installed packages
100
+ - optional log parameter
101
+ * install transport update in table
102
+ + confirm overwrite on dirty package
103
+ ! trm-server ^6.1.0
104
+ ! trm-commons ^4.0.0
105
+ ! node-r3trans ^2.0.2
106
+
107
+ 2026-04-21 v9.1.0
108
+ -------------------
109
+ ! abstract registry log for downloads
110
+ ! abstract registry contents endpoint (wip)
111
+ ! skip usage of r3trans when registry provides content (wip)
112
+
113
+ 2026-04-14 v9.0.0
114
+ -------------------
115
+ ! moved to namespace /ATRM/
116
+ ! trm-commons ^3.7.1
117
+ * polling progress bar
118
+ * transport icon
119
+ ! release check before TADIR transport (in publish)
120
+ - sap entries in transport documentation
121
+ ! release on transport install
122
+ ! multiple customizing transports allowed
123
+
124
+ 2026-03-11 v8.5.3
125
+ -------------------
126
+ + refresh transport text in cg3z
127
+
128
+ 2026-03-11 v8.5.2
129
+ -------------------
130
+ + check transport existance in cg3y
131
+
132
+ 2026-03-10 v8.5.1
133
+ -------------------
134
+ + stateless indicator in system connector
135
+
136
+ 2026-03-09 v8.5.0
137
+ -------------------
138
+ + cg3z/cg3y actions
139
+ + warning that indicates a process that should not be stopped
140
+ * rest reconnect
141
+
142
+ 2026-03-05 v8.4.4
143
+ -------------------
144
+ ! removed emoji in transport log
145
+
146
+ 2026-03-04 v8.4.3
147
+ -------------------
148
+ ! temp: progress bar glue
149
+
150
+ 2026-03-04 v8.4.2
151
+ -------------------
152
+ ! temp: progress bar in package dependency detection
153
+
154
+ 2026-03-03 v8.4.1
155
+ -------------------
156
+ * rfc debug logger hide buffers
157
+
158
+ 2026-03-03 v8.4.0
159
+ -------------------
160
+ * print message on install
161
+ ! removed buffer from registry debug log output
162
+ ! added manifest to all trm transports
163
+ ! package replacement uses installed package namespace (if in update)
164
+ ! trm-server ^5.2.0
165
+ + import status logging
166
+ ! pass global npm path to avoid useless calls
167
+
168
+ 2026-02-17 v8.3.1
169
+ -------------------
170
+ + temp change to timeout (waiting for proper change)
171
+
172
+ 2026-02-17 v8.3.0
173
+ -------------------
174
+ * npm global path
175
+
176
+ 2026-02-17 v8.2.3
177
+ -------------------
178
+ * find dependencies in publish action
179
+
180
+ 2026-02-17 v8.2.2
181
+ -------------------
182
+ * customer package indicator
183
+
184
+ 2026-02-17 v8.2.1
185
+ -------------------
186
+ ! object dependency structure
187
+
188
+ 2026-02-11 v8.2.0
189
+ -------------------
190
+ ! dependency detection moved to trm-server
191
+ ! trm-server ^5.1.0
192
+ ! package.json detection
193
+
194
+ 2025-11-16 v8.1.4
195
+ -------------------
196
+ + execute trm-server post activities if necessary
197
+
198
+ 2025-11-15 v8.1.3
199
+ -------------------
200
+ * multiple dependencies detected for same object
201
+
202
+ 2025-11-07 v8.1.2
203
+ -------------------
204
+ - encode uri in registry endpoint
205
+ + placeholder for lockfile parsing
206
+
207
+ 2025-11-04 v8.1.1
208
+ -------------------
209
+ + moved lock file generation to core
210
+ + lock file can be used to determine dependency version
211
+ + package visibility to test publish endpoint
212
+ + release tags
213
+ ! getPackageHierarchy ignore multiple roots in setDevclass method
214
+
215
+ 2025-10-30 v8.0.2
216
+ -------------------
217
+ * fix no dependency detection comparison with latest release
218
+
219
+ 2025-10-24 v8.0.1
220
+ -------------------
221
+ * fix transport relevant for dependency detection issue
222
+
223
+ 2025-10-21 v8.0.0
224
+ -------------------
225
+ ! implement registry v2
226
+ - misuse of integrity
227
+ * error messages on publish rollback
228
+ ! trm-registry-types ^2.0.0
229
+ ! transport rc read
230
+ ! get workbench method
231
+ + handle install transport for same package local/remote
232
+ ! manifest.json keys order
233
+
234
+ 2025-10-01 v7.5.5
235
+ -------------------
236
+ ! trm-commons ^3.4.2
237
+
238
+ 2025-10-01 v7.5.4
239
+ -------------------
240
+ ! trm-commons ^3.4.0
241
+
242
+ 2025-09-24 v7.5.3
243
+ -------------------
244
+ ! trm-commons ^3.3.2
245
+
246
+ 2025-09-16 v7.5.2
247
+ -------------------
248
+ + DOMA senvi parser
249
+
250
+ 2025-09-03 v7.5.1
251
+ -------------------
252
+ ! trm-commons ^3.2.0
253
+
254
+ 2025-09-03 v7.5.0
255
+ -------------------
256
+ ! trm-commons ^3.1.0
257
+ * npm global path
258
+ + rfc closeConnection method
259
+ ! private/protected methods/attributes
260
+
261
+ 2025-08-27 v7.4.6
262
+ -------------------
263
+ * template manifest values
264
+
265
+ 2025-08-17 v7.4.5
266
+ -------------------
267
+ ! node-r3trans ^2.0.1
268
+ * r3trans options in getContent method
269
+
270
+ 2025-07-30 v7.4.4
271
+ -------------------
272
+ ! node-r3trans ^2.0.0
273
+
274
+ 2025-07-30 v7.4.3
275
+ -------------------
276
+ ! trm-commons ^2.0.0 as peer dependency
277
+
278
+ 2025-07-29 v7.4.2
279
+ -------------------
280
+ ! enforce node engine >=22.12.0 with post install script
281
+ ! protocol-registry ^2.0.0
282
+
283
+ 2025-07-29 7.4.1
284
+ -------------------
285
+ ! trm-commons ^2.0.0
286
+
287
+ 2025-07-29 7.4.0
288
+ -------------------
289
+ - dependency install doesn't ask for cust/lang/package replacements anymore if not needed
290
+ ! install asks for cust/lang/package replacements when not provided by default parameter
291
+ ! import logger shows package name
292
+ ! trm-commons ^1.1.0
293
+ ! trm-server ^5.0.0
294
+ ! set/overwrite dependencies with or without automatic detection
295
+ + manifest template for post activities, trm dependency and sap entries
296
+ * local package install
297
+
298
+ 2025-07-08 v7.3.0
299
+ -------------------
300
+ + enforce node engine ^22.12.0 with post install script
301
+ * install package hierarchy
302
+
303
+ 2025-06-04 v7.2.1
304
+ -------------------
305
+ * inquirer/logger prefix on install dependency
306
+ + removed useless wb transport find on package first install
307
+
308
+ 2025-06-03 v7.2.0
309
+ -------------------
310
+ * find dependency with custom object not found without devc reference
311
+
312
+ 2025-06-03 v7.1.0
313
+ -------------------
314
+ * change tr owner on install tr update
315
+
316
+ 2025-06-03 v7.0.0
317
+ -------------------
318
+ ! trm-server ^4.0.0
319
+ + change tr owner on install tr update
320
+
321
+ 2025-05-29 v6.9.1
322
+ -------------------
323
+ * remote function for updating server
324
+ + confirm if objects exists but no root sap package found
325
+
326
+ 2025-05-29 v6.9.0
327
+ -------------------
328
+ ! check server api auth before install and publish
329
+ ! trm-server ^3.1.0
330
+ ! read wb transport from package
331
+
332
+ 2025-05-27 v6.8.0
333
+ -------------------
334
+ ! on install transport update, check tasks before add object attempt
335
+ * commit before post activity run on RFC
336
+ * post activity error log
337
+ + node-rfc #327 -> device or resource busy, added workaround
338
+
339
+ 2025-05-20 v6.7.1
340
+ -------------------
341
+ ! get installed packages from backend with trm-server version check
342
+
343
+ 2025-05-14 v6.7.0
344
+ -------------------
345
+ ! trm-server ^3.0.0
346
+ * abapgit ignored objects
347
+ + post activity pre check
348
+ + get installed packages from backend where possible
349
+ + regen SAPLZTRM before post activity
350
+ * rest sap-client
351
+ + keep track of post activities based on latest release
352
+
353
+ 2025-05-08 v6.6.0
354
+ -------------------
355
+ * no integrity with trm-server/trm-rest dependency allowed
356
+ ! REST Client and RFC Client error generic -> specific
357
+ ! REST Client error xml body parsing with title as message
358
+ ! trm-server ^2.2.2
359
+
360
+ 2025-05-08 v6.5.1
361
+ -------------------
362
+ ! rest error handling
363
+
364
+ 2025-05-05 v6.5.0
365
+ -------------------
366
+ ! trm-commons ^1.0.0
367
+ * upgrade trm-server fixes
368
+ * core package.json location find
369
+
370
+ 2025-04-28 v6.4.1
371
+ -------------------
372
+
373
+ ! node-r3trans ^1.5.0
374
+
375
+ 2025-04-28 v6.4.0
376
+ -------------------
377
+
378
+ + post activities in abap manifest
379
+ * return exception type for REST client
380
+
381
+ 2025-02-06 v6.3.0
382
+ -------------------
383
+
384
+ * upgrading package remove previous ZTRM comments in workbench (import) transport
385
+ + fetch package remote content
386
+ * fix translation transport generation
387
+ + move trm package dependencies to core
388
+ + transport migration on overwrite
389
+ ! DEVC, CUST and LANG are now TRM relevant
390
+ * root superpackage on devc tr import blank
391
+ + clear state on package install (remove from skipped transports)
392
+ + add abapgit source code to TRM artifact
393
+ + skip ignored objects listed in .abapgit.xml
394
+ + add namespace in manifest
395
+ ! abstract registry for custom implementation
396
+ + add file system registry for local publish and install
397
+ + add post activities
398
+ ! cache transports in dependency detection for performance issues on big packages
399
+ * check object existance before install
@@ -45,23 +45,23 @@ exports.setChangelog = {
45
45
  when: (hash) => {
46
46
  return hash.editChangelog;
47
47
  },
48
- default: `${context.rawInput.packageData.name} changelog
49
- =================
50
-
51
- Legend
52
- ------
53
- \`\`\`
54
- * : fixed
55
- ! : changed
56
- + : added
57
- - : removed
58
- \`\`\`
59
-
60
- ${new Date().toISOString().split('T')[0]} v${context.runtime.trmPackage.manifest.version}
61
- -------------------
62
- \`\`\`
63
- ...
64
- \`\`\`
48
+ default: `${context.rawInput.packageData.name} changelog
49
+ =================
50
+
51
+ Legend
52
+ ------
53
+ \`\`\`
54
+ * : fixed
55
+ ! : changed
56
+ + : added
57
+ - : removed
58
+ \`\`\`
59
+
60
+ ${new Date().toISOString().split('T')[0]} v${context.runtime.trmPackage.manifest.version}
61
+ -------------------
62
+ \`\`\`
63
+ ...
64
+ \`\`\`
65
65
  `
66
66
  }])).changelog;
67
67
  }
@@ -48,6 +48,7 @@ const FormData = __importStar(require("form-data"));
48
48
  const trm_commons_1 = require("trm-commons");
49
49
  const _1 = require(".");
50
50
  const parse_multipart_data_1 = require("parse-multipart-data");
51
+ const https_1 = require("https");
51
52
  const AXIOS_CTX = "RestServer";
52
53
  class RESTClient {
53
54
  constructor(endpoint, rfcdest, _login, _cLangu) {
@@ -67,6 +68,9 @@ class RESTClient {
67
68
  password: this._login.passwd
68
69
  },
69
70
  timeout: 30000,
71
+ httpsAgent: new https_1.Agent({
72
+ rejectUnauthorized: false
73
+ })
70
74
  }, AXIOS_CTX);
71
75
  }
72
76
  open() {
package/package.json CHANGED
@@ -1,92 +1,92 @@
1
- {
2
- "name": "trm-core",
3
- "version": "9.10.4",
4
- "description": "TRM (Transport Request Manager) Core",
5
- "main": "dist/index.js",
6
- "types": "dist/index.d.ts",
7
- "files": [
8
- "changelog.txt",
9
- "dist",
10
- "!dist/test.js",
11
- "!dist/test.js.map",
12
- "!dist/test.d.ts",
13
- "!dist/.env",
14
- "!dist/dev_rfc.log"
15
- ],
16
- "scripts": {
17
- "cleanBuild": "rimraf dist/",
18
- "build": "npm run cleanBuild && tsc --sourceMap false",
19
- "prepublishOnly": "npm run build",
20
- "postinstall": "node -e \"if (require('fs').existsSync('dist/scripts/checkEngine.js')) require('child_process').execFileSync(process.execPath, ['dist/scripts/checkEngine.js'], { stdio: 'inherit' })\""
21
- },
22
- "keywords": [
23
- "trm",
24
- "abap"
25
- ],
26
- "homepage": "https://www.trmregistry.com",
27
- "repository": {
28
- "type": "git",
29
- "url": "git+https://github.com/RegestaItalia/trm-core.git"
30
- },
31
- "author": {
32
- "name": "Simone Gaffurini",
33
- "email": "simone.gaffurini@regestaitalia.it"
34
- },
35
- "license": "MIT",
36
- "trmDependencies": {
37
- "trm-server": "^6.4.1"
38
- },
39
- "dependencies": {
40
- "@esm2cjs/normalize-url": "^8.0.0",
41
- "@inquirer/prompts": "^7.8.1",
42
- "@simonegaffurini/sammarksworkflow": "^1.3.2-fork",
43
- "@xmldom/xmldom": "^0.9.8",
44
- "adm-zip": "^0.6.0",
45
- "axios": "^1.7.9",
46
- "chalk": "^4.1.2",
47
- "dotenv": "^17.2.2",
48
- "email-validator": "^2.0.4",
49
- "express": "^4.18.2",
50
- "get-root-path": "^3.0.1",
51
- "get-stack-trace": "^3.1.1",
52
- "lodash": "^4.17.21",
53
- "luxon": "^3.7.2",
54
- "minimatch": "^10.2.6",
55
- "node-cache": "^5.1.2",
56
- "node-html-parser": "^7.0.1",
57
- "node-r3trans": "^2.0.3",
58
- "object-keys-normalizer": "^1.0.1",
59
- "opener": "^1.5.2",
60
- "parse-multipart-data": "^1.5.0",
61
- "protocol-registry": "^2.0.0",
62
- "semver": "^7.5.4",
63
- "semver-sort": "^1.0.0",
64
- "spdx-license-ids": "^3.0.13",
65
- "trm-registry-types": "^2.4.0",
66
- "xml-beautify": "^1.2.3",
67
- "xml-js": "^1.6.11"
68
- },
69
- "peerDependencies": {
70
- "trm-commons": "^5.0.1"
71
- },
72
- "devDependencies": {
73
- "@types/adm-zip": "^0.5.0",
74
- "@types/debug": "^4.1.12",
75
- "@types/express": "^4.17.17",
76
- "@types/inquirer": "^9.0.3",
77
- "@types/lodash": "^4.14.202",
78
- "@types/luxon": "^3.7.1",
79
- "@types/node": "^20.4.4",
80
- "@types/opener": "^1.4.0",
81
- "@types/semver": "^7.5.0",
82
- "@types/semver-sort": "^0.0.1",
83
- "@types/stack-trace": "^0.0.33",
84
- "rimraf": "^6.0.1",
85
- "trm-commons": "^5.0.0",
86
- "ts-node": "^10.9.2",
87
- "typescript": "^5.8.2"
88
- },
89
- "engines": {
90
- "node": ">=22.12.0"
91
- }
92
- }
1
+ {
2
+ "name": "trm-core",
3
+ "version": "9.10.5",
4
+ "description": "TRM (Transport Request Manager) Core",
5
+ "main": "dist/index.js",
6
+ "types": "dist/index.d.ts",
7
+ "files": [
8
+ "changelog.txt",
9
+ "dist",
10
+ "!dist/test.js",
11
+ "!dist/test.js.map",
12
+ "!dist/test.d.ts",
13
+ "!dist/.env",
14
+ "!dist/dev_rfc.log"
15
+ ],
16
+ "scripts": {
17
+ "cleanBuild": "rimraf dist/",
18
+ "build": "npm run cleanBuild && tsc --sourceMap false",
19
+ "prepublishOnly": "npm run build",
20
+ "postinstall": "node -e \"if (require('fs').existsSync('dist/scripts/checkEngine.js')) require('child_process').execFileSync(process.execPath, ['dist/scripts/checkEngine.js'], { stdio: 'inherit' })\""
21
+ },
22
+ "keywords": [
23
+ "trm",
24
+ "abap"
25
+ ],
26
+ "homepage": "https://www.trmregistry.com",
27
+ "repository": {
28
+ "type": "git",
29
+ "url": "git+https://github.com/RegestaItalia/trm-core.git"
30
+ },
31
+ "author": {
32
+ "name": "Simone Gaffurini",
33
+ "email": "simone.gaffurini@regestaitalia.it"
34
+ },
35
+ "license": "MIT",
36
+ "trmDependencies": {
37
+ "trm-server": "^6.4.1"
38
+ },
39
+ "dependencies": {
40
+ "@esm2cjs/normalize-url": "^8.0.0",
41
+ "@inquirer/prompts": "^7.8.1",
42
+ "@simonegaffurini/sammarksworkflow": "^1.3.2-fork",
43
+ "@xmldom/xmldom": "^0.9.8",
44
+ "adm-zip": "^0.6.0",
45
+ "axios": "^1.7.9",
46
+ "chalk": "^4.1.2",
47
+ "dotenv": "^17.2.2",
48
+ "email-validator": "^2.0.4",
49
+ "express": "^4.18.2",
50
+ "get-root-path": "^3.0.1",
51
+ "get-stack-trace": "^3.1.1",
52
+ "lodash": "^4.17.21",
53
+ "luxon": "^3.7.2",
54
+ "minimatch": "^10.2.6",
55
+ "node-cache": "^5.1.2",
56
+ "node-html-parser": "^7.0.1",
57
+ "node-r3trans": "^2.0.3",
58
+ "object-keys-normalizer": "^1.0.1",
59
+ "opener": "^1.5.2",
60
+ "parse-multipart-data": "^1.5.0",
61
+ "protocol-registry": "^2.0.0",
62
+ "semver": "^7.5.4",
63
+ "semver-sort": "^1.0.0",
64
+ "spdx-license-ids": "^3.0.13",
65
+ "trm-registry-types": "^2.4.0",
66
+ "xml-beautify": "^1.2.3",
67
+ "xml-js": "^1.6.11"
68
+ },
69
+ "peerDependencies": {
70
+ "trm-commons": "^5.0.1"
71
+ },
72
+ "devDependencies": {
73
+ "@types/adm-zip": "^0.5.0",
74
+ "@types/debug": "^4.1.12",
75
+ "@types/express": "^4.17.17",
76
+ "@types/inquirer": "^9.0.3",
77
+ "@types/lodash": "^4.14.202",
78
+ "@types/luxon": "^3.7.1",
79
+ "@types/node": "^20.4.4",
80
+ "@types/opener": "^1.4.0",
81
+ "@types/semver": "^7.5.0",
82
+ "@types/semver-sort": "^0.0.1",
83
+ "@types/stack-trace": "^0.0.33",
84
+ "rimraf": "^6.0.1",
85
+ "trm-commons": "^5.0.0",
86
+ "ts-node": "^10.9.2",
87
+ "typescript": "^5.8.2"
88
+ },
89
+ "engines": {
90
+ "node": ">=22.12.0"
91
+ }
92
+ }