Skip to content

Latest commit

 

History

History
329 lines (172 loc) · 5.1 KB

CHANGELOG.md

File metadata and controls

329 lines (172 loc) · 5.1 KB

Change Log

[Unreleased]

[2.0.0] - 2024-05-07

Changed

  • Module-first setup #209

Added

  • breaking: make it compatible with memo and react compiler #202

Removed

  • memo is removed as it is no longer necessary with #202

[1.7.14] - 2024-03-08

Changed

  • update use-context-selector v1.4.4

[1.7.13] - 2024-03-06

Changed

  • update use-context-selector v1.4.3

[1.7.12] - 2024-03-02

Changed

  • update use-context-selector #200

[1.7.11] - 2023-01-04

Changed

  • Update proxy-compare v2.4.0 #170

[1.7.10] - 2022-08-13

Changed

  • Update proxy-compare
  • Update use-context-selector

[1.7.9] - 2022-04-17

Changed

  • fix: extra re-renders in dev mode #148

[1.7.8] - 2022-03-18

Changed

  • fix: make default context values customizable #143
  • Update proxy-compare

[1.7.7] - 2022-03-09

Changed

  • fix: improve no provider error #139

[1.7.6] - 2022-01-12

Changed

  • feat: Added container name optional args when creating containers (#132)

[1.7.5] - 2021-11-14

Changed

  • Update dependencies fixing ESM exports (#125)
  • fix: eliminate useLayoutEffect (#118)

[1.7.4] - 2021-08-13

Changed

  • Fix package.json properly for ESM (#115)

[1.7.3] - 2021-07-01

Changed

  • Fix anonymous functions shown in devtools (#108)

[1.7.2] - 2021-06-03

Changed

  • Fix useTracked for legacy mode following #92 (#102)

[1.7.1] - 2021-05-15

Changed

  • Update proxy-compare and drop unstable options (#96)

[1.7.0] - 2021-04-11

Changed

  • createContainer takes the second argument for opt-in concurrent mode support (#92)
    • This is a (technically breaking) behavioral change.

[1.6.6] - 2021-04-05

Changed

  • Better SSR detection for Deno (#89)

[1.6.5] - 2021-01-24

Changed

  • Update use-context-selector to fix some behaviors

[1.6.4] - 2021-01-21

Changed

  • Fix read-only and non-configurable data property error (#81)

[1.6.3] - 2021-01-17

Changed

  • Support memo with forwarded ref (#80)

[1.6.2] - 2021-01-14

Changed

  • Improve memo typing (#77)

[1.6.1] - 2020-12-30

Changed

  • Fix a hypothetical issue of reusing deepChangedCache

[1.6.0] - 2020-12-26

Added

  • Export createTrackedSelector, a new building-block function (#71)

[1.5.1] - 2020-12-19

Changed

  • Fix a fatal bug in v1.5.0 (#72)

[1.5.0] - 2020-12-04

Changed

  • Refactor: typescript, proxy-compare, use-context-selector (#68)

[1.4.2] - 2020-09-08

Changed

  • Fix invalid type definitions (#59)

[1.4.1] - 2020-06-23

Changed

  • Use unstable_batchedUpdates internally (#54)

[1.4.0] - 2020-05-13

Changed

  • Export a special memo instead of trackMemo (#47)
    • This is a breaking change in API and requires migration

[1.3.0] - 2020-03-07

Changed

  • Notify child components in update not in render (#42)
    • No updates on props change (breaking change in an undocumented behavior)
    • The update must be a function (breaking change in an example and a recipe)

[1.2.0] - 2020-02-29

Changed

  • Fix anonymous hook names (#39)
  • Add debug value to show tracked paths in useTrackedState (#40)
  • Unwrap Proxy before wrapping to mitigate possible pitfalls (#41)

[1.1.1] - 2020-02-26

Changed

  • Use useIsomorphicLayoutEffect in Provider to eliminate SSR warning

[1.1.0] - 2020-02-24

Changed

  • A workaround for React render warning (hopefully temporarily)

[1.0.6] - 2020-02-11

Changed

  • Betect SSR beter by checking userAgent

[1.0.5] - 2020-02-03

Changed

  • Ignore thrown error/promise in useTrackedState callback (for Suspense)

[1.0.4] - 2020-02-02

Changed

  • Improve internal mode for deepProxy behavior
    • This doesn't change the default behavior

[1.0.3] - 2020-02-01

Changed

  • Fix typing of a readonly tuple in 1.0.2
  • Fix typing of useValue in createContainer

[1.0.2] - 2020-01-19

Changed

  • Change useValue type to accept a readonly tuple

[1.0.1] - 2020-01-05

Changed

  • Possibly reduce bundle size

[1.0.0] - 2019-12-05

Changed

  • Fix API and release v1

[0.11.0] - 2019-10-12

Added

  • A new API getUntrackedObject as an escape hatch (#24)

[0.10.0] - 2019-10-08

Added

  • A new API trackMemo as an escape hatch for React.memo (#22)

[0.9.0] - 2019-10-05

Changed

  • Inline useForceUpdate to remove unnecessary deps

[0.8.0] - 2019-09-05

Changed

  • Only provide container API (breaking change) (#16)

[0.7.0] - 2019-07-20

Changed

  • No useLayoutEffect for invoking listeners (which leads de-opt sync mode)

[0.6.0] - 2019-07-15

Changed

  • Prefer createContainer to default context (#5)

[0.5.0] - 2019-07-13

Changed

  • Warn if useValue is not statically defined

[0.4.0] - 2019-06-14

Added

  • Add createContainer

Changed

  • Rename to simple provider (breaking change)

[0.3.0] - 2019-06-13

Changed

  • Add customContext support
  • Fix useDispatch
  • Remove unnecessary batchedUpdates
  • Split useTrackedState and useTracked

[0.2.0] - 2019-06-13

Changed

  • Properly useEffect in TrackedProvider

[0.1.0] - 2019-06-12

Added

  • Initial experimental release