Formily v2.0.0-beta.51 Release Notes
Release Date: 2021-05-20 // almost 3 years ago-
:tada: Enhancements
π 1. feat(core): support value change trigger validate :point_right: ( janrywang )
π 1. feat(core): add extra strategy for merge form value (#1448) :point_right: ( liuwei )
π 1. feat(core): support controlled mode for lowcode :point_right: ( janrywang )
- feat(antd/next): improve code :point_right: ( janrywang )
π 1. feat(vue): improve typings and docs(#1433) :point_right: ( ζθ½ι³ι )
- feat(.md): Form => FormLayout (#1427) :point_right: ( Lyca )
π 1. feat(core): createForm supports generic type (#1403) :point_right: ( liuwei )
π 1. feat(react): support scope components api for SchemaField :point_right: ( janrywang )
π 1. feat(antd/next): support text toolip style :point_right: ( janrywang )
π 1. feat: url regexp support /?a=1 and ?a=1 (#1374) :point_right: ( No.96 )
π 1. feat(shared): remove isValidElement types dependency :point_right: ( janrywang )
feat(antd/next): export FormGrid props interface (#1327) :point_right: ( liuwei )
feat(react): add context cleaner to FormProvider :point_right: ( janrywang )
feat(json-schema): add registerPolyfills/enablePolyfills api :point_right: ( janrywang )
feat(json-schema): add error when x-component can not found :point_right: ( janrywang )
π 1. feat(json-schema): support alias style for x-reactions.dependencies :point_right: ( janrywang )
π 1. feat(form-item): support string format for labelWidth/wrapperWidth :point_right: ( janrywang )
- feat(effects): normoalize onFieldInit :point_right: ( janrywang )
π 1. feat: add build style (#1201) :point_right: ( atzcl )
feat(project): rename fullfill=>fulfill :point_right: ( janrywang )
feat(reactive): recover batch.scope :point_right: ( janrywang )
feat: applicable less and scss to vite (#1187) :point_right: ( atzcl )
feat(reactive): computed annotation :point_right: ( janrywang )
feat: add logic-diagram to Next and AntD (TBD) (#1158) :point_right: ( soulwu )
β‘οΈ 1. feat(FormGrid): update :point_right: ( ZirkleTsing )
π 1. feat: update antd message style :point_right: ( quirkyshop )
β‘οΈ 1. feat(react-logic-diagram): update docs :point_right: ( janrywang )
π 1. feat: move param-case to shared (#1152) :point_right: ( ζθ½ι³ι )
- feat: add feedback layout :point_right: ( quirkyshop )
β‘οΈ 1. feat: update 'feedbackText' :point_right: ( quirkyshop )
feat: add formitem demo :point_right: ( guishu.zc )
feat(vue): add vue3 compatibly (#1138) :point_right: ( ζθ½ι³ι )
feat(react): connect add hoistNonReactStatics :point_right: ( janrywang )
π 1. feat(json-schema): support schema v1 polyfills :point_right: ( janrywang )
feat(core): add more effects :point_right: ( janrywang )
feat(validator): fix url pattern :point_right: ( janrywang )
π 1. feat(styles): support prefixCls :point_right: ( janrywang )
π 1. feat(project): support array tabs :point_right: ( janrywang )
π 1. feat(antd): support form-tab and form-collapse :point_right: ( janrywang )
- feat: add
tooltip
into FormItem`s props (#1079) :point_right: ( yezihaohao )
π :beetle: Bug Fixes
fix(react): fix SchemaField missing scope from options (#1462) :point_right: ( liuwei )
fix(antd/next): fix gridSpan calculate algorithm (#1440) :point_right: ( Nokecy )
fix(project): fix typings :point_right: ( janrywang )
fix(antd): fix btn is too big in small mode (#1455) :point_right: ( liuwei )
fix(json-schema): fix transformer patch state :point_right: ( janrywang )
fix(vue): fix a type error in ISchemaMarkupFieldProps (#1454) :point_right: ( ζθ½ι³ι )
fix(antd/next): fix layout context :point_right: ( janrywang )
fix(core): fix empty checker in intialFieldValue :point_right: ( janrywang )
fix(core): fix the effects of IFormProps losing generic type (#1418) :point_right: ( liuwei )
fix(core/reactive): fix toJS and initialValue assign value :point_right: ( janrywang )
fix Form.submit miss return values (#1382) :point_right: ( ζζ³ι« )
fix(antd): fix antd form-item dark label color (#1391) :point_right: ( Lind )
fix(doc): fix next doc (#1385) :point_right: ( Lind )
fix(antd/next): fix the feedbackLayout type definition error of the form-layout (#1372) :point_right: ( liuwei )
fix json-schema SchemaReaction type error (#1367) :point_right: ( liuwei )
fix(antd/next): fix missing key in form-collapse map render (#1356) :point_right: ( Lind )
fix(reactive): fix action binding context :point_right: ( janrywang )
π» 1. fix(reactive-react): fix browser crash in strict-mode async linkages scence :point_right: ( janrywang )
fix(next): fix scss variables :point_right: ( janrywang )
fix(antd&next):
false
should be a valid value inPreviewText.Select
(#1297) :point_right: ( Chao Ning )fix(vue): mapPropsγmapReadPretty listeners bug :point_right: ( p(-q) )
fix(array-table): give toFieldProps an options :point_right: ( janrywang )
π 1. docs(antd): fix antd time picker ref (#1282) :point_right: ( Pandazki )
- fix(next): fix textarea status map :point_right: ( janrywang )
π 1. fix(next): fix form-item tooltip styles :point_right: ( janrywang )
π 1. fix(antd): fix validated form-item box-shadow styles (#1265) :point_right: ( Fog3211 )
fix(react/vue): fix onChange can not pass to voidField's component props. (#1264) :point_right: ( ζζ³ι« )
fix(core): fix reset logic for ArrayField/ObjectField :point_right: ( janrywang )
fix(vue): fix typings and some exceptions (#1261) :point_right: ( ζθ½ι³ι )
fix(reactive): fix tojs recursive dependence stack overflow (#1245) :point_right: ( gwsbhqt )
Merge pull request #1242 from gwsbhqt/v2_reactive_fix_mark :point_right: ( Janry )
β 1. test(reactive): add mark tests and fix docs typo :point_right: ( gwsbhqt )
π 1. docs: fix typo (#1240) :point_right: ( Aspirant Zhang )
βͺ 1. fix(core): rollback onFieldInit behavior :point_right: ( janrywang )
π 1. docs(main): fix main site docs :point_right: ( janrywang )
- fix(antd): Prevent native events bubbles :point_right: ( janrywang )
π» 1. fix(core): Fix the problem of onChange event catching exception :point_right: ( janrywang )
- fix(path): fix accessor :point_right: ( janrywang )
π 1. fix(antd): fix multiple select small/large styles :point_right: ( janrywang )
π 1. docs(all): fix lint :point_right: ( janrywang )
π 1. fix(core): fix array move :point_right: ( janrywang )
π 1. fix antd styles (#1181) :point_right: ( Dark )
- fix(core): relative query :point_right: ( janrywang )
π 1. fix: use form.setValuesIn instead of field.removeProperty (#1160) :point_right: ( soulwu )
fix(form-grid): add mutation observer :point_right: ( janrywang )
fix(core): fix observable componentProps :point_right: ( janrywang )
fix(devtools): fix serialize function :point_right: ( janrywang )
π 1. fix(core): Fix the problem that the initialValues cannot be synchronized to values repeatedly :point_right: ( janrywang )
fix(next): fix month picker (#1115) :point_right: ( Janry )
fix(vue): fix connect :point_right: ( janrywang )
feat(validator): fix url pattern :point_right: ( janrywang )
π 1. feat(styles): support prefixCls :point_right: ( janrywang )
fix: fix form help validate status error (#1071) :point_right: ( Yohox )
fix(antd-components): fix timepicker format (#1069) :point_right: ( haipeng )
fix(next): fix children not rendered :point_right: ( janrywang )
:memo: Documents Changes
π 1. feat(vue): improve typings and docs(#1433) :point_right: ( ζθ½ι³ι )
β‘οΈ 1. docs(core): update docs :point_right: ( janrywang )
- fix(doc): fix next doc (#1385) :point_right: ( Lind )
π 1. docs(react): improve schema static declarations document (#1310) :point_right: ( liuwei )
π 1. docs(antd): fix antd time picker ref (#1282) :point_right: ( Pandazki )
π 1. docs(antd/next): add useIndex api :point_right: ( janrywang )
β 1. test(reactive): add mark tests and fix docs typo :point_right: ( gwsbhqt )
π 1. docs: fix typo (#1240) :point_right: ( Aspirant Zhang )
π 1. docs(site): add english doc :point_right: ( janrywang )
π 1. docs(main): fix main site docs :point_right: ( janrywang )
π 1. docs: JOSN -> JSON (#1196) :point_right: ( zkylearner )
π 1. docs(all): fix lint :point_right: ( janrywang )
π 1. Feat vue docs (#1190) :point_right: ( ζθ½ι³ι )
π 1. docs(project):add build docs (#1186) :point_right: ( Dark )
π 1. docs(formily): add quick-start doc :point_right: ( janrywang )
π 1. docs(antd): add form-layout doc :point_right: ( janrywang )
β‘οΈ 1. feat(react-logic-diagram): update docs :point_right: ( janrywang )
π 1. docs(react): add react docs :point_right: ( janrywang )
:rose: Improve code quality
π¨ 1. refactor(project): update lerna scripts :point_right: ( janrywang )
π¨ 1. Revert "refactor(antd/next): change the way of FormLayout pass context (#1417)" (#1437) :point_right: ( Janry )
π¨ 1. refactor(core): modify IFormState type (#1434) :point_right: ( liuwei )
π¨ 1. refactor(react-reactive): change the way of observer function pass ref (#1422) :point_right: ( liuwei )
π¨ 1. refactor(reactive): add benchmark scripts :point_right: ( janrywang )
π¨ 1. refactor(reactive-react): improve immediate :point_right: ( janrywang )
π¨ 1. refactor: adjust the umd compilation process of the ui library (#1206) :point_right: ( atzcl )
π¨ 1. refactor: update rollup config (#1193) :point_right: ( Dark )
π¨ 1. refactor(project): remove dist npmignore :point_right: ( janrywang )
π¨ 1. refactor(antd): fine adjustment (#1188) :point_right: ( atzcl )
π¨ 1. refactor: remove disabled, update props name, update NodeTypes enum(#1155) :point_right: ( soulwu )
π :rocket: Improve Performance
π 1. perf(path): improve path performance :point_right: ( janrywang )
:hammer_and_wrench: Update Workflow Scripts
π 1. build(shared): external path package :point_right: ( janrywang )
π 1. feat: add build style (#1201) :point_right: ( atzcl )
π 1. docs(project):add build docs (#1186) :point_right: ( Dark )
β‘οΈ :construction: Add/Update Test Cases
β 1. test(core): add some tests :point_right: ( janrywang )
β 1. test(reactive): add mark tests and fix docs typo :point_right: ( gwsbhqt )
β‘οΈ 1. test(project): update mobx => @formily/reactive :point_right: ( janrywang )
β‘οΈ 1. test(json-schema): update snapshot :point_right: ( janrywang )
:blush: Other Changes
- chore: improve github pull request template (#1328) :point_right: ( liuwei )
- feat(antd/next): improve code :point_right: ( janrywang )