Skip to content

Commit

Permalink
Merge branch 'prepare-0.2.0'
Browse files Browse the repository at this point in the history
  • Loading branch information
faern committed Apr 1, 2019
2 parents aab5b26 + d2b4023 commit 1b13dee
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
8 changes: 7 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,21 +5,27 @@ 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.2.0] - 2019-04-01
### Added
- Add support for specifying service dependencies when creating a service.
- A `ServiceExitCode::NO_ERROR` constant for easy access to the success value.
- Add `Service::start` for starting services programmatically.
- Add `Service::query_config` for getting the config of the service.

### Changed
- Changed `service_control_handler::register` to accept an `FnMut` rather than just an `Fn` for the
`event_handler` closure.
- Upgrade to Rust 2018. This raises the minimum required Rust version to 1.31.0.
- Replace error-chain error library with err-derive. So all error types are changed.
- Change `ServiceType` implementation to use the `bitflags!` macro.

### Fixed
- Fix invalid pointer manipulations in service creation routine in ServiceManager.
- Fix memory leak in `service_control_handler::register` that did not release `event_handler` in
the case of an error.

- Treat FFI return code 0 as error, instead of treating 1 as success.


## [0.1.0] - 2018-06-04
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.1.0"
version = "0.2.0"
description = "A crate that provides facilities for management and implementation of windows services"
readme = "README.md"
authors = ["Mullvad VPN <admin@mullvad.net>", "Andrej Mihajlov <and@mullvad.net>", "Linus Färnstrand <linus@mullvad.net>"]
Expand Down

0 comments on commit 1b13dee

Please sign in to comment.