Skip to content

Latest commit

 

History

History
983 lines (662 loc) · 18 KB

CHANGELOG.md

File metadata and controls

983 lines (662 loc) · 18 KB

@helux/core

4.4.2

Patch Changes

  • ce189b6: build(4.4.2): clear fixedDepKeys
  • Updated dependencies [ce189b6]
    • @helux/hooks-impl@4.4.2
    • @helux/types@4.4.2
    • @helux/utils@4.4.2

4.4.1

Patch Changes

  • 02c2272: (build: 4.4.1): fix issue 172
    • @helux/hooks-impl@4.4.1
    • @helux/types@4.4.1
    • @helux/utils@4.4.1

4.4.0

Minor Changes

  • a228a34: build(4.4.0): bump limu to support autoRevoke, avoid limu deepDrill maximum call

Patch Changes

  • @helux/hooks-impl@4.4.0
  • @helux/types@4.4.0
  • @helux/utils@4.4.0

4.3.6

Patch Changes

  • f014aae: build(4.3.6): add RUN_AT_SERVER judgement
  • Updated dependencies [f014aae]
    • @helux/hooks-impl@4.3.6
    • @helux/types@4.3.6
    • @helux/utils@4.3.6

4.3.5

Patch Changes

  • a17d460: mark ver as 4.3.5
  • Updated dependencies [a17d460]
    • @helux/hooks-impl@4.3.5
    • @helux/types@4.3.5
    • @helux/utils@4.3.5

4.3.4

Patch Changes

  • ef43031: ignore Loading dup tip
  • Updated dependencies [ef43031]
    • @helux/hooks-impl@4.3.4
    • @helux/types@4.3.4
    • @helux/utils@4.3.4

4.3.3

Patch Changes

  • 8451c13: ignore Loading dup tip
    • @helux/hooks-impl@4.3.3
    • @helux/types@4.3.3
    • @helux/utils@4.3.3

4.3.2

Patch Changes

  • 94cd307: build(4.3.2): optimize delFnDepData
    • @helux/hooks-impl@4.3.2
    • @helux/types@4.3.2
    • @helux/utils@4.3.2

4.3.1

Patch Changes

  • 41b9f1d: build(4.3.1): support mutate cancel
    • @helux/hooks-impl@4.3.1
    • @helux/types@4.3.1
    • @helux/utils@4.3.1

4.3.0

Minor Changes

  • ac52a46: build(4.2.8): fix unwatch
  • 5520458: build(4.2.7): fix unwatch

Patch Changes

  • Updated dependencies [ac52a46]
  • Updated dependencies [5520458]
    • @helux/hooks-impl@4.3.0
    • @helux/types@4.3.0
    • @helux/utils@4.3.0

4.2.7

Patch Changes

  • db6c763: build(4.2.7): issue 156
  • Updated dependencies [db6c763]
    • @helux/hooks-impl@4.2.7
    • @helux/types@4.2.7
    • @helux/utils@4.2.7

4.2.6

Patch Changes

  • efeee46: build(4.2.6): refactor onRead
  • Updated dependencies [efeee46]
    • @helux/hooks-impl@4.2.6
    • @helux/types@4.2.6
    • @helux/utils@4.2.6

4.2.5

Patch Changes

  • d2dd4b9: build(4.2.5): optimize types
    • @helux/hooks-impl@4.2.5
    • @helux/types@4.2.5
    • @helux/utils@4.2.5

4.2.4

Patch Changes

  • 263a2b8: build(4.2.4): optimize type
    • @helux/hooks-impl@4.2.4
    • @helux/types@4.2.4
    • @helux/utils@4.2.4

4.2.3

Patch Changes

  • 7945ddb: build(4.2.3): merge fisher pr
    • @helux/hooks-impl@4.2.3
    • @helux/types@4.2.3
    • @helux/utils@4.2.3

4.2.2

Patch Changes

  • 9007ad6: build(4.2.2): add extraArgs for runMutateTask
  • Updated dependencies [9007ad6]
    • @helux/hooks-impl@4.2.2
    • @helux/types@4.2.2
    • @helux/utils@4.2.2

4.2.1

Patch Changes

  • 35c2cf9: build(4.2.1): optimize util writing
  • Updated dependencies [35c2cf9]
    • @helux/hooks-impl@4.2.1
    • @helux/types@4.2.1
    • @helux/utils@4.2.1

