From 30752c2aaeb66ba005fedab7a20978d39534f3c6 Mon Sep 17 00:00:00 2001 From: Kuba Karpierz Date: Fri, 6 Apr 2018 11:15:28 -0700 Subject: [PATCH] (Data Success) Updated ruby library docs (#57) * Updated comments * Updated HISTORY file * Updated gem version * Added Nick's change --- HISTORY | 18 +++++++++++++----- README.md | 2 +- lib/sift/version.rb | 2 +- 3 files changed, 15 insertions(+), 7 deletions(-) diff --git a/HISTORY b/HISTORY index 8765006..4ba5ffe 100644 --- a/HISTORY +++ b/HISTORY @@ -1,8 +1,16 @@ -=== 3.0.0.0 2018-03-05 -* adds support for v205 of Sift Science's APIs -* v205 APIs are now called by default -- this is an incompatible change - (use :version => 204 to call the previous API version) -* Add content level decisions in Apply Decisions APIs. +=== 3.0.1 2018-03-05 +- Improved documentation on HISTORY and README.MD + +=== 3.0.0 2018-03-05 +- Adds support for Sift Science API Version 205, including new [`$create_content`](https://siftscience.com/developers/docs/curl/events-api/reserved-events/create-content) and [`$update_content`](https://siftscience.com/developers/docs/curl/events-api/reserved-events/update-content) formats +- V205 APIs are now called -- **this is an incompatible change** + - (use `:version => 204` to call the previous API version) +- Adds support for content decisions to [Decisions API](https://siftscience.com/developers/docs/curl/decisions-api) + +INCOMPATIBLE CHANGES INTRODUCED IN API V205: +- `$create_content` and `$update_content` have significantly changed, and the old format will be rejected +- `$send_message` and `$submit_review` events are no longer valid +- V205 improves server-side event data validation. In V204 and earlier, server-side validation accepted some events that did not conform to the published APIs in our [developer documentation](https://siftscience.com/developers/docs/curl/events-api). V205 does not modify existing event APIs other than those mentioned above, but may reject invalid event data that were previously accepted. **Please test your integration on V205 in sandbox before using in production.** === 2.2.1.0 2018-02-12 * Add session level decisions in Apply Decisions APIs. diff --git a/README.md b/README.md index df755d4..7525d96 100644 --- a/README.md +++ b/README.md @@ -80,7 +80,7 @@ To learn more about the decisions endpoint visit our [developer docs](https://si Get a list of your decisions. **Optional Params** - - `entity_type`: `:user` or `:order` or `:session` + - `entity_type`: `:user` or `:order` or `:session` or `:content` - `abuse_types`: `["payment_abuse", "content_abuse", "content_abuse", "account_abuse", "legacy", "account_takeover"]` diff --git a/lib/sift/version.rb b/lib/sift/version.rb index 41bcb96..dcfcbd3 100644 --- a/lib/sift/version.rb +++ b/lib/sift/version.rb @@ -1,4 +1,4 @@ module Sift - VERSION = "3.0.0" + VERSION = "3.0.1" API_VERSION = "205" end