Skip to content

Releases: sindresorhus/auto-bind

v5.0.1

18 Oct 05:54
Compare
Choose a tag to compare
  • Fix TS type regression in v5 with classes 1f59541

v5.0.0...v5.0.1

v5.0.0

13 Oct 13:27
Compare
Choose a tag to compare

Breaking

v4.0.0...v5.0.0

v4.0.0

16 Dec 11:28
Compare
Choose a tag to compare

Breaking

  • Move the React support to a sub-module b168da4
    • Migrate:
-const autoBind = require('auto-bind');
+const autoBindReact = require('auto-bind/react');

 class Foo extends React.Component {
 	constructor(props) {
 		super(props);
-		autoBind.react(this);
+		autoBindReact(this);
 	}
 }

v3.0.0...v4.0.0

v3.0.0

19 Oct 07:49
Compare
Choose a tag to compare

Breaking

  • Require Node.js 8 45c04a1
  • Move @types/react to be an optional peer dependency 66a053f

v2.1.1...v3.0.0

v2.1.1

03 Oct 10:08
Compare
Choose a tag to compare
  • Fix TypeScript definition for TypeScript 3.5 (#17) d4c6be5

v2.1.0...v2.1.1

v2.1.0

07 Apr 10:14
Compare
Choose a tag to compare

v2.0.0...v2.1.0

v2.0.0

23 Dec 00:50
Compare
Choose a tag to compare

Breaking:

Other:

  • Correctly bind inherited properties e9317ca
  • Add support for symbol properties (#14) 54db5fd
  • Avoid dereferencing properties (#13) 42ba54f