contentful 2.12.0 → 2.17.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +69 -1
- data/README.md +24 -13
- data/lib/contentful/array.rb +14 -6
- data/lib/contentful/array_like.rb +11 -2
- data/lib/contentful/asset.rb +10 -4
- data/lib/contentful/base_resource.rb +29 -6
- data/lib/contentful/client.rb +4 -3
- data/lib/contentful/coercions.rb +1 -4
- data/lib/contentful/entry.rb +9 -5
- data/lib/contentful/fields_resource.rb +7 -11
- data/lib/contentful/includes.rb +74 -0
- data/lib/contentful/request.rb +6 -1
- data/lib/contentful/resource_builder.rb +15 -12
- data/lib/contentful/support.rb +0 -35
- data/lib/contentful/version.rb +1 -1
- metadata +15 -370
- data/.gitignore +0 -7
- data/.rspec +0 -1
- data/.rubocop.yml +0 -28
- data/.rubocop_todo.yml +0 -35
- data/.travis.yml +0 -13
- data/.yardopts +0 -4
- data/Gemfile +0 -9
- data/Gemfile.lock +0 -152
- data/Guardfile +0 -24
- data/RELEASE.md +0 -8
- data/Rakefile +0 -33
- data/contentful.gemspec +0 -44
- data/coverage/.last_run.json +0 -5
- data/coverage/.resultset.json +0 -2419
- data/coverage/.resultset.json.lock +0 -0
- data/coverage/assets/0.10.2/application.css +0 -799
- data/coverage/assets/0.10.2/application.js +0 -1707
- data/coverage/assets/0.10.2/colorbox/border.png +0 -0
- data/coverage/assets/0.10.2/colorbox/controls.png +0 -0
- data/coverage/assets/0.10.2/colorbox/loading.gif +0 -0
- data/coverage/assets/0.10.2/colorbox/loading_background.png +0 -0
- data/coverage/assets/0.10.2/favicon_green.png +0 -0
- data/coverage/assets/0.10.2/favicon_red.png +0 -0
- data/coverage/assets/0.10.2/favicon_yellow.png +0 -0
- data/coverage/assets/0.10.2/loading.gif +0 -0
- data/coverage/assets/0.10.2/magnify.png +0 -0
- data/coverage/assets/0.10.2/smoothness/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
- data/coverage/assets/0.10.2/smoothness/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
- data/coverage/assets/0.10.2/smoothness/images/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
- data/coverage/assets/0.10.2/smoothness/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
- data/coverage/assets/0.10.2/smoothness/images/ui-bg_glass_75_dadada_1x400.png +0 -0
- data/coverage/assets/0.10.2/smoothness/images/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
- data/coverage/assets/0.10.2/smoothness/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
- data/coverage/assets/0.10.2/smoothness/images/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
- data/coverage/assets/0.10.2/smoothness/images/ui-icons_222222_256x240.png +0 -0
- data/coverage/assets/0.10.2/smoothness/images/ui-icons_2e83ff_256x240.png +0 -0
- data/coverage/assets/0.10.2/smoothness/images/ui-icons_454545_256x240.png +0 -0
- data/coverage/assets/0.10.2/smoothness/images/ui-icons_888888_256x240.png +0 -0
- data/coverage/assets/0.10.2/smoothness/images/ui-icons_cd0a0a_256x240.png +0 -0
- data/coverage/index.html +0 -15071
- data/doc/Contentful/AccessDenied.html +0 -159
- data/doc/Contentful/Array.html +0 -765
- data/doc/Contentful/ArrayCoercion.html +0 -242
- data/doc/Contentful/ArrayLike.html +0 -625
- data/doc/Contentful/Asset.html +0 -487
- data/doc/Contentful/BadGateway.html +0 -159
- data/doc/Contentful/BadRequest.html +0 -159
- data/doc/Contentful/BaseCoercion.html +0 -445
- data/doc/Contentful/BaseResource.html +0 -599
- data/doc/Contentful/BooleanCoercion.html +0 -242
- data/doc/Contentful/Client.html +0 -1740
- data/doc/Contentful/ContentType.html +0 -618
- data/doc/Contentful/ContentTypeCache.html +0 -428
- data/doc/Contentful/DateCoercion.html +0 -244
- data/doc/Contentful/DeletedAsset.html +0 -157
- data/doc/Contentful/DeletedEntry.html +0 -157
- data/doc/Contentful/EmptyFieldError.html +0 -217
- data/doc/Contentful/Entry.html +0 -334
- data/doc/Contentful/Error.html +0 -410
- data/doc/Contentful/Field.html +0 -936
- data/doc/Contentful/FieldsResource.html +0 -583
- data/doc/Contentful/File.html +0 -218
- data/doc/Contentful/FloatCoercion.html +0 -238
- data/doc/Contentful/IntegerCoercion.html +0 -238
- data/doc/Contentful/Link.html +0 -249
- data/doc/Contentful/LinkCoercion.html +0 -158
- data/doc/Contentful/Locale.html +0 -537
- data/doc/Contentful/Location.html +0 -383
- data/doc/Contentful/LocationCoercion.html +0 -238
- data/doc/Contentful/NotFound.html +0 -159
- data/doc/Contentful/ObjectCoercion.html +0 -238
- data/doc/Contentful/RateLimitExceeded.html +0 -346
- data/doc/Contentful/Request.html +0 -887
- data/doc/Contentful/ResourceBuilder.html +0 -978
- data/doc/Contentful/ResourceReferences.html +0 -254
- data/doc/Contentful/Response.html +0 -710
- data/doc/Contentful/RichTextCoercion.html +0 -238
- data/doc/Contentful/ServerError.html +0 -159
- data/doc/Contentful/ServiceUnavailable.html +0 -159
- data/doc/Contentful/Space.html +0 -393
- data/doc/Contentful/StringCoercion.html +0 -242
- data/doc/Contentful/StructuredTextCoercion.html +0 -238
- data/doc/Contentful/Support.html +0 -788
- data/doc/Contentful/SymbolCoercion.html +0 -169
- data/doc/Contentful/Sync.html +0 -653
- data/doc/Contentful/SyncPage.html +0 -807
- data/doc/Contentful/TextCoercion.html +0 -169
- data/doc/Contentful/Unauthorized.html +0 -159
- data/doc/Contentful/UnparsableJson.html +0 -159
- data/doc/Contentful/UnparsableResource.html +0 -135
- data/doc/Contentful.html +0 -157
- data/doc/_index.html +0 -563
- data/doc/class_list.html +0 -51
- data/doc/css/common.css +0 -1
- data/doc/css/full_list.css +0 -58
- data/doc/css/style.css +0 -496
- data/doc/file.CHANGELOG.html +0 -729
- data/doc/file.LICENSE.html +0 -70
- data/doc/file.README.html +0 -925
- data/doc/file_list.html +0 -66
- data/doc/frames.html +0 -17
- data/doc/index.html +0 -925
- data/doc/js/app.js +0 -292
- data/doc/js/full_list.js +0 -216
- data/doc/js/jquery.js +0 -4
- data/doc/method_list.html +0 -1171
- data/doc/top-level-namespace.html +0 -110
- data/examples/custom_classes.rb +0 -39
- data/examples/example_queries.rb +0 -26
- data/examples/raise_errors.rb +0 -20
- data/examples/raw_mode.rb +0 -14
- data/spec/array_spec.rb +0 -122
- data/spec/asset_spec.rb +0 -192
- data/spec/auto_includes_spec.rb +0 -12
- data/spec/client_class_spec.rb +0 -86
- data/spec/client_configuration_spec.rb +0 -377
- data/spec/content_type_spec.rb +0 -49
- data/spec/deleted_asset_spec.rb +0 -38
- data/spec/deleted_entry_spec.rb +0 -38
- data/spec/entry_spec.rb +0 -688
- data/spec/error_class_spec.rb +0 -327
- data/spec/error_requests_spec.rb +0 -87
- data/spec/field_spec.rb +0 -95
- data/spec/file_spec.rb +0 -33
- data/spec/fixtures/json_responses/400_details_errors_object.json +0 -14
- data/spec/fixtures/json_responses/400_details_errors_string.json +0 -12
- data/spec/fixtures/json_responses/400_details_string.json +0 -8
- data/spec/fixtures/json_responses/403_reasons.json +0 -13
- data/spec/fixtures/json_responses/404_details_string.json +0 -8
- data/spec/fixtures/json_responses/404_id.json +0 -11
- data/spec/fixtures/json_responses/404_sys_type.json +0 -12
- data/spec/fixtures/json_responses/404_type.json +0 -10
- data/spec/fixtures/json_responses/content_type.json +0 -83
- data/spec/fixtures/json_responses/default_400.json +0 -7
- data/spec/fixtures/json_responses/default_401.json +0 -7
- data/spec/fixtures/json_responses/default_403.json +0 -7
- data/spec/fixtures/json_responses/default_404.json +0 -7
- data/spec/fixtures/json_responses/default_429.json +0 -7
- data/spec/fixtures/json_responses/default_500.json +0 -7
- data/spec/fixtures/json_responses/default_502.json +0 -7
- data/spec/fixtures/json_responses/default_503.json +0 -7
- data/spec/fixtures/json_responses/includes.json +0 -111
- data/spec/fixtures/json_responses/link_array.json +0 -43
- data/spec/fixtures/json_responses/not_found.json +0 -13
- data/spec/fixtures/json_responses/nyancat.json +0 -48
- data/spec/fixtures/json_responses/other_error.json +0 -9
- data/spec/fixtures/json_responses/other_error_no_details.json +0 -8
- data/spec/fixtures/json_responses/other_error_no_message.json +0 -8
- data/spec/fixtures/json_responses/other_error_no_request_id.json +0 -8
- data/spec/fixtures/json_responses/other_error_nothing.json +0 -6
- data/spec/fixtures/json_responses/self_link.json +0 -82
- data/spec/fixtures/json_responses/unparsable.json +0 -13
- data/spec/fixtures/vcr_cassettes/array/marshal_custom_classes.yml +0 -159
- data/spec/fixtures/vcr_cassettes/array/nested_resources.yml +0 -159
- data/spec/fixtures/vcr_cassettes/array.yml +0 -288
- data/spec/fixtures/vcr_cassettes/arrayField.yml +0 -87
- data/spec/fixtures/vcr_cassettes/array_page_1.yml +0 -106
- data/spec/fixtures/vcr_cassettes/array_page_2.yml +0 -73
- data/spec/fixtures/vcr_cassettes/asset/select_empty_array.yml +0 -104
- data/spec/fixtures/vcr_cassettes/asset/select_no_sys.yml +0 -119
- data/spec/fixtures/vcr_cassettes/asset/select_one_field.yml +0 -97
- data/spec/fixtures/vcr_cassettes/asset/select_only_sys.yml +0 -88
- data/spec/fixtures/vcr_cassettes/asset.yml +0 -96
- data/spec/fixtures/vcr_cassettes/assets/issues_129.yml +0 -90
- data/spec/fixtures/vcr_cassettes/assets/issues_jekyll_46.yml +0 -115
- data/spec/fixtures/vcr_cassettes/bad_request.yml +0 -76
- data/spec/fixtures/vcr_cassettes/content_type.yml +0 -147
- data/spec/fixtures/vcr_cassettes/entries/empty_fields.yml +0 -246
- data/spec/fixtures/vcr_cassettes/entries/issue_117.yml +0 -201
- data/spec/fixtures/vcr_cassettes/entries/issue_125.yml +0 -198
- data/spec/fixtures/vcr_cassettes/entries/rich_text.yml +0 -1707
- data/spec/fixtures/vcr_cassettes/entries/rich_text_hydration_issue.yml +0 -460
- data/spec/fixtures/vcr_cassettes/entries/rich_text_nested_fields.yml +0 -653
- data/spec/fixtures/vcr_cassettes/entries/rich_text_unresolved_relationships.yml +0 -983
- data/spec/fixtures/vcr_cassettes/entries/unresolvable_filter.yml +0 -159
- data/spec/fixtures/vcr_cassettes/entries/unresolvable_filter_deeply_nested.yml +0 -167
- data/spec/fixtures/vcr_cassettes/entries.yml +0 -561
- data/spec/fixtures/vcr_cassettes/entry/custom_resource.yml +0 -168
- data/spec/fixtures/vcr_cassettes/entry/include_resolution.yml +0 -101
- data/spec/fixtures/vcr_cassettes/entry/include_resolution_uniques.yml +0 -81
- data/spec/fixtures/vcr_cassettes/entry/json_objects.yml +0 -88
- data/spec/fixtures/vcr_cassettes/entry/json_objects_client.yml +0 -86
- data/spec/fixtures/vcr_cassettes/entry/marshal_138.yml +0 -159
- data/spec/fixtures/vcr_cassettes/entry/marshal_unpublished.yml +0 -303
- data/spec/fixtures/vcr_cassettes/entry/marshall.yml +0 -293
- data/spec/fixtures/vcr_cassettes/entry/raw.yml +0 -201
- data/spec/fixtures/vcr_cassettes/entry/search_link_to_asset.yml +0 -81
- data/spec/fixtures/vcr_cassettes/entry/search_link_to_entry.yml +0 -81
- data/spec/fixtures/vcr_cassettes/entry/search_link_to_entry_with_custom_query.yml +0 -115
- data/spec/fixtures/vcr_cassettes/entry/select_empty_array.yml +0 -111
- data/spec/fixtures/vcr_cassettes/entry/select_no_sys.yml +0 -102
- data/spec/fixtures/vcr_cassettes/entry/select_one_field.yml +0 -76
- data/spec/fixtures/vcr_cassettes/entry/select_one_field_proper.yml +0 -114
- data/spec/fixtures/vcr_cassettes/entry/select_only_sys.yml +0 -111
- data/spec/fixtures/vcr_cassettes/entry.yml +0 -102
- data/spec/fixtures/vcr_cassettes/entry_cache.yml +0 -288
- data/spec/fixtures/vcr_cassettes/entry_locales.yml +0 -104
- data/spec/fixtures/vcr_cassettes/field.yml +0 -147
- data/spec/fixtures/vcr_cassettes/human.yml +0 -118
- data/spec/fixtures/vcr_cassettes/linkField.yml +0 -83
- data/spec/fixtures/vcr_cassettes/locale.yml +0 -83
- data/spec/fixtures/vcr_cassettes/locale_from_environment.yml +0 -121
- data/spec/fixtures/vcr_cassettes/location.yml +0 -193
- data/spec/fixtures/vcr_cassettes/multi_locale_array_reference.yml +0 -196
- data/spec/fixtures/vcr_cassettes/multi_locale_reference.yml +0 -214
- data/spec/fixtures/vcr_cassettes/not_found.yml +0 -76
- data/spec/fixtures/vcr_cassettes/nyancat.yml +0 -102
- data/spec/fixtures/vcr_cassettes/ratelimit.yml +0 -64
- data/spec/fixtures/vcr_cassettes/ratelimit_retry.yml +0 -294
- data/spec/fixtures/vcr_cassettes/reloaded_entry.yml +0 -102
- data/spec/fixtures/vcr_cassettes/space.yml +0 -83
- data/spec/fixtures/vcr_cassettes/sync_deleted_asset.yml +0 -174
- data/spec/fixtures/vcr_cassettes/sync_deleted_entry.yml +0 -89
- data/spec/fixtures/vcr_cassettes/sync_deletion.yml +0 -191
- data/spec/fixtures/vcr_cassettes/sync_environment.yml +0 -81
- data/spec/fixtures/vcr_cassettes/sync_page.yml +0 -637
- data/spec/fixtures/vcr_cassettes/sync_page_2.yml +0 -71
- data/spec/fixtures/vcr_cassettes/sync_page_short.yml +0 -106
- data/spec/fixtures/vcr_cassettes/unauthorized.yml +0 -64
- data/spec/fixtures/vcr_cassettes/unavailable.yml +0 -76
- data/spec/link_spec.rb +0 -50
- data/spec/locale_spec.rb +0 -37
- data/spec/location_spec.rb +0 -25
- data/spec/request_spec.rb +0 -57
- data/spec/resource_building_spec.rb +0 -31
- data/spec/response_spec.rb +0 -62
- data/spec/space_spec.rb +0 -31
- data/spec/spec_helper.rb +0 -14
- data/spec/support/client.rb +0 -6
- data/spec/support/json_responses.rb +0 -18
- data/spec/support/vcr.rb +0 -16
- data/spec/sync_page_spec.rb +0 -103
- data/spec/sync_spec.rb +0 -180
data/doc/file.CHANGELOG.html
DELETED
@@ -1,729 +0,0 @@
|
|
1
|
-
<!DOCTYPE html>
|
2
|
-
<html>
|
3
|
-
<head>
|
4
|
-
<meta charset="UTF-8">
|
5
|
-
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
6
|
-
<title>
|
7
|
-
File: CHANGELOG
|
8
|
-
|
9
|
-
— Documentation by YARD 0.9.18
|
10
|
-
|
11
|
-
</title>
|
12
|
-
|
13
|
-
<link rel="stylesheet" href="css/style.css" type="text/css" charset="utf-8" />
|
14
|
-
|
15
|
-
<link rel="stylesheet" href="css/common.css" type="text/css" charset="utf-8" />
|
16
|
-
|
17
|
-
<script type="text/javascript" charset="utf-8">
|
18
|
-
pathId = "CHANGELOG";
|
19
|
-
relpath = '';
|
20
|
-
</script>
|
21
|
-
|
22
|
-
|
23
|
-
<script type="text/javascript" charset="utf-8" src="js/jquery.js"></script>
|
24
|
-
|
25
|
-
<script type="text/javascript" charset="utf-8" src="js/app.js"></script>
|
26
|
-
|
27
|
-
|
28
|
-
</head>
|
29
|
-
<body>
|
30
|
-
<div class="nav_wrap">
|
31
|
-
<iframe id="nav" src="file_list.html?1"></iframe>
|
32
|
-
<div id="resizer"></div>
|
33
|
-
</div>
|
34
|
-
|
35
|
-
<div id="main" tabindex="-1">
|
36
|
-
<div id="header">
|
37
|
-
<div id="menu">
|
38
|
-
|
39
|
-
<a href="_index.html">Index</a> »
|
40
|
-
<span class="title">File: CHANGELOG</span>
|
41
|
-
|
42
|
-
</div>
|
43
|
-
|
44
|
-
<div id="search">
|
45
|
-
|
46
|
-
<a class="full_list_link" id="class_list_link"
|
47
|
-
href="class_list.html">
|
48
|
-
|
49
|
-
<svg width="24" height="24">
|
50
|
-
<rect x="0" y="4" width="24" height="4" rx="1" ry="1"></rect>
|
51
|
-
<rect x="0" y="12" width="24" height="4" rx="1" ry="1"></rect>
|
52
|
-
<rect x="0" y="20" width="24" height="4" rx="1" ry="1"></rect>
|
53
|
-
</svg>
|
54
|
-
</a>
|
55
|
-
|
56
|
-
</div>
|
57
|
-
<div class="clear"></div>
|
58
|
-
</div>
|
59
|
-
|
60
|
-
<div id="content"><div id='filecontents'>
|
61
|
-
<h1 id="label-Change+Log">Change Log</h1>
|
62
|
-
|
63
|
-
<h2 id="label-Unreleased">Unreleased</h2>
|
64
|
-
|
65
|
-
<h2 id="label-2.11.1">2.11.1</h2>
|
66
|
-
|
67
|
-
<h3 id="label-Fixed">Fixed</h3>
|
68
|
-
<ul><li>
|
69
|
-
<p>Fixed coercion error when same entry was included more than once in the
|
70
|
-
same RichText field. <a
|
71
|
-
href="https://github.com/contentful/contentful.rb/pull/194">#194</a></p>
|
72
|
-
</li></ul>
|
73
|
-
|
74
|
-
<h2 id="label-2.11.0">2.11.0</h2>
|
75
|
-
|
76
|
-
<h3 id="label-Added">Added</h3>
|
77
|
-
<ul><li>
|
78
|
-
<p>Added <code>:raise_for_empty_fields</code> configuration option. <a
|
79
|
-
href="https://github.com/contentful/contentful.rb/issues/190">#190</a></p>
|
80
|
-
</li></ul>
|
81
|
-
|
82
|
-
<h3 id="label-Fixed">Fixed</h3>
|
83
|
-
<ul><li>
|
84
|
-
<p>Links in <code>RichText</code> fields, that are published but unreachable,
|
85
|
-
due to not having enough include depth on the request, are now returned as
|
86
|
-
<code>Link</code> objects.</p>
|
87
|
-
</li></ul>
|
88
|
-
|
89
|
-
<h3 id="label-Changed">Changed</h3>
|
90
|
-
<ul><li>
|
91
|
-
<p>Included resources for embedded entries and assets in Rich Text fields are
|
92
|
-
now properly serialized to <code>data.target</code> instead of the top
|
93
|
-
level <code>data</code>.</p>
|
94
|
-
</li></ul>
|
95
|
-
|
96
|
-
<h2 id="label-2.10.1">2.10.1</h2>
|
97
|
-
|
98
|
-
<h3 id="label-Fixed">Fixed</h3>
|
99
|
-
<ul><li>
|
100
|
-
<p>Fixed <code>Marshal.load</code> for entries with unpublished related
|
101
|
-
entries.</p>
|
102
|
-
</li></ul>
|
103
|
-
|
104
|
-
<h2 id="label-2.10.0">2.10.0</h2>
|
105
|
-
|
106
|
-
<p>As <code>RichText</code> moves from <code>alpha</code> to
|
107
|
-
<code>beta</code>, we're treating this as a feature release.</p>
|
108
|
-
|
109
|
-
<h3 id="label-Changed">Changed</h3>
|
110
|
-
<ul><li>
|
111
|
-
<p>Renamed <code>StructuredText</code> to <code>RichText</code>.</p>
|
112
|
-
</li></ul>
|
113
|
-
|
114
|
-
<h2 id="label-2.9.4">2.9.4</h2>
|
115
|
-
|
116
|
-
<h3 id="label-Fixed">Fixed</h3>
|
117
|
-
<ul><li>
|
118
|
-
<p>Fixed incorrect default error message for <code>503 Service
|
119
|
-
Unavailable</code> errors. <a
|
120
|
-
href="https://github.com/contentful/contentful.rb/issues/183">#183</a></p>
|
121
|
-
</li></ul>
|
122
|
-
|
123
|
-
<h2 id="label-2.9.3">2.9.3</h2>
|
124
|
-
|
125
|
-
<h3 id="label-Fixed">Fixed</h3>
|
126
|
-
<ul><li>
|
127
|
-
<p>Added safeguard for re-serialization of <code>StructuredText</code> nodes.</p>
|
128
|
-
</li></ul>
|
129
|
-
|
130
|
-
<h2 id="label-2.9.2">2.9.2</h2>
|
131
|
-
|
132
|
-
<h3 id="label-Added">Added</h3>
|
133
|
-
<ul><li>
|
134
|
-
<p>Added support for <code>StructuredText</code> inline Entry include
|
135
|
-
resolution.</p>
|
136
|
-
</li></ul>
|
137
|
-
|
138
|
-
<h2 id="label-2.9.1">2.9.1</h2>
|
139
|
-
|
140
|
-
<p><strong>Note:</strong> This release includes support for
|
141
|
-
<code>StructuredText</code>, this is an <strong>alpha</strong> feature and
|
142
|
-
changes are to be expected. Further releases of this feature will not
|
143
|
-
increase a major version even if changes are breaking.</p>
|
144
|
-
|
145
|
-
<h3 id="label-Added">Added</h3>
|
146
|
-
<ul><li>
|
147
|
-
<p>Added support for <code>StructuredText</code> field type.</p>
|
148
|
-
</li></ul>
|
149
|
-
|
150
|
-
<h3 id="label-Fixed">Fixed</h3>
|
151
|
-
<ul><li>
|
152
|
-
<p>Fixed <code>DateCoercion</code> when value is already a <code>Date</code>,
|
153
|
-
<code>DateTime</code> or <code>Time</code> object. <a
|
154
|
-
href="https://github.com/contentful/contentful_model/issues/121">contentful_model/#121</a></p>
|
155
|
-
</li></ul>
|
156
|
-
|
157
|
-
<h2 id="label-2.9.0+YANKED">2.9.0 <strong>YANKED</strong></h2>
|
158
|
-
|
159
|
-
<p>Yanked due to faulty release</p>
|
160
|
-
|
161
|
-
<h2 id="label-2.8.1">2.8.1</h2>
|
162
|
-
|
163
|
-
<h3 id="label-Fixed">Fixed</h3>
|
164
|
-
<ul><li>
|
165
|
-
<p>Fixed deeply nested resources now also filter unresolvable entries. <a
|
166
|
-
href="https://github.com/contentful/contentful.rb/issues/177">#177</a></p>
|
167
|
-
</li></ul>
|
168
|
-
|
169
|
-
<h2 id="label-2.8.0">2.8.0</h2>
|
170
|
-
|
171
|
-
<h3 id="label-Added">Added</h3>
|
172
|
-
<ul><li>
|
173
|
-
<p>Added support for <code>sync</code> on environments other than
|
174
|
-
<code>master</code>.</p>
|
175
|
-
</li></ul>
|
176
|
-
|
177
|
-
<h2 id="label-2.7.0">2.7.0</h2>
|
178
|
-
|
179
|
-
<h3 id="label-Added">Added</h3>
|
180
|
-
<ul><li>
|
181
|
-
<p>Added support for <code>radius</code> cropping on the Asset
|
182
|
-
<code>#url</code>.</p>
|
183
|
-
</li></ul>
|
184
|
-
|
185
|
-
<h2 id="label-2.6.0">2.6.0</h2>
|
186
|
-
|
187
|
-
<h3 id="label-Changed">Changed</h3>
|
188
|
-
<ul><li>
|
189
|
-
<p>Makes all routes environment aware. This change is not backwards
|
190
|
-
incompatible.</p>
|
191
|
-
</li></ul>
|
192
|
-
|
193
|
-
<h3 id="label-Added">Added</h3>
|
194
|
-
<ul><li>
|
195
|
-
<p>Added <code>locales</code> endpoint to retrieve locales from an
|
196
|
-
environment.</p>
|
197
|
-
</li></ul>
|
198
|
-
|
199
|
-
<h2 id="label-2.5.0">2.5.0</h2>
|
200
|
-
|
201
|
-
<h3 id="label-Added">Added</h3>
|
202
|
-
<ul><li>
|
203
|
-
<p>Add filtering of invalid entries from API responses.</p>
|
204
|
-
</li></ul>
|
205
|
-
|
206
|
-
<h2 id="label-2.4.0">2.4.0</h2>
|
207
|
-
|
208
|
-
<h3 id="label-Added">Added</h3>
|
209
|
-
<ul><li>
|
210
|
-
<p>Added <code>reuse_entries</code> option to client configuration. This is a
|
211
|
-
performance improvement, which is disabled by default due to backwards
|
212
|
-
compatibility. All users are highly encouraged to enable it and test it in
|
213
|
-
their applications. <a
|
214
|
-
href="https://github.com/contentful/contentful.rb/pull/164">#164</a></p>
|
215
|
-
</li></ul>
|
216
|
-
|
217
|
-
<h2 id="label-2.3.0">2.3.0</h2>
|
218
|
-
|
219
|
-
<h3 id="label-Added">Added</h3>
|
220
|
-
<ul><li>
|
221
|
-
<p>Support for the new query parameters to find incoming links <a
|
222
|
-
href="https://www.contentful.com/developers/docs/references/content-delivery-api/#/reference/search-parameters/links-to-entry">to
|
223
|
-
a specific entry</a> or <a
|
224
|
-
href="https://www.contentful.com/developers/docs/references/content-delivery-api/#/reference/search-parameters/links-to-asset">to
|
225
|
-
a specific asset</a> in a space.</p>
|
226
|
-
</li></ul>
|
227
|
-
|
228
|
-
<h3 id="label-Fixed">Fixed</h3>
|
229
|
-
<ul><li>
|
230
|
-
<p>Fixes coercion issue when <code>DateTime</code> values are
|
231
|
-
<code>nil</code>. <a
|
232
|
-
href="https://github.com/contentful/contentful.rb/issues/148">#148</a></p>
|
233
|
-
</li></ul>
|
234
|
-
|
235
|
-
<h2 id="label-2.2.2">2.2.2</h2>
|
236
|
-
|
237
|
-
<h3 id="label-Fixed">Fixed</h3>
|
238
|
-
<ul><li>
|
239
|
-
<p>Fixed 404 error when <code>details</code> object contains a top level
|
240
|
-
<code>sys</code> key.</p>
|
241
|
-
</li></ul>
|
242
|
-
|
243
|
-
<h2 id="label-2.2.1">2.2.1</h2>
|
244
|
-
|
245
|
-
<h3 id="label-Fixed">Fixed</h3>
|
246
|
-
<ul><li>
|
247
|
-
<p>Fixed an edge case of 404 error having details as a string.</p>
|
248
|
-
</li></ul>
|
249
|
-
|
250
|
-
<h2 id="label-2.2.0">2.2.0</h2>
|
251
|
-
|
252
|
-
<h3 id="label-Added">Added</h3>
|
253
|
-
<ul><li>
|
254
|
-
<p>Added <code>:use_camel_case</code> option to client. <a
|
255
|
-
href="https://github.com/contentful/contentful.rb/issues/142">#142</a></p>
|
256
|
-
</li><li>
|
257
|
-
<p>Added better error handling for all error types.</p>
|
258
|
-
</li></ul>
|
259
|
-
|
260
|
-
<h3 id="label-Fixed">Fixed</h3>
|
261
|
-
<ul><li>
|
262
|
-
<p>Fixed JSON field coercion when field contains other valid JSON elements
|
263
|
-
other than objects at the top level.</p>
|
264
|
-
</li></ul>
|
265
|
-
|
266
|
-
<h2 id="label-2.1.3">2.1.3</h2>
|
267
|
-
|
268
|
-
<h3 id="label-Fixed">Fixed</h3>
|
269
|
-
<ul><li>
|
270
|
-
<p>Fixed Marshalling for custom resources in Arrays. <a
|
271
|
-
href="https://github.com/contentful/contentful.rb/issues/138">#138</a></p>
|
272
|
-
</li></ul>
|
273
|
-
|
274
|
-
<h2 id="label-2.1.2">2.1.2</h2>
|
275
|
-
|
276
|
-
<h3 id="label-Fixed">Fixed</h3>
|
277
|
-
<ul><li>
|
278
|
-
<p>Fixed Marshalling for Arrays with deeply nested resources. <a
|
279
|
-
href="https://github.com/contentful/contentful.rb/issues/138">#138</a></p>
|
280
|
-
</li></ul>
|
281
|
-
|
282
|
-
<h2 id="label-2.1.1">2.1.1</h2>
|
283
|
-
|
284
|
-
<h3 id="label-Fixed">Fixed</h3>
|
285
|
-
<ul><li>
|
286
|
-
<p>Fixed Marshalling for resources that have deeply nested resources. <a
|
287
|
-
href="https://github.com/contentful/contentful.rb/issues/138">#138</a></p>
|
288
|
-
</li></ul>
|
289
|
-
|
290
|
-
<h2 id="label-2.1.0">2.1.0</h2>
|
291
|
-
|
292
|
-
<h3 id="label-Added">Added</h3>
|
293
|
-
<ul><li>
|
294
|
-
<p>Added <code>X-Contentful-User-Agent</code> header for more information.</p>
|
295
|
-
</li></ul>
|
296
|
-
|
297
|
-
<h2 id="label-2.0.3">2.0.3</h2>
|
298
|
-
|
299
|
-
<h3 id="label-Fixed">Fixed</h3>
|
300
|
-
<ul><li>
|
301
|
-
<p><code>Contentful::Array</code> now marshalls properly, respecting all
|
302
|
-
properties <a
|
303
|
-
href="https://github.com/contentful/contentful.rb/issues/132">#132</a></p>
|
304
|
-
</li></ul>
|
305
|
-
|
306
|
-
<h2 id="label-2.0.2">2.0.2</h2>
|
307
|
-
|
308
|
-
<h3 id="label-Fixed">Fixed</h3>
|
309
|
-
<ul><li>
|
310
|
-
<p>Asset File Mapping now uses <code>#internal_resource_locale</code> to use
|
311
|
-
<code>Resource#sys[:locale]</code> if available <a
|
312
|
-
href="https://github.com/contentful/jekyll-contentful-data-import/issues/46">jekyll-contentful-data-import
|
313
|
-
#46</a></p>
|
314
|
-
</li></ul>
|
315
|
-
|
316
|
-
<h2 id="label-2.0.1">2.0.1</h2>
|
317
|
-
|
318
|
-
<h3 id="label-Fixed">Fixed</h3>
|
319
|
-
<ul><li>
|
320
|
-
<p>Fixed Integer/Decimal field serializations <a
|
321
|
-
href="https://github.com/contentful/contentful.rb/issues/125">#125</a></p>
|
322
|
-
</li><li>
|
323
|
-
<p>Fixed File coercion for Localized Assets <a
|
324
|
-
href="https://github.com/contentful/contentful.rb/issues/129">#129</a></p>
|
325
|
-
</li></ul>
|
326
|
-
|
327
|
-
<h2 id="label-2.0.0">2.0.0</h2>
|
328
|
-
|
329
|
-
<p><strong>ATTENTION</strong>: Breaking Changes introduces in order to
|
330
|
-
simplify code and improve the ability to add new features.</p>
|
331
|
-
|
332
|
-
<h3 id="label-Changed">Changed</h3>
|
333
|
-
<ul><li>
|
334
|
-
<p>The removal of the Client and Request objects from the Resource objects,
|
335
|
-
means that for example: Link#resolve and Array#next_page now require the
|
336
|
-
client as a parameter.</p>
|
337
|
-
</li><li>
|
338
|
-
<p>Client#entry now uses /entries?sys.id=ENTRY_ID instead of /entries/ENTRY_ID
|
339
|
-
to properly resolve includes.</p>
|
340
|
-
</li><li>
|
341
|
-
<p>Refactor locale handling code</p>
|
342
|
-
</li><li>
|
343
|
-
<p>Refactor ResourceBuilder</p>
|
344
|
-
</li><li>
|
345
|
-
<p>Update all specs to RSpec 3</p>
|
346
|
-
</li><li>
|
347
|
-
<p>Removed DynamicEntry and Resource</p>
|
348
|
-
</li><li>
|
349
|
-
<p>Moved ContentTypeCache outside of the client into it's own class</p>
|
350
|
-
</li><li>
|
351
|
-
<p>Added new base BaseResource and FieldsResource classes to handle common
|
352
|
-
resource attributes and fields related attributes respectively</p>
|
353
|
-
</li><li>
|
354
|
-
<p>Coercions are now part of ContentType, each Field knows which coercion
|
355
|
-
should be applied depending on Field#type</p>
|
356
|
-
</li><li>
|
357
|
-
<p>Resource #inspect now provides a clearer and better output, without all the
|
358
|
-
noise that was previously there</p>
|
359
|
-
</li><li>
|
360
|
-
<p>CustomResource was removed, now subclasses of Entry should be used instead.</p>
|
361
|
-
</li><li>
|
362
|
-
<p><code>max_include_resolution_depth</code> option added to the client,
|
363
|
-
defaults to 20.</p>
|
364
|
-
</li><li>
|
365
|
-
<p><code>sys</code> properties now match accessors.</p>
|
366
|
-
</li><li>
|
367
|
-
<p><code>fields</code> properties now match accessors.</p>
|
368
|
-
</li><li>
|
369
|
-
<p>Updated LICENSE</p>
|
370
|
-
</li><li>
|
371
|
-
<p>Updated examples</p>
|
372
|
-
</li></ul>
|
373
|
-
|
374
|
-
<h2 id="label-1.2.2">1.2.2</h2>
|
375
|
-
|
376
|
-
<h3 id="label-Fixed">Fixed</h3>
|
377
|
-
<ul><li>
|
378
|
-
<p>Fixed Symbol/Text field serialization when value is <code>null</code> <a
|
379
|
-
href="https://github.com/contentful/contentful.rb/issues/117">#117</a></p>
|
380
|
-
</li></ul>
|
381
|
-
|
382
|
-
<h2 id="label-1.2.1">1.2.1</h2>
|
383
|
-
|
384
|
-
<h3 id="label-Added">Added</h3>
|
385
|
-
<ul><li>
|
386
|
-
<p>Update dependency versions</p>
|
387
|
-
</li></ul>
|
388
|
-
|
389
|
-
<h2 id="label-1.2.0">1.2.0</h2>
|
390
|
-
|
391
|
-
<h3 id="label-Added">Added</h3>
|
392
|
-
<ul><li>
|
393
|
-
<p>Add alias for <code>image_url</code></p>
|
394
|
-
</li></ul>
|
395
|
-
|
396
|
-
<h2 id="label-1.1.1">1.1.1</h2>
|
397
|
-
|
398
|
-
<h3 id="label-Fixed">Fixed</h3>
|
399
|
-
<ul><li>
|
400
|
-
<p>Fix Re-Marshalling of already Un-Marshalled objects</p>
|
401
|
-
</li></ul>
|
402
|
-
|
403
|
-
<h2 id="label-1.1.0">1.1.0</h2>
|
404
|
-
|
405
|
-
<h3 id="label-Added">Added</h3>
|
406
|
-
<ul><li>
|
407
|
-
<p>Add support for <code>select</code> operator in <code>#entries</code> and
|
408
|
-
<code>#assets</code> call</p>
|
409
|
-
</li></ul>
|
410
|
-
|
411
|
-
<h2 id="label-1.0.2">1.0.2</h2>
|
412
|
-
|
413
|
-
<h3 id="label-Fixed">Fixed</h3>
|
414
|
-
<ul><li>
|
415
|
-
<p>Fix Link resolution for Arrays on localized content</p>
|
416
|
-
</li></ul>
|
417
|
-
|
418
|
-
<h3 id="label-Added">Added</h3>
|
419
|
-
<ul><li>
|
420
|
-
<p>Add <code>entry?</code> method to resources to easily detect entries</p>
|
421
|
-
</li><li>
|
422
|
-
<p>Add missing documentation for <code>#locales</code> method</p>
|
423
|
-
</li></ul>
|
424
|
-
|
425
|
-
<h2 id="label-1.0.1">1.0.1</h2>
|
426
|
-
|
427
|
-
<h3 id="label-Fixed">Fixed</h3>
|
428
|
-
<ul><li>
|
429
|
-
<p>Fix Link resolution on localized content</p>
|
430
|
-
</li></ul>
|
431
|
-
|
432
|
-
<h3 id="label-Changed">Changed</h3>
|
433
|
-
<ul><li>
|
434
|
-
<p>Removed dependency lock specific for Ruby < 2.0 support</p>
|
435
|
-
</li></ul>
|
436
|
-
|
437
|
-
<h2 id="label-1.0.0">1.0.0</h2>
|
438
|
-
|
439
|
-
<p><strong>ATTENTION</strong>: Breaking changes on how JSON Fields are parsed.
|
440
|
-
All keys are now symbolized, including nested hashes. Parsing errors have
|
441
|
-
been fixed, particularly for <code>array</code>, <code>null</code> and
|
442
|
-
<code>boolean</code> present on the first level of the JSON field. Also, on
|
443
|
-
release 0.11.0, it was fixed that JSON Fields were being treated as
|
444
|
-
locales. This change increases consistency for the SDK, treating everything
|
445
|
-
the same way. We strive for consistency and quality in our tools.</p>
|
446
|
-
|
447
|
-
<p>The following <code>diff</code> shows previous and current state. This is
|
448
|
-
the contents of the JSON Field we test this feature against.</p>
|
449
|
-
|
450
|
-
<pre class="code ruby"><code class="ruby"><span class='op'>-</span> <span class='lbrace'>{</span><span class='symbol'>:null</span><span class='op'>=></span><span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_end'>"</span></span><span class='comma'>,</span>
|
451
|
-
<span class='op'>-</span> <span class='symbol'>:text</span><span class='op'>=></span><span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>some text</span><span class='tstring_end'>"</span></span><span class='comma'>,</span>
|
452
|
-
<span class='op'>-</span> <span class='symbol'>:array</span><span class='op'>=></span><span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>[1, 2, 3]</span><span class='tstring_end'>"</span></span><span class='comma'>,</span>
|
453
|
-
<span class='op'>-</span> <span class='symbol'>:number</span><span class='op'>=></span><span class='int'>123</span><span class='comma'>,</span>
|
454
|
-
<span class='op'>-</span> <span class='symbol'>:object</span><span class='op'>=></span>
|
455
|
-
<span class='op'>-</span> <span class='lbrace'>{</span><span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>null</span><span class='tstring_end'>"</span></span><span class='op'>=></span><span class='kw'>nil</span><span class='comma'>,</span>
|
456
|
-
<span class='op'>-</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>text</span><span class='tstring_end'>"</span></span><span class='op'>=></span><span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>bar</span><span class='tstring_end'>"</span></span><span class='comma'>,</span>
|
457
|
-
<span class='op'>-</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>array</span><span class='tstring_end'>"</span></span><span class='op'>=></span><span class='lbracket'>[</span><span class='int'>1</span><span class='comma'>,</span> <span class='int'>2</span><span class='comma'>,</span> <span class='int'>3</span><span class='rbracket'>]</span><span class='comma'>,</span>
|
458
|
-
<span class='op'>-</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>number</span><span class='tstring_end'>"</span></span><span class='op'>=></span><span class='int'>123</span><span class='comma'>,</span>
|
459
|
-
<span class='op'>-</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>object</span><span class='tstring_end'>"</span></span><span class='op'>=></span><span class='lbrace'>{</span><span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>foo</span><span class='tstring_end'>"</span></span><span class='op'>=></span><span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>bar</span><span class='tstring_end'>"</span></span><span class='rbrace'>}</span><span class='comma'>,</span>
|
460
|
-
<span class='op'>-</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>boolean</span><span class='tstring_end'>"</span></span><span class='op'>=></span><span class='kw'>false</span><span class='rbrace'>}</span><span class='comma'>,</span>
|
461
|
-
<span class='op'>-</span> <span class='symbol'>:boolean</span><span class='op'>=></span><span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>true</span><span class='tstring_end'>"</span></span><span class='rbrace'>}</span>
|
462
|
-
<span class='op'>+</span> <span class='lbrace'>{</span><span class='symbol'>:null</span><span class='op'>=></span><span class='kw'>nil</span><span class='comma'>,</span>
|
463
|
-
<span class='op'>+</span> <span class='symbol'>:text</span><span class='op'>=></span><span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>some text</span><span class='tstring_end'>"</span></span><span class='comma'>,</span>
|
464
|
-
<span class='op'>+</span> <span class='symbol'>:array</span><span class='op'>=></span><span class='lbracket'>[</span><span class='int'>1</span><span class='comma'>,</span> <span class='int'>2</span><span class='comma'>,</span> <span class='int'>3</span><span class='rbracket'>]</span><span class='comma'>,</span>
|
465
|
-
<span class='op'>+</span> <span class='symbol'>:number</span><span class='op'>=></span><span class='int'>123</span><span class='comma'>,</span>
|
466
|
-
<span class='op'>+</span> <span class='symbol'>:object</span><span class='op'>=></span>
|
467
|
-
<span class='op'>+</span> <span class='lbrace'>{</span><span class='symbol'>:null</span><span class='op'>=></span><span class='kw'>nil</span><span class='comma'>,</span>
|
468
|
-
<span class='op'>+</span> <span class='symbol'>:text</span><span class='op'>=></span><span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>bar</span><span class='tstring_end'>"</span></span><span class='comma'>,</span>
|
469
|
-
<span class='op'>+</span> <span class='symbol'>:array</span><span class='op'>=></span><span class='lbracket'>[</span><span class='int'>1</span><span class='comma'>,</span> <span class='int'>2</span><span class='comma'>,</span> <span class='int'>3</span><span class='rbracket'>]</span><span class='comma'>,</span>
|
470
|
-
<span class='op'>+</span> <span class='symbol'>:number</span><span class='op'>=></span><span class='int'>123</span><span class='comma'>,</span>
|
471
|
-
<span class='op'>+</span> <span class='symbol'>:object</span><span class='op'>=></span><span class='lbrace'>{</span><span class='symbol'>:foo</span><span class='op'>=></span><span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>bar</span><span class='tstring_end'>"</span></span><span class='rbrace'>}</span><span class='comma'>,</span>
|
472
|
-
<span class='op'>+</span> <span class='symbol'>:boolean</span><span class='op'>=></span><span class='kw'>false</span><span class='rbrace'>}</span><span class='comma'>,</span>
|
473
|
-
<span class='op'>+</span> <span class='symbol'>:boolean</span><span class='op'>=></span><span class='kw'>true</span><span class='rbrace'>}</span>
|
474
|
-
</code></pre>
|
475
|
-
|
476
|
-
<h3 id="label-Fixed">Fixed</h3>
|
477
|
-
<ul><li>
|
478
|
-
<p>Fixed JSON Field Parsing <a
|
479
|
-
href="https://github.com/contentful/contentful.rb/issues/96">#96</a></p>
|
480
|
-
</li></ul>
|
481
|
-
|
482
|
-
<h2 id="label-0.12.0">0.12.0</h2>
|
483
|
-
|
484
|
-
<h3 id="label-Added">Added</h3>
|
485
|
-
<ul><li>
|
486
|
-
<p>Added Rate Limit automatic handling</p>
|
487
|
-
</li></ul>
|
488
|
-
|
489
|
-
<h2 id="label-0.11.0">0.11.0</h2>
|
490
|
-
|
491
|
-
<h3 id="label-Fixed">Fixed</h3>
|
492
|
-
<ul><li>
|
493
|
-
<p>Fixed Locale handling <a
|
494
|
-
href="https://github.com/contentful/contentful.rb/issues/98">#98</a></p>
|
495
|
-
</li></ul>
|
496
|
-
|
497
|
-
<h2 id="label-0.10.0">0.10.0</h2>
|
498
|
-
|
499
|
-
<h3 id="label-Added">Added</h3>
|
500
|
-
<ul><li>
|
501
|
-
<p>Added <code>:fl</code> parameter to <code>Asset#image_url</code> to support
|
502
|
-
<code>progressive</code> File Layering</p>
|
503
|
-
</li><li>
|
504
|
-
<p>Added Marshalling methods to <code>Asset</code> <a
|
505
|
-
href="https://github.com/contentful/contentful.rb/issues/88">#88</a></p>
|
506
|
-
</li></ul>
|
507
|
-
|
508
|
-
<h2 id="label-Changed">Changed</h2>
|
509
|
-
<ul><li>
|
510
|
-
<p>Changed 503 error message to a less confusing one.</p>
|
511
|
-
</li></ul>
|
512
|
-
|
513
|
-
<h2 id="label-0.9.0">0.9.0</h2>
|
514
|
-
|
515
|
-
<h3 id="label-Added">Added</h3>
|
516
|
-
<ul><li>
|
517
|
-
<p>Added <code>Contentful::Resource::CustomResource</code> to automatically
|
518
|
-
map fields to accessors <a
|
519
|
-
href="https://github.com/contentful/contentful.rb/issues/79">#79</a></p>
|
520
|
-
</li><li>
|
521
|
-
<p>Added <code>#raw</code> to <code>Contentful::Resource</code> for easier
|
522
|
-
Marshalling</p>
|
523
|
-
</li><li>
|
524
|
-
<p>Added documentation regarding locales</p>
|
525
|
-
</li></ul>
|
526
|
-
|
527
|
-
<h3 id="label-Changed">Changed</h3>
|
528
|
-
<ul><li>
|
529
|
-
<p>Changed Documentation Format to YARD</p>
|
530
|
-
</li></ul>
|
531
|
-
|
532
|
-
<h3 id="label-Fixed">Fixed</h3>
|
533
|
-
<ul><li>
|
534
|
-
<p>Fixed Marshalling for Custom Resource Classes <a
|
535
|
-
href="https://github.com/contentful/contentful.rb/issues/80">#80</a></p>
|
536
|
-
</li></ul>
|
537
|
-
|
538
|
-
<h2 id="label-0.8.0">0.8.0</h2>
|
539
|
-
|
540
|
-
<h3 id="label-Changed">Changed</h3>
|
541
|
-
<ul><li>
|
542
|
-
<p>Unified Locale Handling <a
|
543
|
-
href="https://github.com/contentful/contentful.rb/issues/73">#73</a></p>
|
544
|
-
</li></ul>
|
545
|
-
|
546
|
-
<h2 id="label-0.7.0">0.7.0</h2>
|
547
|
-
|
548
|
-
<h3 id="label-Added">Added</h3>
|
549
|
-
<ul><li>
|
550
|
-
<p>Add support for querying a field's <code>linkType</code> <a
|
551
|
-
href="https://github.com/contentful/contentful.rb/pull/75">#75</a></p>
|
552
|
-
</li><li>
|
553
|
-
<p>Handles multiple locales when requesting with <code>locale:
|
554
|
-
"*"</code> <a
|
555
|
-
href="https://github.com/contentful-labs/contentful_middleman/issues/39">contentful_middleman/#39</a></p>
|
556
|
-
</li></ul>
|
557
|
-
|
558
|
-
<h3 id="label-Fixed">Fixed</h3>
|
559
|
-
<ul><li>
|
560
|
-
<p>Fix Custom Resource creation parameters <a
|
561
|
-
href="https://github.com/contentful/contentful.rb/issues/69">#69</a></p>
|
562
|
-
</li><li>
|
563
|
-
<p><code>Sync API</code> now works with <code>:raw_mode</code> enabled <a
|
564
|
-
href="https://github.com/contentful/contentful.rb/issues/68">#68</a></p>
|
565
|
-
</li><li>
|
566
|
-
<p>Bugfix for <code>Field.items</code> <a
|
567
|
-
href="https://github.com/contentful/contentful.rb/pull/76">#76</a></p>
|
568
|
-
</li></ul>
|
569
|
-
|
570
|
-
<h2 id="label-0.6.0">0.6.0</h2>
|
571
|
-
|
572
|
-
<h3 id="label-Fixed">Fixed</h3>
|
573
|
-
<ul><li>
|
574
|
-
<p>Parse nested locales in <code>AssetFields</code> <a
|
575
|
-
href="https://github.com/contentful/contentful.rb/pull/66">#66</a></p>
|
576
|
-
</li></ul>
|
577
|
-
|
578
|
-
<h3 id="label-Other">Other</h3>
|
579
|
-
<ul><li>
|
580
|
-
<p>Update http.rb dependency to v0.8.0</p>
|
581
|
-
</li><li>
|
582
|
-
<p>Fix typo in service unavailable error message <a
|
583
|
-
href="https://github.com/contentful/contentful.rb/pull/61">#61</a></p>
|
584
|
-
</li><li>
|
585
|
-
<p>Enable gzip encoding by default <a
|
586
|
-
href="https://github.com/contentful/contentful.rb/pull/62">#62</a></p>
|
587
|
-
</li></ul>
|
588
|
-
|
589
|
-
<h2 id="label-0.5.0">0.5.0</h2>
|
590
|
-
|
591
|
-
<h3 id="label-Fixed">Fixed</h3>
|
592
|
-
<ul><li>
|
593
|
-
<p>Better handling of 503 responses from the API <a
|
594
|
-
href="https://github.com/contentful/contentful.rb/pull/50">#50</a></p>
|
595
|
-
</li><li>
|
596
|
-
<p>Better handling of 429 responses from the API <a
|
597
|
-
href="https://github.com/contentful/contentful.rb/pull/51">#51</a></p>
|
598
|
-
</li></ul>
|
599
|
-
|
600
|
-
<h3 id="label-Added">Added</h3>
|
601
|
-
<ul><li>
|
602
|
-
<p><code>focus</code> and <code>fit</code> to image handling parameters <a
|
603
|
-
href="https://github.com/contentful/contentful.rb/pull/44">#44</a></p>
|
604
|
-
</li></ul>
|
605
|
-
|
606
|
-
<h2 id="label-0.4.0">0.4.0</h2>
|
607
|
-
|
608
|
-
<h3 id="label-Added">Added</h3>
|
609
|
-
<ul><li>
|
610
|
-
<p>Proxy support</p>
|
611
|
-
</li></ul>
|
612
|
-
|
613
|
-
<h2 id="label-0.3.5">0.3.5</h2>
|
614
|
-
|
615
|
-
<h3 id="label-Added">Added</h3>
|
616
|
-
<ul><li>
|
617
|
-
<p>Logging of requests</p>
|
618
|
-
</li></ul>
|
619
|
-
|
620
|
-
<h3 id="label-Fixed">Fixed</h3>
|
621
|
-
<ul><li>
|
622
|
-
<p>Cleaner and better error handling</p>
|
623
|
-
</li></ul>
|
624
|
-
|
625
|
-
<h3 id="label-Other">Other</h3>
|
626
|
-
<ul><li>
|
627
|
-
<p>Code cleanup</p>
|
628
|
-
</li><li>
|
629
|
-
<p>Remove encoding strings from the source code files</p>
|
630
|
-
</li></ul>
|
631
|
-
|
632
|
-
<h2 id="label-0.3.4">0.3.4</h2>
|
633
|
-
|
634
|
-
<h3 id="label-Added">Added</h3>
|
635
|
-
<ul><li>
|
636
|
-
<p>Optional gzip compression</p>
|
637
|
-
</li></ul>
|
638
|
-
|
639
|
-
<h2 id="label-0.3.3">0.3.3</h2>
|
640
|
-
|
641
|
-
<h3 id="label-Fixed">Fixed</h3>
|
642
|
-
<ul><li>
|
643
|
-
<p>Fix: handle 503 errors from the API</p>
|
644
|
-
</li></ul>
|
645
|
-
|
646
|
-
<h2 id="label-0.3.2">0.3.2</h2>
|
647
|
-
|
648
|
-
<h3 id="label-Added">Added</h3>
|
649
|
-
<ul><li>
|
650
|
-
<p>Default property to locale, #23</p>
|
651
|
-
</li></ul>
|
652
|
-
|
653
|
-
<h2 id="label-0.3.1">0.3.1</h2>
|
654
|
-
|
655
|
-
<h3 id="label-Fixed">Fixed</h3>
|
656
|
-
<ul><li>
|
657
|
-
<p>Return nil when a value is not supplied, fixes #18</p>
|
658
|
-
</li><li>
|
659
|
-
<p>Do not parse empty responses</p>
|
660
|
-
</li></ul>
|
661
|
-
|
662
|
-
<h3 id="label-Other">Other</h3>
|
663
|
-
<ul><li>
|
664
|
-
<p>Remove CGI dependency for http Gem</p>
|
665
|
-
</li></ul>
|
666
|
-
|
667
|
-
<h2 id="label-0.3.0">0.3.0</h2>
|
668
|
-
|
669
|
-
<h3 id="label-Added">Added</h3>
|
670
|
-
<ul><li>
|
671
|
-
<p>Support Synchronization</p>
|
672
|
-
</li></ul>
|
673
|
-
|
674
|
-
<h2 id="label-0.2.0">0.2.0</h2>
|
675
|
-
|
676
|
-
<h3 id="label-Added">Added</h3>
|
677
|
-
<ul><li>
|
678
|
-
<p>Introduce new :entry_mapping configuration to enable custom Entry classes
|
679
|
-
based on ContentTypes</p>
|
680
|
-
</li></ul>
|
681
|
-
|
682
|
-
<h3 id="label-Other">Other</h3>
|
683
|
-
<ul><li>
|
684
|
-
<p>Update HTTP gem dependency to 0.6</p>
|
685
|
-
</li><li>
|
686
|
-
<p>Convert arrays in query values to strings, separated by comma</p>
|
687
|
-
</li></ul>
|
688
|
-
|
689
|
-
<h2 id="label-0.1.3">0.1.3</h2>
|
690
|
-
|
691
|
-
<h3 id="label-Fixed">Fixed</h3>
|
692
|
-
<ul><li>
|
693
|
-
<p>Better link inclusion processing, prevents “stack level to deep” errors</p>
|
694
|
-
</li></ul>
|
695
|
-
|
696
|
-
<h2 id="label-0.1.2">0.1.2</h2>
|
697
|
-
|
698
|
-
<h3 id="label-Fixed">Fixed</h3>
|
699
|
-
<ul><li>
|
700
|
-
<p>The way all content types are retrieved</p>
|
701
|
-
</li></ul>
|
702
|
-
|
703
|
-
<h2 id="label-0.1.1">0.1.1</h2>
|
704
|
-
|
705
|
-
<h3 id="label-Fixed">Fixed</h3>
|
706
|
-
<ul><li>
|
707
|
-
<p>Bug that prevented fields with multiple resources to be parsed correctly</p>
|
708
|
-
</li></ul>
|
709
|
-
|
710
|
-
<h3 id="label-Other">Other</h3>
|
711
|
-
<ul><li>
|
712
|
-
<p>Restrict HTTP gem dependency to < 0.6</p>
|
713
|
-
</li></ul>
|
714
|
-
|
715
|
-
<h2 id="label-0.1.0">0.1.0</h2>
|
716
|
-
<ul><li>
|
717
|
-
<p>Initial release.</p>
|
718
|
-
</li></ul>
|
719
|
-
</div></div>
|
720
|
-
|
721
|
-
<div id="footer">
|
722
|
-
Generated on Tue Apr 9 10:49:55 2019 by
|
723
|
-
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
724
|
-
0.9.18 (ruby-2.5.3).
|
725
|
-
</div>
|
726
|
-
|
727
|
-
</div>
|
728
|
-
</body>
|
729
|
-
</html>
|