Releases: effector/patronum
Releases · effector/patronum
v0.14.2
Broken release
next/v0.103.1
🧰 Maintenance
- Removed unused
effector-debounce
dependency 599f82f (@sergeysova)
next/v0.103.0
next/v0.102.1
📚 Documentation
- Add migration guide
v0.14
→v0.100
#62 (@sergeysova)
next/v0.102
⚠️ Breaking changes
- Add object arguments form for
spread
method #61 (@sergeysova) - Add object arguments form for
combineEvents
#58 (@sergeysova) - Add object arguments form for
reshape
method #57 (@sergeysova) - Add object arguments form for
status
#55 (@sergeysova) - Implement object arguments form for
delay
method #51 (@sergeysova) - Add object arguments form for
every
method #50 (@sergeysova) - Refactored
some
method (object form arguments) #43 (@sergeysova) - Refactored
splitMap
to object form arguments #41 (@sergeysova)
🚀 Features
- Read arguments for
condition
usingreadConfig
#56 (@sergeysova)
🐛 Bug Fixes
v0.14.1
next/v0.101.0
⚠️ Breaking changes
- Fully refactored
debounce
method (object form arguments, pass latest value, supports target) #38 (@sergeysova)
Migrate debounce and implement object arguments form with target support
const debounced = debounce({ source, timeout: 10 })
// or
debounce({ source, timeout: 10, target })
🧪 Tests
- Split CI to different steps #39 (@sergeysova)
next/v0.100.1
🧪 Tests
- Cover
throttle
with type tests #36 (@sergeysova)
🐛 Bug Fixes
- Add
library.js
to package.json:files 838d719 (@sergeysova)
next/v0.100
⚠️ Breaking changes
- Fully refactored
throttle
method (object form arguments, pass latest value, supports target) #31 (@sergeysova)
BREAKING CHANGE: unnamed arguments removed, supports only object form, pass payload from the latest source
trigger
const throttled = throttle({ source: unit, timeout: 200 })
throttled.watch(payload => console.log("triggered", payload))
unit(1)
unit(2)
unit(3)
// after 200ms
// => triggered 1
throttle({
source, timeout: 200, target
})
📚 Documentation
splitMap
andreshape
marked as ready to use #26 (@sergeysova)
v0.14 🎒
🚀 Features
- Add new method
some
#20 (@sergeysova)
const $width = createStore(440);
const $height = createStore(820);
const $tooBig = some((size) => size > 800, [$width, $height]);
console.assert(true === $tooBig.getState());
- Add new method
every
#18 (@sergeysova)
const $isPasswordCorrect = createStore(true);
const $isEmailCorrect = createStore(true);
const $isFormCorrect = every(true, [$isPasswordCorrect, $isEmailCorrect]);
console.assert(true === $isFormCorrect.getState());
condition({
source,
if: condition1,
then: unit1,
else: condition({
if: condition2,
then: unit2,
else: unit3,
})
})