4.2.0

Minor Changes

  • e63fbea: build(4.2.0): see change log 2024-01-16

Patch Changes

  • Updated dependencies [e63fbea]
    • @helux/hooks-impl@4.2.0
    • @helux/types@4.2.0
    • @helux/utils@4.2.0

4.1.6

Patch Changes

  • a73b4e3: build(4.1.6): add isDraft
    • @helux/hooks-impl@4.1.6
    • @helux/types@4.1.6
    • @helux/utils@4.1.6

4.1.5

Patch Changes

  • dd2b873: build(4.1.5): optimize PluginCommonOn type
    • @helux/hooks-impl@4.1.5
    • @helux/types@4.1.5
    • @helux/utils@4.1.5

4.1.4

Patch Changes

  • 5bf4276: build(4.1.3): optimize PlainJson type
    • @helux/hooks-impl@4.1.4
    • @helux/types@4.1.4
    • @helux/utils@4.1.4

4.1.3

Patch Changes

  • @helux/hooks-impl@4.1.3
  • @helux/types@4.1.3
  • @helux/utils@4.1.3

4.1.2

Patch Changes

  • b4a9cee: build(4.1.2): bump limu to get length and size dep
  • Updated dependencies [b4a9cee]
    • @helux/hooks-impl@4.1.2
    • @helux/types@4.1.2
    • @helux/utils@4.1.2

4.1.1

Patch Changes

  • b8d690b: build(4.1.1):bump limu to fix reading IS_RAW problem
  • Updated dependencies [b8d690b]
    • @helux/hooks-impl@4.1.1
    • @helux/types@4.1.1
    • @helux/utils@4.1.1

4.1.0

Minor Changes

  • c5d1871: build(4.1.0): allow derive,mutate bind one extra shared state,now modular can be clone easily, fix reactive markUsing logic

Patch Changes

  • Updated dependencies [c5d1871]
    • @helux/hooks-impl@4.1.0
    • @helux/types@4.1.0
    • @helux/utils@4.1.0

4.0.3

Patch Changes

  • 6be67ec: feat: add watchEffect, useWatchEffect
    • @helux/hooks-impl@4.0.3
    • @helux/types@4.0.3
    • @helux/utils@4.0.3

4.0.2

Patch Changes

  • bbe5056: optimize publishConfig
  • Updated dependencies [bbe5056]
    • @helux/hooks-impl@4.0.2
    • @helux/types@4.0.2
    • @helux/utils@4.0.2

4.0.1

Patch Changes

  • 0cf2e62a: bump to v4
  • Updated dependencies [0cf2e62a]
    • @helux/hooks-impl@4.0.1
    • @helux/types@4.0.1
    • @helux/utils@4.0.1

4.0.0

Major Changes

  • 130de8be: add markRaw

Patch Changes

  • Updated dependencies [130de8be]
    • @helux/hooks-impl@4.0.0
    • @helux/types@4.0.0
    • @helux/utils@4.0.0

3.6.14

Patch Changes

  • ea640d21: add useReactiveX
  • Updated dependencies [ea640d21]
    • @helux/hooks-impl@3.6.14
    • @helux/types@3.6.14
    • @helux/utils@3.6.14

3.6.13

Patch Changes

  • 7957ac03: optimize initLoadingCtx
  • Updated dependencies [7957ac03]
    • @helux/hooks-impl@3.6.13
    • @helux/types@3.6.13
    • @helux/utils@3.6.13

3.6.12

Patch Changes

  • d6c30035: add ctx.getSnap
  • Updated dependencies [d6c30035]
    • @helux/hooks-impl@3.6.12
    • @helux/types@3.6.12
    • @helux/utils@3.6.12

3.6.11

Patch Changes

  • 8fab5633: optimize useEvent
  • 0af797f2: optimize useEvent
  • Updated dependencies [8fab5633]
  • Updated dependencies [0af797f2]
    • @helux/hooks-impl@3.6.11
    • @helux/types@3.6.11
    • @helux/utils@3.6.11

3.6.10

Patch Changes

  • aec08711: simplfy reactive logic
  • Updated dependencies [aec08711]
    • @helux/hooks-impl@3.6.10
    • @helux/types@3.6.10
    • @helux/utils@3.6.10

