Releases: isobar-us/redux-form-gen
Releases · isobar-us/redux-form-gen
v0.12.0
Changed
- ⚠️ [Breaking] Changed the way that data is scoped
- You can now specify
globalScope
next to a questionId
in either field or conditional objects to change the base scope. By default the scope will be prefixed based on it's parent (such as an array
or section
type)
- Using an polyfill for
React.Fragment
so now the library should work in React < 16
Fixed
- Issue where
FormGenerator
and GenField
were blocking context updates for components using the old context API (before React.createContext()
) #36
Added
consumeReduxFormContext()
now takes a second parameter to subscribe to select parts of the _reduxForm
context. #36
v0.11.0
Changed
- ⚠️ [Breaking]
evalCondValid()
now returns true
if the value is nil
or empty string #31
- This should create more consistency in the usage of operators between conditionalValid and other conditional props
v0.10.0
Changed
- ⚠️ [Breaking] For number comparison operators, return false for nil or empty string values #28
- This change effects the following conditional operators:
lessThan
, greaterThan
, lessThanEqual
, greaterThanEqual
v0.9.12
Added
- excludeInvalid & excludeRequired options for getSectionErrors() #22
v0.9.11
Added
- New
onSetError
event listener for the getSectionErrors()
function. #21
- replaced a custom shallow diff function with
react-fast-compare
for better performance.
v0.9.10
Added
- Internal values cache will now clear if form is reset.
Fixed
- Performance has been increased by adding some update checks
- Moved internal values cache out of state (perf)
- Moved context into state (perf)
v0.9.9
Fixed
- Prevented internal bleed of
fieldOptions
between util functions
- Fixed detection of
_genHidden
in isFieldVisible()
v0.9.8
Fixed
- Allow
_genSectionErrors
to run for any field, regardless of if it has a questionId
#20
- Check for
!isNil
before running _genIsFilled
and _genIsValid