Releases: igordanchenko/react-photo-album
Releases · igordanchenko/react-photo-album
v2.0.0-rc.2
Reverts
- chore: remove assets from GitHub releases (589168e)
v2.0.0-rc.1
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
1.16.1 (2022-07-20)
Bug Fixes
- change render functions return type from ReactElement to ReactNode (6b09ebd)
v1.16.0
1.16.0 (2022-07-16)
Features
- add renderDefaultPhoto and wrapperStyle helpers to renderPhoto (94806ba)
v1.15.0
1.15.0 (2022-07-07)
Features
- add minimum number of columns constraint in masonry and columns layouts (fix #72) (b67a0ea)
v1.14.0
1.14.0 (2022-05-23)
Features
- add responsive support on rowConstraints (#70) (07caf58)
v1.13.4
1.13.4 (2022-05-20)
Bug Fixes
- preserve JSDoc comments in TypeScript declaration file (efe115c)
v1.13.3
1.13.3 (2022-05-14)
Bug Fixes
- swap src and srcSet order (46114de)
v1.13.2
1.13.2 (2022-05-03)
Bug Fixes
- add safeguards against invalid responsive parameters (b7eab8c)
v1.13.1
1.13.1 (2022-04-28)
Bug Fixes
- prevent infinite resize loop when scrollbar disappears (31d09be)