Skip to content

Releases: TeWu/krpc-rb

kRPC-rb v0.4.1

10 May 18:10
Compare
Choose a tag to compare

Changes

  • Add rate control for streams
  • Test against kRPC TestServer 0.4.7

kRPC-rb v0.4.0

24 Oct 13:15
Compare
Choose a tag to compare

Changes

  • 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)
    • 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.:
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

kRPC-rb v0.3.2

03 Aug 14:03
Compare
Choose a tag to compare

Changes

  • Changes introduced in this version are backported form v0.4.0.beta3
  • Changes to krpc and core services:
    • Renamed hardcoded krpc service to core
    • Allowed krpc service to be dynamically generated during services API generation
    • Updated core service
  • Started testing against Ruby v2.3 and Ruby v2.4
  • Turned runtime dependency on hanna-nouveau into development dependency
  • Cleaned up Git repository - moved generated HTML API docs, and TestServer binaries out of the repository

kRPC-rb v0.3.1

18 Jun 11:53
Compare
Choose a tag to compare

Changes

  • Fixed receiving of chunked responses
  • Updated protocol buffers schema

kRPC-rb v0.3.0

15 Feb 19:51
Compare
Choose a tag to compare

Changes

  • Updated to work with kRPC server version 0.2.x (#6):
    • Using google-protobuf gem instead of ruby_protobuf, for protocol buffers version 3
  • Turned development dependency on hanna-nouveau into runtime dependency (Fix #5)

kRPC-rb v0.2.2

30 Oct 15:56
Compare
Choose a tag to compare

Changes

  • Static methods now require KRPC::Client instance as first argument (Fix #4)
  • Improved parameters default value handling
  • Improved collections encoding
  • Fixed few minor bugs

kRPC-rb v0.2.0

27 Sep 22:20
Compare
Choose a tag to compare

Changes

  • Added Streaming support:
    • Stream creation by calling method with _stream suffix
  • Improved in-REPL experience:
    • Added documentation content received from kRPC server to in-REPL documentation output
    • Improved to_s and inspect methods in KRPC::Gen::ClassBase and KRPC::Streaming::Stream classes
  • Arguments of KRPC::Client#initialize method turned into keyword arguments
  • RPC methods are no longer bound to single KRPC::Client object (Fix #3)
  • Fixed arguments sometimes not correctly passed to RPC methods (due to Ruby 2.2.1 bug) (Fix #1)
  • Removed required_params_count parameter from Client#build_request method, and made that method public
  • KRPC::TypeStore's methods changed, to be class level methods
  • Added dependency on Nokogiri and development dependency on Pry and hanna-nouveau
  • Minor improvements and fixes