|
1 | 1 | # Changelog |
2 | 2 |
|
| 3 | +## v2.2.2(2022-08-30) |
| 4 | + |
| 5 | +### :bug: Bug Fixes |
| 6 | + |
| 7 | +1. [fix(antd/next): fix array base record ref data is not newest in expression (#3358)](https://github.com/alibaba/formily/commit/35cd1431) :point_right: ( [Janry](https://github.com/Janry) ) |
| 8 | + |
3 | 9 | ## v2.2.1(2022-08-22) |
4 | 10 |
|
5 | 11 | ### :tada: Enhancements |
|
834 | 840 |
|
835 | 841 | 1. [feat(grid): add strictAutoFit option (#2403)](https://github.com/alibaba/formily/commit/56a39c42) :point_right: ( [liuwei](https://github.com/liuwei) ) |
836 | 842 |
|
837 | | -### :bug: Bug Fixes |
838 | | - |
839 | | -1. [fix(grid): fix grid calculate failed when container was hidden (#2400)](https://github.com/alibaba/formily/commit/18a09d42) :point_right: ( [Janry](https://github.com/Janry) ) |
840 | | - |
841 | | -1. [fix(core): fix reset should clear field caches (#2401)](https://github.com/alibaba/formily/commit/6b1162ad) :point_right: ( [Janry](https://github.com/Janry) ) |
842 | | - |
843 | | -1. [fix(reactive): fix computed/tracker did not recollect dependencies (#2398)](https://github.com/alibaba/formily/commit/6544abbb) :point_right: ( [Janry](https://github.com/Janry) ) |
844 | | - |
845 | | -### :memo: Documents Changes |
846 | | - |
847 | | -1. [docs(core): update links in Form model Chinese doc (#2414)](https://github.com/alibaba/formily/commit/d6cdf71a) :point_right: ( [haloworld](https://github.com/haloworld) ) |
848 | | - |
849 | | -### :rose: Improve code quality |
850 | | - |
851 | | -1. [refactor(grid): use data-grid-span for base grid span](https://github.com/alibaba/formily/commit/712aba94) :point_right: ( [janrywang](https://github.com/janrywang) ) |
852 | | - |
853 | | -### :rocket: Improve Performance |
854 | | - |
855 | | -1. [perf(core): improve field errors/success/warnings read performance](https://github.com/alibaba/formily/commit/32eca498) :point_right: ( [janrywang](https://github.com/janrywang) ) |
856 | | - |
857 | | -### :hammer_and_wrench: Update Workflow Scripts |
858 | | - |
859 | | -1. [build(sourcemap): add "sourcesContent" to the output source map (#2399)](https://github.com/alibaba/formily/commit/3305cf80) :point_right: ( [zengguirong](https://github.com/zengguirong) ) |
860 | | - |
861 | | -### :blush: Other Changes |
862 | | - |
863 | | -1. [chore(core): improve code](https://github.com/alibaba/formily/commit/fa53832c) :point_right: ( [janrywang](https://github.com/janrywang) ) |
864 | | - |
865 | | -1. [chore(core): improve getFormGraph/setFormGraph performance](https://github.com/alibaba/formily/commit/fb217f2a) :point_right: ( [janrywang](https://github.com/janrywang) ) |
866 | | - |
867 | | -## v2.0.0-rc.18(2021-11-03) |
868 | | - |
869 | | -### :tada: Enhancements |
870 | | - |
871 | 843 | 1. [feat(element): add ArrayTable/ArrayCollapse/ArrayTabs event (#2365)](https://github.com/alibaba/formily/commit/d54cdb8b) :point_right: ( [Muyao](https://github.com/Muyao) ) |
872 | 844 |
|
873 | 845 | 1. [feat(element): support breakpoints for FormLayout (#2340)](https://github.com/alibaba/formily/commit/345d5f18) :point_right: ( [Muyao](https://github.com/Muyao) ) |
874 | 846 |
|
875 | | -1. [feat(grid): support smart gridSpan -1](https://github.com/alibaba/formily/commit/01ee70d8) :point_right: ( [janrywang](https://github.com/janrywang) ) |
876 | | - |
877 | 847 | 1. [feat(next): fix FormDialog footerActions/okProps/cancelProps (#2312)](https://github.com/alibaba/formily/commit/e2fe6734) :point_right: ( [Lyca](https://github.com/Lyca) ) |
878 | 848 |
|
879 | 849 | 1. [feat(vue): support useParentForm hook (#2306)](https://github.com/alibaba/formily/commit/13008d1f) :point_right: ( [Muyao](https://github.com/Muyao) ) |
|
982 | 952 |
|
983 | 953 | 1. [feat: applicable less and scss to vite (#1187)](https://github.com/alibaba/formily/commit/fb011768) :point_right: ( [atzcl](https://github.com/atzcl) ) |
984 | 954 |
|
| 955 | +1. [feat(reactive): computed annotation](https://github.com/alibaba/formily/commit/b9e6f092) :point_right: ( [janrywang](https://github.com/janrywang) ) |
| 956 | + |
985 | 957 | 1. [feat: add logic-diagram to Next and AntD (TBD) (#1158)](https://github.com/alibaba/formily/commit/5626d97d) :point_right: ( [soulwu](https://github.com/soulwu) ) |
986 | 958 |
|
987 | 959 | 1. [feat: update antd message style](https://github.com/alibaba/formily/commit/b6d87da6) :point_right: ( [quirkyshop](https://github.com/quirkyshop) ) |
|
1004 | 976 |
|
1005 | 977 | 1. [feat(core): add more effects](https://github.com/alibaba/formily/commit/5b42226d) :point_right: ( [janrywang](https://github.com/janrywang) ) |
1006 | 978 |
|
1007 | | -1. [feat(styles): support prefixCls](https://github.com/alibaba/formily/commit/fe53ac42) :point_right: ( [janrywang](https://github.com/janrywang) ) |
1008 | | - |
1009 | 979 | 1. [feat: update alignment (#1060)](https://github.com/alibaba/formily/commit/fadb3f7d) :point_right: ( [quirkyvar](https://github.com/quirkyvar) ) |
1010 | 980 |
|
1011 | 981 | 1. [feat(core): support enableUnmountRemoveNode/disableUnmountRemoveNode API](https://github.com/alibaba/formily/commit/8f99e5b3) :point_right: ( [janrywang](https://github.com/janrywang) ) |
|
1150 | 1120 |
|
1151 | 1121 | ### :bug: Bug Fixes |
1152 | 1122 |
|
1153 | | -1. [fix(reactive): fix computed value can not get real value (#2389)](https://github.com/alibaba/formily/commit/eb34b2de) :point_right: ( [Janry](https://github.com/Janry) ) |
| 1123 | +1. [fix(grid): fix grid calculate failed when container was hidden (#2400)](https://github.com/alibaba/formily/commit/18a09d42) :point_right: ( [Janry](https://github.com/Janry) ) |
| 1124 | + |
| 1125 | +1. [fix(core): fix reset should clear field caches (#2401)](https://github.com/alibaba/formily/commit/6b1162ad) :point_right: ( [Janry](https://github.com/Janry) ) |
| 1126 | + |
| 1127 | +1. [fix(reactive): fix computed/tracker did not recollect dependencies (#2398)](https://github.com/alibaba/formily/commit/6544abbb) :point_right: ( [Janry](https://github.com/Janry) ) |
1154 | 1128 |
|
1155 | 1129 | 1. [fix(core): fix default is not work when name is length (#2387)](https://github.com/alibaba/formily/commit/0adf07ab) :point_right: ( [Janry](https://github.com/Janry) ) |
1156 | 1130 |
|
|
1342 | 1316 |
|
1343 | 1317 | 1. [fix(json-schema): fix defaultValue was filter by transformer](https://github.com/alibaba/formily/commit/091ca0d2) :point_right: ( [janrywang](https://github.com/janrywang) ) |
1344 | 1318 |
|
| 1319 | +1. [fix(core/reactive): fix toJS and initialValue assign value](https://github.com/alibaba/formily/commit/1d6c4736) :point_right: ( [janrywang](https://github.com/janrywang) ) |
| 1320 | + |
1345 | 1321 | 1. [fix Form.submit miss return values (#1382)](https://github.com/alibaba/formily/commit/57c2c1b3) :point_right: ( [林法鑫](https://github.com/林法鑫) ) |
1346 | 1322 |
|
1347 | 1323 | 1. [fix(doc): fix next doc (#1385)](https://github.com/alibaba/formily/commit/77e2c486) :point_right: ( [Lind](https://github.com/Lind) ) |
|
1366 | 1342 |
|
1367 | 1343 | 1. [fix(core): fix reset logic for ArrayField/ObjectField](https://github.com/alibaba/formily/commit/909c5907) :point_right: ( [janrywang](https://github.com/janrywang) ) |
1368 | 1344 |
|
1369 | | -1. [fix(reactive): fix tojs recursive dependence stack overflow (#1245)](https://github.com/alibaba/formily/commit/675df0ce) :point_right: ( [gwsbhqt](https://github.com/gwsbhqt) ) |
1370 | | - |
1371 | 1345 | 1. [fix(antd/next): fix editable closing being blocked by other controller](https://github.com/alibaba/formily/commit/edd7a675) :point_right: ( [janrywang](https://github.com/janrywang) ) |
1372 | 1346 |
|
1373 | 1347 | 1. [fix(core): rollback onFieldInit behavior](https://github.com/alibaba/formily/commit/15f9a56d) :point_right: ( [janrywang](https://github.com/janrywang) ) |
|
1688 | 1662 |
|
1689 | 1663 | ### :memo: Documents Changes |
1690 | 1664 |
|
| 1665 | +1. [docs(core): update links in Form model Chinese doc (#2414)](https://github.com/alibaba/formily/commit/d6cdf71a) :point_right: ( [haloworld](https://github.com/haloworld) ) |
| 1666 | + |
1691 | 1667 | 1. [docs: fix scenes url (#2384)](https://github.com/alibaba/formily/commit/3538b171) :point_right: ( [PlutoCA](https://github.com/PlutoCA) ) |
1692 | 1668 |
|
1693 | 1669 | 1. [docs: add issues-helper badge (#2359)](https://github.com/alibaba/formily/commit/a99feb43) :point_right: ( [xrkffgg](https://github.com/xrkffgg) ) |
|
1724 | 1700 |
|
1725 | 1701 | 1. [docs(main): add schema fragment controlled case (#1852)](https://github.com/alibaba/formily/commit/2212486b) :point_right: ( [Janry](https://github.com/Janry) ) |
1726 | 1702 |
|
| 1703 | +1. [docs(project): improve english docs](https://github.com/alibaba/formily/commit/49a74f0a) :point_right: ( [janrywang](https://github.com/janrywang) ) |
| 1704 | + |
1727 | 1705 | 1. [docs(project): add translated docs (#1822)](https://github.com/alibaba/formily/commit/79ab341f) :point_right: ( [Janry](https://github.com/Janry) ) |
1728 | 1706 |
|
1729 | 1707 | 1. [docs(react): improve ObjectField demo code (#1727)](https://github.com/alibaba/formily/commit/ccfba03a) :point_right: ( [砂糖梨子](https://github.com/砂糖梨子) ) |
|
1768 | 1746 |
|
1769 | 1747 | 1. [docs(project): add contribution.md](https://github.com/alibaba/formily/commit/a6748df8) :point_right: ( [janrywang](https://github.com/janrywang) ) |
1770 | 1748 |
|
1771 | | -1. [docs(antd): improve docs](https://github.com/alibaba/formily/commit/c3e57b6b) :point_right: ( [janrywang](https://github.com/janrywang) ) |
1772 | | - |
1773 | 1749 | 1. [docs(codesandbox): update dependencies](https://github.com/alibaba/formily/commit/e8260eda) :point_right: ( [janrywang](https://github.com/janrywang) ) |
1774 | 1750 |
|
| 1751 | +1. [doc:improve validate documents (#1000)](https://github.com/alibaba/formily/commit/3a145304) :point_right: ( [wangmingxu](https://github.com/wangmingxu) ) |
| 1752 | + |
1775 | 1753 | 1. [docs(antd): mardown special symbol escape (#882)](https://github.com/alibaba/formily/commit/9c969cc9) :point_right: ( [kromalee](https://github.com/kromalee) ) |
1776 | 1754 |
|
1777 | 1755 | 1. [docs: add type definition of x-linkages and x-mega-props (#876)](https://github.com/alibaba/formily/commit/c93b5171) :point_right: ( [Empireo](https://github.com/Empireo) ) |
|
1800 | 1778 |
|
1801 | 1779 | 1. [docs(examples): fix FormStep examples (#593)](https://github.com/alibaba/formily/commit/27018c6c) :point_right: ( [常泽清](https://github.com/常泽清) ) |
1802 | 1780 |
|
| 1781 | +1. [docs(@uform/core): improve docs (#402)](https://github.com/alibaba/formily/commit/ded9b937) :point_right: ( [Janry](https://github.com/Janry) ) |
| 1782 | + |
1803 | 1783 | 1. [doc: add questions(customize action) (#289)](https://github.com/alibaba/formily/commit/baecbaab) :point_right: ( [xiaowanzi](https://github.com/xiaowanzi) ) |
1804 | 1784 |
|
1805 | 1785 | 1. [docs(Submit): fix table style (#203)](https://github.com/alibaba/formily/commit/d59436b3) :point_right: ( [atzcl](https://github.com/atzcl) ) |
|
1846 | 1826 |
|
1847 | 1827 | ### :rose: Improve code quality |
1848 | 1828 |
|
| 1829 | +1. [refactor(grid): use data-grid-span for base grid span](https://github.com/alibaba/formily/commit/712aba94) :point_right: ( [janrywang](https://github.com/janrywang) ) |
| 1830 | + |
1849 | 1831 | 1. [refactor(core): revert field unmount to skip validate (#2379)](https://github.com/alibaba/formily/commit/8a016794) :point_right: ( [Janry](https://github.com/Janry) ) |
1850 | 1832 |
|
1851 | 1833 | 1. [refactor(element): redesign form-grid and improve form-layout (#2337)](https://github.com/alibaba/formily/commit/9e468fae) :point_right: ( [Muyao](https://github.com/Muyao) ) |
|
1958 | 1940 |
|
1959 | 1941 | ### :rocket: Improve Performance |
1960 | 1942 |
|
| 1943 | +1. [perf(core): improve field errors/success/warnings read performance](https://github.com/alibaba/formily/commit/32eca498) :point_right: ( [janrywang](https://github.com/janrywang) ) |
| 1944 | + |
1961 | 1945 | 1. [perf(path): use Map replace LRUMap](https://github.com/alibaba/formily/commit/1141e580) :point_right: ( [janrywang](https://github.com/janrywang) ) |
1962 | 1946 |
|
1963 | 1947 | 1. [perf(schema): improve performance](https://github.com/alibaba/formily/commit/184884ca) :point_right: ( [janrywang](https://github.com/janrywang) ) |
|
1968 | 1952 |
|
1969 | 1953 | ### :hammer_and_wrench: Update Workflow Scripts |
1970 | 1954 |
|
| 1955 | +1. [build(sourcemap): add "sourcesContent" to the output source map (#2399)](https://github.com/alibaba/formily/commit/3305cf80) :point_right: ( [zengguirong](https://github.com/zengguirong) ) |
| 1956 | + |
1971 | 1957 | 1. [build: fix build global may be failed (#1744)](https://github.com/alibaba/formily/commit/818aa132) :point_right: ( [liuwei](https://github.com/liuwei) ) |
1972 | 1958 |
|
1973 | 1959 | 1. [build: fix git message sort incorrect (#1708)](https://github.com/alibaba/formily/commit/617ce88c) :point_right: ( [liuwei](https://github.com/liuwei) ) |
|
1996 | 1982 |
|
1997 | 1983 | 1. [test(react): fix typings](https://github.com/alibaba/formily/commit/322e1fd7) :point_right: ( [janrywang](https://github.com/janrywang) ) |
1998 | 1984 |
|
1999 | | -1. [test(core): improve core tests](https://github.com/alibaba/formily/commit/c643d8bb) :point_right: ( [janrywang](https://github.com/janrywang) ) |
2000 | | - |
2001 | 1985 | 1. [test(@uform/react): improve field and virtualField test cases (#438)](https://github.com/alibaba/formily/commit/853e051f) :point_right: ( [dahuang](https://github.com/dahuang) ) |
2002 | 1986 |
|
2003 | 1987 | 1. [test(@uform/utils): add setIn testcase](https://github.com/alibaba/formily/commit/67a82e67) :point_right: ( [janryWang](https://github.com/janryWang) ) |
|
2008 | 1992 |
|
2009 | 1993 | ### :blush: Other Changes |
2010 | 1994 |
|
| 1995 | +1. [chore(core): improve code](https://github.com/alibaba/formily/commit/fa53832c) :point_right: ( [janrywang](https://github.com/janrywang) ) |
| 1996 | + |
| 1997 | +1. [chore(core): improve getFormGraph/setFormGraph performance](https://github.com/alibaba/formily/commit/fb217f2a) :point_right: ( [janrywang](https://github.com/janrywang) ) |
| 1998 | + |
2011 | 1999 | 1. [chore(antd/next): improve array table ui (#2373)](https://github.com/alibaba/formily/commit/831ba8b8) :point_right: ( [Janry](https://github.com/Janry) ) |
2012 | 2000 |
|
2013 | 2001 | 1. [chore(grid): improve grid responsive effects](https://github.com/alibaba/formily/commit/bbb1a5a8) :point_right: ( [janrywang](https://github.com/janrywang) ) |
|
2024 | 2012 |
|
2025 | 2013 | 1. [chore(designable): lock version](https://github.com/alibaba/formily/commit/b61ad907) :point_right: ( [janrywang](https://github.com/janrywang) ) |
2026 | 2014 |
|
2027 | | -1. [chore(project): improve code](https://github.com/alibaba/formily/commit/bc4945e6) :point_right: ( [janrywang](https://github.com/janrywang) ) |
2028 | | - |
2029 | 2015 | 1. [chore(react): compat ReactNative with SchemaField only json-schema mode](https://github.com/alibaba/formily/commit/77dd47e4) :point_right: ( [janrywang](https://github.com/janrywang) ) |
2030 | 2016 |
|
2031 | 2017 | 1. [chore(docs): add antd-formily-boost link](https://github.com/alibaba/formily/commit/4fb9ff8d) :point_right: ( [janrywang](https://github.com/janrywang) ) |
|
2038 | 2024 |
|
2039 | 2025 | 1. [chore(flow): add release.yml](https://github.com/alibaba/formily/commit/301a89c1) :point_right: ( [janrywang](https://github.com/janrywang) ) |
2040 | 2026 |
|
| 2027 | +1. [chore(project): improve typings and fix typo (#1802)](https://github.com/alibaba/formily/commit/af23767b) :point_right: ( [Janry](https://github.com/Janry) ) |
| 2028 | + |
2041 | 2029 | 1. [chore(setters): improve DataSourceSetter ui](https://github.com/alibaba/formily/commit/1c12f543) :point_right: ( [janrywang](https://github.com/janrywang) ) |
2042 | 2030 |
|
2043 | 2031 | 1. [chore(path): add benchmark case](https://github.com/alibaba/formily/commit/9533e049) :point_right: ( [janrywang](https://github.com/janrywang) ) |
|
0 commit comments