Skip to content

v20.0.0

Compare
Choose a tag to compare
@Iku-turso Iku-turso released this 09 Jan 12:09
· 51 commits to master since this release

20.0.0 (2025-01-09)

⚠ BREAKING CHANGES

  • Migrate to React ^18.

Co-authored-by: Janne Savolainen [email protected]
Signed-off-by: Iku-turso [email protected]

Features

  • Introduce way to create injectables that are also components: "getInjectableComponent" (8c8c5ff)
  • Introduce way to inject injectables in components using react hook: "useInject" (11474f9)
  • Make replaceTagsWithValues exported as point-free, and with typing (3ff26b1)
  • Use layoutEffect in withInjectables to probably serve unit-testability (8ba8734)

Bug Fixes

  • Composite keys should be allowed to be the prefix of other unrelated composite keys (707c758)
  • Fix typing of register and deregistering to accept injectable bunches (39ccedb)
  • Make changes in props not lose focus on inputs when using withInjectables and async deps (eee31b9)

Reverts

  • Revert "chore: Consolidate dependencies after major version bump" (c411800)
  • Revert "chore: Introduce a way to access value of asyncComputed without causing promise to be called" (b963784)

Miscellaneous Chores

  • Drop support for React 17 (b387379)

19.0.0 (2024-01-24)

⚠ BREAKING CHANGES

  • Migrate to using asyncComputed in package mobx-utils

Co-authored-by: Janne Savolainen [email protected]

Bug Fixes

  • Fix typing of conditional promises in pipeline (850a3aa)

Miscellaneous Chores

  • Get rid of duplicated asyncComputed (b6fd8b3)