Skip to content

Commit

Permalink
Releasing 0.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
TeWu committed Oct 24, 2017
1 parent c87c16d commit 54dc62e
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 1 deletion.
17 changes: 17 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
v0.4.0 (24 Oct 2017)
========
+ **Updated to make kRPC-rb compatible with kRPC server version 0.4.0**:
+ **Updated communication protocol in line with server changes** (for details see [krpc #325](https://github.com/krpc/krpc/pull/325))
+ Updated `RPCError` handling logic, to properly handle `Error` protobuf message
+ Updated `core` service
+ Added `KRPC::Version` module, to support more granular version checks
+ 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.:

```ruby
client.space_center.active_vessel.name = "µ-craft".encode('ISO-8859-1')
```

+ Improved reliability - added many new specs and refactored existing ones for better maintainability and performance
+ Many minor bug fixes, refactorings and performance improvements
+ *See also changes introduced in v0.3.2, which were backported from v0.4.0.beta3*

v0.3.2 (3 Aug 2017)
========
+ Changes introduced in this version are backported form v0.4.0.beta3
Expand Down
2 changes: 1 addition & 1 deletion lib/krpc/version.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ module Version
MAJOR = 0
MINOR = 4
PATCH = 0
LABEL = 'beta3'
LABEL = nil
end

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

0 comments on commit 54dc62e

Please sign in to comment.