What's Changed
Table Changes
- Migrate plist type tables in darwin_platform_tables by @cesarfda in #2248
- New Table! The deadly sleeper by @directionless in #2273
Features and Improvements
- Make windowsupdate error strings more verbose by @RebeccaMahany in #2251
- Run WMI ExecQuery synchronously instead of semisynchronously by @RebeccaMahany in #2258
- Store registrations in new registration store by @RebeccaMahany in #2262
- Get munemo for header checks from registration store by @RebeccaMahany in #2264
- Get munemo from registration store when performing db reset check by @RebeccaMahany in #2263
- Handle near-simultaneous calls to Interrupt in secureenclaverunner by @RebeccaMahany in #2268
- Add callback queue to localserver by @RebeccaMahany in #2274
- Log when we detect hardware change; require both serial and hardware uuid to change by @RebeccaMahany in #2278
Bug Fixes
- Remove extra logging when we hit db lock issue by @RebeccaMahany in #2270
- Fix potential panic during osquery instance shutdown by @RebeccaMahany in #2272
- prevent comshim panics by @zackattack01 in #2275
Observability
- Track checkups "score" and error count as metrics by @RebeccaMahany in #2252
- Make performance checkup a scored checkup by @RebeccaMahany in #2255
- Make processes checkup "logSupported" so that it will count towards the checkup score by @RebeccaMahany in #2256
- Export metrics every 10 minutes instead of every minute by @RebeccaMahany in #2260
- Add histogram meter to track RSS in bytes for launcher process by @RebeccaMahany in #2269
- add launchd logs to flares by @zackattack01 in #2276
- Gather performance stats for launcher child processes by @RebeccaMahany in #2277
- remove processes checkup from log checkpoints by @zackattack01 in #2279
- Link traces and metrics, where possible by @RebeccaMahany in #2280
Tests, Docs, and Other No-op Changes
- Update KATC test databases by @RebeccaMahany in #2254
- Add Dependency Updates section to release.yml by @RebeccaMahany in #2266
- Print logs and interrupt start time when interrupt test fails by @RebeccaMahany in #2267
Dependency Updates
- Upgrade to modernc.org/sqlite@v1.37.1 to fix data races in tests by @RebeccaMahany in #2265
General
- Only log new table_generate_timeout if it did actually change by @RebeccaMahany in #2247
- Part 2 of removing AutoupdateErrorsStore by @RebeccaMahany in #2250
- Use atomic.Bool for isNixOS vars to avoid data races in tests by @RebeccaMahany in #2281
- add windows machine GUID to hardware identifiers by @zackattack01 in #2282
Full Changelog: v1.20.3...v1.21.2