Skip to content
This repository has been archived by the owner on Sep 10, 2022. It is now read-only.

Releases: acdlite/recompose

withStateHandler behaviour change

30 Aug 10:01
Compare
Choose a tag to compare

Remove useless in React 16 optimisation #736 (comment)
Make state change more similar to React setState.

babel 7

28 Aug 09:07
Compare
Choose a tag to compare

Babel 7!!!

Thanks to @TrySound

Babel magic

23 Aug 15:56
Compare
Choose a tag to compare

Pin babel runtime version and upgrade babel (#724)

Thanks to @shireeshaBongarala, @TrySound

babel 1

23 Aug 15:55
Compare
Choose a tag to compare

Use folder as babel input to preserve directory structure (#719)

Thanks to @shireeshaBongarala, @TrySound

toRenderProps - fromRenderProps

23 Aug 15:53
Compare
Choose a tag to compare

This release adds support to:

  1. toRenderProps with support for flow type
    2.fromRenderProps with support for flow type and multiple arguments.
  2. withPropsOnChange maps subset of owner props to child props with custom predicate.
  3. Upgrade the size snapshot plugin
    b2f082f
  4. Upgrade babel to ^7.0.0-beta.55 and reduce the bundle size.
    0db1ef6

Big Thanks to @shireeshaBongarala !!!

Render props

20 May 18:50
Compare
Choose a tag to compare

This release adds a missing piece between Higher Order Components and Render props

  • Meet withRenderProps props utility, it allows you to transform any HOC into RenderProps component
    see PR #663
    see docs
    see source
    see example

  • compose now shorter #643

The hero of this release is @pomber !!!

React 16.3 Lifecycles, flow types

19 Apr 08:55
Compare
Choose a tag to compare
  • Flow types are now distributed with recompose, please delete flow-typed recompose lib defs. #649
  • Build improvements by @TrySound #645
  • New lifecycle methods are used internally see #647
  • Minor docs and other changes

Remove Eager optimizations

06 Oct 15:12
Compare
Choose a tag to compare

After a lot of issues like #489 #525 #488 etc we decided to remove eager(in some cases recompose replaced createElement with function call) optimisations from recompose. See discussions in issues for details.

Thank you @deepsweet for this !!!

Please read comments here #538 for more information.

React 16.0.0

26 Sep 17:02
Compare
Choose a tag to compare

Add React 16 to peer deps

Production only optimisations

16 Aug 21:37
Compare
Choose a tag to compare

This release contains:

  1. #479 withStateHandlers fix which allows to use it with SyntheticEvents
  2. #473 Use eager factory optimization only in production env. (Possibly breaking change for development env, does not affects production builds)
  3. #463 Simpler classful component check - this change possibly will allow to use recompose with Preact and Inferno.
  4. #479 flow v0.53 typings support, having this flow release it would be easier to combine recompose and 3rd party hocs.
    (This PR must be merged to use with flow-typed, until that please use typedefs from current repo defs)

Thank you @developit, @deepsweet and others for your help!