Skip to content

Releases: reactive-python/reactpy

0.37.1-a1

28 Feb 17:00
Compare
Choose a tag to compare
0.37.1-a1 Pre-release
Pre-release

What's Changed

Full Changelog: 0.37.0...0.37.1-a1

0.37.0

28 Feb 06:20
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 0.36.3...0.37.0

0.36.3

18 Feb 09:00
3748f38
Compare
Choose a tag to compare

Misc bug fixes along with a minor improvement that allows components to return None
to render nothing.

Closed Issues

  • All child states wiped upon any child key change - #652
  • Allow NoneType returns within components - #538

Merged Pull Requests

0.36.2

03 Feb 05:21
Compare
Choose a tag to compare

Hot fix for newly introduced DeprecatedOption:

0.36.1

03 Feb 02:56
Compare
Choose a tag to compare

Includes bug fixes and renames the configuration option IDOM_WED_MODULES_DIR to IDOM_WEB_MODULES_DIR with a corresponding deprecation warning.

Closed Issues

  • Fix Key Error When Cleaning Up Event Handlers - #640
  • Update Script Tag Behavior - #628

Merged Pull Requests

  • mark old state as None if unmounting - #641
  • rename IDOM_WED_MODULES_DIR to IDOM_WEB_MODULES_DIR - #638

0.36.0

31 Jan 02:15
Compare
Choose a tag to compare

This release includes an important fix for errors produced after #623 was merged. In addition there is not a new http.script element which can behave similarly to a standard HTML <script> or, if no attributes are given, operate similarly to an effect. If no attributes are given, and when the script evaluates to a function, that function will be called the first time it is mounted and any time the content of the script is subsequently changed. If the function then returns another function, that returned function will be called when the script is removed from the view, or just before the content of the script changes.

Closed Issues

Pull Requests

0.35.4

27 Jan 20:46
Compare
Choose a tag to compare

Keys for elements at the root of a component were not being tracked. Thus key changes for elements at the root did not trigger unmounts.

Closed Issues

Pull Requests

0.35.3

27 Jan 16:10
Compare
Choose a tag to compare

As part of #614, elements which changed type were not deeply unmounted. This behavior is probably undesirable though since the state for children of the element in question would persist (probably unexpectedly).

Pull Requests

  • Always deeply unmount - #620

0.35.2

27 Jan 06:47
Compare
Choose a tag to compare

This release includes several bug fixes. The most significant of which is the ability to change the type of an element in the try (i.e. to and from being a component) without getting an error. Originally the errors were introduced because it was though changing element type would not be desirable. This was not the case though - swapping types turns out to be quite common and useful.

0.35.1

19 Jan 05:38
Compare
Choose a tag to compare

Re-add accidentally deleted py.typed file to distribution. See PEP-561 for info on this marker file.