This repository has been archived by the owner on Oct 16, 2019. It is now read-only.
Releases: shearwaterintl/typeform_data
Releases · shearwaterintl/typeform_data
Keepin heads above the water and feet into the shoes
Breaking changes:
- If a response has no hidden field data,
TypeformData::Response#hidden
andTypeformData::Response#hidden_fields
will now return{}
instead of[]
. (Strangely, the Typeform Data API returns[]
when there is no data, even though Hidden Field data is returned inside a{ ... }
when it's present.)
Got bellywash blood in my heart
Breaking changes:
- We accidentally had
module Utils
instead ofmodule TypeformData::Utils
. Sorry for polluting the global namespace! This has been fixed; all gem constants now live underTypeformData
.
New features:
- We now support JSON serialization using ActiveSupport's
as_json
. If you're using ActiveSupport in your project, you can callto_json
oras_json
on anyTypeformData::ValueClass
.
Support for more types of questions!
Fixed the bug described in #12
v3.0.0
The changes in this version all have to do with retry functionality.
We now retry on 500s and 504 (Gateway Timeout) errors, since we encountered transient errors of these types in using the gem.
Additionally, we now log a message to stdout on retry. You can pass in your own logger if you are e.g. using this from Rails. Check README.md
for an example.
Refactored exception hierarchy, added exponential backoff
There are two (potentially) breaking changes in this release, though they're both on the fringes of normal use. The data model hasn't changed at all.
- See https://github.com/shearwaterintl/typeform_data#error-handling
- We now use an exponential backoff of 1, 2 and 4 seconds to retry failed requests when the response seems to indicate a transient issue with the API.
The long-awaited 1.0.0
Some interesting thoughts on incrementing the major version: https://www.youtube.com/watch?v=tc2UgG5L7WM
A breaking change to the serialization API
TypeformData#dump
andTypeformData#load
have been removed!- See the README for the new serialization API.
- Fixed a bug where comparing two
TypeformData::ValueClass
instances would fail due to callingrespond_to?
without asking it to check private and protected methods.
It's so much harder to be underfed than under-understood it's said
Changes:
- Support the 'token' parameter, in theory (see #2).
- Fixed a bug where calling Typeform#name would enter an infinite recursive loop
- Don't raise an exception if we attempt to create an object with a parameter that's not on the whitelist. This ensures that backwards-compatible changes to the Data API (e.g. adding a new field) won't break the gem.
v0.0.4
Version 0.0.4
v0.0.3
Version 0.0.3