Skip to content

Releases: dromru/react-photoswipe-gallery

v3.0.2

19 Jul 02:01
Compare
Choose a tag to compare

Docs

  • docs: add more obvious info about photoswipe and react-photoswipe-gallery versions compatibility (9e73348)

v1.3.11

19 Jul 01:23
Compare
Choose a tag to compare

Chore

  • docs: fix react-photoswipe-gallery version in readme (c8939b7)

v3.0.1

20 Dec 06:26
Compare
Choose a tag to compare
  • prevent unnecessary removal of ref in strict mode (#1317)

v3.0.0

05 Dec 09:00
Compare
Choose a tag to compare

This release mostly focused on refactoring and improvement to Item component.

  • ref type changed from ref object to ref callback. For most users there is nothing to do with passing ref to node, it works the same way (ref={ref}). But now you no longer need to cast ref manually, so you will have to remove manual casting if you have such.
  • Removed possibility to omit passing ref to node if there is only one Item. Now you always have to pass it.

Refactoring led to removing useLayoutEffect, so there is no more warning introduced in 2.2.7

v3.0.0-alpha.0

22 Nov 10:53
Compare
Choose a tag to compare
v3.0.0-alpha.0 Pre-release
Pre-release
chore(release): 3.0.0-alpha.0

v2.2.7

03 Apr 11:23
Compare
Choose a tag to compare

2.2.7 (2023-04-03)

Bug Fixes

  • change useEffect to useLayoutEffect in Item component (ed17490)

v2.2.6

12 Feb 23:04
Compare
Choose a tag to compare

2.2.6 (2023-02-12)

Chore

  • remove useless null checks (af4ce1e)

v2.2.5

09 Feb 09:48
Compare
Choose a tag to compare

2.2.5 (2023-02-09)

Bug Fixes

  • remove null from ItemRef type (fc40996)

v2.2.4

09 Feb 01:02
Compare
Choose a tag to compare

2.2.4 (2023-02-09)

Bug Fixes

  • fix ts errors based on null checks (bdf6012)

Chore

  • enable strictNullChecks in tsconfig (b537d9a)

v2.2.3

31 Jan 09:12
Compare
Choose a tag to compare

2.2.3 (2023-01-31)

Bug Fixes

  • fix browser back/forward navigation with enabled hash navigation (31d815b)
  • ci: fix various GH Actions issues (047b3fb)
  • test: add jest-environment-jsdom; fix config (3404d90)