v1.10.0: change-update
What's Changed
This release has one new feature (addition of the change-update
notice type), as well as a host of bug fixes, minor doc improvements, and a significant refactoring of plan management.
Features
- feat(state): record change-update notices on change status updates by @ZeyadYasser in #379
Bug fixes
- fix: start process subreaper at top level to avoid shutdown hangs by @benhoyt in #380
- fix: allow for the JSON overhead when reading log lines by @tonyandrewmeyer in #384
- fix(client): make retry loop stop immediately when context is cancelled by @benhoyt in #386
- enter: start default services before executing subcommand by @rebornplusplus in #257
- fix(run): don't overwrite err on reaper.Stop() by @thp-canonical in #390
- fix(cli): PEBBLE_COPY_ONCE on missing dir. by @hpidcock in #392
- fix(client): use host from BaseURL for websockets by @thp-canonical in #393
- fix(daemon): deduplicate user-provided notice types by @olivercalder in #399
- fix(cli): pass PebbleDir and SocketPath through RunOptions/ParserOptions/CmdOptions by @thp-canonical in #388
- fix(help): DefaultDir to personality, allow overriding header and footer by @thp-canonical in #397
- fix(taskrunner): consistent, nicer formatting for task failed log by @benhoyt in #391
- fix(daemon): improve health state lock test, remove LockCount by @benhoyt in #373
Refactoring
- chore: remove deprecated functions now that we're on Go 1.16+ by @benhoyt in #375
- refactor: remove maybeShellcheck from FakeCommand by @benhoyt in #381
- feat(planstate): create a dedicated plan manager by @flotter in #387
- feat(cli): add RunOptions to cli.Run, remove global variable by @thp-canonical in #383
Docs
- docs: add comments to clarify that WaitNotices releases the state lock by @benhoyt in #378
- docs: explicitly note that on-failure is not considered when starting or stopping a service by @tonyandrewmeyer in #382
- feat(cli): new Info category for help, version by @thp-canonical in #400
New Contributors
- @ZeyadYasser made their first contribution in #379
Full Changelog: v1.9.0...v1.10.0