Releases: bigdatr/stampy
Releases · bigdatr/stampy
Allow PropChangeHock to getIn class instance properties in its prop keys
- PropChangeHock
PropChangeHockpaths can now contain class instances- BREAKING CHANGE
PropChangeHockchecks each data at each path inpaths. Commonly the data at these paths are just primitives, but they can be deep data types too. Previously if the data at each of these paths were objects or arrays then these would be compared strictly, but now they are checked deeply. This brings the equality checking of object and arrays in line with the equality checking of Immutable.jsMaps andLists.
v0.41.0
Cooperative Chameleon
Breaking changes
- Remove named exports. Get your components by going
stampy/lib/whatevernow - Files have all moved, stay on your toes
- immutable, moment, numeral and react-select are now peer / dev deps, install them yourself if you need them. If you're using
TextorSelectdirectly in an app, consider moving them to theapp-stylerepo for your app. - All SASS removed
- Hock util has been added for creating standard hocks
- StateHock and ElementQueryHock now use the new standard Hock pattern
- Pipes, CollectionUtils and ConfigureHock have been deprecated, are in the deprecated folder
- RemoveProps util has been deleted
New stuff
- Spruce peer props and style props are now on:
- Button
- Input
- Label
- Select
- Table
- Text
- Textarea
- Toggle
- ToggleSet
- Textarea has new props
- placeholder
- name
Internal stuff
- Move test files as per #56
- Proto blueflag test is now being used.
- Flow has been upgraded
- Linting is working
- Flow and linting is now being used on test files
- Some more dependencies have been sorted out
- Babel upgrades
- ShowHideStateful uses StateHock
- Pullapprove yaml updated
- Jsdoc comments have been retained for when reimplement docs
- ElementQueryHock has been upgraded to use refs
- Hock util has been added for creating standard hocks
- Components have a standard set of checks for class names / spruce names, although this hasn't been deduped yet
Add CollectionUtils isKeyed and isIndexed
- Fix bug in querystringhock that caused empty
location.searchto not applyconfig.defaultQuery - Add better error message in
SpreadPipewhen accidentally providing non-keyed values
Add Debounce Pipe
- Added Debounce pipe
- ConfigureHock will not break when first argument is given null instead of a function.
- SplitIndexPipe now doesn't needlessly recreate its onChange functions on render
Add IndexSplitterPipe
Breaking changes include all pipes now use config function instead of config object
Performance Upgrade to PropChangeHock
- BREAKING: PropChangeHock now uses a config function
// old
const withPropChange = PropChangeHock(['id'], requestData);
// new
const withPropChange = PropChangeHock(() => {
paths: ['id'],
onPropChange: requestData
});- NEW: PropChangeHock can pass
config.onPropChangefunction to child by settingconfig.passOnPropChangetotrue.
Added UpPipe, changed all pipes to use standard config function
- New UpPipe
- Breaking changes to all other pipes
Added KeyedSplitterPipe, Compose, ConfigureHock, DownPipe
Breaking changes
KeyedStatePipenow calledSpreadPipeFormHockremoved
Added FormHock and CollectionUtils
v0.22.0 0.22.0