3.6.9

Patch Changes

  • 8ed5c93a: add throwErr to mutate.run
  • Updated dependencies [8ed5c93a]
    • @helux/hooks-impl@3.6.9
    • @helux/types@3.6.9
    • @helux/utils@3.6.9

3.6.8

Patch Changes

  • 6129c376: collect atom dep in derive deps result
  • Updated dependencies [6129c376]
    • @helux/hooks-impl@3.6.8
    • @helux/types@3.6.8
    • @helux/utils@3.6.8

3.6.7

Patch Changes

  • 37382dce: optimize signal format
    • @helux/hooks-impl@3.6.7
    • @helux/types@3.6.7
    • @helux/utils@3.6.7

3.6.6

Patch Changes

  • 2f17fd97: export cst from helux
  • Updated dependencies [2f17fd97]
    • @helux/hooks-impl@3.6.6
    • @helux/types@3.6.6
    • @helux/utils@3.6.6

3.6.5

Patch Changes

  • 3324120f: export cst
    • @helux/hooks-impl@3.6.5
    • @helux/types@3.6.5
    • @helux/utils@3.6.5

3.6.4

Patch Changes

  • 272a1293: add from when buildMeta for topReactive
    • @helux/hooks-impl@3.6.4
    • @helux/types@3.6.4
    • @helux/utils@3.6.4

3.6.3

Patch Changes

  • eca0add6: feat: add sharedKey to reactiveMeta
    • @helux/hooks-impl@3.6.3
    • @helux/types@3.6.3
    • @helux/utils@3.6.3

3.6.2

Patch Changes

  • 0e2f2ea7: optimize ins reactive mete rebuild logic
    • @helux/hooks-impl@3.6.2
    • @helux/types@3.6.2
    • @helux/utils@3.6.2

3.6.1

Patch Changes

  • 44f4daba: add useStateX to sharedCtx
    • @helux/hooks-impl@3.6.1
    • @helux/types@3.6.1
    • @helux/utils@3.6.1

3.6.0

Minor Changes

  • 222ff26e: optimize for nextjs

Patch Changes

  • Updated dependencies [222ff26e]
    • @helux/utils@3.6.0
    • @helux/hooks-impl@3.6.0
    • @helux/types@3.6.0

3.5.23

Patch Changes

  • bb6fb975: optimize enableMutate
    • @helux/hooks-impl@3.5.23
    • @helux/types@3.5.23
    • @helux/utils@3.5.23

3.5.22

Patch Changes

  • f7f12ade: add setEnableMutate getEnableMutate
    • @helux/hooks-impl@3.5.22
    • @helux/types@3.5.22
    • @helux/utils@3.5.22

3.5.21

Patch Changes

  • 6c07215: add setDraft, optimize reactiveMeta, add needEFUpdate
    • @helux/hooks-impl@3.5.21
    • @helux/types@3.5.21
    • @helux/utils@3.5.21

3.5.20

Patch Changes

  • b7b9c4e: del redandunt alert
    • @helux/hooks-impl@3.5.20
    • @helux/types@3.5.20
    • @helux/utils@3.5.20

3.5.19

Patch Changes

  • ba0416e: build(3.5.19): optimise defineFullDerive type, unbox fullDeriveResult automatically
    • @helux/hooks-impl@3.5.19
    • @helux/types@3.5.19
    • @helux/utils@3.5.19

3.5.18

Patch Changes

  • 27c3415: build(3.5.18): optimize tryGetLoc for codesandbox
    • @helux/hooks-impl@3.5.18
    • @helux/types@3.5.18
    • @helux/utils@3.5.18

3.5.17

Patch Changes

  • 3209665: build(3.5.17): optimize tryGetLoc
    • @helux/hooks-impl@3.5.17
    • @helux/types@3.5.17
    • @helux/utils@3.5.17

3.5.16

Patch Changes

  • 1204453: build(3.5.16): optimize dead-cycle check, define api
  • Updated dependencies [1204453]
    • @helux/utils@3.5.16
    • @helux/hooks-impl@3.5.16
    • @helux/types@3.5.16

3.5.15

