Skip to content

Releases: igordanchenko/react-photo-album

v2.0.0-rc.2

27 Oct 21:07
589168e
Compare
Choose a tag to compare
v2.0.0-rc.2 Pre-release
Pre-release

2.0.0-rc.2 (2022-10-27)

Reverts

  • chore: remove assets from GitHub releases (589168e)

v2.0.0-rc.1

27 Oct 21:00
92e9bb4
Compare
Choose a tag to compare
v2.0.0-rc.1 Pre-release
Pre-release

2.0.0-rc.1 (2022-10-27)

Features

  • add loading="lazy" and decoding="async" image attributes (2ebf001)
  • improve onClick callback DX (aedfaf9)
  • overhaul package bundle (b48ba6e)
  • remove deprecated ForwardRefExoticComponent option from renderContainer prop (e6a4414)
  • remove resizeObserverProvider prop (2d7e0f2)

BREAKING CHANGES

  • change onClick callback method signature
  • resizeObserverProvider is no longer supported
  • renderContainer prop no longer accepts React.forwardRef
  • rename ESM bundle from index.esm.js to index.mjs
  • rename CJS bundle from index.cjs.js to index.js
  • switch JSX runtime back to React.createElement

v1.16.1

20 Jul 16:27
aa414c9
Compare
Choose a tag to compare

1.16.1 (2022-07-20)

Bug Fixes

  • change render functions return type from ReactElement to ReactNode (6b09ebd)

v1.16.0

16 Jul 23:04
de839ce
Compare
Choose a tag to compare

1.16.0 (2022-07-16)

Features

  • add renderDefaultPhoto and wrapperStyle helpers to renderPhoto (94806ba)

v1.15.0

07 Jul 20:53
bb2ba18
Compare
Choose a tag to compare

1.15.0 (2022-07-07)

Features

  • add minimum number of columns constraint in masonry and columns layouts (fix #72) (b67a0ea)

v1.14.0

23 May 15:36
07caf58
Compare
Choose a tag to compare

1.14.0 (2022-05-23)

Features

  • add responsive support on rowConstraints (#70) (07caf58)

v1.13.4

20 May 21:46
efe115c
Compare
Choose a tag to compare

1.13.4 (2022-05-20)

Bug Fixes

  • preserve JSDoc comments in TypeScript declaration file (efe115c)

v1.13.3

14 May 22:21
46114de
Compare
Choose a tag to compare

1.13.3 (2022-05-14)

Bug Fixes

  • swap src and srcSet order (46114de)

v1.13.2

03 May 16:05
27cf30e
Compare
Choose a tag to compare

1.13.2 (2022-05-03)

Bug Fixes

  • add safeguards against invalid responsive parameters (b7eab8c)

v1.13.1

28 Apr 14:20
31d09be
Compare
Choose a tag to compare

1.13.1 (2022-04-28)

Bug Fixes

  • prevent infinite resize loop when scrollbar disappears (31d09be)