|
| 1 | +# [2.2.0] - 2022/03/18 |
| 2 | +Improvement: |
| 3 | + - Reduce Time Complexity of hooks from `UseQueryMacro` from O(n(2i + p)) to O(n) where n is property, p is parent total callstack, and i is total invocation. |
| 4 | + By passing widget self as reference instead of immutable copied then diffing, and apply |
| 5 | + The following hooks benefits in performance improvement: |
| 6 | + - useQuery |
| 7 | + - useSize |
| 8 | + - useDarkMode |
| 9 | + - useThemeSelector |
| 10 | + - useScreen |
| 11 | + |
| 12 | +Feature: |
| 13 | + - New parent proxy available for all widget: |
| 14 | + - expanded |
| 15 | + - flex |
| 16 | + - fullSize |
| 17 | + - fullWidth, wFull, w100 |
| 18 | + - fullHeight, hFull, h100 |
| 19 | + - fractionSize, sizePercent |
| 20 | + - fractionWidth, fractionW, fw, wFactor, widthPercent, wPercent |
| 21 | + - fractionHeight, fractionH, hw, hFactor, heightPercent, hPercent |
| 22 | + - boxConstraints |
| 23 | + - nikuConstraints |
| 24 | + - maxSize |
| 25 | + - minSize |
| 26 | + - maxWidth, maxW, wMax |
| 27 | + - minWidth, minW, wMin |
| 28 | + - maxHeight, maxH, hMax |
| 29 | + - minHeight, minH, hMin |
| 30 | + - width, w |
| 31 | + - height, h |
| 32 | + - useGesture |
| 33 | + - New parent proxy available for AxisLayourProxy |
| 34 | + - alignTopLeft |
| 35 | + - alignTopCenter |
| 36 | + - alignTopRight |
| 37 | + - alignCenterLeft |
| 38 | + - alignCenter |
| 39 | + - alignCenterRight |
| 40 | + - alignBottomLeft |
| 41 | + - alignBottomCenter |
| 42 | + - alignBottomRight |
| 43 | + - New widget: `NikuRadio`, `NikuRadioListTile`, `NikuDismissible` |
| 44 | + - New hook: `useTransition`, `useTransitions` |
| 45 | + - Add property: `splash`, `wFactor`, `hFactor` to `Niku` |
| 46 | + - New utility widget `NikuAnimated`, `NikuAnimateds` |
| 47 | + - New proxy: `ListTile` with `dismiss` for `NikuDismissible` |
| 48 | + |
| 49 | +Change: |
| 50 | + - Move part of `AxisProxy` to `NikuBuildMacro` |
| 51 | + - Refactor, and organize examples |
| 52 | + |
| 53 | +Bug fixes: |
| 54 | + - `obscureCharacter` not working in `NikuTextFormField` |
| 55 | + |
| 56 | + |
| 57 | +# [2.2.0-experimental.1] - 2022/03/17 |
| 58 | +Improvement: |
| 59 | + - Reduce Time Complexity of hooks from `UseQueryMacro` from O(n(2i + p)) to O(n) where n is property, p is parent total callstack, and i is total invocation. |
| 60 | + By passing widget self as reference instead of immutable copied then diffing, and apply |
| 61 | + The following hooks benefits in performance improvement: |
| 62 | + - useQuery |
| 63 | + - useSize |
| 64 | + - useDarkMode |
| 65 | + - useThemeSelector |
| 66 | + - useScreen |
| 67 | + |
| 68 | +Feature: |
| 69 | + - New parent proxy available for all widget: |
| 70 | + - expanded |
| 71 | + - flex |
| 72 | + - fullSize |
| 73 | + - fullWidth, wFull, w100 |
| 74 | + - fullHeight, hFull, h100 |
| 75 | + - fractionSize, sizePercent |
| 76 | + - fractionWidth, fractionW, fw, wFactor, widthPercent, wPercent |
| 77 | + - fractionHeight, fractionH, hw, hFactor, heightPercent, hPercent |
| 78 | + - boxConstraints |
| 79 | + - nikuConstraints |
| 80 | + - maxSize |
| 81 | + - minSize |
| 82 | + - maxWidth, maxW, wMax |
| 83 | + - minWidth, minW, wMin |
| 84 | + - maxHeight, maxH, hMax |
| 85 | + - minHeight, minH, hMin |
| 86 | + - width, w |
| 87 | + - height, h |
| 88 | + - useGesture |
| 89 | + - New parent proxy available for AxisLayourProxy |
| 90 | + - alignTopLeft |
| 91 | + - alignTopCenter |
| 92 | + - alignTopRight |
| 93 | + - alignCenterLeft |
| 94 | + - alignCenter |
| 95 | + - alignCenterRight |
| 96 | + - alignBottomLeft |
| 97 | + - alignBottomCenter |
| 98 | + - alignBottomRight |
| 99 | + |
| 100 | +Change: |
| 101 | + - Move part of `AxisProxy` to `NikuBuildMacro` |
| 102 | + - Refactor, and organize examples |
| 103 | + |
| 104 | +Bug fixes: |
| 105 | + - `obscureCharacter` not working in `NikuTextFormField` |
| 106 | + |
| 107 | +# [2.2.0-experimental.0] - 2022/03/14 |
| 108 | +Feature: |
| 109 | + - New widget: `NikuRadio`, `NikuRadioListTile`, `NikuDismissible` |
| 110 | + - New hook: `useTransition`, `useTransitions` |
| 111 | + - Add property: `splash`, `wFactor`, `hFactor` to `Niku` |
| 112 | + - New utility widget `NikuAnimated`, `NikuAnimateds` |
| 113 | + - New proxy: `ListTile` with `dismiss` for `NikuDismissible` |
| 114 | + |
1 | 115 | # [2.1.1] - 2022/03/10 |
2 | 116 | Bug fix: |
3 | 117 | - Unmatch filename with capital case |
4 | 118 | - Remove `print` from `PaddingMacro` |
5 | 119 |
|
| 120 | +# [2.1.0] - 2022/02/28 |
| 121 | +Breaking Change: |
| 122 | + - `flexible` is now `flex` |
| 123 | + - Deprecated required value of `TextFormField` in favor of `hint`. |
| 124 | + - To migrate, please add factory `.hint` or add it as `named parameter` |
| 125 | + |
| 126 | + |
| 127 | +Feature: |
| 128 | + - Add mandatory shortcut to `AxisLayoutProxy` |
| 129 | + - Add `useThemeSelector` for declarative `useDarkMode` |
| 130 | + - Support all factory method for `NikuGridView` |
| 131 | + - Add `NikuListView` |
| 132 | + - Add `AxisLayoutMacro` |
| 133 | + - Add `.center`, `.w100`, `safeArea` to `AxisLayoutMacro` |
| 134 | + - Add `of` alias for `apply` |
| 135 | + |
| 136 | +Change: |
| 137 | + - `AxisLayoutMacro` is now `AxisLayoutProxy` |
| 138 | + - `borderWidth` is now `baseBorderWidth` to follow the same convention with `border`, `borderColor`, and `borderStyle` on proxy |
| 139 | + - Remove function allocation from `_init` of `MapTextStyleMacro` |
| 140 | + - Add `center` to `NikuColumn`, and `NikuRow` |
| 141 | + - Replace `childrenWithGap` with `$internalComposeGap` in `GapMacro` |
| 142 | + - Add `gap` property to AxisLayout |
| 143 | + - gap can now be applied |
| 144 | + - `childrenWithGap` now only composed on build |
| 145 | + |
| 146 | +Bug fix: |
| 147 | + - `useDarkMode` and `useThemeSelector` not switching context between |
| 148 | + - Fix `'owner!._debugCurrentBuildTarget == this': is not true.` when using `useDarkMode` |
| 149 | + |
6 | 150 | # [2.1.0-experimental.4] - 2022/02/28 |
7 | 151 | Breaking Change: |
8 | 152 | - `flexible` is now `flex` |
|
0 commit comments