Patch Changes

  • c3f24a5: build(3.5.15): optimize buildReactive
    • @helux/hooks-impl@3.5.15
    • @helux/types@3.5.15
    • @helux/utils@3.5.15

3.5.14

Patch Changes

  • 0580585: build(3.5.14): fix TRIGGERED_WATCH.del problem
    • @helux/hooks-impl@3.5.14
    • @helux/types@3.5.14
    • @helux/utils@3.5.14

3.5.13

Patch Changes

  • 1ec3f69: build(3.5.13): release again
    • @helux/hooks-impl@3.5.13
    • @helux/types@3.5.13
    • @helux/utils@3.5.13

3.5.12

Patch Changes

  • 7a57ee5: build(3.5.13): optimize dead cycle judge logic
    • @helux/hooks-impl@3.5.12
    • @helux/types@3.5.12
    • @helux/utils@3.5.12

3.5.11

Patch Changes

  • a47bce1: build(3.5.11): optimize getEventVal, support input type checkbox
    • @helux/hooks-impl@3.5.11
    • @helux/types@3.5.11
    • @helux/utils@3.5.11

3.5.10

Patch Changes

  • 9b5f09c: build(3.5.10): move devtool dep redux from peer to dep, optimize sync before logic, del setAtomVal, currentAtomRoot
    • @helux/hooks-impl@3.5.10
    • @helux/types@3.5.10
    • @helux/utils@3.5.10

3.5.9

Patch Changes

  • 7fd1a7f: build(3.5.9): add MutateFnParams, BeforeFnParams
    • @helux/hooks-impl@3.5.9
    • @helux/types@3.5.9
    • @helux/utils@3.5.9

3.5.8

Patch Changes

  • 03ba7ca: build(3.5.8): pass checkDeadCycle to mutateFnItem
    • @helux/hooks-impl@3.5.8
    • @helux/types@3.5.8
    • @helux/utils@3.5.8

3.5.7

Patch Changes

  • 9bbdde6: build(3.5.7): add checkDeadCycle
    • @helux/hooks-impl@3.5.7
    • @helux/types@3.5.7
    • @helux/utils@3.5.7

3.5.6

Patch Changes

  • 2a2f43f: build(3.5.6): pass isFirstCall to mutateFnParams
    • @helux/hooks-impl@3.5.6
    • @helux/types@3.5.6
    • @helux/utils@3.5.6

3.5.5

Patch Changes

  • 8e9890a: build(3.5.5): refactor dead-cycle detact
  • Updated dependencies [8e9890a]
    • @helux/utils@3.5.5
    • @helux/hooks-impl@3.5.5
    • @helux/types@3.5.5

3.5.4

Patch Changes

  • 03296b6: build(3.5.4): add defineActions defineMutateDerive defineFullDerive, fix getLoading not change in block, fix mutate task deadcycle
    • @helux/hooks-impl@3.5.4
    • @helux/types@3.5.4
    • @helux/utils@3.5.4

3.5.3

Patch Changes

  • c2d09a8: build(3.5.3): add markExpired in buildReactive
    • @helux/hooks-impl@3.5.3
    • @helux/types@3.5.3
    • @helux/utils@3.5.3

3.5.2

Patch Changes

  • 83e8fc3: build(3.5.2): merge action,actionAsync,atomAtion,atomAsyncAsync to action, merge mutate,atomMuate to mutate, del atomSync atomSyncer, del atomCall, del useShared
    • @helux/hooks-impl@3.5.2
    • @helux/types@3.5.2
    • @helux/utils@3.5.2

3.5.1

Patch Changes

  • e6fde9a: build(3.5.1): add ctx.useReactive
    • @helux/hooks-impl@3.5.1
    • @helux/types@3.5.1
    • @helux/utils@3.5.1

3.5.0

Minor Changes

  • f66f7f9: build(3.5.0): expose reactive data

Patch Changes

  • @helux/hooks-impl@3.5.0
  • @helux/types@3.5.0
  • @helux/utils@3.5.0

3.4.26

Patch Changes

  • d77dc37: build(3.4.26): del limu reexport, cause codesandbox will throw immut not a function error
    • @helux/hooks-impl@3.4.26
    • @helux/types@3.4.26
    • @helux/utils@3.4.26

3.4.25

