| @@ -1,6 +1,382 @@ | ||
| 1 | 1 | == Changelog == |
| 2 | 2 | |
| 3 | += 3.37 = | |
| 4 | + | |
| 5 | +* Fixed: Security hardening for galleries on dedicated pages | |
| 6 | + | |
| 7 | += 3.36 = | |
| 8 | + | |
| 9 | +* Fixed: Groups in Zenfolio were not working | |
| 10 | + | |
| 11 | += 3.35 = | |
| 12 | + | |
| 13 | +* Fixed: Menu was broken due to changes in WP 7.1 | |
| 14 | + | |
| 15 | += 3.34 = | |
| 16 | + | |
| 17 | +* Changed: Security hardening of blocks against XSS | |
| 18 | +* Changed: Added more features for PHP 7.4+ | |
| 19 | +* Changed: Improved formatting of captions in tooltips and slide-ups. | |
| 20 | +* Removed: StripJS, which is archived and not maintained any more | |
| 21 | + | |
| 22 | += 3.33 = | |
| 23 | + | |
| 24 | +* Fixed: Deprecation issues with PHP 8.4 | |
| 25 | +* Changed: Minimum PHP version supported now is 7.4 | |
| 26 | +* Changed: Improved translation support for blocks | |
| 27 | +* Removed: Option to set the overlaid modal's border | |
| 28 | +* Fixed: Bulk shortcode replacement functionality was broken. | |
| 29 | +* Fixed: Z-Index conflict with Beaver Builder | |
| 30 | + | |
| 31 | += 3.32 = | |
| 32 | + | |
| 33 | +* Fixed: Bug that was causing an error in the wizard, "Invalid screen value: 6" in some scenarios. | |
| 34 | +* Fixed: Bug that was causing the MCE editor to show the last opened gallery if a user clicked on the button to create a new gallery. | |
| 35 | +* Removed: Some old code that is no longer in use. | |
| 36 | + | |
| 37 | += 3.31 = | |
| 38 | + | |
| 39 | +* Fixed: Bug that was preventing the wizard sources from showing up in some undefined scenarios | |
| 40 | + | |
| 41 | += 3.30 = | |
| 42 | + | |
| 43 | +* Changed: Reduced dependency on jQuery for the wizard and its related components | |
| 44 | +* Changed: Significantly rewrote the Wizard UI code, to separate IFrame functionality from the main window | |
| 45 | +* Fixed: Compatibility issue with the Gutenberg Plugin | |
| 46 | +* Fixed: Cross-Origin messages with block editor enabled in some conditions | |
| 47 | +* Fixed: Bug in MCE Editor that was preventing the addition of galleries | |
| 48 | + | |
| 49 | += 3.25 = | |
| 50 | + | |
| 51 | +* Fixed: Blocks were not working in the Site Editor | |
| 52 | + | |
| 53 | += 3.24 = | |
| 54 | + | |
| 55 | +* Fixed: Bug in sanitizing for Spotlight lightbox | |
| 56 | + | |
| 57 | += 3.23 = | |
| 58 | + | |
| 59 | +* Fixed: Bug in sanitize function was causing errors for missing titles | |
| 60 | + | |
| 61 | += 3.22 = | |
| 62 | + | |
| 63 | +* Changed: Security hardening of JS against XSS attacks | |
| 64 | + | |
| 65 | += 3.21 = | |
| 66 | + | |
| 67 | +* Added: New sizes for Flickr videos | |
| 68 | + | |
| 69 | += 3.20 = | |
| 70 | + | |
| 71 | +* Changed: WP version compatibility updated to 6.8 | |
| 72 | +* Removed: Ability to create and edit Google Photos galleries | |
| 73 | +* Removed: Google Photos sections from Helpers page | |
| 74 | +* Removed: Instagram and Google Photos authentication sections | |
| 75 | + | |
| 76 | += 3.15 = | |
| 77 | + | |
| 78 | +* Changed: Updated stable tag to 3.15 | |
| 79 | + | |
| 80 | += 3.14 = | |
| 81 | + | |
| 82 | +* Changed: Added code to make Google galleries gracefully disappear | |
| 83 | +* Changed: WP version compatibility updated to 6.7 | |
| 84 | +* Changed: Refactored flow.js to wizard.js | |
| 85 | +* Changed: Improved support for the "Plugin Check" plugin | |
| 86 | + | |
| 87 | += 3.13 = | |
| 88 | + | |
| 89 | +* Added: Warning notices about the impending Google Photos shutdown. | |
| 90 | +* Changed: Added adaptability for the "Plugin Check" plugin. | |
| 91 | + | |
| 92 | += 3.12 = | |
| 93 | + | |
| 94 | +* Changed: Updated stable tag to 3.12 | |
| 95 | + | |
| 96 | += 3.11 = | |
| 97 | + | |
| 98 | +* Changed: Minimum PHP version compatibility bumped up to 7.3 | |
| 99 | +* Changed: Updated WP compatibility support to 6.6 | |
| 100 | +* Changed: For native galleries, if the size is missing, the code will now return a mime-type thumbnail. | |
| 101 | +* Removed: Polyfill.js is no longer a part of the script, hence removing the file. | |
| 102 | + | |
| 103 | += 3.10 = | |
| 104 | + | |
| 105 | +* Added: New layout, "Horizontal Masonry", for left-to-right ordering in masonry layouts. | |
| 106 | +* Added: Ability to select more options for the title in WP galleries. | |
| 107 | +* Changed: Minimum WP version compatibility bumped up to 6.2. | |
| 108 | +* Changed: Minimum PHP version compatibility bumped up to 7.2. | |
| 109 | +* Fixed: Lazy-expanded Flickr collections were not showing square thumbnails. | |
| 110 | +* Fixed: Zenfolio issue where square thumbnails were not showing a uniform size. | |
| 111 | +* Fixed: LightGallery thumbnails were not showing in lazy-loaded galleries. | |
| 112 | +* Fixed: Corrected a PHP 8.1-specific warning. | |
| 113 | +* Changed: Removed unnecessary markup (data attributes) from slideshows. | |
| 114 | + | |
| 115 | += 3.05 = | |
| 116 | + | |
| 117 | +* Fixed: Thumbnails within lightbox were not showing up (https://wordpress.org/support/topic/thumbnails-inside-a-lightbox/). | |
| 118 | +* Fixed: When the number of columns was being set explicitly, the grids were displaying information in a single column (https://wordpress.org/support/topic/initial-number-of-albums-displayed/). | |
| 119 | +* Fixed: "More" button was not showing up for WordPress galleries. | |
| 120 | +* Fixed: For certain installations, CSS was not being read correctly; corrected by escaping the data uri SVG used in a background image (https://wordpress.org/support/topic/latest-update-3-04-breaks-website/). | |
| 121 | + | |
| 122 | += 3.04 = | |
| 123 | + | |
| 124 | +* Added: Full support for lazy-loading. | |
| 125 | +* HTML / CSS Change: Cleaned up a lot of the HTML markup, reducing payload. | |
| 126 | +* Added: Ability to show "More" for WordPress galleries. | |
| 127 | +* Changed: Flickr photos now pick URLs from the url parameter instead of constructing based on the Farm and Server. | |
| 128 | + | |
| 129 | += 3.03 = | |
| 130 | + | |
| 131 | +* Changed: Updated PHP support to 7.1; no new syntax yet. | |
| 132 | +* Changed: Updated WP compatibility support to 6.4 | |
| 133 | +* Changed: Renamed "Modules" to "Platforms" and "Core.php" to "Base.php" | |
| 134 | +* Removed: Options for transpiled code, since IE support was dropped in version 3.00. | |
| 135 | +* Added: Hooks <code>photonic_custom_sort_albums</code> and <code>photonic_custom_sort_photos</code> for sorting output before printing. | |
| 136 | +* Changed: Updated lightbox scripts to latest versions - Lightgallery, PhotoSwipe, Splide | |
| 137 | +* Fixed: Sort options in the Wizard were displaying for all types of Flickr level 1 displays (multiple / album / gallery photos) - corrected to only display for multiple photos (https://wordpress.org/support/topic/flickr-photoset-sorting-only-descending/) | |
| 138 | +* Fixed: SmugMug keyword settings for albums, when defined through the Wizard, were not working (https://wordpress.org/support/topic/smugmug-filter-on-keywords-not-working-for-me/) | |
| 139 | +* Fixed: Header options in a shortcode were not being deconstructed via the Wizard | |
| 140 | +* Added: Ability to show LightGallery controls on mobiles (https://wordpress.org/support/topic/close-button-in-lightgallery-on-mobile/) | |
| 141 | + | |
| 142 | += 3.02 = | |
| 143 | + | |
| 144 | +* Changed: Version number in readme.txt to be consistent. | |
| 145 | + | |
| 146 | += 3.01 = | |
| 147 | + | |
| 148 | +* Changed: Plugin file header to include PHP version requirements. Previously only included in readme.txt | |
| 149 | + | |
| 150 | += 3.00 = | |
| 151 | + | |
| 152 | +* Changed: Adopted backwards-incompatible PHP 7.0 syntax - null coalescing operator and function return types. | |
| 153 | +* Changed: Moved some of the code to separate files to keep things more readable. | |
| 154 | +* Added: Support for YouTube timestamps in lightboxes that allow such functionality. | |
| 155 | +* Removed: Instagram options. | |
| 156 | +* Removed: Support for IE11 and older browsers. | |
| 157 | +* Fixed: Typo "grove" has been corrected to "groove". | |
| 158 | +* Fixed: Option <code>type='wp'</code> was not working for slideshow layouts. | |
| 159 | +* Fixed: If there were slideshows from 2 or more platforms, the first gallery of the second platform was not showing up. | |
| 160 | +* Fixed: Widgets, Elementor and Beaver content was not showing in JS load mode. | |
| 161 | +* Fixed: WP 6.2 broke the Flickr functionality to retrieve collections in parallel. | |
| 162 | + | |
| 163 | += 2.84 = | |
| 164 | + | |
| 165 | +* Removed: Support for Instagram in the Wizard. | |
| 166 | +* Removed: Cron job for Instagram. | |
| 167 | +* Added: Sort options for WP galleries in the Wizard. | |
| 168 | +* Added: Ability to control nesting levels for SmugMug trees; useful for deeply nested user trees. | |
| 169 | +* Changed: Updated compatibility information to WP 6.2. | |
| 170 | +* Changed: Added KSES filtering for content within the Wizard. | |
| 171 | +* Fixed: For "No lightbox" scenarios, clicking on album thumbnails was leading to the first photo of the album instead of showing the album page. | |
| 172 | +* Fixed: The global setting for modal vs. direct lightbox displays was ignoring the album header options for the modal. | |
| 173 | +* Fixed: The "timeout" setting for slideshows was not being honoured. | |
| 174 | + | |
| 175 | += 2.83 = | |
| 176 | + | |
| 177 | +* Fixed: Added "More" capability to the Wizard for Flickr albums | |
| 178 | +* Changed: Added more "allowed" tags to the KSES filter, because some plugins were removing Photonic <code>data-</code> elements from the markup. | |
| 179 | + | |
| 180 | += 2.82 = | |
| 181 | + | |
| 182 | +* Fixed: Unicode handling in the <code>more</code> tag in the Wizard was not working | |
| 183 | + | |
| 184 | += 2.81 = | |
| 185 | + | |
| 186 | +* Changed: Updated PhotoSwipe 5 to version 5.2.8. | |
| 187 | +* Changed: Replaced calls to <code>esc_sql</code> with <code>prepare</code>. | |
| 188 | +* Fixed: Vanilla form for shortcode editing was not rendering select lists properly. | |
| 189 | +* Fixed: Flickr shortcodes were not displaying photos in an album if the "Default user" was non-empty and not the same as the photoset's owner. | |
| 190 | + | |
| 191 | += 2.80 = | |
| 192 | + | |
| 193 | +* Fixed: Generated CSS had a blank "px" value. | |
| 194 | +* Fixed: Vanilla form for shortcode generation was not rendering select lists properly. | |
| 195 | +* Added: Support for PhotoSwipe 5. | |
| 196 | +* Fixed: Apostrophes and quotes were getting prefixed with a "\" in lightbox captions. | |
| 197 | +* Fixed: Google Photos corner-case scenario where transients were blank, but the access token was not getting generated. | |
| 198 | + | |
| 199 | += 2.79 = | |
| 200 | + | |
| 201 | +* Fixed: SVN did not have the right file name (case confusion) for one script. | |
| 202 | +* Fixed: Warnings were showing up for some variables in debug mode. | |
| 203 | + | |
| 204 | += 2.78 = | |
| 205 | + | |
| 206 | +* Added: New lightbox, "VenoBox". | |
| 207 | +* Fixed: A bug in "Separate Page" display, where the title was not showing correctly. | |
| 208 | +* Fixed: A bug in Featherlight was causing improper display of videos. | |
| 209 | +* Fixed: SmugMug users with more than 100 albums were not able to see all of them. | |
| 210 | +* Fixed: Wizard was showing only 3 Google Photos albums at one time. | |
| 211 | +* Fixed: In some cases, the widget was causing an array offset error. | |
| 212 | +* Fixed: A bug in GLightbox where the "expand" behaviour of Flickr collections was not working. | |
| 213 | +* Changed: Updated all applicable JS libraries to their current versions (BigPicture, Fancybox3, Featherlight, GLightbox, Lightcase, LightGallery, PhotoSwipe, Splide, Strip, Swipebox). | |
| 214 | +* Changed: Removed Fancybox 1, Magnific and PrettyPhoto from the list of bundled lightboxes | |
| 215 | +* Changed: Split up the combined JS files and the combined CSS files into their respective components. | |
| 216 | +* Changed: Code housekeeping - optimized the performance of some of the JS components (Modal, Prompter, Tooltip). | |
| 217 | + | |
| 218 | += 2.77 = | |
| 219 | + | |
| 220 | +* Fixed: A bug in the Flickr gallery (not photosets / albums) display was preventing photos in a gallery from showing up. | |
| 221 | +* Fixed: A bug in the Google module where clicking on an album to display contents on a new page was not working if the the album was loaded as a part of the "More" data set. | |
| 222 | +* Fixed: Blank invocation of the shortcode was causing a warning in PHP 7.4 and an error in 8.0 | |
| 223 | +* Fixed: A bug in the Instagram module where using an old <code>media_id</code> would cause an error instead of degrading gracefully. | |
| 224 | +* Fixed: FOUC issue in the slider when thumbnails were enabled. | |
| 225 | +* Changed: Some instances of null comparison were causing errors due to strict evaluation. Replaced those with <code>empty</code> | |
| 226 | +* Security: Added more security hardening and escaping. | |
| 227 | + | |
| 228 | += 2.76 = | |
| 229 | + | |
| 230 | +* Changed: Updated Splide to new version | |
| 231 | +* Fixed: BigPicture and Spotlight were including jQuery. This has been rectified. | |
| 232 | +* Security: Moved authentication settings of Google and Instagram to transients from options | |
| 233 | +* Security: Added <code>current_user_can</code> and nonce checks to all option update calls | |
| 234 | +* Security: Improved sanitization checks and hardened security for saving options | |
| 235 | +* Changed: Modified code to align with WPCS / CodeSniffer recommendations where applicable | |
| 236 | + | |
| 237 | += 2.75 = | |
| 238 | + | |
| 239 | +* New: Added monitoring capability for checking if Instagram credentials are expiring soon. | |
| 240 | +* New: Added support for the Spotlight lightbox script (https://nextapps-de.github.io/spotlight/) | |
| 241 | +* Fixed: "Slide up" behaviour, as per patch provided by @nicegamer7 (https://wordpress.org/support/topic/fix-slideup-show-css/) | |
| 242 | + | |
| 243 | += 2.74 = | |
| 244 | + | |
| 245 | +* Fixed: "Title position" option was not working for Google Photos albums | |
| 246 | +* Fixed: Swipebox "Enable Bars on Mobile" was not working | |
| 247 | + | |
| 248 | += 2.73 = | |
| 249 | + | |
| 250 | +* Fixed: "Hide photo count" option was not working for Flickr albums | |
| 251 | + | |
| 252 | += 2.72 = | |
| 253 | + | |
| 254 | +* Fixed: Title widths for the square layout when the title is below the photo were not auto-adjusting upon clicking the "More" button. | |
| 255 | + | |
| 256 | += 2.71 = | |
| 257 | + | |
| 258 | +* Fixed: URLs for Flickr photosets were not working in some cases. | |
| 259 | +* Fixed: Wizard Google Photos count was capped at 3 | |
| 260 | + | |
| 261 | += 2.70 = | |
| 262 | + | |
| 263 | +* Fixed: When Flickr Groups were being used with other attributes like tags, the gallery was repeating twice. | |
| 264 | +* Fixed: The Gutenberg block was throwing an error in case the "Load More" button was being clicked in the Wizard | |
| 265 | + | |
| 266 | += 2.69 = | |
| 267 | + | |
| 268 | +* Fixed: The Wizard generating an error upon clicking on "Load More" for "single album" scenarios. | |
| 269 | + | |
| 270 | += 2.68 = | |
| 271 | + | |
| 272 | +* Fixed: The Wizard was deselecting Google Photos albums not in the first 50 results | |
| 273 | + | |
| 274 | += 2.67 = | |
| 275 | + | |
| 276 | +* Fixed: "Flash of unstyled content" (FOUC) with slideshows | |
| 277 | +* Fixed: "Strip below" option for thumbnails was not always showing up for all slideshows | |
| 278 | +* Changed: Removed redundant Instagram options | |
| 279 | + | |
| 280 | += 2.66 = | |
| 281 | + | |
| 282 | +* Fixed: Fatal error when a slideshow is displayed with a "strip-below" or "strip-above" option | |
| 283 | + | |
| 284 | += 2.65 = | |
| 285 | + | |
| 286 | +* Fixed: "Dynamic height" option in the slideshow was not sizing to the tallest image if count was more than 1. | |
| 287 | +* Fixed: GLightbox was not working for level 2 displays in the JS load mode. | |
| 288 | +* Fixed: Lightbox setting of "none" was resulting in a JS error. | |
| 289 | +* Fixed: Flickr photo searches for "All users" were not working; only user and group-specific searches were working. | |
| 290 | +* Fixed: The "more" button was showing up in Instagram even if not specified | |
| 291 | +* Changed: Minor CSS and data attribute changes. | |
| 292 | +* Changed: Code refactored for gallery elements and made more modular. | |
| 293 | + | |
| 294 | += 2.64 = | |
| 295 | + | |
| 296 | +* Fixed: "Zoom upon hover" behaviour was broken for Justified Grid and Mosaic layouts. | |
| 297 | +* Fixed: Thumbnails were not centering in the "square" layout. | |
| 298 | +* Fixed: Google Photos was not working for Fancybox. | |
| 299 | + | |
| 300 | += 2.63 = | |
| 301 | + | |
| 302 | +* Switched the Justified Grid layout to use CSS when image sizes are available. | |
| 303 | +* Minimized the presence of Cumulative Layout Shift (CLS) on galleries by pre-assigning image sizes. Instagram is the only platform for which this is not supported. | |
| 304 | +* Fixed a bug with Image Lightbox, Fancybox3, Lightcase and Strip, which was preventing the "Load More" feature from working for albums. | |
| 305 | +* New shortcode options added, <code>load_mode</code> and <code>layout_engine</code> to support overriding global options in case of issues. | |
| 306 | +* HTML / CSS change: images are now served as <code>figure</code> elements in a <code>div</code>. Corresponding captions are served in <code>figcaption</code>. | |
| 307 | +* HTML / CSS change: <code>slideshow-grid-panel</code> is now called <code>modal-gallery</code> | |
| 308 | +* HTML / CSS change: removed redundant CSS classes - photonic-[flickr etc.]-[image etc.] to reduce payload size. | |
| 309 | + | |
| 310 | += 2.62 = | |
| 311 | + | |
| 312 | +* Added an option for a "Loading mode", that lets defer shortcode execution till after the page has been generated. | |
| 313 | +* "Load More" was not working for albums. This has been addressed. | |
| 314 | +* The option to show a title permanently covering the bottom of images was not working. This has been fixed. | |
| 315 | +* Native WP galleries were defaulting to a 3 column layout. This has been changed to "auto" to facilitate responsive behaviour by default. | |
| 316 | +* The slideshow script has been updated to the latest version. | |
| 317 | +* In fixed height slideshows the aspect ratio was getting distorted upon resizing the screen. This has been corrected. | |
| 318 | +* Slideshow title styles were not working. This has been rectified. | |
| 319 | +* A fix has been put in for cases where the title was blank, yet the caption was not being retrieved from the description. | |
| 320 | + | |
| 321 | += 2.61 = | |
| 322 | + | |
| 323 | +* "Show Gallery" feature was not working for Justified Grids and Mosaic layouts for BaguetteBox, BigPicture, GLightbox, LightGallery, PhotoSwipe, Featherlight, Image Lightbox and Magnific. | |
| 324 | +* BigPicture was throwing a PHP warning when there was a video mixed with a gallery. This has been fixed. | |
| 325 | +* Removed jQuery dependency for the Photonic Block in the Gutenberg Editor (the front-end did not require it) | |
| 326 | + | |
| 327 | += 2.60 = | |
| 328 | + | |
| 329 | +* Overhauled the front-end JavaScript by rewriting code to ES6 standards; jQuery is not used for some lightboxes | |
| 330 | +* Replaced LightSlider with Splide (https://splidejs.com), a pure JS slider library | |
| 331 | +* Added support for 3 plain JavaScript lightboxes: BaguetteBox (https://feimosi.github.io/baguetteBox.js/), BigPicture (https://henrygd.me/bigpicture/), and GLightbox (https://biati-digital.github.io/glightbox/) | |
| 332 | +* Strip is now released under a GPL-compatible license, so this has been moved to the "standard" lightbox list | |
| 333 | +* Fixed a bug where activation of Elementor was causing the backend widget script to get included on all pages in the front-end | |
| 334 | +* Added new <code>view</code> option for Google Photos, <code>shared-photos</code> | |
| 335 | +* Automatic conversion of shortcodes to blocks is now fully supported | |
| 336 | +* Added options to disable the Photonic shortcode on the "Latest Posts" and archive pages. | |
| 337 | + | |
| 338 | += 2.48 = | |
| 339 | + | |
| 340 | +* Added check for $_SERVER to prevent WP-CLI errors | |
| 341 | + | |
| 342 | += 2.47 = | |
| 343 | + | |
| 344 | +* Added support for showing captions for Instagram posts | |
| 345 | + | |
| 346 | += 2.46 = | |
| 347 | + | |
| 348 | +* Made changes to account for Facebook / Instagram disabling oEmbed | |
| 349 | +* Fixed an issue that was requiring jQuery Migrate for Google Photos authentication | |
| 350 | +* Looping was not working for Fancybox3 - fixed | |
| 351 | + | |
| 352 | += 2.45 = | |
| 353 | + | |
| 354 | +* Fixed an issue where titles of SmugMug folders, Flickr collections and Zenfolio groups were not showing up on pages in some cases | |
| 355 | + | |
| 356 | += 2.44 = | |
| 357 | + | |
| 358 | +* Removed capability for archive view "more buttons" | |
| 359 | +* Fixed a bug where an invalid refresh token was causing an error about missing OAuth2 credentials (error 401) | |
| 360 | +* Fixed a bug where album descriptions were showing up if the album was being included on a page | |
| 361 | +* More button was not showing up in the wizard for Instagram | |
| 362 | +* Instagram automatic refresh of token was not working | |
| 363 | + | |
| 364 | += 2.43 = | |
| 365 | + | |
| 366 | +* Fatal error showing up on "Add New" post for PHP 5.6.x; fixed | |
| 367 | +* "Load More" was not working in the Helpers; fixed | |
| 368 | +* Flickr videos were not playing; fixed | |
| 369 | +* "Load More" for the helper shortcode was not working if the shortcode was on a page by itself; fixed | |
| 370 | +* Conflict with <code>the_title</code> hook between bbPress and Photonic; resolved | |
| 371 | + | |
| 372 | += 2.42 = | |
| 373 | + | |
| 374 | +* SmugMug "Load More" in the wizard was not working; fixed. | |
| 375 | +* Beaver Builder integration was partially broken; fixed. | |
| 376 | +* Google Photos galleries were not showing up on a dedicated page; fixed. | |
| 377 | +* Just calling the Photonic shortcode without any attributes was causing an error; fixed | |
| 378 | + | |
| 3 | 379 | = 2.41 = |
| 4 | 380 | |
| 5 | 381 | * File "Defaults.php" got checked in as "defaults.php" in the previous version. |
| 6 | 382 | |