Skip to content

Latest commit

 

History

History
301 lines (157 loc) · 5.53 KB

CHANGES.md

File metadata and controls

301 lines (157 loc) · 5.53 KB

Changelog

Version v2.10

  • Add the ::rumext.v2/memo metadata for simplify the common case for memoization
  • Add the ::rumext.v2.props/expect metadata for props checking; it accepts a set of props for simple existence checkong or map with predicates for simple type checking
  • Add native js destructuring support on props

Version v2.9.3

  • bugfixes

Version v2.9.2

  • bugfixes

Version v2.9.1

  • bugfixes

Version v2.9

  • Make the library more lightweight removing unnecesary and duplicated code
  • Add the ability to define more react friendly components (for use outside cljs codebases).
  • Add the ability to define lazy loading components
  • Make rumext.v2.compiler/compile-concat public
  • Improve documentation

Version v2.8

  • Export React.lazy as lazy helper
  • Add lazy-component macro that joins react lazy with shadow-cljs lazy loading

Version v2.7

  • Update to react>=18

Version v2.6

  • Bugfixes

Version v2.5

  • Bugfixes

Version v2.4

  • Add improve performance of internal css handling

Version v2.3

  • Minor updates
  • Add with-fn macro

Version v2.2

  • Add the ability to destructure js props

Version v2.1

  • Make use-id available for react < 18.
  • Add use-equal-memo hook.
  • Add use-debouce hook.
  • Add experimental use-ssr-effect.

Version v2.0

  • Change version numbering: simplified.
  • Add v2 namespace that compatible with React18 (still some warnings that will be addressed in next versions)

Version 2022.04.19-148

  • Fix htmlFor attr handling

Version 2022.04.19-147

  • Fix empty props handling on [:& handler
  • Minor optimizations with type hints
  • Remove unused code

Version 2022.04.19-146

  • Fix throttle higher-order component

Version 2022.04.19-145

  • Refactor jsx compiler to extract key before call jsx functions.
  • Fix race condition on rumext.alpha/deref hook.

Version 2022.04.18-142

  • Minor fix on throttle and deferred higher-order components

Version 2022.04.18-141

  • Fix nil props handling.

Version 2022.04.18-140

  • More fixes related to jsx entry point changes.

Version 2022.04.18-139

  • Fix void elements type <hr /> (bug introduced in prev version).

Version 2022.04.18-138

  • Revert all react-18 changes (will be released as separated package).
  • Bundle simplified hicada compiler with simplier defaults.
  • Start using public api of JSX runtime instead of require the private production API.

Version 2022.04.10-141

  • Fix key warnings.

Version 2022.04.08-137

  • Use proper jsx runtime import

Version 2022.04.08-135

  • Upgrade to react-18

Version 2022.03.31-133

  • Avoid call internal deref on the deref hook.

Version 2022.03.28-131

  • Make the state return value stable if the state value does not changes.
  • Allow use use-var return value on VDOM ref attrs.

Version 2022.01.20.128

  • Dependencies updates
  • Add with-effect hook/macro.
  • Add with-memo hook/macro.

Version 2021.05.12-1

  • Fix incompatibilities with hicada 0.1.9

Version 2021.05.12-0

  • Fix bug in adapt with keywords.
  • Update hicada to 0.1.9

Version 2021.01.26-0

  • Add check-props helper.

Version 2020.11.27-0

  • Add ::mf/forward-ref metadata and support for multiple arguments for components.

Version 2020.10.14-1

  • Fix issues in previous release.

Version 2020.10.14-0

  • Fix minor issues on previous version related to the optimized create-element function.

Version 2020.10.06-0

  • Add highly optimized version of create-element.
  • Properly memoize result of use-var.
  • Update deps.

Version 2020.08.21-0

  • Add :rumext.alpha/register and :rumext.alpha/register-as component metadata for automatically register the component on some atom.

Version 2020.05.22-1

  • Bugfixes.

Version 2020.05.22-0

  • Add context api.
  • Fix a memory leak warning on throttle higher-order component.

Version 2020.05.04-0

  • Do not reverse wrappers.
  • Minor performance optimizations.
  • Add throttle higher-order component.
  • Add deferred higher-order component.
  • Update documentation.
  • Change license to MPL 2.0.

Version 2020.04.14-1

  • Revert microtask changes.

Version 2020.04.14-0

  • Schedule a microtask for adding watcher in deref hook.
  • Properly return value on use-var hook impl functions.

Version 2020.04.11-0

  • Use Symbol instead of gensym on deref (faster and more compatible with funcool/okulary).
  • Expose Profiler.
  • Remove hydrante function.

Version 2020.04.08-1

  • Fix component naming issues when wrap is used.

Version 2020.04.02-3

  • Fix bugs with Fragments.

Version 2020.04.02-2

  • Fix bugs on catch higher-order component.

Version 2020.04.02-1

  • Fix bugs on use-memo and use-callback.
  • Fix bugs on catch higher-order component.

Version 2020.04.01-3

  • Simplify defc and fnc macros.
  • Add catch higher-order error boundary component.
  • Rename memo to memo'.
  • Rename wrap-memo to memo.
  • Keep wrap-memo as backward compatible alias.

Version 2020.04.01-2

  • Add rumext.alpha/memo as a raw variant of wrap-memo.

Version 2020.04.01-1

  • Add fnc macro for define anonymous components (useful for define higher-order components).
  • Depend directrly from react and react-dom from npm. No more cljsjs packages.
  • Add printability for Symbol.

Version 2020.03.24

  • Refactor hooks (make they almost 0 runtime cost).
  • Remove all old obsolete code.
  • Remove macros for define class based components.
  • Many performance improvements and code simplification.

Version 2020.03.23

  • Complete rewrite.

Version 1.0.0

  • Initial release.