You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+23-5Lines changed: 23 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,16 +14,33 @@ All notable changes to this project will be documented in this file. This projec
14
14
15
15
Nothing yet.
16
16
17
+
## [1.16.1] - 2024-06-08
18
+
19
+
### Added
20
+
21
+
- New `format-xml-plist` hook to auto-format XML property list (plist) files to use tabs instead of spaces, and will alphabetically sort keys. (#79, thanks to n8felton)
22
+
- New `--valid-shebangs` parameter to specify additional custom shebangs in use for your environment. Works with the `check-munki-pkgsinfo`, `check-jamf-scripts`, `check-jamf-extension-attributes`, `check-outset-scripts`, and `check-munkiadmin-scripts` hooks. (#75, thanks to @kbrewersq)
23
+
- Checks to ensure the MinimumVersion key in AutoPkg recipes is a string. (If quotes are omitted in yaml-formatted recipes, this key could be interpreted as a float.)
24
+
25
+
### Removed
26
+
27
+
- No longer warn when using AutoPkg MinimumVersion greater than 2.0.
28
+
- Python 2 support deprecated and will be removed in the future.
29
+
30
+
### Changed
31
+
32
+
- Hook output rewritten to use f-strings instead of `.format()`.
33
+
17
34
## [1.15.0] - 2024-02-11
18
35
19
36
### Added
20
37
21
-
- Now validates that all XML `<result>` tags are closed in Jamf extension attributes (#76, thanks to @WardsParadox).
38
+
- Now validates that all XML `<result>` tags are closed in Jamf extension attributes. (#76, thanks to @WardsParadox)
22
39
23
40
### Fixed
24
41
25
42
- Fixed a bug in the `munki-makecatalogs` hook (#72, thanks to @kbrewersq).
26
-
- Added optional `--munki-repo` parameter to `check-munki-pkgsinfo` and `munki-makecatalogs` hooks, in order to specify a path to your Munki repo. Useful for situations where the Munki repo is a subdirectory of the Git repo itself. (#73 and #74, thanks to @kbrewersq).
43
+
- Added optional `--munki-repo` parameter to `check-munki-pkgsinfo` and `munki-makecatalogs` hooks, in order to specify a path to your Munki repo. Useful for situations where the Munki repo is a subdirectory of the Git repo itself. (#73 and #74, thanks to @kbrewersq)
27
44
28
45
## [1.14.1] - 2023-11-20
29
46
@@ -35,8 +52,8 @@ Nothing yet.
35
52
36
53
### Added
37
54
38
-
-`check-preference-manifests` hook now outputs more specific error message if `pfm_documentation_url` is empty (#67, thanks to @relgit).
39
-
-`check-munki-pkgsinfo` hook now detects path mismatches on case-sensitive filesystems (#66, thanks to @AaronBurchfield).
55
+
-`check-preference-manifests` hook now outputs more specific error message if `pfm_documentation_url` is empty. (#67, thanks to @relgit)
56
+
-`check-munki-pkgsinfo` hook now detects path mismatches on case-sensitive filesystems. (#66, thanks to @AaronBurchfield)
This hook checks XML property list (plist) files for basic syntax errors.
38
-
39
35
-__check-munkipkg-buildinfo__
40
36
41
37
This hook checks [MunkiPkg](https://github.com/munki/munki-pkg) build-info files to ensure they are valid.
@@ -44,6 +40,16 @@ After adding a hook to your pre-commit config, it's not a bad idea to run `pre-c
44
40
45
41
This hook checks [Outset](https://github.com/chilcote/outset) scripts to ensure they're executable.
46
42
43
+
-__check-plists__
44
+
45
+
This hook checks XML property list (plist) files for basic syntax errors. Does not modify or autoformat these files; see the `format-xml-plist` hook below if you want autoformatting.
46
+
47
+
-__format-xml-plist__
48
+
49
+
This hook will auto-format XML property list (plist) files to use tabs instead of spaces, and will alphabetically sort keys.
50
+
51
+
__NOTE__: This will remove any HTML-style comments `<!--like this-->` in your plist files, so convert those to `<key>Comment</key>` format first.
52
+
47
53
### [AutoPkg](https://github.com/autopkg/autopkg)
48
54
49
55
-__check-autopkg-recipe-list__
@@ -135,7 +141,7 @@ When combining arguments that take lists (for example: `--required-keys`, `--cat
0 commit comments