- Add access to title localization on
SurveyGizmo::API::Question
,SurveyGizmo::API::Option
andSurveyGizmo::API::Page
viatitle_ml
accessor
- BREAKING CHANGE: Switch from the old Survey Gizmo API URLs (
restapi.surveygizmo.com
andrestapi.surveygizmo.eu
) to the new Alchemer API URLs (api.alchemer.com
andapi.alchemer.eu
) - Fix ruby 3.2 build
- Fix ruby 2.7 build and compatibility with activesupport >= 7
- Switch CI from Travis to Github actions
- Add missing
subtype
parameter toCampain
required at creation - Fix use of deprecated Faraday error class (#110)
- Loosen dependencies on ActiveSupport and other gems to support Rails 6
- Minor fix to
SurveyGizmo::Configuration#region=
to raise proper error when region is invalid - Update some development dependencies
- Makes configuration thread safe. When a new thread is created, the last configuration set through
SurveyGizmo.configure
will be used.
- Change timezone for EU servers to UTC (#103)
- Allow setting default locale for multi-language title (#101)
- Drop support for ruby 2.0; allow ActiveSupport 5.x
- remove unnecessary usage of
alias_method_chain
(#96)
- Allow passing of optional extra filters to
server_has_new_results_since?
- Allow
Retriable
3.0
- Deal with question_pipe quotes
- Deprecate
retry_attempts
andretry_interval
configuration options - Add ability to set the entire
Retriable
hash directly by configuringretriable_params
- max_elapsed_time of 1 hour for
Retriable
- Bugfix: Don't allow option_ids of 0
- Bugfix: Mask CGI escaped (percent encoded) api tokens in logs
- Fix question pipe parsing when there's an integer without quotes instead of a quoted string (#87)
- BREAKING CHANGE: SurveyGizmo changed the authentication so you need to configure
api_token
andapi_token_secret
instead of user and password. - BREAKING CHANGE: Pester has been removed as the retry source in favor of
Retriable
. - FEATURE:
Configuration#region
will configure the region to use the corresponding api and time zone. (#74) - Bugfix: fix escaping to resolve duplicate option issue (#75)
- Bugfix: fix manual pagination (#82)
- BREAKING CHANGE:
.all
returns anEnumerator
, not anArray
. This will break your code if you are using the return value of.all
without iterating over it. - BREAKING CHANGE:
SurveyCampaign
has been renamedCampaign
to be in line with the other model names. - FEATURE:
.all
will automatically paginate responses for you with the:all_pages
option. There are also some built in methods likeSurvey#responses
that will auto paginate. - FEATURE: Built in retries. 1 retry with a 60 second backoff is the default but can be configured.
- FEATURE:
Response#parsed_answers
returns an array ofAnswers
(new class) that are sane, stable Ruby objects instead of the sort of wild and wooly way SurveyGizmo has chosen to represent survey responses.
- BREAKING CHANGE: There is no more error tracking. If the API gives an error or bad response, an exception will be raised.
- BREAKING CHANGE: There is no more
copy
method
- BREAKING CHANGE: Configuration is completely different
- Important Change: Defaults to using the v4 SurveyGizmo API endpoint to take advantage of various API bug fixes (notably team ownership is broken in v3)
Version 2.0.1 for the v3 API is here