Closed (won't fix)
Project:
lightGallery
Version:
8.x-1.x-dev
Component:
Code
Priority:
Major
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
21 Apr 2021 at 09:59 UTC
Updated:
18 Apr 2025 at 16:08 UTC
Jump to comment: Most recent
Create a new branch with semantic version. The version 2 is already available.
Check out the last stable relesase: https://github.com/sachinchoolur/lightGallery/releases/tag/2.4.0
We need to check the compatibility with the last release of lightgallery.
TBD
TBD
Comments
Comment #2
murilohp commentedRemoving the assign here @phjou, so we can discuss how to properly handle this upgrade.
Comment #3
hussainwebThe update notes are here: https://github.com/sachinchoolur/lightGallery/releases/tag/2.0.0. From the notes, there are a few changes needed for migrating to 2.x.
- Initialization - Removed jQuery as dependency
- Plugins - To avoid polluting global scope, since v2 plugins has to be passed via settings.
- CSS - Separated plugin and transitions CSS from the core CSS file. For each plugins, CSS files has to be included separately
- HTML videos - Videos can be passed via data-video attribute instead of passing it via hidden div
- Events are renamed - https://www.lightgalleryjs.com/docs/events/
Comment #4
murilohp commentedSince version 2of lightgallery is not under MIT license and now requires commercial license for using, I'm closing this issue as not fixing, if someone else wants, we can reopen for discussion. At least for now, we'wont have a way to provide the version 2.