Releases: marekdedic/imagelightbox
Releases · marekdedic/imagelightbox
Version 3.0.0
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
What's Changed
- Fixed typings for
imageLightbox
andstartImageLightbox
incorrectly having their params required - Bumped minimum browser support to mostly follow browserslist recommendations
- Removed references to the (previously unused) options
id
,selector
andoffsetY
- 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
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
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
Added
- Added the option to explicitly specify video dimensions (@marekdedic)
Version 1.0.2
Fixed
.git
included in the NPM package causing it to break installations (@marekdedic)
Version 1.0.1
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
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
Version 0.14.0
Changed
- Removed origTargets #175 (@marekdedic)
Version 0.13.0
Added
- Expose openHistory function #170 (@marekdedic)
Fixed
- Fixed #167 History and dynamic adding don't work together (@marekdedic)