d5f7af9f0bfe80dede3f4f700516158692f13fbf
[yaffs-website] / web / modules / contrib / blazy / CHANGELOG.txt
1
2 Blazy 8.x-1.0-dev, 2017-01-24
3 -----------------------------
4 - Split BlazyDefault::imageSettings() into BlazyDefault::baseImageSettings().
5 - Added media_attributes to position media container properly with aspect ratio.
6
7 Blazy 8.x-1.0-dev, 2017-01-19
8 -----------------------------
9 - A couple of cosmetic fixes.
10
11 Blazy 8.x-1.0-dev, 2017-01-16
12 -----------------------------
13 - #2841316 by gausarts, tjwelde: User error: "item" is an invalid render array
14   key.
15 - #2843449 by gausarts, Jaesin: Consider adding `configure: blazy.settings` to
16   .info.yml on blazy_ui
17
18 Blazy 8.x-1.0-dev, 2016-12-27
19 -----------------------------
20 - Fixed for broken grid when the theme has no CSS box-sizing rules.
21 - Added blazy_settings_alter() to programtically alter settings prior to being
22   processed by field formatters.
23 - Added Object.assign to use modern native extend before fallback to custom.
24 - #2838213 by gausarts: Use vanilla JS.
25
26 Blazy 8.x-1.0-dev, 2016-12-20
27 -----------------------------
28 - Decoupled Views stuffs from Blazy into BlazyViews.
29 - Simplified media switch player JS.
30 - Fixed for schema error with double and float insanity at sub-modules.
31 - Simplified Blazy::buildUrl() to remove image_style $modifier assumption, and
32   let the actual extender use regular image_style override instead. GridStack
33   and Mason should update this accordingly.
34 - Added Media switcher "Image rendered by its formatter" option to render images
35   as is for a special formatter with fieldable entities like Media, or
36   Paragraphs formatters such as with Image Link Formatter.
37 - Refined select #options conditions.
38 - Removed some complex form states to use custom JS with CSS visibility instead.
39 - Allowed disabling Aspect ratio option which is not relevant for fixed grids
40   like Mason or GridStack. Alo image_style option such as with GridStack multi-
41   image-style grids field formatters.
42 - Decoupled iframe related attributes into Blazy::buildIframeAttributes().
43
44 Blazy 8.x-1.0-dev, 2016-12-12
45 -----------------------------
46 - #2834759 by DuneBL: Allow missing image.
47 - Decoupled base entity reference formatter without field supports into
48   \Drupal\blazy\Dejavu\BlazyEntityBase to allow a simple ER formatter.
49 - Added form--style- classes for easy decluterring of Blazy/ Slick form which is
50   not easy with form states.
51 - Changed library weights.
52 - Moved Colorbox mobile dimension check outside the loop.
53 - Updated blazy.admin.js to declutter options which are not properly managed
54   by form states.
55
56 Blazy 8.x-1.0-dev, 2016-12-09
57 -----------------------------
58 - Supported Media Entity to set dimensions once to reduce method calls.
59 - Simplified BlazyManager::setDimensionsOnce() to support Media Entity, etc.
60 - Cleaned out deprecated methods which were already merged into theme_blazy():
61   BlazyManager::getUrlBreakpoints()
62   BlazyManager::getUrlDimensions()
63   BlazyManager::getMediaSwitch()
64
65 Blazy 8.x-1.0-dev, 2016-12-07
66 -----------------------------
67 - Improved settings lightbox to reduce method calls for View fields, and Entity
68   Browser plugins with tons of images.
69
70 Blazy 8.x-1.0-dev, 2016-12-05
71 -----------------------------
72 - Fixed for coding standards.
73 - Fixed for a few admin CSS for small device.
74 - Fixed for settings lightbox due to old approach with boolean, not string.
75 - Moved Grid settings from the first Grid item into theme_item_list() context.
76
77 Blazy 8.x-1.0-dev, 2016-11-29
78 -----------------------------
79 - Marked it Beta5.
80 - Renamed BlazyGrid::buildGrid() into BlazyGrid::build()
81   Renamed BlazyLightbox::switchMedia() into BlazyLightbox::build()
82   Both to get consistent with BlazyMedia::build().
83 - Moved Slick Video dimensions into BlazyVideoTrait as this is only used by
84   Slick Video, not necessarily Blazy.
85 - Moved Blazy #cache property back into BlazyManager to reduce complexity at
86   preprocess since this is more module feature than custom code.
87
88 Blazy 8.x-1.0-dev, 2016-11-28
89 -----------------------------
90 - Added BlazyGrid doc comments.
91 - Cleaned up unused imports, and no-longer relevant stuffs.
92
93 Blazy 8.x-1.0-dev, 2016-11-27
94 -----------------------------
95 - Fixed for fatal error with disconnected internet when ME Facebook kicks in,
96   and resorted to static thumbnails to avoid broken displays instead.
97
98 Blazy 8.x-1.0-dev, 2016-11-26
99 -----------------------------
100 - Added doc comments.
101 - Added basic support for other media entity: Instagram, Twitter, etc.
102 - Cleaned up variables.
103
104 Blazy 8.x-1.0-dev, 2016-11-24
105 -----------------------------
106 - Removed unwanted [data-LIGHTBOX-gallery] attributes from Views wrapper when
107   the Views style already supports Grid gallery, such as Blazy, Slick Browser,
108   or Slick Views with Grid display.
109
110 Blazy 8.x-1.0-dev, 2016-11-23
111 -----------------------------
112 - Decluttered Blazy form when Vanilla is enabled.
113 - Added empty option for Blazy Views field for Lightbox image style.
114 - Fixed 404 warning for when Video thumbnail is missing.
115 - Cleaned out BlazyManager::buildDataBlazy() as top-level attributes cannot be
116   inherited by child elements with irregular image sizes. This is now only
117   relevant for CSS background since Blazy v1.6.0.
118 - Fixed for Aspect ratio and Breakpoints options being disabled/invisible when
119   Responsive image not installed.
120
121 Blazy 8.x-1.0-dev, 2016-11-21
122 -----------------------------
123 - Cleaned up Entity Reference field options from less relevant options. If you
124   need to bring them back, or clean out more, implement
125   hook_blazy_excluded_field_options_alter().
126   The excluded fields:
127   field_document_size field_id field_media_in_library field_mime_type
128   field_source field_tweet_author field_tweet_id field_tweet_url
129   field_media_video_embed_field field_instagram_shortcode field_instagram_url
130 - Fixed for lightbox library.
131 - Added Lightbox video style to replace Dimension option to allow swiping
132   video lightbox such as PhotoSwipe.
133 - Removed hook_NAMESPACE_image_alter() into hook_blazy_alter() to swap all
134   Blazy-related image, including Slick, etc., once.
135 - Fixed for duplicated grid__content class.
136
137 Blazy 8.x-1.0-dev, 2016-11-17
138 -----------------------------
139 - Made lightboxes easier to extend.
140 - Decoupled grid utilities into \Drupal\blazy\BlazyGrid.
141 - Decoupled lightbox utilities into \Drupal\blazy\BlazyLightbox.
142 - Added missing Lightbox image style for Views field.
143 - Moved BlazyAdminFormatterBase::mediaSwitchForm() into BlazyAdminBase to re-use
144   for Views fields outside field formatters.
145 - Fixed for regression for when no Image style is provided.
146
147 Blazy 8.x-1.0-dev, 2016-11-12
148 -----------------------------
149 - #2752865 by tjwelde, lilee, killua99: Support PICTURE element for the
150   responsive image.
151
152 Blazy 8.x-1.0-dev, 2016-11-10
153 -----------------------------
154 - Triggered packager.
155 - Added Views style plugin Blazy Grid.
156 - Added [data-blazy] attribute to Views container if having Blazy Views fields.
157 - Fixed for Blazy regression being overriden by empty breakpoints.
158
159 Blazy 8.x-1.0-dev, 2016-11-09
160 -----------------------------
161 - A few more cleanups.
162 - #2825706 by mErilainen: Invalid translation language.
163 - Removed unwanted Grid and Display style options from non-multi-value fields.
164 - A few cleanups, typos, descriptions, etc.
165
166 Blazy 8.x-1.0-dev, 2016-10-31
167 -----------------------------
168 - Added support for multi-breakpoint aspect ratio with irregular sizes.
169 - Added blazy.column.css.
170 - Optimized blazy.grid.css.
171 - Added Display style to have a pure and simple CSS Masonry like grid display,
172   and Grid Foundation from within Blazy formatters, not only Slick.
173 - Moved grid form into BlazyAdminBase for re-usability by Blazy, not only Slick.
174 - Added support for video colorbox.
175 - Added colorbox video gallery support when using Blazy Views fields.
176 - Fixed regression with numeric aspect ratio.
177
178 Blazy 8.x-1.0-dev, 2016-10-25
179 -----------------------------
180 - Minified please. Never commit anything when you are tired.
181 - Added optional "Blazy Image with Media" formatter to retain VEM/ME within
182   image/file ER environment if VEM/ME is installed.
183 - Added optional supports for Media Entity when using BlazyViewsFieldFile().
184 - Deprecated methods for clarity and to reduce road blocks to theme_blazy():
185   o BlazyManager::getUrlDimensions() for Blazy::buildUrl()
186   o BlazyManager::getUrlBreakpoints() for Blazy::buildBreakpointAttributes()
187   o BlazyManager::getDescriptors() for BlazyManager::widthFromDescriptors()
188
189 - Decoupled Blazy service from BlazyManager to reduce complexity. This allows
190   moving individual item methods into Blazy out of the BlazyManager so to use
191   theme_blazy() doesn't need to travel around into BlazyManager::getImage().
192 - Updated blazy JS files.
193 - Fixed for the new "Use CSS background" option with multi-serving images.
194 - Moved Slick grid into Blazy to be re-usable for divities, not only list.
195 - Moved Blazy Views field library to hook_views_pre_render() to reduce function
196   calls.
197 - Re-used Views field image and entity view builder approach for Slick Browser.
198 - Added Twig block section for easy partial extensions, and reduce dups.
199
200 Blazy 8.x-1.0-dev, 2016-09-29
201 -----------------------------
202 - Marked it Beta4.
203 - Fixed for Twig indentation.
204 - Fixed for Undefined index: <No caching> in
205   Drupal\blazy\Form\BlazyAdminFormatterBase->settingsSummary() (line 296 ...
206 - Moved re-usable methods from BlazyEntityReferenceBase into BlazyEntityTrait.
207 - Remove Twig spaceless.
208 - Added optional Views field plugins for File and Media entity.
209
210 Blazy 8.x-1.0-dev, 2016-09-07
211 -----------------------------
212 - Marked it Beta3.
213 - Added "Use CSS background" option.
214
215 Blazy 8.x-1.0-dev, 2016-09-05
216 -----------------------------
217 - Refined form elements and summaries.
218
219 Blazy 8.x-1.0-dev, 2016-08-30
220 -----------------------------
221 - Added video support to the main background/stage for Slick Paragraphs which
222   is normally image.
223 - Fixed for BlazyAdminFormatterBase::getFieldOptions() target_type.
224
225 Blazy 8.x-1.0-dev, 2016-08-29
226 -----------------------------
227 - Added lightbox captions and use CSS background options for Slick Media.
228 - Made BlazyEntityReferenceBase::getOverlay() do something useful by default.
229 - Added entity_type at BlazyEntityReferenceBase::getScopedFormElements().
230 - Fixed for VEF integration with failing thumbnail downloads.
231 - Changed Cache option to No caching by default.
232 - A few cleanups.
233
234 Blazy 8.x-1.0-dev, 2016-08-27
235 -----------------------------
236 - #2778615 by DuneBL: A notice is popping up without image style.
237 - Allowed a few reasonable HTML tags within H2.slide__title.
238 - A few cleanups.
239
240 Blazy 8.x-1.0-dev, 2016-08-03
241 -----------------------------
242 - #2768463 by chr.fritsch: Add libraries support.
243 - Fixed for lightbox custom caption form states.
244
245 Blazy 8.x-1.0-dev, 2016-07-15
246 -----------------------------
247 - #2766665 by gausarts: Support plain iframe.
248
249 Blazy 8.x-1.0-dev, 2016-07-14
250 -----------------------------
251 - #2750823 by royal121: Schema errors with slick.
252
253 Blazy 8.x-1.0-dev, 2016-06-27
254 -----------------------------
255 - Removed deprecated @file docblock as per [#2665992], [#2304909].
256 - Cleaned up options.
257
258 Blazy 8.x-1.0-dev, 2016-06-16
259 -----------------------------
260 - Fixed for empty values at BlazyStylePluginBase::getFieldString().
261 - #2749071 by agx: Empty image alt with Responsive image.
262
263 Blazy 8.x-1.0-dev, 2016-06-13
264 -----------------------------
265 - Added lightbox caption option.
266
267 Blazy 8.x-1.0-dev, 2016-06-09
268 -----------------------------
269 - Fixed for .media--loading.
270 - Fixed for Slick CSS background regression.
271
272 Blazy 8.x-1.0-dev, 2016-06-08
273 -----------------------------
274 - Fixed for broken Responsive image.
275
276 Blazy 8.x-1.0-dev, 2016-06-07
277 -----------------------------
278 - Removed the possessive CSS background taken over by Blazy, since Slick can now
279   work with unslick CSS background.
280
281 Blazy 8.x-1.0-dev, 2016-05-10
282 -----------------------------
283 - Added default sizes.
284
285 Blazy 8.x-1.0-dev, 2016-05-09
286 -----------------------------
287 - Removed redundant Preloader option since the classes are within image
288   containers. Maybe more reasonable for Views later which can text, images, etc.
289 - Added support for non-lazyloaded images such as Slick carousel.
290
291 Blazy 8.x-1.0-dev, 2016-05-07
292 -----------------------------
293 - Fixed for Overlays regression.
294
295 Blazy 8.x-1.0-dev, 2016-05-06
296 -----------------------------
297 - #2719541 by gausarts, scoff: Fallback to default Media entity thumbnail when
298   Main image empty.
299
300 Blazy 8.x-1.0-dev, 2016-05-06
301 -----------------------------
302 - Fixed for broken Image to iframe switcher by previous updates.
303 - #2719541 by gausarts, scoff: Fallback to default Media entity thumbnail when
304   Main image empty.
305 - Fixed for Undefined index: target_bundles when accessing Media entity field
306   options from within Views UI.
307
308 Blazy 8.x-1.0-dev, 2016-05-05
309 -----------------------------
310 - Issue #2716765: Map or rework breakpoints into srcset as per v1.6.0.
311 - Removed Retina option since it is now possible with SRCSET descriptors.
312 - Added aspect ratio support for multi-breakpoint images.
313 - Made efficient blazy_preprocess_field().
314
315 Blazy 8.x-1.0-dev, 2016-04-22
316 -----------------------------
317 - Fixed for media_iframe typo, should be media__iframe.
318
319 Blazy 8.x-1.0-dev, 2016-04-11
320 -----------------------------
321 - Added support for entity_reference_entity_view and all slick formatters
322   to be overlays/nested sliders such as from within Slick views.
323
324 Blazy 8.x-1.0-dev, 2016-04-09
325 -----------------------------
326 - Added support for old video embed field's syntax with html_tag.
327
328 Blazy 8.x-1.0-dev, 2016-04-08
329 -----------------------------
330 - Fixed for JS error.
331 - A few cleanups.
332
333 Blazy 8.x-1.0-dev, 2016-04-06
334 -----------------------------
335 - A couple of fixes.
336 - Prepared optional supports for Video embed field.
337 - Ported Lightbox video dimension option to fix for colorbox videos.
338 - Added support for unmanaged file such as VEF.
339 - Moved [data-thumb] out of IMG tag into .media container, since IMG is optional
340   or can be removed when "Use CSS background" option is selected. This allows
341   flexibility with Slick thumbnail hover/grid as well when the option is on.
342   Affected:
343   - blazy.photobox.min.js.
344
345 Blazy 8.x-1.0-dev, 2016-04-04
346 -----------------------------
347 - Added support for video_embed_field via BlazyStylePluginBase.
348 - Added support for overlay with nested slicks via BlazyStylePluginBase.
349 - Added support to turn images into CSS background images.
350
351 Blazy 8.x-1.0-dev, 2016-04-03
352 -----------------------------
353 - Added composer.json.
354 - Prepared Media entity supports.
355 - Added .js-media--ratio to solve hidden blazies such as Slick carousels within
356   hidden containers/ Ultimenu regions.
357 - Fixed for undefined index notices.
358
359 Blazy 8.x-1.0-dev, 2016-03-31
360 -----------------------------
361 - A few cleanups and fixes with multiple blazy instances, etc.
362
363 Blazy 8.x-1.0-dev, 2016-03-29
364 -----------------------------
365 - A few fixes with item class options, etc.
366 - Added fallback for missing $settings['item_id'].
367
368 Blazy 8.x-1.0-dev, 2016-03-28
369 -----------------------------
370 - Refined integration with sub-modules.
371 - Moved generic method BlazyManager::buildSkins() BlazyManager::getHtmlId() into
372   BlazyManagerBase.
373
374 Blazy 8.x-1.0-dev, 2016-03-23
375 -----------------------------
376 - Added lazyload support for core Responsive image.
377 - Moved a few Slick carousel goodness into this module: admin CSS, lightboxes
378   and re-usable methods so that Slick carousel, Mason, GridStack can use them
379   all from one place.
380 - Added basic loading indicator to the lazyloaded elements.
381 - Split library into core and custom JS loader.
382 - Added blazy_ui.module.
383 - Added basic stylings including aspect ratio CSS.
384 - Added blazy services for re-usable methods across dependee modules.
385 - Added own themes.
386 - Added re-usable Traits and methods for dependee modules.
387 - Added a scope to a more limited container using [data-blazy] attribute to
388   get consistent with the supported field formatters.
389 - Added retina support.
390 - Added responsive multi-serving images options.
391 - Added supports for the image and colorbox/photobox.
392 - Added basic configuration.
393
394 Blazy 8.x-1.0-dev, 2016-01-19
395 -----------------------------
396 Initial commit.