Changelog History
Page 2
-
v2.3.0 Changes
April 07, 2016๐ New features
โ Add
resultFunc
property to selectors (#92) -
v2.2.0 Changes
March 15, 2016๐ New features
โ Add Typescript typings to package.json (#94)
-
v2.1.0 Changes
March 03, 2016๐ New features
โ Add
resetRecomputations
method to selectors (#90) -
v2.0.3 Changes
February 01, 2016๐ New features
๐ Fix bug (#78) in
defaultMemoize
which could cause the memoized value to be mistakenly returned for variadic functions. -
v2.0.2 Changes
January 14, 2016๐ New features
๐ Fix IE8 support by compiling in 'loose' mode
-
v2.0.1 Changes
November 08, 2015Chore
โก๏ธ Update README and github links since move to reduxjs.
-
v2.0.0 Changes
October 02, 2015๐ฅ Breaking Changes
โ
createSelector
,createStructuredSelector
, and custom selector creators check argumentsInput selectors are now verified to be functions during selector creation. If verification fails an error is thrown, allowing for a useful stack trace
There is a small chance that this could cause a breaking change in code that contains a faulty selector that is never called.
-
v1.1.0 Changes
September 16, 2015๐ New features
โ
createStructuredSelector
โ
createStructuredSelector
is a convenience function that helps with a common pattern when using Reselect. The selector passed to a connect decorator often just takes other selectors and maps them to keys in an object:const mySelectorA = state => state.a; const mySelectorB = state => state.b; const structuredSelector = createSelector( mySelectorA, mySelectorB, mySelectorC, (a, b, c) => ({ a, b, c }) );
โ
createStructuredSelector
takes an object whose properties are input-selectors and returns a structured selector. The structured selector returns an object with the same keys as theinputSelectors
argument, but with the selectors replaced with their values.const mySelectorA = state => state.a; const mySelectorB = state => state.b; const structuredSelector = createStructuredSelector({ x: mySelectorA, y: mySelectorB }); const result = structuredSelector({a: 1, b: 2}); // will produce {x: 1, y: 2}
-
v1.0.0 Changes
September 09, 2015๐ฅ Breaking Changes
๐ If upgrading from 0.0.2, see the release notes for v1.0.0-alpha
-
v1.0.0-alpha2 Changes
September 01, 2015๐ New features
๐ฆ src directory included in npm package ๐ฆ js:next field added to package.json