Skip to content

Latest commit

 

History

History
83 lines (46 loc) · 5.07 KB

CHANGELOG.md

File metadata and controls

83 lines (46 loc) · 5.07 KB

@lit-labs/observers

2.0.2

Patch Changes

  • #4299 fffa4406 - Update version range for lit dependency to include v2 (and/or @lit/reactive-element v1). This allows projects still on lit v2 to use this package without being forced to install lit v3.

2.0.1

Patch Changes

  • #4141 6b515e43 - Update TypeScript to ~5.2.0

  • Updated dependencies:

    • @lit/reactive-element@2.0.0

2.0.1-pre.1

Patch Changes

2.0.1-pre.0

Patch Changes

2.0.0

Major Changes

  • #3771 89da3d80 - Change filenames to match project convention: replace _ with -.

1.1.0

Minor Changes

  • #3294 96c05f25 - Fix value property of type unknown on exported controllers. The type of value is now generic and can be inferred from the return type of your passed in callback. The default callback () => true was removed, and is now undefined by default.

  • #3323 0f787b29 - Add unobserve method to ResizeController and IntersectionController.

Patch Changes

  • #3293 7e22bc2e - Fix controllers not observing changes to target element if initialized after the host has connected.

  • #3321 e90e8fe9 - Controllers now track all observed targets and will restore observing targets when host is reconnected.

1.0.2

Patch Changes

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

1.0.1

Patch Changes

1.0.0

Major Changes

  • #2340 e1c88265 - A set of reactive controllers that facilitate using the platform observer objects, including MutationObserver, ResizeObserver, IntersectionObserver, and PerformanceObserver.

Patch Changes