Update dependency photoswipe to v5 #5

Closed
renovate-bot wants to merge 1 commits from renovate/photoswipe-5.x into master
Collaborator

This PR contains the following updates:

Package Update Change
photoswipe (source) major 4.1.3 -> 5.2.2

Release Notes

dimsemenov/PhotoSwipe

v5.2.2

Compare Source

Major update that changes initialization method!

New demo | New docs

What's new

Code quality and rewrite in ES6
The script is now distributed as an ES module and does not require a build step to use.

Simpler initialization and dynamic import support
PhotoSwipe now supports dynamic import and does not block page rendering.

<script type="module">
import Lightbox from './photoswipe-lightbox.esm.js';
const lightbox = new Lightbox({
  gallery: '#my-gallery',
  children: 'a',
  pswpModule: () => import('./photoswipe.esm.js')
});
lightbox.init();
</script>

Animation and gesture engine update
Improved performance of most animations, touch gestures should feel more fluid now. The initial opening or closing transition can be run from cropped thumbnails.

Single CSS file and no external assets
Using CSS variables, default icons are dynamically generated and tiny.

Built-in responsive images support
PhotoSwipe also dynamically loads larger images as the user zooms via srcset.

Open images in zoomed state
It's now much easier to control the zoom level.

Removed features from the core
Some built-in features were removed in v5, either because they are using outdated technology or just rarely used. Some of them are or will be replaced by a plugin. These include:

  • History API (#hash-based navigation is outdated)
  • Social sharing (unreliable URL, lack of Opengraph support)
  • Fullscreen button (rarely used, double fullscreen). Related example in docs →
  • Caption (accessibility problems). Refer to the caption section of docs.
  • Inline gallery support (v5 is mainly designed to be used as a dialog).

v5.2.1

Compare Source


Configuration

📅 Schedule: At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, click this checkbox.

This PR has been generated by Renovate Bot.

This PR contains the following updates: | Package | Update | Change | |---|---|---| | [photoswipe](http://www.photoswipe.com/) ([source](https://github.com/dimsemenov/PhotoSwipe)) | major | `4.1.3` -> `5.2.2` | --- ### Release Notes <details> <summary>dimsemenov/PhotoSwipe</summary> ### [`v5.2.2`](https://github.com/dimsemenov/PhotoSwipe/releases/v5.2.2) [Compare Source](https://github.com/dimsemenov/PhotoSwipe/compare/v5.2.1...v5.2.2) Major update that changes initialization method! [New demo](https://photoswipe.com) | [New docs](https://photoswipe.com/getting-started) #### What's new **Code quality and rewrite in ES6** The script is now distributed as an ES module and does not require a build step to use. **Simpler initialization and dynamic import support** PhotoSwipe now supports dynamic import and does not block page rendering. <script type="module"> import Lightbox from './photoswipe-lightbox.esm.js'; const lightbox = new Lightbox({ gallery: '#my-gallery', children: 'a', pswpModule: () => import('./photoswipe.esm.js') }); lightbox.init(); </script> **Animation and gesture engine update** Improved performance of most animations, touch gestures should feel more fluid now. The initial opening or closing transition can be run from cropped thumbnails. **Single CSS file and no external assets** Using CSS variables, default icons are dynamically generated and tiny. **Built-in responsive images support** PhotoSwipe also dynamically loads larger images as the user zooms via srcset. **Open images in zoomed state** It's now much easier to control the zoom level. **Removed features from the core** Some built-in features were removed in v5, either because they are using outdated technology or just rarely used. Some of them are or will be replaced by a plugin. These include: - History API (#hash-based navigation is outdated) - Social sharing (unreliable URL, lack of Opengraph support) - Fullscreen button (rarely used, double fullscreen). [Related example in docs →](https://photoswipe.com/native-fullscreen-on-open) - Caption (accessibility problems). Refer to the [caption section of docs](https://photoswipe.com/caption). - Inline gallery support (v5 is mainly designed to be used as a dialog). ### [`v5.2.1`](https://github.com/dimsemenov/PhotoSwipe/compare/v4.1.3...v5.2.1) [Compare Source](https://github.com/dimsemenov/PhotoSwipe/compare/v4.1.3...v5.2.1) </details> --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
renovate-bot force-pushed renovate/photoswipe-5.x from 7bc9428e3e to c564165aac 2022-03-31 01:04:54 +00:00 Compare
nemunaire closed this pull request 2022-04-06 05:53:27 +00:00
Author
Collaborator

Renovate Ignore Notification

Because you closed this PR without merging, Renovate will ignore this update. You will not get PRs for any future 5.x releases. But if you manually upgrade to 5.x then Renovate will re-enable minor and patch updates automatically.

If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR.

### Renovate Ignore Notification Because you closed this PR without merging, Renovate will ignore this update. You will not get PRs for *any* future 5.x releases. But if you manually upgrade to 5.x then Renovate will re-enable `minor` and `patch` updates automatically. If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR.
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing

Pull request closed

Sign in to join this conversation.
No reviewers
No Label
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: nemunaire/nemunai.re#5
No description provided.