Skip to content

Releases: effector/patronum

v0.14.2

07 Jul 16:22
Compare
Choose a tag to compare
v0.14.2 Pre-release
Pre-release

Broken release

next/v0.103.1

07 Jul 11:33
Compare
Choose a tag to compare
next/v0.103.1 Pre-release
Pre-release

🧰 Maintenance

next/v0.103.0

30 Jun 10:14
Compare
Choose a tag to compare
next/v0.103.0 Pre-release
Pre-release

🚀 Features

  • Enhanced types for combineEvents #65 (@doasync)
  • Add reset and target options to combine-events #63 (@doasync)

next/v0.102.1

30 Jun 10:13
Compare
Choose a tag to compare
next/v0.102.1 Pre-release
Pre-release

📚 Documentation

next/v0.102

29 Jun 15:33
Compare
Choose a tag to compare
next/v0.102 Pre-release
Pre-release

⚠️ Breaking changes

🚀 Features

🐛 Bug Fixes

v0.14.1

27 Jun 19:02
Compare
Choose a tag to compare
v0.14.1 Pre-release
Pre-release

🐛 Bug Fixes

next/v0.101.0

18 Jun 11:12
Compare
Choose a tag to compare
next/v0.101.0 Pre-release
Pre-release

⚠️ 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

next/v0.100.1

13 Jun 23:02
Compare
Choose a tag to compare
next/v0.100.1 Pre-release
Pre-release

🧪 Tests

🐛 Bug Fixes

next/v0.100

13 Jun 22:14
Compare
Choose a tag to compare
next/v0.100 Pre-release
Pre-release

⚠️ 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

v0.14 🎒

11 Jun 12:57
Compare
Choose a tag to compare
v0.14 🎒 Pre-release
Pre-release

🚀 Features

const $width = createStore(440);
const $height = createStore(820);

const $tooBig = some((size) => size > 800, [$width, $height]);

console.assert(true === $tooBig.getState());
const $isPasswordCorrect = createStore(true);
const $isEmailCorrect = createStore(true);

const $isFormCorrect = every(true, [$isPasswordCorrect, $isEmailCorrect]);

console.assert(true === $isFormCorrect.getState());
  • Add ability to write nested conditions #17 (@yumauri)
condition({
  source,
  if: condition1,
  then: unit1,
  else: condition({
    if: condition2,
    then: unit2,
    else: unit3,
  })
})

🧪 Tests

🏎 Optimizations