Skip to content

Releases: igordanchenko/yet-another-react-lightbox

v3.5.2

24 Apr 16:23
214b774
Compare
Choose a tag to compare

3.5.2 (2023-04-24)

Bug Fixes

  • add slideshow playback callbacks (214b774)

v3.5.1

24 Apr 11:36
5e43170
Compare
Choose a tag to compare

3.5.1 (2023-04-24)

Bug Fixes

  • add on.download callback (5e43170)

v3.5.0

20 Apr 16:02
265b3d2
Compare
Choose a tag to compare

3.5.0 (2023-04-20)

Features

  • add custom portal mount point (4de80d0)

v3.4.0

05 Apr 15:47
419019a
Compare
Choose a tag to compare

3.4.0 (2023-04-05)

Features

v3.3.0

31 Mar 16:35
fce79dd
Compare
Choose a tag to compare

3.3.0 (2023-03-31)

Features

  • streamline toolbar buttons configuration (8176c8a)

v3.2.0

27 Mar 16:02
443c436
Compare
Choose a tag to compare

3.2.0 (2023-03-27)

Features

  • add Captions button and ref (eac65ea)
  • add Thumbnails button and ref (443c436)

v3.1.0

24 Mar 20:57
36e7a70
Compare
Choose a tag to compare

3.1.0 (2023-03-24)

Features

v3.0.0

22 Mar 20:03
Compare
Choose a tag to compare

3.0.0 (2023-03-22)

Upgrading from v2?

Review the v3 Breaking Changes

Bug Fixes

  • fix captions flickering in iOS Safari (530fd9e)

Features

  • make index and slides props responsive (ec555dc)
  • add Controller ref (06e6daa)
  • add Fullscreen ref (cc3e653)
  • add Slideshow ref (b888ae2)
  • add Zoom ref (b3b4761)
  • streamline animation easing settings (4011639)
  • add render function for custom elements or controls (bc1a938)
  • add addModule plugin prop (14876c1)
  • add useLightboxProps hook and LightboxPropsContext (598b007)
  • streamline lightbox events (41583db)
  • refactor types (94ae012)

BREAKING CHANGES

  • index and slides props can now be updated
  • animation easing settings moved to animation.easing
  • slide render function props changed
  • slideHeader, slideFooter and slideContainer render functions props changed
  • view, click and zoom callbacks props changed
  • render.buttonFullscreen render function props changed
  • render.buttonSlideshow render function props changed
  • buttonZoomIn and buttonZoomOut custom render functions are replaced with buttonZoom
  • fullscreen prop is no longer a boolean
  • ControllerContext no longer provides getLightboxProps, use useLightboxProps hook instead
  • PluginMethods type was renamed to PluginProps
  • animationDuration prop is no longer available in the LightboxState
  • removed YARL_EVENT_BACKDROP_CLICK and YARL_EVENT_TOOLBAR_WIDTH events

v2.6.2

13 Mar 17:27
5f95548
Compare
Choose a tag to compare

2.6.2 (2023-03-13)

Bug Fixes

  • fix zoomed in image aspect ratio with custom render function (fix #86) (734d669)

v2.6.1

09 Mar 19:01
ee6cb58
Compare
Choose a tag to compare

2.6.1 (2023-03-09)

Bug Fixes

  • fix slide container rect sizing (fix #85) (342f04a)