Commit 30eb1f3
committed
v2.0.1-post2 [Extend .appxpack support to analysis commands]
### MAJOR
- Extend `Get-AppxBackupInfo` to support .appxpack ZIP archives with full metadata extraction (archive manifest, contained packages/certificates, total size metrics)
- Extend `Test-AppxPackageIntegrity` to validate .appxpack archive structure, manifest schema, package signatures, and certificate-to-package mappings
- Extend `Test-AppxBackupCompatibility` to assess .appxpack compatibility including main package, all dependencies, and PowerShell version requirements
- Add helper functions `Get-AppxpackArchiveInfo`, `Test-AppxpackArchiveIntegrity`, and `Test-AppxpackArchiveCompatibility` for internal ZIP archive handling
- Implement unified file extension detection using `ZipPackagingConfiguration` for consistent .appxpack identification across module functions
### MINOR
- Remove MIME type database handling entirely from packaging pipeline: MakeAppx automatically generates [Content_Types].xml with its own hardcoded MIME mappings, eliminating the need for maintaining a separate external database and dynamic generation logic
- Remove `MimeTypes.json` configuration file and all MIME type validation/generation code from `New-AppxPackageInternal.ps1` (~160 lines of redundant logic)
- Update `Get-AppxConfiguration` to remove `MimeTypes` from valid configuration names and validation rules
- Update module manifest (AppxBackup.psd1) to remove `Config/MimeTypes.json` from file list and release notes
- Update README.md to remove MimeTypes.json references from documentation and architecture diagrams
- Replace Unicode emoji characters in `Test-AppxBackupCompatibility` output with plain ASCII headers (e.g., `[CHAR_128421]` → `===`)
- Fix `switch` statement in `Test-AppxBackupCompatibility` OS detection by adding `break` statements after matches
- Normalize spacing and indentation in `Get-AppxConfiguration` parameter validation
- Add comprehensive logging and error handling for ZIP archive operations with fallback mechanisms1 parent 3160eb5 commit 30eb1f3
File tree
8 files changed
+1126
-244
lines changed- Config
- Private
- Public
8 files changed
+1126
-244
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
125 | 125 | | |
126 | 126 | | |
127 | 127 | | |
128 | | - | |
129 | 128 | | |
130 | 129 | | |
131 | 130 | | |
| |||
169 | 168 | | |
170 | 169 | | |
171 | 170 | | |
172 | | - | |
| 171 | + | |
173 | 172 | | |
174 | 173 | | |
175 | 174 | | |
| |||
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
18 | | - | |
19 | | - | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | | - | |
41 | | - | |
| 40 | + | |
| 41 | + | |
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
| |||
90 | 90 | | |
91 | 91 | | |
92 | 92 | | |
93 | | - | |
94 | | - | |
95 | | - | |
96 | | - | |
97 | | - | |
98 | | - | |
99 | | - | |
100 | | - | |
101 | | - | |
102 | 93 | | |
103 | 94 | | |
104 | 95 | | |
| |||
119 | 110 | | |
120 | 111 | | |
121 | 112 | | |
122 | | - | |
| 113 | + | |
123 | 114 | | |
124 | 115 | | |
125 | 116 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
405 | 405 | | |
406 | 406 | | |
407 | 407 | | |
408 | | - | |
| 408 | + | |
409 | 409 | | |
410 | 410 | | |
411 | 411 | | |
412 | | - | |
413 | | - | |
414 | | - | |
415 | | - | |
416 | | - | |
417 | | - | |
418 | | - | |
419 | | - | |
420 | | - | |
421 | | - | |
422 | | - | |
423 | | - | |
424 | | - | |
425 | | - | |
426 | | - | |
427 | | - | |
428 | | - | |
429 | | - | |
430 | | - | |
431 | | - | |
432 | | - | |
433 | | - | |
434 | | - | |
435 | | - | |
436 | | - | |
437 | | - | |
438 | | - | |
439 | | - | |
440 | | - | |
441 | | - | |
442 | | - | |
443 | | - | |
444 | | - | |
445 | | - | |
446 | | - | |
447 | | - | |
448 | | - | |
449 | | - | |
450 | | - | |
451 | | - | |
452 | | - | |
453 | | - | |
454 | | - | |
455 | | - | |
456 | | - | |
457 | | - | |
458 | | - | |
459 | | - | |
460 | | - | |
461 | | - | |
462 | | - | |
463 | | - | |
464 | | - | |
465 | | - | |
466 | | - | |
467 | | - | |
468 | | - | |
469 | | - | |
470 | | - | |
471 | | - | |
472 | | - | |
473 | | - | |
474 | | - | |
475 | | - | |
476 | | - | |
477 | | - | |
478 | | - | |
479 | | - | |
480 | | - | |
481 | | - | |
482 | | - | |
483 | | - | |
484 | | - | |
485 | | - | |
486 | | - | |
487 | | - | |
488 | | - | |
489 | | - | |
490 | | - | |
491 | | - | |
492 | | - | |
493 | | - | |
494 | | - | |
495 | | - | |
496 | | - | |
497 | | - | |
498 | | - | |
499 | | - | |
500 | | - | |
501 | | - | |
502 | | - | |
| 412 | + | |
503 | 413 | | |
504 | 414 | | |
505 | 415 | | |
| |||
0 commit comments