Skip to content

Releases: marekdedic/imagelightbox

Version 3.0.0

07 Oct 13:34
3.0.0
c9bc1dc
Compare
Choose a tag to compare

BREAKING CHANGES

  • The library is now plain JS - no jQuery needed. jQuery versions are still provided, though, and preserve the old behavior
  • The default options were updated, producing a much more fully-fleshed lightbox as a default. See #942 for an overview of the changes

What's Changed

  • Improved error handling
  • Fixed inconsistencies in animations and transitions
  • Fixed navigation on touch devices
  • Fixed plugin keyboard navigation and accessibility
  • Fixed multiple images being shown at once when navigating too quickly
  • Only autoplaying videos after they've been fully loaded and transitioned in
  • Added a fullscreen button when fullscreen is enabled
  • Removed the fullscreen keyboard shortcut

Full Changelog: 2.1.0...3.0.0

Version 2.1.0

28 Mar 10:03
2.1.0
9097ef9
Compare
Choose a tag to compare

What's Changed

  • Fixed typings for imageLightbox and startImageLightbox incorrectly having their params required
  • Bumped minimum browser support to mostly follow browserslist recommendations
  • Removed references to the (previously unused) options id, selector and offsetY
  • Renamed most classes and IDs, all have the ilb- prefix now
  • Fixed an issue with history for lightboxes without IDs
  • Made video sizes optional
  • Refactored the whole codebase, making the package smaller, enabling rapid navigation and making the code more maintainable

Full Changelog: 2.0.0...2.1.0

Version 2.0.0

26 Feb 13:26
2.0.0
72ff044
Compare
Choose a tag to compare

Changed

  • BREAKING Providing ESM and UMD bundles together with source maps. This may be a breaking change as the output bundles are renamed. (@marekdedic)
  • Fixed package.json exports (@marekdedic)

Full Changelog: 1.2.0...2.0.0

Version 1.2.0

09 Aug 12:14
c3f3f46
Compare
Choose a tag to compare

Added

  • Added TypeScript type declarations for imagelightbox (@marekdedic)
  • Added unminified output to dist in addition to the minified files (@marekdedic)

Changed

  • Clicking in the center of the image navigates to the next one (@marekdedic)
  • The lightbox buttons are plain <div>s now (@marekdedic)

Fixed

  • Fixed an issue where rapidly navigating would get the lightbox in a broken state (@marekdedic)

Version 1.1.0

13 Jun 19:26
Compare
Choose a tag to compare

Added

  • Added the option to explicitly specify video dimensions (@marekdedic)

Version 1.0.2

26 Jun 14:27
Compare
Choose a tag to compare

Fixed

  • .git included in the NPM package causing it to break installations (@marekdedic)

Version 1.0.1

19 Jun 16:04
Compare
Choose a tag to compare

Changed

  • Redirected everything from rejas to marekdedic

Fixed

  • Fixed #201, a bug with videos not being preloaded if they were added to an already initialized lightbox (@marekdedic)

Version 1.0.0

03 Jun 21:19
Compare
Choose a tag to compare

Changed

  • Don't display caption "bar" if there is no caption for the image #191 (@marekdedic)
  • Do no use real image size to determine if prev or next #194 (@marekdedic)
  • Adding onclick swipe to next only if not a video #195 (@marekdedic)
  • Moved to pupeteer for testing (@rejas)

Updated

  • Update fullscreen code #190 (@rejas)
  • Update dependencies

Version 0.14.0

19 Dec 09:13
Compare
Choose a tag to compare

Changed

Version 0.13.0

27 Nov 14:29
Compare
Choose a tag to compare

Added

Fixed