Skip to content

Commit 54dc62e

Browse files
committed
Releasing 0.4.0
1 parent c87c16d commit 54dc62e

File tree

2 files changed

+18
-1
lines changed

2 files changed

+18
-1
lines changed

CHANGELOG.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,20 @@
1+
v0.4.0 (24 Oct 2017)
2+
========
3+
+ **Updated to make kRPC-rb compatible with kRPC server version 0.4.0**:
4+
+ **Updated communication protocol in line with server changes** (for details see [krpc #325](https://github.com/krpc/krpc/pull/325))
5+
+ Updated `RPCError` handling logic, to properly handle `Error` protobuf message
6+
+ Updated `core` service
7+
+ Added `KRPC::Version` module, to support more granular version checks
8+
+ Improved `Encoder` - strings are now transcoded to UTF-8 before being encoded as value of protobuf message field. This allows non-UTF-8 encoded strings to be passed to RPC methods, e.g.:
9+
10+
```ruby
11+
client.space_center.active_vessel.name = "µ-craft".encode('ISO-8859-1')
12+
```
13+
14+
+ Improved reliability - added many new specs and refactored existing ones for better maintainability and performance
15+
+ Many minor bug fixes, refactorings and performance improvements
16+
+ *See also changes introduced in v0.3.2, which were backported from v0.4.0.beta3*
17+
118
v0.3.2 (3 Aug 2017)
219
========
320
+ Changes introduced in this version are backported form v0.4.0.beta3

lib/krpc/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ module Version
44
MAJOR = 0
55
MINOR = 4
66
PATCH = 0
7-
LABEL = 'beta3'
7+
LABEL = nil
88
end
99

1010
VERSION = ([Version::MAJOR, Version::MINOR, Version::PATCH, Version::LABEL].compact * '.').freeze

0 commit comments

Comments
 (0)