Releases: castle/castle-ruby
Releases · castle/castle-ruby
Release v3.5.0
Release v3.4.2
Features:
#115 added reset option to impersonate
Release v3.4.1
Release v3.4.0
#103 added 'impersonate` method with user_id, impersonator and context options
Release v3.3.1
Release v3.3.0
BREAKING CHANGES:
#97 when data is sent in batches you may want to wrap data options with to_options method before you send it to the worker (see README) to include proper timestamp in the query
Features:
#97 Castle::Client has additional option timestamp, timestamp and sent_at time values are automatically added to the requests, added Castle::Client.to_options method which adds properly formatted timestamp param to the options
Release v3.2.0
BREAKING CHANGES:
- #91 symbolize keys for failover strategy
Release v3.1.0
Enhancements:
- #90 added ability to extract context object and initialize client with that object
BREAKING CHANGES:
Castle::Client.new
does not not build context object anymore- to use previous functionality use
Castle::Client.from_request
Features:
- added
Castle::Client.to_context
method which allows to generate context object from the request
Release v3.0.1
Bug fixes:
- #84 allow to use symbols for headers data
Release v3.0.0
Enhancements:
- #35 dropped unused cookie store class, more informative Castle:Client constructor params
- #30 change request timeout to 500ms
- #31 remove auto-integration with Rails, Padrino, Sinatra (see BREAKING CHANGES, README)
BREAKING CHANGES:
- add
require 'castle/support/rails'
to have Castle client instance available ascastle
in your Rails controllers - add
require 'castle/support/padrino'
to have Castle client instance available ascastle
in your Padrino helpers - add
require 'castle/support/sinatra'
to have Castle client instance available ascastle
in your Sinatra helpers - request timeout uses milliseconds unit from now on
- renamed
track!
toenable_tracking
- renamed
do_no_track!
todisable_tracking
- renamed
don_no_track?
totracked?
with opposite behaviour Castle::Client
now takes options as a second argument- drop support for ruby 2.1
- replaced
config.api_endpoint
withconfig.host
andconfig.port
- renamed
fetch_review
toCastle::Review.retrieve
Features: