Skip to content
This repository has been archived by the owner on Dec 16, 2021. It is now read-only.

Releases: preactjs/preact-compat

3.14.1

12 Mar 16:13
Compare
Choose a tag to compare
  • Tweak ES Modules and UMD builds so that we don't ship .default for UMD/CJS, but do for ES Modules (Fixes #321 & #320)

3.14.0

12 Mar 16:12
Compare
Choose a tag to compare
  • Refs/render() should return inner instance for renderSubtreeIntoContainer() (#296, thanks @windyGex)
  • Fix a duplication bug when re-rendering root components that swap their base (#301)
  • Allow children in the props argument of cloneElement() (#317, thanks @tkh44)
  • Update preact-render-to-string to 3.6.0, adjusting self-closing tag SSR for XHTML (#302)
  • We now ship an ES Modules build without ES2015 to make Webpack 2 users happy 🌈

3.13.1

02 Feb 03:12
Compare
Choose a tag to compare
  • Fix onChange normalization for textarea + input[type=file|radio|checkbox] (#288)
  • Fix issue when running under a mixed preact-compat / react environment that could cause PFCs to receive no props (#292, thanks @bebraw)

3.13.0

02 Feb 03:11
Compare
Choose a tag to compare

3.12.0

28 Jan 21:35
Compare
Choose a tag to compare

3.11.0

28 Jan 21:35
Compare
Choose a tag to compare
  • Add support for defaultValue (#280, thanks @gholtslander-va!)
  • Fix for radio buttons not working with onChange (#287, thanks @cedmax!)

3.10.0

11 Jan 17:36
Compare
Choose a tag to compare
  • Add methods passed to createClass to the new class' prototype (#250)
  • Prevent onChange from firing twice on checkboxes (#247 / preactjs/preact#358)
  • Export ReactComponentWithPureRenderMixin from lib (#255)
  • Merge mixin return values (#240)
  • Fix Children API incompatibilities (#236)
  • Add support for onDoubleClick alias of native onDblClick (#264) (#272)

Thank you to everyone who made this release:
@chrishinrichs @pekala @aweary @Stuk @linde12 @rokoroku

3.9.4

06 Dec 15:36
Compare
Choose a tag to compare
  • Adds a noop for lib/ReactPerf (just to prevent import failures)

3.9.3

01 Dec 02:54
Compare
Choose a tag to compare
  • Fix ReferenceError in lib/ReactTransitionEvents
  • Add event.persist() method (does nothing since there's no custom event GC here) (#234)
  • Enable PropTypes when process.env.NODE_ENV is any value other than "production" (#244, thanks @Vpr99!)

3.9.2

01 Dec 02:53
Compare
Choose a tag to compare