Change Log
Unreleased
Fixed
-
Fix Link resolution on localized content
Changed
-
Removed dependency lock specific for Ruby < 2.0 support
1.0.0
ATTENTION: Breaking changes on how JSON Fields are parsed.
All keys are now symbolized, including nested hashes. Parsing errors have
been fixed, particularly for array
, null
and
boolean
present on the first level of the JSON field. Also, on
release 0.11.0, it was fixed that JSON Fields were being treated as
locales. This change increases consistency for the SDK, treating everything
the same way. We strive for consistency and quality in our tools.
The following diff
shows previous and current state. This is
the contents of the JSON Field we test this feature against.
- {:null=>"",
- :text=>"some text",
- :array=>"[1, 2, 3]",
- :number=>123,
- :object=>
- {"null"=>nil,
- "text"=>"bar",
- "array"=>[1, 2, 3],
- "number"=>123,
- "object"=>{"foo"=>"bar"},
- "boolean"=>false},
- :boolean=>"true"}
+ {:null=>nil,
+ :text=>"some text",
+ :array=>[1, 2, 3],
+ :number=>123,
+ :object=>
+ {:null=>nil,
+ :text=>"bar",
+ :array=>[1, 2, 3],
+ :number=>123,
+ :object=>{:foo=>"bar"},
+ :boolean=>false},
+ :boolean=>true}
Fixed
-
Fixed JSON Field Parsing #96
0.12.0
Added
-
Added Rate Limit automatic handling
0.11.0
Fixed
-
Fixed Locale handling #98
0.10.0
Added
-
Added
:fl
parameter toAsset#image_url
to supportprogressive
File Layering -
Added Marshalling methods to
Asset
#88
Changed
-
Changed 503 error message to a less confusing one.
0.9.0
Added
-
Added
Contentful::Resource::CustomResource
to automatically map fields to accessors #79 -
Added
#raw
toContentful::Resource
for easier Marshalling -
Added documentation regarding locales
Changed
-
Changed Documentation Format to YARD
Fixed
-
Fixed Marshalling for Custom Resource Classes #80
0.8.0
Changed
-
Unified Locale Handling #73
0.7.0
Added
-
Add support for querying a field's
linkType
#75 -
Handles multiple locales when requesting with
locale: "*"
contentful_middleman/#39
Fixed
-
Fix Custom Resource creation parameters #69
-
Sync API
now works with:raw_mode
enabled #68 -
Bugfix for
Field.items
#76
0.6.0
Fixed
-
Parse nested locales in
AssetFields
#66
Other
-
Update http.rb dependency to v0.8.0
-
Fix typo in service unavailable error message #61
-
Enable gzip encoding by default #62
0.5.0
Fixed
Added
-
focus
andfit
to image handling parameters #44
0.4.0
Added
-
Proxy support
0.3.5
Added
-
Logging of requests
Fixed
-
Cleaner and better error handling
Other
-
Code cleanup
-
Remove encoding strings from the source code files
0.3.4
Added
-
Optional gzip compression
0.3.3
Fixed
-
Fix: handle 503 errors from the API
0.3.2
Added
-
Default property to locale, #23
0.3.1
Fixed
-
Return nil when a value is not supplied, fixes #18
-
Do not parse empty responses
Other
-
Remove CGI dependency for http Gem
0.3.0
Added
-
Support Synchronization
0.2.0
Added
-
Introduce new :entry_mapping configuration to enable custom Entry classes based on ContentTypes
Other
-
Update HTTP gem dependency to 0.6
-
Convert arrays in query values to strings, separated by comma
0.1.3
Fixed
-
Better link inclusion processing, prevents “stack level to deep” errors
0.1.2
Fixed
-
The way all content types are retrieved
0.1.1
Fixed
-
Bug that prevented fields with multiple resources to be parsed correctly
Other
-
Restrict HTTP gem dependency to < 0.6
0.1.0
-
Initial release.