Skip to content

Latest commit

 

History

History
133 lines (71 loc) · 5.89 KB

CHANGELOG.md

File metadata and controls

133 lines (71 loc) · 5.89 KB

Change Log

1.0.8

Patch Changes

  • #2800 043d9c80 - Support setting custom accessors by using an 'in' check instead of a for/in loop to check for properties.

1.0.7

Patch Changes

  • #3072 94722633 - Avoid nested component props type declarations. Incrementally define what types are needed rather than nesting.

  • #3067 f3e3cddf - Fixed an error that occurs when when compiling TS. The error occurs when createComponent() is not provided an event map causing instance properties to be confused with event handlers.

  • #3111 6158482c - Removed the unexposed and unnecessary StringValued type used to correlate property names with event listener names.

  • #3132 2fe2053f - Added "types" entry to package exports. This tells newer versions of TypeScript where to look for typings for each module.

1.0.6

Patch Changes

  • #3050 5227ca52 - Fix a property collision in the minified production build.

1.0.5

Patch Changes

  • #2987 93b30f7d - [labs/react] useController is compatible with React strict mode.

  • #2960 16a900c7 - Fix '@lit-labs/react/use-controller.js' not being correctly exported from package.json.

1.0.4

Patch Changes

  • #2678 80e701e2 - Skip the __forwardedRef when passing component props to element.

1.0.3

Patch Changes

  • #2648 7cb492a3 - Event callbacks can be typed by casting with EventHandler

1.0.2

Patch Changes

  • #2410 b9a6962b - Correct the link path of CONTRIBUTING.md in README.md files

1.0.1

Patch Changes

  • #2155 55cc9df4 - Fix displayName of components created with "createComponent"

1.0.0

Patch Changes

  • #1942 c8fe1d4 - For minified class fields on classes in lit libraries, added prefix to stable properties to avoid collisions with user properties.
  • #2113 5b2f3642 - Dependency upgrades including TypeScript 4.4.2
  • #2123 efe88ba5 - Adds React.HTMLAttributes to component props, which enables the built-in onXyz event handler props.

1.0.0-rc.4

Patch Changes

  • #2113 5b2f3642 - Dependency upgrades including TypeScript 4.4.2
  • #2123 efe88ba5 - Adds React.HTMLAttributes to component props, which enables the built-in onXyz event handler props.

1.0.0-rc.3

Patch Changes

  • #1942 c8fe1d4 - For minified class fields on classes in lit libraries, added prefix to stable properties to avoid collisions with user properties.

Changes below were based on the Keep a Changelog format. All changes above are generated automatically by Changesets.


Unreleased

Fixed

  • Included development folder in release #1912.

[1.0.0-rc.2] - 2021-05-07

Fixed

  • Fixed a bug where host.requestUpdate() only worked on the first call from within useController().

[1.0.0-rc.1] - 2021-04-20

Added

  • Added useControler() hook for creating React hooks from Reactive Controllers (#1532).

[1.0.0-pre.2] - 2021-03-31

Changed

  • Updated dependencies

[1.0.0-pre.1] - 2021-02-11

Added

  • Adds React component wrapper for custom elements. Use by calling createComponent (#1420).