Skip to content

Releases: liveh2o/active_remote

Ruby 3.1 compatibility

16 Jun 19:33
Compare
Choose a tag to compare

Adds support for Ruby 3.1, backported from #97 (thanks, @skunkworker).

Ruby 3.1 compatibility

16 Jun 19:34
Compare
Choose a tag to compare

Adds support for Ruby 3.1, backported from #97 (thanks, @skunkworker).

Rails v7.0 compatibility

09 Jun 23:01
Compare
Choose a tag to compare

Adds support for Rails 7.0 (#96) and Ruby 3.1 (#97) (thanks to @skunkworker).

Speed up boolean typecasting

31 Dec 16:31
Compare
Choose a tag to compare

Check for actual boolean value (true, false) when typecasting booleans which is a significant performance gain when using Protobuf (@abrandoned, #67).

v3.2.1

31 Dec 16:29
Compare
Choose a tag to compare

Minor updates to use a different internal API.

Rails 5.1 compatibility, override default endpoints

30 Oct 17:49
Compare
Choose a tag to compare

Previously, the persistence and search modules used hard-coded values for RPC endpoints: :create, :delete, :destroy, :search, :update.

Add DSL methods so that these default values can be overridden:

class Developer < ActiveRemote::Base
  endpoint_for_create :register
  endpoint_for_destroy :delete
end

Also dial in Rails version since ActiveRemote is not yet compatible with Rails v5.2.

Fixes for create, DateTime parsing

28 Feb 21:08
Compare
Choose a tag to compare

Allow primary_key to be set on create

Active Record allows the primary key to be set on create. Active Remote now behaves the same way by allowing the primary key attribute to be sent in a create operation. [#61, @mattnichols]

Handle invalid DateTime attributes gracefully

The Date typecaster will gracefully handle invalid dates, but DateTime did not. Change the behavior of DateTime types to match the behavior of Date types. [#62, @brianstien]

Prep for sending primary key on create

28 Feb 21:03
Compare
Choose a tag to compare
Pre-release

Active Record allows the primary key to be set on create, but Active Remote does not. This makes ActiveRemote#create behave the same way by allowing the primary_key attribute to be sent in a create operation.

Cutting a pre-release to make sure this doesn't have any unexpected side affects.

Safely handle Protobuf errors

28 Feb 21:02
Compare
Choose a tag to compare

Guard against undefined method errors in the Protobuf adapter. [#59, @brianstien]

Add granular Protobuf errors

28 Feb 21:01
Compare
Choose a tag to compare

Active Remote now bubbles up the type of error given from Protobuf instead of a generic ActiveRemoteError. [#58, @ryanbjones]