Released on April 1, 2015. |
subscription_id
instead of their source_id
. This will allow Squirro to process items from a source differently per project/object and also allows users to change the source (e.g. include more search terms in a search). See the section Source identifier handling for how this will affect existing code.time_increment
query parameter is working againThe following changes may break existing integrations.
Items are now stored/queried by referencing their subscription_id
instead of their source_id
. This will allow Squirro to process items from a source differently per project/object and also allows users to change the source (e.g. include more search terms in a search). This has the following two breaking side-effects:
source_ids
fieldPipelets constructors take an argument called config
that passes in the user's configuration. Up til now, the handling of the config from the local pipelet consume
command and when running in production on the server was different. This has been streamlined to work the same in both cases.
As a result, change any code snippets as follows (changed code is on line 3):
Old code | New code | ||
---|---|---|---|
|
|
The following methods of SquirroClient
have been removed.
get_project_source
modify_project_source
delete_project_source
get_project_sources
query_string
has been removedget_items
method of the SquirroClient
should no longer be used. Please use the query
function. The get_items
method will be removed in a future version.