Skip to content

Releases: civiccc/react-waypoint

v10.1.0

28 Apr 17:19
Compare
Choose a tag to compare
  • Classes are now compiled in loose mode, which should improve runtime performance.
  • Babel helpers now import from @babel/runtime instead of being inlined, which reduces bundle size.

v10.0.0

28 Apr 17:19
Compare
Choose a tag to compare
  • [Breaking] Remove Waypoint.getWindow()
  • Support React 17

v9.0.1

02 Mar 03:52
Compare
Choose a tag to compare
  • Fix export in TypeScript types (#298)
  • Update babel 6 -> 7, rollup 0 -> 1 (#301)

v9.0.0

19 Feb 17:33
Compare
Choose a tag to compare
  • [Breaking] Require React 15.3+
  • [Breaking] Make Waypoint a named export instead of default export
  • Change constants into named exports for better minification
  • Fix removing propTypes in production builds
  • Ensure that children is valid only in dev
  • Fix isForwardRef call

v8.1.0

19 Feb 17:33
Compare
Choose a tag to compare
  • Improve support for refs (#278)
  • Don't include .babelrc in published npm package (#270)

v8.0.3

12 Jul 20:31
Compare
Choose a tag to compare
  • Defer handleScroll in componentDidUpdate (#265)
  • Extend React.PureComponent instead of React.Component when available (#264)

v8.0.2

18 Jun 18:33
Compare
Choose a tag to compare
  • Allow consolidated-events ^2.0.0 (#256)
  • Add message to better understand logged error message in tests (#255)

v8.0.1

05 Mar 19:11
Compare
Choose a tag to compare

Bugfix for incorrect TypeScript definition.

v8.0.0

09 Jan 22:05
Compare
Choose a tag to compare

This major release makes react-waypoint have a smaller footprint in consumer bundles. It's pushed as a major release because of a potentially breaking change in how we expose the es module in package.json.

Full list of changes:

  • Add es module entry point in package.json
  • Type Waypoint class properties as static
  • Let proptypes be removable in consumers production bundles

Thanks to @Andarist and @cecchi for all the changes!

v7.3.1

05 Oct 16:59
Compare
Choose a tag to compare
  • Make es module opt-in (via import Waypoint from 'react-waypoint/es')