v4.0.0-alpha.0 (2022-11-02)
- Added: Zod integration. #1159
- Breaking: Changed the way
getInitialValue
works withundefined
s. #1171 - Breaking: Moved the
component
prop check from theAutoField
to thedefaultComponentDetector
. #1114 - Breaking: Removed the
autoField
prop fromQuickForm
and its descendants. #980 - Breaking: Removed the
props
argument fromgetInitialValue
. It also implies removal of theinitialCount
prop from all bridges andListField
s. #1048 - Breaking:
AutoFields
renderFragment
instead ofdiv
by default. #1173
v3.10.1 (2022-10-07)
- Fixed: Problems with
DateField
not always formatting correctly. #1162 - Fixed: Problems with
DateField
not always rendering correctly. #1138 - Fixed: Warning when the form got unmounted during submit. #1152
v3.10.0 (2022-07-25)
- Added: Support for enums in
GraphQLSchemaBridge
. #1135 - Fixed: Handling errors of fields with dots names in
JSONSchemaBrdige
. #1131
v3.10.0-rc.1 (2022-06-10)
- Added: Support for React v18. #1109
- Changed: All bridges calculate initial values (
getInitialValue
) for objects just like for arrays, i.e., recursively for all subfields. #1112
v3.10.0-rc.0 (2022-05-30)
- Added: New theme:
uniforms-mui
. #1054 - Added: Improved typings of
SelectField
inuniforms-material
. #1111
v3.9.1 (2022-04-26)
- Optimized: The
kind="leaf"
fields created usingconnectField
will skip unnecessary context providers. #1108
v3.9.0 (2022-04-22)
- Added: Handling of
type="date"
inDateField
. #1099
v3.8.1 (2022-02-15)
- Added: Fixed RegExp compatibility with Safari. #1088
v3.8.0 (2022-02-12)
- Added: Support of complex names in
joinName
. #963
v3.7.0 (2021-12-18)
- Added: New context property:
formRef
. #974 - Changed: Both
minCount
andmaxCount
JSON Schema properties are now registered infilterDOMProps
by default. #981 - Changed: Return type of
getNativeFormProps
. #1037 - Fixed: Error message when using
useField
withoutname
. #976
v3.6.2 (2021-10-15)
- Fixed: Handling of
initialValue
inNumField
. #969 - Fixed: Handling of
label
inBoolField
inuniforms-semantic
. #1042 - Fixed: Handling of
type
in both SimpleSchema-based bridges. #1039
v3.6.1 (2021-09-29)
- Fixed: All components in
uniforms-material
are now respecting the theme correctly. #993 - Fixed: Build configuration. #1001
- Fixed: Types of
ListAddField
andListDelField
inuniforms-antd
forantd@4.16.13
. #1004
v3.6.0 (2021-09-13)
- Added: Explicit form types. #1003
- Added: Support for changing field value in
changedKeys
. #982 - Added: Support for recursive
$ref
s inJSONSchemaBrdige
. #1006 - Fixed: Default values resolution in SimpleSchema bridges. #1008
v3.5.5 (2021-08-13)
- Fixed: Types of
DateField
,LongTextField
,NumField
, andTextField
inuniforms-material
are now correctly based onTextFieldProps
. #987
v3.5.4 (2021-08-05)
- Fixed: Invalid publish occurred. Sorry!
v3.5.3 (2021-08-05)
- Fixed: All package paths in
package.json
are now relative. #992
v3.5.2 (2021-07-30)
- Fixed: All bridge methods are now unified between bridges. #957
- Fixed: Incorrect
module
usage inpackage.json
. None of the uniforms packages requires special Babel handling anymore (e.g.,meteor.nodeModules.recompile
in Meteor). #986 - Fixed:
FieldProps
problems with type unions. #971 - Optimized: The
JSONSchemaBridge
is now much faster. #957
v3.5.1 (2021-05-17)
- Fixed: Incorrect label placing of
DateField
inuniforms-material
. #961 - Fixed: Incorrect
null
handling ingetErrorMessages
inGraphQLSchemaBridge
. #950
v3.5.0 (2021-05-12)
- Changed: Bumped minimal required version of
tslib
to 2.2.0. #949 - Fixed: Handling of
object
fields with noproperties
inJSONSchemaBridge
. #934 - Fixed: Simplified typings of all field components. #949
- Fixed: TypeScript error in
uniforms-bootstrap4
. #904 - Optimized: The
changedKeys
helper. #953
v3.4.0 (2021-04-23)
- Added: Ajv v8 support in
JSONSchemaBridge
. #923 - Added: New
showInlineError
onAutoFields
. #827 - Added: Success styling in all Bootstrap themes. #899
- Fixed: Handling of more
anyOf
cases inJSONSchemaBridge
. #919 - Fixed: Leaking
setTimeout
ofBaseForm
. #920 - Optimized: The
filterDOMProps
helper. #939 - Optimized: The
joinName
helper. #935
v3.3.0 (2021-03-31)
- Added: Compatibility with React v17. #859
- Added: New context property:
submitted
. #889 - Added: New theme:
uniforms-bootstrap5
. #874 - Fixed: Accessibility problems in many components. #867
- Fixed: Handling of
initialCount
in optional list fields. #875 - Fixed: Handling of
JSONSchemaBridge
errors with top-level fields containing spaces. #909
v3.2.1 (2021-03-10)
- Fixed: Incorrect typings of some functions as methods. #887
- Fixed: Invalid
sideEffect
configuration inuniforms-bridge-simple-schema
anduniforms-bridge-simple-schema-2
. #888 - Fixed: Styling of
SelectField
inuniforms-semantic
. #873
v3.2.0 (2021-02-17)
- Added: Error styling to
ListField
inuniforms-antd
. #844 - Added: New
layout
prop inBaseForm
inuniforms-antd
to match AntD capabilities. #861 - Added: The
sideEffects
flag to let bundlers do better at tree shaking. #843
v3.1.0 (2021-02-03)
- Added: New
readOnly
prop in all form and field components. #674 - Added: Replacable
AutoField
component. #640 - Added: Support for HTML multiselects in
SelectField
prop in all themes. #737
v3.0.1 (2021-01-28)
- Fixed: Missing
step
prop inNumField
inuniforms-material
. #855 - Fixed: Unified
NumField
behavior across themes. #856
v3.0.0 (2021-01-14)
v3.0.0-rc.8 (2020-12-05)
- Breaking: Due to synchronization of
AutoForm
model
, autosave is now always asynchronous. #832 - Added: The
row
forRadioField
inuniforms-material
. #834
v3.0.0-rc.7 (2020-11-30)
- Breaking: Synchronous
return
andthrow
inonSubmit
are no longer allowed. To return an error or some result, returnPromise
instead. #819 - Fixed: Reverted some
filterDOMProps.register
calls added in #803. #815
v3.0.0-rc.6 (2020-10-26)
- Added: The
autoComplete
prop is now correctly used inTextField
. #809 - Added: The
validateStatus
prop is now correctly handled inwrapField
inuniforms-antd
. #817 - Fixed: Regression of accepting non-string labels in
useField
andconnectField
. #816
v3.0.0-rc.5 (2020-09-30)
- Added: New
disableItem
prop inSelectField
. #736 - Added: New
textFieldProps
prop inSelectField
inuniforms-material
. #700
v3.0.0-rc.4 (2020-09-09)
- Breaking: Reworked
GraphQLBridge.getField
. #769 - Added: More JSON Schema properties are handled automatically in
JSONSchemaBridge
. #748 - Fixed: Missing props of
SelectField
inuniforms-bootstrap4
. #785, #793
v3.0.0-rc.3 (2020-08-13)
- Breaking: Minimum
graphql
version foruniforms-bridge-graphql
is now15.0.0
. #781 - Fixed: Styling mismatch in some
uniforms-antd
fields. #773
v3.0.0-rc.2 (2020-07-30)
- Fixed: Fixed inferred type in
ListItemField
.
v3.0.0-rc.1 (2020-07-29)
- Fixed: Delay in
AutoForm
validation. #769
v3.0.0-rc.0 (2020-07-15)
-
Breaking: Minimum
antd
version foruniforms-antd
is4.0.0
. #696 -
Breaking: Minimum
@material-ui/core
version foruniforms-material
is4.0.0
. #758 -
Added: New
FieldProps
andHTMLFieldProps
utility types. #760 -
Added: Improved typing of
filterDOMProps
. To properly register a new property, extendFilterDOMProps
interface. #763declare module 'uniforms' { interface FilterDOMProps { customPropToFilter: never; } } filterDOMProps.register('customPropToFilter');
-
Fixed: Escaping special characters. #753
-
Fixed: Changed state of
AutoForm
regression. #765
v3.0.0-alpha.5 (2020-06-17)
- Breaking: Removed
modelSync
fromAutoForm
state. #739 - Added: New
kind: 'leaf' | 'node'
flag forconnectField
. #741
v2.6.9 (2020-06-17)
- Fixed: Resolving parallel
properties
andrequired
inJSONSchemaBridge
. #746
v3.0.0-alpha.4 (2020-06-03)
- Breaking: Removed
injectName
helper. It was used to force context updates and got replaced by the new context directly. #720 - Breaking: Removed
includeInChain
option ofconnectField
. #738 - Breaking: Reworked
ListField
components family. #721
v2.6.8 (2020-06-03)
- Fixed: Resolving some
$ref
s inJSONSchemaBridge
. #722
v3.0.0-alpha.3 (2020-05-06)
- Breaking: Removed
BaseForm.getChangedKeys
. UsechangedKeys
directly. - Breaking: Removed default exports in the
uniforms
package. Use named imports instead (e.g.import { BaseForm } from 'uniforms'
). This allows to effectively export types along with values. - Breaking: Removed
createSchemaBridge
. This includes removal ofBaseForm.state.bridge
,check
on all bridges, and the automatic bridge creation for SimpleSchema. For motivation and more insigths see #718. - Breaking: Reworked validation flow. For motivation and more insigths see #711.
- Bridge validators can be asynchronous.
- Bridge validators have to return errors instead of throwing them.
onValidate
is no longer using callbacks. The error (or the lack of it) has to be returned either synchronously or asynchronously (i.e. wrapped in a promise).onSubmitSuccess
andonSubmitFailure
got removed. To preserve the current behavior, simply combine them into theonSubmit
:
-onSubmit={onSubmit} -onSubmitSuccess={onSubmitSuccess} -onSubmitFailure={onSubmitFailure} +onSubmit={model => { + const result = onSubmit(model); + result.then(onSubmitSuccess, onSubmitFailure); + return result; +}}`
- Changed: For performance reasons
getField
,getSubfields
, andgetType
of all bridges are now memoized. - Changed: For performance reasons
filterDOMProps.registered
is nowreadonly string[]
instead ofstring[]
. Internally,omit
got replaced withpickBy
andfilterDOMProps.registered
is now sorted.filterDOMProps.register
behavior remains unchanged.
v3.0.0-alpha.2 (2020-04-08)
- Breaking: Moved transpiled files from the packages roots (e.g.
import BaseForm from 'uniforms/BaseForm'
) toes5
directories. Try not to rely on that and use let your bundler do its best (e.g.import { BaseForm } from 'uniforms'
). - Breaking: Removed
BaseField
fromuniforms
. Migrate touseField
. - Breaking: Removed
baseField
fromconnectField
. Migrate touseField
. - Breaking: Removed
ensureValue
fromconnectField
. You have to do it manually (e.g. dovalue ?? ''
instead ofvalue
). - Breaking: Removed
includeParent
fromconnectField
. UseuseField
as many types as needed. - Breaking: Removed
mapProps
fromuniforms
. Migrate touseField
. - Breaking: Shape of the context changed -
changed
,changedMap
,submitting
, andvalidating
were lifted fromstate
to the root. - Breaking: A lot of types changed.
- Added:
useField
anduseForm
inuniforms
.
v2.6.7 (2020-03-25)
- Fixed: Empty boxes in
SelectField
inuniforms-antd
. #691 - Fixed: Mitigated babel/babel#10693 in all remaining cases. #692
v3.0.0-alpha.1 (2020-01-22)
- Breaking: Removed deprecated lifecycle methods in favor of the new ones. It may break custom form components using
componentWillReceiveProps
andcomponentWillMount
.
v2.6.6 (2020-01-22)
- Fixed: Mitigated babel/babel#10693. #638
v2.6.5 (2019-12-18)
- Fixed: Invalid publish occurred. Sorry!
v2.6.4 (2019-12-18)
- Fixed: Problems with unescaped
id
attributes. #671
v2.6.3 (2019-12-11)
- Fixed: Problems with
initialCount
andminCount
inGraphQLBridge
,SimpleSchemaBridge
andSimpleSchema2Bridge
. #656 - Fixed: Problems with incorrectly inferred types of some props. #661
v3.0.0-alpha.0 (2019-11-30)
- Breaking: Migrated from the legacy context API. This change should be transparent for
connectField
but will break all components using context directly. As there's no documentation yet, see this commit to see what changed. To have an idea on how to proceed, see this commit. - Breaking: Raised minimum version of React to 16.8.0.
- Breaking: Removed workaround for React < 16 in
NumField
. - Breaking: Removed
nothing
fromuniforms
as it's not needed in React >= 15. - Changed: Removed
prop-types
entirely in favor of incoming typings. - Changed: Renamed deprecated lifecycle methods.
v2.6.2 (2019-11-21)
- Changed: Fixed minimal required version of
tslib
. #648
v2.6.1 (2019-11-13)
- Changed: Reverted introduction of
globalThis
. #641
v2.6.0 (2019-11-06)
- Added: ES6 compilation targets and
module
keyword inpackage.json
. If your bundler supports tree shaking, you no longer have to use direct imports manually - simply useimport { X } from 'uniforms'
. #612 - Changed: Internal structure of imports to stay in align with the ES5/ES6 bundles. #629
- Fixed: Handling of default props of
NumField
inuniforms-material
. #631. - Fixed: Missing
wrapField
export inuniforms-material
. #629.
v2.5.0 (2019-10-16)
- Changed: We've migrated to TypeScript! There should be no impact on plain JavaScript code and the runtime. We are still working on proper (not
any
) typings.
v2.4.1 (2019-10-02)
- Fixed: Name conflict of
type
inJSONSchemaBridge
. #604 - Fixed: Parsing of
dataPath
inJSONSchemaBridge
. #593
v2.4.0 (2019-08-28)
- Added: Default labels in
GraphQLSchemaBridge
. #577 - Added: Handling of
placeholder
andlabel
inJSONSchemaBridge
. #586 - Fixed: Unified logic of
getProps
between all bridges. Right now it has a clear semantic:bridge.getProps(fieldName[, props])
should resolve all props that the schema defines, based on the field definition and given props (if applicable). Especially, it should not merge in givenprops
nor resolve the finallabel
orplaceholder
-BaseField
handles that. It'll affect you only if you've calledgetProps
directly. It also got rid of some additionalundefined
props inJSONSchemaBridge
.
v2.3.1 (2019-08-14)
- Fixed: Handling of
default
attribute inJSONSchemaBridge
. #569 - Fixed: Handling of
placeholder
andrequired
props in most themes. #570 - Fixed: Rendering placeholder in
SelectField
inuniforms-antd
. #568
v2.3.0 (2019-08-01)
- Added: Default exports in bridge packages. #562
- Added: Support for
extra
andhelp
inuniforms-antd
theme. #559 - Fixed: Conditional wrapper of
NumFields
in most themes is now React version specific. #558 - Fixed: Deprecated icon in
BoolField
inuniforms-antd
. #563
v2.2.0 (2019-07-12)
- Added: Support for
labelClassName
inuniforms-bootstrap3
anduniforms-bootstrap4
themes. #548 - Fixed: Handling of
required
validation inJSONSchemaBridge
. #554 - Fixed: Weird behaviour of
SelectField
withcheckboxes
inuniforms-antd
. #549
v2.1.0 (2019-06-18)
- Added: Support for
@material-ui/core@4
. #542
v2.0.0 (2019-06-10)
v2.0.0-alpha.1 (2019-05-16)
- Fixed: Nested arrays in
GraphQLBridge
. #535 - Fixed:
SelectField
inuniforms-material
rendered inline error twice in certain situations.
v2.0.0-alpha.0 (2019-05-01)
-
Breaking: Separated schema packages. These are now:
uniforms-bridge-graphql uniforms-bridge-json-schema uniforms-bridge-simple-schema uniforms-bridge-simple-schema-2
To register a new schema, import
uniforms-bridge-X
oruniforms-bridge-X/register
directly. Named exports and file names haven't changed, so imports looks like this:// GraphQL -import { GraphQLBridge } from 'uniforms'; +import { GraphQLBridge } from 'uniforms-bridge-graphql'; -import GraphQLBridge from 'uniforms/GraphQLBridge'; +import GraphQLBridge from 'uniforms-bridge-graphql/GraphQLBridge'; // JSON Schema -import { JSONSchemaBridge } from 'uniforms'; +import { JSONSchemaBridge } from 'uniforms-bridge-graphql'; -import JSONSchemaBridge from 'uniforms/JSONSchemaBridge'; +import JSONSchemaBridge from 'uniforms-bridge-json-schema/JSONSchemaBridge'; // SimpleSchema (Atmosphere version for Meteor) -import { SimpleSchemaBridge } from 'uniforms'; +import { SimpleSchemaBridge } from 'uniforms-bridge-simple-schema'; -import SimpleSchemaBridge from 'uniforms/SimpleSchemaBridge'; +import SimpleSchemaBridge from 'uniforms-bridge-simple-schema/SimpleSchemaBridge'; // SimpleSchema (npm version) -import { SimpleSchema2Bridge } from 'uniforms'; +import { SimpleSchema2Bridge } from 'uniforms-bridge-simple-schema-2'; -import SimpleSchema2Bridge from 'uniforms/SimpleSchema2Bridge'; +import SimpleSchema2Bridge from 'uniforms-bridge-simple-schema-2/SimpleSchema2Bridge';
-
Breaking: Packages depending on the
uniforms
package are now usingdependency
instead of thepeerDependency
. Same goes for the schema packages and their schema respectives:uniforms-bridge-graphql ~> graphql uniforms-bridge-simple-schema-2 ~> simpl-schema
-
Breaking: Removed
jsnext:main
andmodule
frompackage.json
in all packages. It means that bundlers like Webpack will load the fully transpiled version now. It caused more troubles than it's worth. The original sources are still shipped insrc
directory. -
Breaking:
QuickForm.render
logic was moved toQuickForm.getNativeFormProps
.BaseForm
is now the only form component with an explicitrender
method, what is good for custom themes and form components. -
Breaking:
SubmitField
inuniforms-material
now useschildren
by default and fallback tolabel
. #523 -
Feature: Added
createSchemaBridge.register
for registering custom bridges. -
Feature: Added
onSubmit
to the context data. Now every field can trigger the submit directly, without the form ref. -
Fixed:
SelectField
label shrink state inuniforms-material
. #522
v1.31.1 (2019-03-06)
- Fixed:
SelectField
required state inuniforms-material
. #512 - Fixed:
NumField
value parsing inuniforms-material
. #516
v1.31.0 (2019-01-23)
- Added: Support for
$ref
property inJSONSchemaBridge
. #507 - Fixed: Warnings introduced in
1.30.0
inuniforms-material
theme. #501 - Fixed: Few style problems, by using differents components in
uniforms-material
theme. #505
v1.30.0 (2019-01-05)
- Added: New
variant
prop in mostuniforms-material
fields. #495 - Changed: Default SubmitField
variant
in uniforms-material. Minimum version of@material-ui/core
is now1.2.0
. #498
v1.29.0 (2018-12-05)
- Added: Support for
placeholder
inSelectField
inuniforms-material
. #489 - Fixed: Handling of default values in
ListField
. - Fixed: Warning caused by
setState
on an unmounted component. #490 - Fixed: Versioning scheme - no more
file:../uniforms
.
v1.28.0 (2018-11-25)
- Added: Field
label
now defaults totitle
inJSONSchemaBridge
. #488 - Added: Proper styling for
SelectField
inuniforms-semantic
. #482 - Added: New
labelProps
props inDateField
andSelectField
inuniforms-material
. #485 - Added: New
submitting
andvalidating
states in context. #449
v1.27.0 (2018-10-23)
v1.27.0-rc.2 (2018-10-12)
- Changed: Added necessary
invariant
andwarning
dependencies as React no longer depends onfbjs
. #475
v1.27.0-rc.1 (2018-10-06)
- Added: Support for
@material-ui/core@3.0.0
. - Changed: Minimum version of
@material-ui/core
is 1.5.1, due to Babel updated. - Changed: No
core-js
polyfills are automatically included. - Fixed: Leaking
checkboxes
prop inuniforms-antd
. - Fixed: Renamed few internals to preserve default
displayName
s.
v1.26.0 (2018-10-02)
- Changed: Updated
graphql
dependency. #467 - Fixed: Extracting
fieldType
forGraphQLBridge
. #460 - Fixed: Leaking rejections in
ValidatedForm
. #471 - Fixed:
RadioField
handles error and help texts without warnings inuniforms-material
.
v1.25.0 (2018-07-20)
v1.25.0-rc.3 (2018-06-27)
- Changed: We are using Babel@7 now!
v1.25.0-rc.2 (2018-06-10)
- Fixed: Explicitly pass
text
prop inTextField
inuniforms-material
.
v1.25.0-rc.1 (2018-06-05)
- Changed: Updated
uniforms-material
to@material-ui/core
. #349
v1.24.5 (2018-05-30)
- Fixed: Added
wrapperStyle
tofilterDOMProps
defaults. #430 - Fixed:
ListAddField
now clones givenvalue
to not keep its reference. #428
v1.24.4 (2018-05-27)
- Fixed: Placeholders are now working with disabled labels on
GraphQLBridge
andJSONSchemaBridge
. #421 - Fixed:
SubmitField
labels.
v1.24.3 (2018-05-07)
- Fixed:
ListAddField
andListDelField
inuniforms-bootstrap4
now use.badge
instead of.label
styling. #419
v1.24.2 (2018-04-25)
- Added: Support for
rows
inLongTextField
inuniforms-bootstrap3
. #418 - Fixed: Prop
style
was incorrectly used inuniforms-antd
, therefore it was renamed towrapperStyle
. #416
v1.24.1 (2018-04-13)
- Fixed: Invalid publish occurred. Sorry!
v1.24.0 (2018-04-06)
- Added: Support for
style
inuniforms-antd
. #404 - Fixed: Added
allowedValues
tofilterDOMProps
defaults. #403
v1.23.2 (2018-03-18)
- Fixed: Added
transform
tofilterDOMProps
defaults. #399
v1.23.1 (2018-03-05)
- Fixed: Got rid of React warning triggered during form reset.
v1.23.0 (2018-01-12)
v1.23.0-rc.2 (2018-01-10)
- Changed: If
onSubmit
rejects, it's treated as a form error. - Fixed:
form.submit
correctly rejects on validation error.
v1.23.0-rc.1 (2017-12-29)
- Added: Support for
antd@3.0.0
. #372
v1.22.2 (2017-12-11)
- Fixed: Passing an empty string to
ListField
andNestField
. #366
v1.22.1 (2017-11-08)
- Fixed: Hiding rejected promises. #362
v1.22.0 (2017-10-30)
v1.22.0-rc.4 (2017-10-26)
- Added: Support for
wrapClassName
inuniforms-semantic
. #358 - Fixed: Removed
babel-plugin-transform-react-inline-elements
. #359
v1.22.0-rc.3 (2017-10-20)
- Fixed: Clearing
DateField
. #357
v1.22.0-rc.2 (2017-10-16)
- Fixed: Invalid prop warning in
uniforms-bootstrap3
anduniforms-bootstrap4
. #350
v1.22.0-rc.1 (2017-10-13)
- Added: Support for
GraphQLID
inGraphQLBridge
. #281 - Added: Support for JSON schema. #353
- Added: Support for React@16. #351
- Changed: Field
error
prop is not changing fromnull
toundefined
after validation.
v1.21.0 (2017-09-28)
- Added: Support for
checkbox
inBoolField
inuniforms-antd
. #348
v1.20.4 (2017-09-22)
- Fixed: Refreshing fields on form state change. #347
v1.20.3 (2017-09-18)
- Fixed: Invalid publish occurred. Sorry!
v1.20.2 (2017-09-16)
- Fixed: Passing
type
prop inTextField
inuniforms-antd
. #345
v1.20.1 (2017-08-26)
- Fixed: Missing
Boolean
type inGraphQLBridge
. #335 - Fixed: Position of inline error in
BoolField
inuniforms-semantic
. #338
v1.20.0 (2017-08-07)
- Changed: Moved from
lodash.x
packages tolodash/x
. It will increasenode_modules
size but probably reduce your bundle size as many projects are already usinglodash
which lead to having bothlodash.x
andlodash/x
in the bundle. - Fixed: Warning in
SelectField
inuniforms-antd
.
v1.19.1 (2017-07-08)
- Fixed: Removed unnecessary published files.
v1.19.0 (2017-07-08)
- Changed: Additional props are passed to the rendered
div
inNestField
inuniforms-antd
. - Changed: Additional props are passed to the rendered
div
inwrapField
in bothuniforms-bootstrap3
anduniforms-bootstrap4
. - Changed: Now
gridClassName
always returns a string in bothuniforms-bootstrap3
anduniforms-bootstrap4
. - Changed:
ErrorsField
is now styled in bothuniforms-bootstrap3
anduniforms-bootstrap4
. #301 - Fixed: Added missing
LongTextField
labelhtmlFor
inuniforms-semantic
. - Fixed: Added missing
placeholder
prop inSelectField
inuniforms-antd
. - Fixed:
HiddenField
now behaves the same in every theme. - Fixed:
RadioField
spacing inuniforms-bootsrap4
. #304 - Fixed: Pass
hintText
prop instead ofplaceholder
inLongTextField
inuniforms-material
.
v1.18.2 (2017-06-09)
- Fixed:
SubmitField
respectsdisabled
prop.
v1.18.1 (2017-05-28)
- Changed: Optimized
BaseField
props calculation. - Changed: Switched to
prop-types
. - Fixed:
Bridge.check
error message.
v1.18.0 (2017-04-30)
- Changed: Inline errors are now triggered by
error
, noterrorMessage
. #267 - Fixed: Removed unknown prop warning when defining component in schema. #284
v1.17.2 (2017-04-12)
- Fixed: Detection of SimpleSchema.
- Fixed: Warning in empty
BoolField
inuniforms-antd
.
v1.17.1 (2017-04-10)
- Fixed: Removed unnecessary line in
ListField
inuniforms-semantic
.
v1.17.1-beta.1 (2017-04-08)
- Fixed: Fields props precedence. #262
v1.17.0 (2017-04-05)
- Added: Support for few props in
DateField
inuniforms-material
. #246 - Added: Support for GraphQL inputs in
GraphQLBridge
. #244 - Fixed: Removing non-edited list items.
v1.16.0 (2017-03-24)
- Added: Support for
multiple
inSelectField
inuniforms-material
. #236 - Changed: Internal handling of
changed
andchangedMap
. - Changed: Optimized whole rendering process.
- Changed: Rewritten
AutoField
. - Fixed: Autosave is no longer triggering a submit on render. #238
v1.15.0 (2017-03-12)
- Added: Support for
colon
andrequired
inuniforms-antd
. #229 - Added: Support for
grouped
inuniforms-semantic
. #227 - Added: Support for
material-ui@0.17
inuniforms-material
. #232
v1.14.0 (2017-03-06)
- Added: Additional babel transforms to reduce bundle size.
- Added: Support for
labelCol
andwrapperCol
inuniforms-antd
. #207
v1.13.1 (2017-03-02)
- Fixed: Peer dependencies versions.
v1.13.0 (2017-03-01)
- Added: Passing through all unused props in some fields in
uniforms-antd
. #203 - Added: Support for
rows
inLongTextField
inuniforms-bootstrap4
. #208 - Fixed: Removed
TextField
warning inuniforms-material
. #205
v1.12.1 (2017-02-25)
- Fixed:
HiddenField
display name. - Fixed: Handling of negative numbers in
NumField
. - Fixed: Unnecessary
onSubmit
after mount withautosave
. #204
v1.12.0 (2017-02-19)
- Added: Support for
itemProps
inListField
inuniforms-antd
. - Added: Support for
itemProps
inNestField
. #181 - Fixed: Handling of arrays in SimpleSchema@2. #200
v1.11.3 (2017-02-16)
- Added: Support for SimpleSchema2@0.2. #198
- Fixed: Handling of no value in multiple select in
uniforms-antd
. #199
v1.11.2 (2017-02-14)
- Fixed: Multiple select in
uniforms-antd
.
v1.11.1 (2017-02-14)
- Fixed: Removed Meteor missing module warning. #197
v1.11.0 (2017-02-14)
- Added: Field rendered outside of a form throws an error.
- Added: Support for
appearance
prop inBoolField
inuniforms-material
. #189 - Changed: Use
children
instead of specified props inListAddField
inuniforms-material
. - Changed: Use
children
instead of specified props inListDelField
inuniforms-material
. - Fixed: Handling of
decimal
inNumField
. #167 - Fixed: Handling of
defaultValue
inSimpleSchema2Bridge
. #182 - Fixed: Removed
DateField
warning inuniforms-material
. - Fixed:
ListAddField
inuniforms-material
. - Fixed:
ListDelField
inuniforms-material
.
v1.10.0 (2017-02-07)
- Added: AntD theme. #134
- Added: Material UI theme. #142
- Added: Support for Bootstrap4@alpha.6. #170
- Added: Support for
initialValue
inGraphQLBridge
. #183 - Changed: All
<section>
s tags are now<div>
s. #172
v1.9.0 (2017-01-21)
- Added: Online demo uniforms.tools. #156
- Added: Support for SimpleSchema2@0.1.x.
- Added: Support for
step
prop inNumField
. #165
v1.8.4 (2017-01-14)
- Fixed: Handling of
initialValue
. #164
v1.8.3 (2017-01-06)
- Fixed: Handling of additional error in
ValidatedForm
. #161
v1.8.2 (2017-01-06)
- Fixed: Propagation of labels and placeholders.
v1.8.1 (2016-12-30)
- Fixed: Placeholder text from schema. #152
v1.8.0 (2016-12-19)
- Added: Support for direct imports, i.e.
import connectField from 'uniforms'
. #129 - Fixed: Optional packages resolution in Webpack. #150
- Fixed: Reset of a form with a model. #140
v1.7.1 (2016-12-04)
- Fixed: Handling of
label
inGraphQLBridge
. - Fixed: Got rid of unknown props warning in semantic theme.
- Fixed: Extraneous option in
SelectField
in semantic theme. - Fixed: Extraneous option in
SelectField
in unstyled theme.
v1.7.0 (2016-11-28)
v1.7.0-beta.1 (2016-11-27)
- Added: New
modelTransform
prop inBaseForm
. #123
v1.6.0 (2016-11-21)
v1.6.0-beta.4 (2016-11-19)
- Fixed: Handling of initial values. #135
v1.6.0-beta.3 (2016-11-19)
- Changed: Components created with
connectField
have now differentdisplayName
to match forms inheritance. - Fixed: Handling of
defaultValue
inSimpleSchema2Bridge
. #130
v1.6.0-beta.2 (2016-11-13)
- Fixed: GraphQL conditional import.
v1.6.0-beta.1 (2016-11-13)
- Changed: Added GraphQL schema support. #118
- Changed: Optimized build size.
- Changed: Removed
invariant
andwarning
dependencies. - Changed:
Bridge
cannot be instantiated. - Changed:
Bridge
constructor is now noop. - Changed:
Bridge
methods are now throwing an unimplemented method errors.
v1.5.0 (2016-11-05)
- Fixed: Got rid of unknown props warning in bootstrap themes.
- Fixed: SimpleSchema validator.
v1.5.0-rc.1 (2016-11-02)
- Added: New
showInlineError
prop inBaseForm
. #87 - Added: New
showInlineError
prop inListField
. #100 - Added: New
showInlineError
prop inNestField
.
v1.4.1 (2016-11-02)
- Fixed:
ListAddField
andListDelField
. #125 - Fixed:
process.addListener
is not a function in some environments. #124
v1.4.0 (2016-10-28)
- Added: New
showInlineError
prop in semantic theme. - Changed: Select is now deselectable. #120
- Deprecated:
FormGroup
helper component. - Fixed: Bootstrap themes
grid
handling. - Fixed: Bootstrap4
ListAddField
styling. #121
v1.3.0 (2016-10-19)
v1.2.0 (2016-10-18)
v1.2.0-rc.1 (2016-10-15)
- Added: Options passed to
connectField
are now stored on fields instances. - Changed: Moved from inline helpers to
babel-runtime
to minify build size. - Changed: Optimized
BaseForm
. - Changed: Optimized
ListField
.
v1.1.5 (2016-10-08)
- Added: Better nested fields support in SimpleSchema2.
v1.1.4 (2016-10-07)
- Fixed: Reverted React dependency version.
v1.1.3 (2016-10-06)
- Fixed: Unmet peer dependency warning.
v1.1.2 (2016-09-28)
- Fixed: Enabled
SimpleSchema2Bridge
. #107
v1.1.1 (2016-09-27)
- Fixed: Missing export.
v1.1.0 (2016-09-27)
- Added: Support for SimpleSchema2. #99
v1.0.1 (2016-09-20)
- Fixed: Controlled
ValidatedForm
validates with the old model. #104
v1.0.0 (2016-09-20)
v1.0.0-rc.33 (2016-09-14)
- Fixed:
NumberField
does not seem to let me enter "0" as the number. #101
v1.0.0-rc.32 (2016-09-10)
- Added: New documentation. #92
- Added: New playground. #98
- Fixed:
SubmitField
doesn't allow you to set value. #95
v1.0.0-rc.31 (2016-08-16)
- Fixed:
AutoFields
component is not exported. #31
v1.0.0-rc.30 (2016-08-09)
- Fixed: Got rid of (un)controlled input warning. #90
- Fixed: Got rid of unknown props warning. #89
- Fixed: Nesting
ListField
inListField
. #91
v1.0.0-rc.29 (2016-08-03)
v1.0.0-rc.28 (2016-07-29)
- Added: New
showInlineError
prop in bootstrap theme. #84 - Fixed: Removed custom validation warning. #83
v1.0.0-rc.27 (2016-07-23)
- Added: New
onSubmitSuccess
andonSubmitFailure
props on forms. #51 - Changed: Improved error handling - using
invariant
package. - Changed: Prevent validation when schema has changed and form is not submitted. #82
- Fixed: Regression with HTML5 inputs. #80
v1.0.0-rc.26 (2016-07-20)
- Added: New
filterDOMProps
helper. - Fixed: AutoForm performance. #70
- Fixed: Dynamic schema change. #76
- Fixed: Got rid of unknown props warning. #64
- Fixed: Got rid of unknown props warning. #75
v1.0.0-rc.25 (2016-07-18)
- Added: New
autosaveDelay
prop on forms. #29 - Added: New
icon
andiconLeft
prop in semantic theme. #67 - Added: New
inputRef
prop on every field. #68 - Added:
ModifierForm
example. #66 - Fixed: Dramatically improved performance. #70
- Fixed: Styling of
ListField
in bootstrap theme. #72 - Fixed:
findError
.
v1.0.0-rc.24 (2016-07-10)
- Added: New
itemProps
prop onListField
. #60 - Added: New
injectName
helper. - Changed: Initial value logic for better UX. #58
- Changed:
joinName
works with dots in parts. - Fixed: Got rid of unknown props warning. #64
- Fixed: Invalid
propTypes
. - Fixed:
HiddenField
leads to infinite loop. #63 - Fixed:
NestField
leads to infinite loop. #62
v1.0.0-rc.23 (2016-07-05)
- Added: New
HiddenField
. #53 - Added: New
onChangeModel
prop onAutoForm
. - Added: Support for arbitrary errors. #54
- Changed: Initial value logic for better UX. #58
- Changed: Initial value logic to respect
value
prop. #52 - Fixed: SimpleSchema validation of objects with prototype. #3
- Fixed:
ErrorField
styling in semantic theme. #55
v1.0.0-rc.22 (2016-06-28)
- Added: New
labelLeft
prop in bootstrap themes. #36 - Added: Public form API. #47
- Changed: Label can be a React node. #49
- Fixed: Label styling in bootstrap theme. #35
v1.0.0-rc.21 (2016-06-25)
- Added: Code coverage report. #46
- Added: Support for React SSR. #40
- Added: Support for React@0.14. #42
v1.0.0-rc.20 (2016-06-23)
- Changed: Handling of Meteor packages.
v1.0.0-rc.19 (2016-06-22)
v1.0.0-rc.18 (2016-06-19)
- Added: New
AutoFields
. #31 - Added: New
autoField
,errorsField
orsubmitField
props onQuickForm
. #28 - Added:
SelectField
checkbox mode. #33 - Changed: Renamed
type
tofieldType
. #32
v1.0.0-rc.17 (2016-06-16)
- Fixed:
TextField
regression. #30
v1.0.0-rc.16 (2016-06-15)
- Added: Labeled options. #23
- Added: New
transform
prop onRadioField
. #27. - Added: Suppress HTML5 validation. #25
v1.0.0-rc.15 (2016-06-09)
- Fixed: Got rid of warning about field value. #22
v1.0.0-rc.14 (2016-06-08)
- Fixed: Guaranteed field
id
generation.
v1.0.0-rc.13 (2016-06-05)
- Added: Asynchronous validation! #17
- Added: New
type
prop onTextField
. #19 - Added: New guaranteed field prop -
id
. - Added:
CONTRIBUTING.md
. #20
v1.0.0-rc.12 (2016-06-01)
- Changed: Initial value works with array fields. #16
v1.0.0-rc.11 (2016-05-31)
- Fixed:
ListField
styling in bootstrap themes. #16
v1.0.0-rc.10 (2016-05-30)
- Changed: Skipping
onSubmit
until render. #15
v1.0.0-rc.9 (2016-05-30)
- Changed: Now
initialCount
can be passed to theListField
directly. #14 - Fixed: Autosave regression. #11
v1.0.0-rc.8 (2016-05-30)
- Added: New
ErrorField
. #13 - Added: New guaranteed field prop -
changed
. #12 - Changed: Now
initialCount
works with arrays. #14
v1.0.0-rc.7 (2016-05-27)
- Added: New
autosave
prop on forms. #11 - Changed: Forms inheritance.
v1.0.0-rc.6 (2016-05-25)
- Added: Bootstrap 3 theme. #10
- Added: New guaranteed field prop -
errorMessage
. #6 - Changed: Schema bridges have to implement additional
getErrorMessage(name, error)
method. #6
v1.0.0-rc.5 (2016-05-24)
- Added: Bootstrap 4 theme. #2
v1.0.0-rc.4 (2016-05-23)
- Added: Multiple schemas support. #9
- Added: New
component
prop onAutoField
. - Changed: Renamed
explicitDefaultValue
toexplicitInitialValue
. - Changed: Renamed
includeDefault
toinitialValue
. - Changed: Schema props spreading.
v1.0.0-rc.3 (2016-05-20)
- Added: New guaranteed field prop -
findError
. #8 - Added: New guaranteed field prop -
findField
. #8 - Added: New guaranteed field prop -
findValue
. #8
v1.0.0-rc.2 (2016-05-11)
- Changed: Handling of Meteor packages.