Skip to content

Commit d2b4023

Browse files
committed
Update changelog
1 parent d6fefe6 commit d2b4023

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

CHANGELOG.md

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

77
## [Unreleased]
8+
9+
10+
## [0.2.0] - 2019-04-01
811
### Added
912
- Add support for specifying service dependencies when creating a service.
1013
- A `ServiceExitCode::NO_ERROR` constant for easy access to the success value.
1114
- Add `Service::start` for starting services programmatically.
15+
- Add `Service::query_config` for getting the config of the service.
1216

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

1824
### Fixed
1925
- Fix invalid pointer manipulations in service creation routine in ServiceManager.
2026
- Fix memory leak in `service_control_handler::register` that did not release `event_handler` in
2127
the case of an error.
22-
28+
- Treat FFI return code 0 as error, instead of treating 1 as success.
2329

2430

2531
## [0.1.0] - 2018-06-04

0 commit comments

Comments
 (0)