Skip to content

Commit 4f353e1

Browse files
committed
chore(release): bump to version 0.10.0
1 parent da5d943 commit 4f353e1

File tree

2 files changed

+16
-2
lines changed

2 files changed

+16
-2
lines changed

CHANGELOG.md

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,21 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8-
## [Unreleased]
8+
## [0.10.0] - 2025-12-14
9+
10+
### Changed
11+
12+
- **BREAKING CHANGE**: Launchd services with restart policies (`RestartPolicy::Always`, `OnFailure`, or `OnSuccess`) no longer auto-start when `install()` is called. Services must now be explicitly started using `start()`. This provides cross-platform consistency where `install()` registers the service definition without starting it, matching the behavior of systemd and other service managers.
13+
- Services with `KeepAlive` configured are now installed with `Disabled=true` in the plist
14+
- The `start()` function removes the `Disabled` key and reloads the service
15+
- The `autostart` parameter continues to control only `RunAtLoad` (whether service starts on OS boot), not initial install behavior
16+
- Migration: Add explicit `manager.start(ctx)?` call after `manager.install(ctx)?` if you need the service to start immediately
17+
18+
### Fixed
19+
20+
- Fixed incorrect Launchd restart policy implementation for `RestartPolicy::OnFailure` and `RestartPolicy::OnSuccess`:
21+
- `OnFailure` now correctly uses `KeepAlive` dictionary with `SuccessfulExit=false` (restart on non-zero exit) instead of `KeepAlive=true` (always restart)
22+
- `OnSuccess` now correctly uses `SuccessfulExit=true` (restart on zero exit) instead of `SuccessfulExit=false`
923

1024
## [0.9.0] - 2025-11-22
1125

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name = "service-manager"
33
description = "Provides adapters to communicate with various operating system service managers"
44
categories = ["config"]
55
keywords = ["generator"]
6-
version = "0.9.0"
6+
version = "0.10.0"
77
authors = ["Chip Senkbeil <chip@senkbeil.org>"]
88
edition = "2021"
99
homepage = "https://github.com/chipsenkbeil/service-manager-rs"

0 commit comments

Comments
 (0)