Skip to content

Releases: preactjs/preact

3.4.0

17 Feb 14:37
Compare
Choose a tag to compare
  • Fix for key behaviour, and don't write keys to the DOM as attributes.

3.3.0

12 Feb 23:11
Compare
Choose a tag to compare
  • Performance tuning for a ~10% improvement on DBMonster (basically 10% faster diff algorithm)
  • Refactored diff algorithm to be easier to follow
  • Add Component.prototype.forceUpdate() method.
  • Fix a bug where a child component of a high-order component self-rendering (eg: via setState()) would cause a subsequent re-render of the parent component to re-initialize itself and the child (through the recycler, but this was causing thrash).
  • Fix an issue where nested components would not receive unmount lifecycle hooks (fixes Issue #47)

3.2.0

12 Feb 23:08
Compare
Choose a tag to compare
  • Bugfix: pass context through recycled constructors (with this react-redux is now fully supported!)
  • linkState() when used with top-level keys (ie, not dot-notated) will no longer mutate this.state in-place.

    (Nested keys can and will still mutate this.state, since the implementation of immutable state traversal would essentially be a small immutability library, not something Preact core can justify)

3.1.0

12 Feb 23:08
Compare
Choose a tag to compare
  • Performance tweaks!

3.0.1

04 Feb 02:49
Compare
Choose a tag to compare
3.0.1 Pre-release
Pre-release

This is likely the last beta release of Preact 3.0, it'll become the stable branch shortly.
Feedback and testing welcome!

  • Use a safeguard method to obtain preact attr cache objects before writes
  • Fix edge case where fallthrough attribute values would not be stored in the preact attr cache
  • null instead of delete for _component refs, avoiding shape mutations
  • build tweaks

3.0.0-beta4

03 Feb 04:56
Compare
Choose a tag to compare
3.0.0-beta4 Pre-release
Pre-release
  • Preact's codebase has been factored into modules
  • Reduced possible repaints by collecting property cache into a namespace
  • 10-20% performance improvement under heavy rendering load!
  • Now available in npm under a nice dist-tag: npm install preact@beta

3.0.0-beta3

02 Feb 22:15
Compare
Choose a tag to compare
3.0.0-beta3 Pre-release
Pre-release
  • Fixes for event removal (#34), tests.

3.0.0-beta2

01 Feb 13:31
Compare
Choose a tag to compare
3.0.0-beta2 Pre-release
Pre-release

Beta version of the 3.0.0 major bump:

3.0.0

  • Added context support
  • Bugfix: componentDidUpdate() should not be called after initial render
  • Switch from tracking nextState to tracking prevState
  • Drop VNode#__isVNode in favor of instanceof (reason)

2.8.1

29 Jan 03:30
Compare
Choose a tag to compare
  • Performance improvements for asymmetric DOM properties
  • Account for external mutation of properties

2.7.3

26 Jan 21:23
Compare
Choose a tag to compare
2.7.3