Skip to content

Releases: octaspace/ruby-sdk

v0.2.0

Choose a tag to compare

@secretpray secretpray released this 16 Apr 07:23
9ed07be

Highlights

  • Added support for client.services.session(uuid).logs(recent: true) to fetch logs for finished sessions.
  • Added OctaSpace::ProvisionRejectedError for Machine Rental create requests that return HTTP 200 but contain item-level API rejections.
  • Added OctaSpace::PayloadHelpers for stringified app port lists and marketplace bandwidth normalization.
  • Expanded playground diagnostics with recent session logs support and improved manual QA coverage.

Changed

  • Documented and tested services.mr.list, services.render.list, and services.vpn.list as marketplace catalog endpoints rather than session collections.
  • services.mr.create now forwards optional organization_id and project_id.
  • Updated playground services views and README examples to match live API behavior.
  • Switched release guidance to a fully manual publish flow and disabled the local rake release helper.

Fixed

  • Closed the Ruby SDK gap for finished-session logs via recent: true.
  • Corrected MR create handling for HTTP 200 batch-style rejection payloads.
  • Corrected fixtures and tests for /services/mr, /services/vpn, recent sessions, and {system, container} log payloads.
  • Fixed playground app port handling when the API returns stringified JSON arrays.

Initial release

Choose a tag to compare

@secretpray secretpray released this 13 Apr 04:42

What's Changed

Added

  • Initial release of the official OctaSpace Ruby SDK.
  • Support for core resources: Accounts, Nodes, Sessions, Apps, Network, and Idle Jobs.
  • Resource-oriented client: client.nodes.list, client.services.session(uuid).stop.
  • Persistent HTTP connections (keep-alive mode) via ConnectionPool.
  • Automatic URL rotation and failover for high availability.
  • Retry with exponential backoff and jitter for transient errors.
  • Typed error hierarchy based on HTTP status codes.
  • Rails integration with automatic client sharing and graceful shutdown.
  • Interactive Playground app for manual testing and diagnostics.

Installation

gem "octaspace"