Skip to content

Commit

Permalink
Merge branch 'prepare-0.7.0'
Browse files Browse the repository at this point in the history
  • Loading branch information
faern committed Apr 16, 2024
2 parents a87e63c + 507f9cc commit 7229110
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 6 deletions.
17 changes: 12 additions & 5 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,23 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).

## [Unreleased]


## [0.7.0] - 2024-04-12
### Added
- Add support for user-defined control codes in services.
(See: `Service::notify` and `notify_service.rs` example)
- Add support for `LidSwitchStateChange` in `PowerBroadcastSetting`.
(See: `LidSwitchStateChange`)
- Breaking: Add support for user-defined control codes in services.
(See: `Service::notify` and `notify_service.rs` example). This is breaking since
the `ServiceControl` enum was exhaustive in version 0.6.0.
- Breaking: Add support for `LidSwitchStateChange` in `PowerBroadcastSetting`. This is breaking
since `PowerBroadcastSetting` was an exhaustive enum in version 0.6.0.
- Breaking: Add support for `SERVICE_SYSTEM_START` and `SERVICE_BOOT_START` in service
start type. This is breaking since the `ServiceStartType` enum is exhaustive.
- Add function for obtaining service SID infos. (See: `Service::get_config_service_sid_info`).

### Changed
- Breaking: Make a bunch of enums `#[non_exhaustive]`: `Error`, `PowerBroadcastSetting`,
`PowerEventParam`, `SessionChangeReason` and `ServiceControl`.
`PowerEventParam` and `ServiceControl`.
- Breaking: Upgrade `windows-sys` dependency to 0.52


## [0.6.0] - 2023-03-07
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "windows-service"
version = "0.6.0"
version = "0.7.0"
description = "A crate that provides facilities for management and implementation of windows services"
readme = "README.md"
authors = ["Mullvad VPN"]
Expand Down

0 comments on commit 7229110

Please sign in to comment.