Skip to content

Releases: romac/react-if

v4.1.5

29 Jun 18:50
fe4d17a
Compare
Choose a tag to compare

4.1.5 - (2023-06-29)

🏠 Refactor

  • Cleanup FunctionComponentWithImplicitChildren (7ddde60)

🐛 Bug Fixes

  • components: Remove deprecated defaultProps component option (#279) (da6fe51)

📝 Documentation

🧪 Testing

v4.1.4

21 Apr 21:46
Compare
Choose a tag to compare

4.1.4 - (2022-04-21)

Bug Fixes

v4.1.3

16 Apr 14:32
Compare
Choose a tag to compare

4.1.3 - (2022-04-16)

Bug Fixes

  • Fixed prepublish script for yarn publish (f6c8cdd)

v4.1.2

15 Apr 19:26
Compare
Choose a tag to compare

What's Changed

4.1.2 - (2022-04-15)

Bug Fixes

  • Export additional types for end-users (61f9abf)
  • Properly fix types for React 18 (54fee8e)
  • Update peer dependency to allow React 18 (b10bd3f)
  • Fixed the code to work with React 18 (4d504e1)

Refactor

  • Cleanup generic type (c8b566b)
  • Clean up global type declarations (5477d9d)

Styling

  • Reformat renovate config file (1c9509b)
  • Add EOF line for script (eba5e71)

Testing

  • Add more If tests (6a91441)
  • Finish porting tests to testing-library (e6c809a)
  • Update switch test (f229b1b)
  • Rewrite tests to react-testing-library (part 1) (196c536)
  • Configure jest runner vscode extension (2642c49)

New Contributors

Full Changelog: v4.1.1...v4.1.2

v4.1.1

15 Apr 19:18
Compare
Choose a tag to compare

4.1.1 (2021-09-26)

Bug Fixes

  • readme: fixed headers for usage (188f859)

v4.1.0

26 Sep 20:46
Compare
Choose a tag to compare

4.1.0 (2021-09-26)

Features

  • add Fallback component (d949f89)
  • add IfAsync component (will be used automatically when passing a Promise to the condition of <If condition={...}>) (c6ff69c)
  • add promise support to <If /> component (fixes #53) (#111) (18bb83b)
  • update soft minimum NodeJS requirement to v14 - only applies when engines is checked (f1ede6f)

Bug Fixes

  • if: properly throw warnings in dev mode (bd80bbc)

v4.0.1

22 Oct 14:53
Compare
Choose a tag to compare

4.0.1 (2020-10-21)

⚠ BREAKING CHANGES

  • readme: As part of the rewrite, the global exports are gone.
    Please use CommonJS or ESM style imports as specified in the README.

Bug Fixes

v4.0.0

22 Oct 14:53
Compare
Choose a tag to compare

4.0.0 (2020-10-21)

⚠ BREAKING CHANGES

  • As part of the rewrite, the global exports are gone. Please use CommonJS or ESM
    style imports as specified in the README.

Features

Version 3.4.3

17 Jun 11:26
v3.4.3
Compare
Choose a tag to compare

Version 3.4.2

17 Jun 11:25
v3.4.2
Compare
Choose a tag to compare
  • Type definition for Switch, Case and Default. (@melyourhero)