Patch Changes

  • f2f827c: build(3.4.25): reexport limu; optimize clearInternal; ctx.mod now map to internal
    • @helux/hooks-impl@3.4.25
    • @helux/types@3.4.25
    • @helux/utils@3.4.25

3.4.24

Patch Changes

  • ba43829: build(3.4.24): bump limu to get right isChanged
  • Updated dependencies [ba43829]
    • @helux/utils@3.4.24
    • @helux/hooks-impl@3.4.24
    • @helux/types@3.4.24

3.4.23

Patch Changes

  • fda289e: build(3.4.22): add enableDraftDep
    • @helux/hooks-impl@3.4.23
    • @helux/types@3.4.23
    • @helux/utils@3.4.23

3.4.22

Patch Changes

  • cf9b726: build(3.4.22): add enableDraftDep, del exact
    • @helux/hooks-impl@3.4.22
    • @helux/types@3.4.22
    • @helux/utils@3.4.22

3.4.21

Patch Changes

  • f753724: build(3.4.21): del enableLoading, rename loadingMode to recordLoading
    • @helux/hooks-impl@3.4.21
    • @helux/types@3.4.21
    • @helux/utils@3.4.21

3.4.20

Patch Changes

  • 1592c51: build(3.4.20): bump limu and use grandpaType to del map node dep
  • Updated dependencies [1592c51]
    • @helux/utils@3.4.20
    • @helux/hooks-impl@3.4.20
    • @helux/types@3.4.20

3.4.19

Patch Changes

  • a891bbb: build(3.4.19): support map get
  • Updated dependencies [a891bbb]
    • @helux/utils@3.4.19
    • @helux/hooks-impl@3.4.19
    • @helux/types@3.4.19

3.4.18

Patch Changes

  • cec21ab: build(3.4.18): optimize operateState logic for useGlobalId, compare value with snap
    • @helux/hooks-impl@3.4.18
    • @helux/types@3.4.18
    • @helux/utils@3.4.18

3.4.17

Patch Changes

  • 7a50637: build(3.4.17): optimize parseRules logic, pass rootValKey
    • @helux/hooks-impl@3.4.17
    • @helux/types@3.4.17
    • @helux/utils@3.4.17

3.4.16

Patch Changes

  • ea2b8b1: build(3.4.16): add fixedDepKeys
    • @helux/hooks-impl@3.4.16
    • @helux/types@3.4.16
    • @helux/utils@3.4.16

3.4.15

Patch Changes

  • 6dd813c: build(3.4.15): del notify redundant excludedInsKeyDict logic
    • @helux/hooks-impl@3.4.15
    • @helux/types@3.4.15
    • @helux/utils@3.4.15

3.4.14

Patch Changes

  • 2f25934: build(3.4.14): optimize handleOperate, add canRecord to avoid dead cycle; optimize inCtx, del readMapPrev readMapStrict; optimize insDep updateDep logic, add resetDepKeys; optimize notify logic, add excludedInsKeyDict to speedup analyzeDepKey
    • @helux/hooks-impl@3.4.14
    • @helux/types@3.4.14
    • @helux/utils@3.4.14

3.4.13

Patch Changes

  • 60f9b8c: build(3.4.13): support draft collection dep
    • @helux/hooks-impl@3.4.13
    • @helux/types@3.4.13
    • @helux/utils@3.4.13

3.4.12

Patch Changes

  • d8dbcff: build(3.4.12): add snap to witness
    • @helux/hooks-impl@3.4.12
    • @helux/types@3.4.12
    • @helux/utils@3.4.12

3.4.11

Patch Changes

  • 715f23c: build(3.4.11): del onRead, add setOnReadHook to ctx
    • @helux/hooks-impl@3.4.11
    • @helux/types@3.4.11
    • @helux/utils@3.4.11

3.4.10

Patch Changes

  • 384ca24: build(3.4.10): support onRead
    • @helux/hooks-impl@3.4.10
    • @helux/types@3.4.10
    • @helux/utils@3.4.10

3.4.9

Patch Changes

  • 22a0203: build(3.4.8): refactor atomValMap to rootValMap; refactor analyzeDepKey logic by rootValKey; add arrDep,arrIndexDep,pure to useAtom and useShared; add createOptions.onRead
    • @helux/hooks-impl@3.4.9
    • @helux/types@3.4.9
    • @helux/utils@3.4.9

