|
2 | 2 |
|
3 | 3 | All notable changes to this project will be documented in this file. This project adheres to [Semantic Versioning](http://semver.org/). |
4 | 4 |
|
| 5 | +<!-- markdownlint-configure-file |
| 6 | +{ |
| 7 | + "no-duplicate-heading": { |
| 8 | + "siblings_only": true |
| 9 | + } |
| 10 | +} |
| 11 | +--> |
| 12 | + |
| 13 | +## [Unreleased] |
| 14 | + |
| 15 | +Nothing yet. |
| 16 | + |
| 17 | +## [1.11.0] - 2021-11-20 |
| 18 | + |
| 19 | +### Added |
| 20 | + |
| 21 | +- Added processor type conventions for [JamfUploader](https://grahamrpugh.com/2020/12/14/introducing-jamf-upload.html) (`.jamf`), [PkgSigner](https://derflounder.wordpress.com/2021/07/30/signing-autopkg-built-packages-using-a-sign-recipe/) (`.sign`), and [GPGSignatureVerifier](https://github.com/autopkg/gerardkok-recipes/blob/master/SharedProcessors/GPGSignatureVerifier.py) (`.verify`) families of recipes. |
| 22 | +- `BrewCaskInfoProvider` has been added to the list of deprecated AutoPkg processors. |
| 23 | +- More output when `check-git-config-email` fails. |
| 24 | + |
5 | 25 | ## [1.10.1] - 2021-02-21 |
6 | 26 |
|
7 | 27 | ### Added |
| 28 | + |
8 | 29 | - In anticipation of AutoPkg 2.3, now supports checking YAML recipes (must have extension `.recipe.yaml`). |
9 | 30 | - In anticipation of AutoPkg 2.3, supports additional AutoPkg plist extension `.recipe.plist`. |
10 | 31 | - Supports JSON AutoPkg recipes (must have extension `.recipe.json`). NOTE: AutoPkg itself does not yet support JSON recipes. |
11 | 32 | - Built placeholder for checking for unused AutoPkg recipe input variables in the future. Check is disabled for now. |
12 | 33 |
|
13 | 34 | ### Fixed |
| 35 | + |
14 | 36 | - Fixed a bug preventing display of AutoPkg recipe path and identifier if duplicate identifier is found in the repo. |
15 | 37 |
|
16 | 38 | ## [1.9.0] - 2021-01-18 |
17 | 39 |
|
18 | 40 | ### Added |
| 41 | + |
19 | 42 | - Added check for any unexpected processor arguments in any AutoPkg processor. |
20 | 43 |
|
21 | 44 | ### Removed |
| 45 | + |
22 | 46 | - CodeSignatureVerifier processor argument verification (added in v1.8.2) has been replaced by the above. |
23 | 47 |
|
24 | 48 | ## [1.8.2] - 2021-01-18 |
25 | 49 |
|
26 | 50 | ### Added |
| 51 | + |
27 | 52 | - Added check for unexpected processor arguments in CodeSignatureVerifier. |
28 | 53 |
|
29 | 54 | ### Changed |
| 55 | + |
30 | 56 | - Renamed default branch to `main`. |
31 | 57 |
|
32 | 58 | ## [1.8.1] - 2020-12-08 |
33 | 59 |
|
34 | 60 | ### Removed |
| 61 | + |
35 | 62 | - Removed warning about setting MinimumVersion of AutoPkg recipes to 2.0+. |
36 | 63 | - Reverted 1.4 minimum version requirement for processors that use URLGetter (introduced in 1.7.0). |
37 | 64 |
|
38 | | - |
39 | 65 | ## [1.8.0] - 2020-10-08 |
40 | 66 |
|
41 | 67 | ### Changed |
42 | | -- Replaced `plistlib.readPlist()` with `plistlib.load()` |
43 | 68 |
|
| 69 | +- Replaced `plistlib.readPlist()` with `plistlib.load()` |
44 | 70 |
|
45 | 71 | ## [1.7.0] - 2020-10-06 |
46 | 72 |
|
47 | 73 | ### Added |
| 74 | + |
48 | 75 | - Added pre-commit-macadmin change log (this file) |
49 | 76 | - Ensure no superclass processors (e.g. URLGetter) are used, as these are intended to be referred to by other processors rather than directly used in recipes |
50 | 77 | - Warn if setting a MinimumVersion greater than or equal to 2 in AutoPkg recipes, because some administrators may be running 1.4.1 and waiting for processor authors to add Python 3 compatibility |
51 | 78 | - Validate `minimum_os_version` and `maximum_os_version` keys in Munki pkginfo files |
52 | 79 |
|
53 | 80 | ### Changed |
| 81 | + |
54 | 82 | - Set MinimumVersion needed for [C]URL* processors to 1.4, to ensure utilization of URLGetter |
55 | 83 | - Updated valid Munki script shebangs to include Munki embedded Python symlink and path |
56 | 84 |
|
57 | | - |
58 | 85 | ## [1.6.2] - 2020-01-20 |
59 | 86 |
|
60 | 87 | ### Fixed |
61 | | -- Added missing sys module for Python version determination |
62 | 88 |
|
| 89 | +- Added missing sys module for Python version determination |
63 | 90 |
|
64 | 91 | ## [1.6.1] - 2019-12-26 |
65 | 92 |
|
66 | 93 | ### Fixed |
67 | | -- Convert subprocess output to string |
68 | 94 |
|
| 95 | +- Convert subprocess output to string |
69 | 96 |
|
70 | 97 | ## [1.6.0] - 2019-12-26 |
71 | 98 |
|
72 | 99 | ### Added |
| 100 | + |
73 | 101 | - Validate possible values of RestartAction key in Munki pkginfo |
74 | 102 | - New hook to check Git user email configuration (`git config user.email`) |
75 | 103 |
|
76 | | - |
77 | 104 | ## [1.5.2] - 2019-11-26 |
78 | 105 |
|
79 | 106 | ### Fixed |
| 107 | + |
80 | 108 | - Removed redundant EndOfCheckPhase check |
81 | 109 | - Added URLGetter minimum version (although we should never need this since URLGetter is not meant to be called directly) |
82 | 110 |
|
83 | | - |
84 | 111 | ## [1.5.1] - 2019-09-21 |
85 | 112 |
|
86 | 113 | ### Added |
87 | | -- Checking for downloader processors without EndOfCheckPhase |
88 | 114 |
|
| 115 | +- Checking for downloader processors without EndOfCheckPhase |
89 | 116 |
|
90 | 117 | ## [1.5.0] - 2019-09-17 |
91 | 118 |
|
92 | 119 | ### Added |
| 120 | + |
93 | 121 | - Warn if using deprecated AutoPkg processors (only one exists now: CURLDownloader) |
94 | 122 | - Allow specifying multiple acceptable recipe prefixes |
95 | 123 |
|
96 | 124 | ### Fixed |
97 | | -- Updated minimum AutoPkg versions required for processors to only include significant digits for LooseVersion comparison |
98 | 125 |
|
| 126 | +- Updated minimum AutoPkg versions required for processors to only include significant digits for LooseVersion comparison |
99 | 127 |
|
100 | 128 | ## [1.4.0] - 2019-08-22 |
101 | 129 |
|
102 | 130 | ### Added |
| 131 | + |
103 | 132 | - Detect and warn on AutoPkg recipe identifier duplication |
104 | 133 | - Warn if any Munki pkginfo script is missing a shebang |
105 | 134 |
|
106 | | - |
107 | 135 | ## [1.3.0] - 2019-07-03 |
108 | 136 |
|
109 | 137 | ### Added |
| 138 | + |
110 | 139 | - `--strict` mode for check-autopkg-recipes hook, along with numerous conventions that it can validate |
111 | 140 | - Catch identifier loops, where recipe and its parent have the same identifier |
112 | 141 |
|
113 | 142 | ### Fixed |
| 143 | + |
114 | 144 | - Better handling of unicode |
115 | 145 | - Fixed warning output when recipe list is invalid |
116 | 146 | - Fixed shared FileWaveImporter processor identifier |
117 | 147 |
|
118 | 148 | ### Changed |
| 149 | + |
119 | 150 | - Handle recipe lists that have prefixes |
120 | 151 | - Allow pkg recipes with no process (stubs for software already in pkg format at time of download) |
121 | 152 |
|
122 | | - |
123 | 153 | ## [1.2.1] - 2019-06-28 |
124 | 154 |
|
125 | 155 | ### Added |
| 156 | + |
126 | 157 | - Better parsing of MunkiPkg build-info files, and validation of keys |
127 | 158 | - Better handle processors with missing Processor keys |
128 | 159 | - Warn if MunkiPkg project target disk is not the startup disk |
129 | 160 | - Validate required keys in MunkiPkg build-info files |
130 | 161 | - Validate bundle identifier in MunkiPkg build-info files |
131 | 162 |
|
132 | | - |
133 | 163 | ## [1.2.0] - 2019-06-27 |
134 | 164 |
|
135 | 165 | ### Added |
| 166 | + |
136 | 167 | - Checking AutoPkg recipe processors for missing Processor key |
137 | 168 | - Validation of EndOfCheckPhase placement within download recipes |
138 | 169 |
|
139 | 170 | ### Changed |
| 171 | + |
140 | 172 | - Created shared function for checking required keys for pkginfo files and AutoPkg recipes |
141 | 173 | - No longer requiring an Input key for AutoPkg recipes |
142 | 174 |
|
143 | | - |
144 | 175 | ## [1.1.4] - 2019-06-24 |
145 | 176 |
|
146 | 177 | ### Changed |
147 | | -- Skip processor checks for AutoPkg recipes without a Process |
148 | 178 |
|
| 179 | +- Skip processor checks for AutoPkg recipes without a Process |
149 | 180 |
|
150 | 181 | ## [1.1.3] - 2019-06-24 |
151 | 182 |
|
152 | 183 | ### Added |
| 184 | + |
153 | 185 | - Added `--ignore-min-vers-before` argument to check-autopkg-recipes hook |
154 | 186 | - Added checking for `%NAME%.app` in check-autopkg-recipes hook |
155 | 187 |
|
156 | | - |
157 | 188 | ## [1.1.2] - 2019-06-22 |
158 | 189 |
|
159 | 190 | ### Added |
| 191 | + |
160 | 192 | - Added validation of AutoPkg recipe MinimumVersion in check-autopkg-recipes hook |
161 | 193 |
|
162 | 194 | ### Changed |
163 | | -- Fail early and stop processing files that don't parse |
164 | 195 |
|
| 196 | +- Fail early and stop processing files that don't parse |
165 | 197 |
|
166 | 198 | ## [1.1.1] - 2019-06-13 |
167 | 199 |
|
168 | 200 | ### Fixed |
169 | | -- Fixed issue that returned wrong pass/fail result for check-munki-pkgsinfo and check-autopkg-recipes hooks |
170 | 201 |
|
| 202 | +- Fixed issue that returned wrong pass/fail result for check-munki-pkgsinfo and check-autopkg-recipes hooks |
171 | 203 |
|
172 | 204 | ## [1.1.0] - 2019-06-13 |
173 | 205 |
|
174 | 206 | ### Added |
| 207 | + |
175 | 208 | - Added a note about combining list arguments in yaml config |
176 | 209 | - Added note about multi-line list args |
177 | 210 | - Ensure no trailing slashes on items_to_copy in check-munki-pkgsinfo |
178 | 211 |
|
179 | 212 | ### Changed |
| 213 | + |
180 | 214 | - Specified which yaml loader to use |
181 | 215 | - Removed zip as an package extension |
182 | 216 |
|
183 | 217 | ### Fixed |
184 | | -- Fixed issue that caused incorrect pass/fail for check-munki-pkgsinfo and check-autopkg-recipes hooks |
185 | 218 |
|
| 219 | +- Fixed issue that caused incorrect pass/fail for check-munki-pkgsinfo and check-autopkg-recipes hooks |
186 | 220 |
|
187 | 221 | ## [1.0.5] - 2019-03-15 |
188 | 222 |
|
189 | 223 | ### Added |
190 | | -- Added args documentation to read me |
191 | 224 |
|
| 225 | +- Added args documentation to read me |
192 | 226 |
|
193 | 227 | ## [1.0.4] - 2019-03-14 |
194 | 228 |
|
195 | 229 | ### Added |
196 | | -- Added check for approved catalogs |
197 | 230 |
|
| 231 | +- Added check for approved catalogs |
198 | 232 |
|
199 | 233 | ## [1.0.3] - 2019-03-13 |
200 | 234 |
|
201 | 235 | ### Fixed |
202 | | -- Fixed variable capitalization |
203 | 236 |
|
| 237 | +- Fixed variable capitalization |
204 | 238 |
|
205 | 239 | ## [1.0.2] - 2019-03-13 |
206 | 240 |
|
207 | 241 | ### Added |
| 242 | + |
208 | 243 | - Enabled basic type checking for pkginfo dicts |
209 | 244 |
|
210 | 245 | ### Changed |
| 246 | + |
211 | 247 | - Adjusted required keys in check-munki-pkgsinfo to include name and description by default |
212 | 248 | - Temporarily skipping top level plist type (dict) checking |
213 | 249 |
|
214 | | - |
215 | 250 | ## [1.0.1] - 2019-03-03 |
216 | 251 |
|
217 | 252 | ### Added |
| 253 | + |
218 | 254 | - Added forbid-autopkg-trust-info hook |
219 | 255 | - Added check for recipe prefix enforcement |
220 | 256 |
|
221 | 257 | ### Fixed |
222 | | -- Fixed bug in check-autopkg-recipes hook |
223 | 258 |
|
| 259 | +- Fixed bug in check-autopkg-recipes hook |
224 | 260 |
|
225 | 261 | ## 1.0.0 - 2019-03-01 |
226 | 262 |
|
227 | 263 | - Initial release |
228 | 264 |
|
229 | | - |
230 | | -[Unreleased]: https://github.com/homebysix/pre-commit-macadmin/compare/v1.8.2...HEAD |
| 265 | +[Unreleased]: https://github.com/homebysix/pre-commit-macadmin/compare/v1.11.0...HEAD |
| 266 | +[1.11.0]: https://github.com/homebysix/pre-commit-macadmin/compare/v1.10.1...v1.11.0 |
| 267 | +[1.10.1]: https://github.com/homebysix/pre-commit-macadmin/compare/v1.9.0...v1.10.1 |
| 268 | +[1.9.0]: https://github.com/homebysix/pre-commit-macadmin/compare/v1.8.2...v1.9.0 |
231 | 269 | [1.8.2]: https://github.com/homebysix/pre-commit-macadmin/compare/v1.8.1...v1.8.2 |
232 | 270 | [1.8.1]: https://github.com/homebysix/pre-commit-macadmin/compare/v1.8.0...v1.8.1 |
233 | 271 | [1.8.0]: https://github.com/homebysix/pre-commit-macadmin/compare/v1.7.0...v1.8.0 |
|
0 commit comments