Skip to content

Releases: atheck/react-elmish

v4.0.0

24 Jun 06:39
46fabe9

Choose a tag to compare

4.0.0 (2022-06-24)

  • Merge pull request #19 from atheck/atheck/issue18 (46fabe9), closes #19

BREAKING CHANGES

  • only useElmish using a parameter object is available since now

v3.3.0

06 May 11:30

Choose a tag to compare

3.3.0 (2022-05-06)

Features

  • add errorHandler helper function (#13) (36a6979)

v3.2.0

26 Apr 07:42

Choose a tag to compare

3.2.0 (2022-04-26)

Features

  • pass props to subscription function (3487d33)

v3.1.0

01 Apr 19:26

Choose a tag to compare

3.1.0 (2022-04-01)

Features

  • add InitReturnType and make the returned command optional (45f2468)
  • add support for subscriptions when using the useElmish hook (c6baf2a)

v3.0.0

01 Apr 07:18

Choose a tag to compare

3.0.0 (2022-04-01)

Code Refactoring

  • use an options object for the useElmish hook (74c2b38)

Features

  • add errorMsg object to create an ErrorMessage (0f0a3fc)

BREAKING CHANGES

  • the signature of the useElmish hook has changed
  • useElmish with multiple parameters is moved and marked as deprecated
  • useElmishMap is moved and marked as deprecated

v2.2.0

30 Mar 16:59

Choose a tag to compare

2.2.0 (2022-03-30)

Features

  • add ErrorMessage type (9df5bf8)
  • add getUpdateFn for usage in tests (21d06c6)

v2.1.0

18 Mar 07:54

Choose a tag to compare

feat: introduce useElmishMap and UpdateMap (https://github.com/atheck/react-elmish#a-new-approach)

v2.0.1

15 Mar 20:43

Choose a tag to compare

fix: always use the same dispatch function in useElmish hook by using useCallback (#9)

v2.0.0

04 Feb 06:56

Choose a tag to compare

BREAKING CHANGES:

  • Deprecated interfaces ILogger and IMessage were removed, use Logger and Message instead
  • Global declaration of the Nullable was removed, see Migration Guide

v.1.5.0

03 Dec 18:04

Choose a tag to compare

  • update deps
  • Rename interface ILogger into Logger (ILogger is deprecated)
  • Rename interface IMessage into Message (IMessage is deprecated)