3.4.7

Patch Changes

  • a0c7d71: build(3.4.7): add pure arg for useAtom useShared
  • Updated dependencies [a0c7d71]
    • @helux/utils@3.4.7
    • @helux/hooks-impl@3.4.7
    • @helux/types@3.4.7

3.4.6

Patch Changes

  • 01c801c: build(3.4.6): export isAtom isDerivedAtom
    • @helux/hooks-impl@3.4.6
    • @helux/types@3.4.6
    • @helux/utils@3.4.6

3.4.5

Patch Changes

  • 70b0c7c: build(3.4.5): wrap act at top; return setAtom result
  • Updated dependencies [70b0c7c]
    • @helux/hooks-impl@3.4.5
    • @helux/types@3.4.5
    • @helux/utils@3.4.5

Patch Changes

  • @helux/hooks-impl@4.0.0
  • @helux/types@4.0.0
  • @helux/utils@4.0.0

3.4.4

Patch Changes

  • e204769: build(3.5.5): wrap Promise.resolve with callMutateAsync, fix getLoadingInfo logic to let top api useMutateLoading works, add act to CoreApiCtx
    • @helux/hooks-impl@3.4.4
    • @helux/types@3.4.4
    • @helux/utils@3.4.4

3.4.3

Patch Changes

  • 81459ef: build(3.4.3): support merge returned atom dict
  • Updated dependencies [81459ef]
    • @helux/utils@3.4.3
    • @helux/hooks-impl@3.4.3
    • @helux/types@3.4.3

3.4.2

Patch Changes

  • 3e97065: (build:3.4.2)add markIgnore, and support watch self in options.mutate
    • @helux/hooks-impl@3.4.2
    • @helux/types@3.4.2
    • @helux/utils@3.4.2

3.4.1

Patch Changes

  • 10670b8: to 3.4.1
  • Updated dependencies [10670b8]
    • @helux/hooks-impl@3.4.1
    • @helux/types@3.4.1
    • @helux/utils@3.4.1

3.4.0

Minor Changes

  • 48bc8fb: automatically unbox atom in all cb

Patch Changes

  • Updated dependencies [48bc8fb]
    • @helux/hooks-impl@3.4.0
    • @helux/types@3.4.0
    • @helux/utils@3.4.0

3.3.8

Patch Changes

  • c5e38d9: add deferedWatch, change deriveAtom api type, rename ctx.asyncAction to ctx.ActionAsync.
    • @helux/hooks-impl@3.3.8
    • @helux/types@3.3.8
    • @helux/utils@3.3.8

3.3.7

Patch Changes

  • f1e1254: add deferedWatch for useWatch
    • @helux/hooks-impl@3.3.7
    • @helux/types@3.3.7
    • @helux/utils@3.3.7

3.3.6

Patch Changes

  • 346895f: add test case, add level1Key to refresh shared automatically, add wrapPartial for callMutateFnLogic, add rootValKey, optimize useWatch immediate === true logic, optimize parseMutate desc gen logic for single mutate arr conf
  • Updated dependencies [346895f]
    • @helux/types@3.3.6
    • @helux/utils@3.3.6
    • @helux/hooks-impl@3.3.6

3.3.5

Patch Changes

  • 26c7ff4: add comment to ReactLike type
  • Updated dependencies [26c7ff4]
    • @helux/types@3.3.5
    • @helux/utils@3.3.5
    • @helux/hooks-impl@3.3.5

3.3.4

Patch Changes

  • f68bbbc: set types file to src/index.d.ts in package.json
  • Updated dependencies [f68bbbc]
    • @helux/hooks-impl@3.3.4
    • @helux/types@3.3.4
    • @helux/utils@3.3.4

3.3.3

Patch Changes

  • 43dd66a: optimize type import
  • Updated dependencies [43dd66a]
    • @helux/utils@3.3.3
    • @helux/hooks-impl@3.3.3
    • @helux/types@3.3.3

3.3.2

Patch Changes

  • f0c176b: optimize types, add externalGlobalPlugin to tsupo config
  • Updated dependencies [f0c176b]
    • @helux/hooks-impl@3.3.2
    • @helux/types@3.3.2
    • @helux/utils@3.3.2