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