Skip to content

Releases: lensapp/ogre-tools

v20.5.0

10 Feb 10:26
Compare
Choose a tag to compare

20.5.0 (2025-02-10)

Features

  • Make useInject support suspending between updates (46302aa)
  • Make useInject suspend between updates as default (54746ef)

v20.4.1

31 Jan 14:47
Compare
Choose a tag to compare

20.4.1 (2025-01-31)

Bug Fixes

  • Make js implementation of getTypedSpecifier match type (f731bda)

v20.4.0

30 Jan 13:54
Compare
Choose a tag to compare

20.4.0 (2025-01-30)

Features

  • Support PlaceholderComponents to consume the props of an InjectableComponent (404f697)

v20.3.0

30 Jan 09:57
Compare
Choose a tag to compare

20.3.0 (2025-01-30)

Features

  • Introduce some utilities for typed specifiers of specific tokens (0b3b582)
  • Make injectable bunch able to nest more bunches (a2438ed)

v20.2.1

23 Jan 09:59
Compare
Choose a tag to compare

20.2.1 (2025-01-23)

Bug Fixes

  • Make injectable bunch not mangle content given to it (c2b7a03)

v20.2.0

22 Jan 07:21
Compare
Choose a tag to compare

20.2.0 (2025-01-22)

Features

  • Introduce "discoverable", a test-utility to control HTML-elements using data-attributes (eece23a)
  • Introduce first draft of the ElementComponent, ie. reusable React-props (a7b9b92)

Bug Fixes

  • Make an injectableComponent not confuse different dis (e102d98)

v20.1.0

13 Jan 16:00
Compare
Choose a tag to compare

20.1.0 (2025-01-13)

Features

  • Introduce support for custom comparers in asyncComputed (1bd3ad0)
  • Make injection tokens more easy to spot in error string (c90efe1)

Bug Fixes

  • Add missing typing for equality comparers of asyncComputed (3b7604e)

v20.0.1

10 Jan 07:55
Compare
Choose a tag to compare

20.0.1 (2025-01-10)

Note: Version bump only for package ogre-tools

v20.0.0

09 Jan 12:09
Compare
Choose a tag to compare

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)

v18.6.1

14 Nov 07:29
Compare
Choose a tag to compare

18.6.1 (2024-11-14)

Bug Fixes

  • Add missing typing for equality comparers of asyncComputed (9d082c7)