Skip to content

Latest commit

 

History

History
207 lines (121 loc) · 6.72 KB

CHANGELOG.md

File metadata and controls

207 lines (121 loc) · 6.72 KB

CHANGELOG

1.2.0

New

  • Preload namespace with react-refresh uix.preload #178
  • Forms rewriter, rewrites simple for into map #181

Improvements

  • Readbale component stack traces #171

1.2.0-rc3

New

  • add uix.re-frame with use-subscribe hook

1.2.0-rc2

New

  • set-state in use-state hook behaves like cljs.core/swap! when passing updater function

1.2.0-rc1

New

  • ^:memo tag for defui to create memoized components in-place
  • uix.core/clone-element helper for cloning UIx elements
  • React Hooks with deps are using now Clojure's equality check to detect whether deps were updated

1.1.1

Improvements

  • add defhook to lint as defn in clj-kondo config 53a7cc

Fixes

  • make args optional in clj components 806691

1.1.0

Improvements

  • The order of DOM attributes in JVM SSR should match JS SSR bf971d
  • JVM SSR: dynamic id should overwrite static id 929c26
  • Fixed props passing in as-react #134
  • JVM SSR: class, class-name and className should be rendered as class; for, html-for and htmlFor should render as for #137

New

  • Added use-debug hook to uix/core.cljs 27b4b9
  • Added a linter for DOM attributes #126
  • Utilities for html and hiccup to uix conversion #127
  • Support the optional key argument for create-portal #138
  • Fix Reagent-style hot-reloading not working with uix.corel/lazy and code-splitting in shadow-cljs #139

1.0.1

Improvements

  • Fixed $ elements not being emitted when $ is wrapped in a macro #121

1.0.0

Improvements

  • Missing key linter: check in a threading macro #100
  • Better error message when an incorrect value is supplied to $ in place of a component #114
  • Fix memory leak in use-subscribe hook #109
  • Fix fast-refresh breaking 7c39a4e, 2a4504b
  • Fixed minor differences in SSR output between JS and JVM renderers

New

  • cljs ns uix.dom.server wrapping react-dom/server
  • uix.core/client? and uix.core/server? helpers
  • suspense, strict-mode and profiler components
  • uix.core/defhook macro for custom hooks

0.10.0

Improvements

  • Allow props as js obj into non-uix components b0fe50
  • Should preserve identity of Clojure primitives when updating state with equal-by-value value a7abe1
  • Better forward-ref interop 2753d9

0.9.1

Improvements

  • Fixed incorrect return value of use-state hook on JVM 99b85f
  • Fixed Hooks deps linter missing reporting deps which names are shadowing JS globals 2d11b8
  • Use createRoot in tests 32e0bc

0.9.0

New

  • Public API for linter plugins #86
  • Deps linting enabled by default 25cc16
  • Added support for dynamic element types 14d5b7
  • Added clj-kondo config #97
  • Added error-boundary component #98
  • Added support for most React Hooks for SSR on JVM #104

Improvements

  • Improved missing deps reporting 5567dc
  • Fixed re-frame/subscribe linter #92
  • Fixed dangerouslySetInnerHTML throwing on JVM #102

Docs

0.8.1

Improvements

  • Fixed how react-dom API is exposed (react-dom vs react-dom/client)

0.8.0

New

  • React v18.2.0 API compatibility #59
  • New hooks wrappers: use-insertion-effect, use-deferred-value, use-transition, start-transition, use-id and use-sync-external-store
  • New uix.dom public API: create-root, hydrate-root, render-root and unmount-root

0.7.1

Improvements

  • Fix rules of hooks linter f7276d

0.7.0

New

  • Added uix.core/fn macro 924e4b

0.6.2

Improvements

  • Improved linter rule for missing :key attribute 1ee076
  • Make missing :key rule configurable 6f4873

0.6.1

Improvements

  • Recursive class names stringifier ebc178

0.6.0

Improvements

  • Better code location pointing in linting errors 7116d7

New

  • Linter rule to report on missing :key attribute fed7d8

0.5.0

Improvements

  • Make re-frame linter check configurable 8ef493
  • Improve linter's error messages 03609b

0.4.0

Improvements

  • Added linter check for non-reactive usage of re-frame subscriptions in UIx components via re-frame API 071650

Docs

0.3.0

Improvements

  • Fixed shadowing for non-ns component var generated in dev-only code 4458ee

New

0.2.0

Improvements

  • Improved missing deps check to account for vars shadowing #73

New

  • Added ^:lint-deps meta for deps vector in hooks to opt-in for missing deps check 1dbb7d9
  • Documented hooks linting baa7b9