Skip to content

Commit

Permalink
v8.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
erikras committed Apr 11, 2019
1 parent fc3b48d commit 3df8a6b
Show file tree
Hide file tree
Showing 66 changed files with 2,158 additions and 108,284 deletions.
10 changes: 5 additions & 5 deletions README.md
Expand Up @@ -27,12 +27,12 @@ enable an html form in [React](https://github.com/facebook/react) to use

## Documentation

- [Getting Started](https://redux-form.com/8.1.0/docs/GettingStarted.md/)
- [Examples](https://redux-form.com/8.1.0/examples/)
- [API](https://redux-form.com/8.1.0/docs/api/)
- [FAQ](https://redux-form.com/8.1.0/docs/faq/)
- [Getting Started](https://redux-form.com/8.2.0/docs/GettingStarted.md/)
- [Examples](https://redux-form.com/8.2.0/examples/)
- [API](https://redux-form.com/8.2.0/docs/api/)
- [FAQ](https://redux-form.com/8.2.0/docs/faq/)
- [Release Notes](https://github.com/erikras/redux-form/releases)
- [Older Documentation](https://redux-form.com/8.1.0/docs/DocumentationVersions.md/)
- [Older Documentation](https://redux-form.com/8.2.0/docs/DocumentationVersions.md/)

## 🏖 Code Sandboxes 🏖

Expand Down
1 change: 1 addition & 0 deletions docs/DocumentationVersions.md
@@ -1,5 +1,6 @@
# Documentation Versions

- [8.2.0](https://redux-form.com/8.2.0/)
- [8.1.0](https://redux-form.com/8.1.0/)
- [7.4.2](https://redux-form.com/7.4.2/)
- [7.3.0](https://redux-form.com/7.3.0/)
Expand Down
8 changes: 4 additions & 4 deletions docs/Flow.md
Expand Up @@ -25,7 +25,7 @@ Inside your `.flowconfig`, ensure the entire folder is not ignored:
## Props Types

This will give you the types of the
[`props`](http://redux-form.com/8.1.0/docs/api/Props.md/) that will be injected
[`props`](http://redux-form.com/8.2.0/docs/api/Props.md/) that will be injected
into your decorated form component by the `reduxForm()` higher order component.

### `FormProps`
Expand All @@ -51,7 +51,7 @@ class MyForm extends React.Component {
### `FieldProps`

This will give you the shape of the props provided from
[`Field`](http://redux-form.com/8.1.0/docs/api/Field.md/) to your field
[`Field`](http://redux-form.com/8.2.0/docs/api/Field.md/) to your field
component.

```jsx
Expand All @@ -72,7 +72,7 @@ const renderField = ({ input, meta, ...rest } : FieldProps) =>
### `FieldsProps`

This will give you the shape of the props provided from
[`Fields`](http://redux-form.com/8.1.0/docs/api/Fields.md/) to your fields
[`Fields`](http://redux-form.com/8.2.0/docs/api/Fields.md/) to your fields
component.

```jsx
Expand All @@ -97,7 +97,7 @@ const renderField = (fields : FieldsProps) =>
### `FieldArrayProps`

This will give you the shape of the props provided from
[`FieldArray`](http://redux-form.com/8.1.0/docs/api/FieldArray.md/) to your
[`FieldArray`](http://redux-form.com/8.2.0/docs/api/FieldArray.md/) to your
field array component.

```jsx
Expand Down
14 changes: 7 additions & 7 deletions docs/GettingStarted.md
Expand Up @@ -27,7 +27,7 @@ It's important to understand their responsibilities:

The diagram below represents the simplified data flow. Note that in most cases
you don't need to worry about the
[action creators](http://redux-form.com/8.1.0/docs/api/ActionCreators.md/) for
[action creators](http://redux-form.com/8.2.0/docs/api/ActionCreators.md/) for
yourself, as they're already bound to dispatch for certain actions.

<div style="text-align: center;">
Expand Down Expand Up @@ -76,7 +76,7 @@ Now your store knows how to handle actions coming from the form components.

**NOTE:** The key used to pass the `redux-form` reducer should be named
**`form`**. If you need a custom key for some reason see
[`getFormState` config](http://redux-form.com/8.1.0/docs/api/ReduxForm.md/#-getformstate-function-optional-)
[`getFormState` config](http://redux-form.com/8.2.0/docs/api/ReduxForm.md/#-getformstate-function-optional-)
for more details.

### Step 2 of 4: Form component
Expand Down Expand Up @@ -134,7 +134,7 @@ maintain the input state under the hood.

**NOTE**: `<Field/>` component is much more powerful. Apart from basic input
types, it can take a class or a stateless component. When you're ready, go to
the [docs](http://redux-form.com/8.1.0/docs/api/Field.md/#usage) to find out
the [docs](http://redux-form.com/8.2.0/docs/api/Field.md/#usage) to find out
more.

Let's finish up our contact form:
Expand Down Expand Up @@ -196,12 +196,12 @@ class ContactPage extends React.Component {
```

You can now take it from here. We recommend to check out the
[examples](http://redux-form.com/8.1.0/examples/). The common next steps could
[examples](http://redux-form.com/8.2.0/examples/). The common next steps could
also be:

- setting the
[initial form values](http://redux-form.com/8.1.0/examples/initializeFromState/),
[initial form values](http://redux-form.com/8.2.0/examples/initializeFromState/),
- implementing the
[validation](http://redux-form.com/8.1.0/examples/syncValidation/),
[validation](http://redux-form.com/8.2.0/examples/syncValidation/),
- creating dynamic forms with
[arrays of fields](http://redux-form.com/8.1.0/examples/fieldArrays/).
[arrays of fields](http://redux-form.com/8.2.0/examples/fieldArrays/).
4 changes: 2 additions & 2 deletions docs/MigrationGuide.md
Expand Up @@ -319,8 +319,8 @@ const upper = value => value && value.toUpperCase()
```

See the
[Normalizing Example](https://redux-form.com/8.1.0/examples/normalizing/) and
[Value Lifecycle](https://redux-form.com/8.1.0/docs/ValueLifecycle.md/) for more
[Normalizing Example](https://redux-form.com/8.2.0/examples/normalizing/) and
[Value Lifecycle](https://redux-form.com/8.2.0/docs/ValueLifecycle.md/) for more
details.

## Listening to other actions
Expand Down
2 changes: 1 addition & 1 deletion docs/api/Fields.md
Expand Up @@ -205,7 +205,7 @@ component.
## Props

The props that `Fields` will pass to your component are
[the same `input` and `meta` structures that `Field` generates](https://redux-form.com/8.1.0/docs/api/Field.md/#props),
[the same `input` and `meta` structures that `Field` generates](https://redux-form.com/8.2.0/docs/api/Field.md/#props),
except that they are broken up into the structure of the fields you gave as
`names`.

Expand Down
4 changes: 2 additions & 2 deletions docs/api/Form.md
Expand Up @@ -11,10 +11,10 @@ It is only useful if you are:
component
- **AND EITHER:**
- initiating your submission via the
[`submit()` Instance API](http://redux-form.com/8.1.0/docs/api/ReduxForm.md/#-submit-promise-)
[`submit()` Instance API](http://redux-form.com/8.2.0/docs/api/ReduxForm.md/#-submit-promise-)
(i.e. calling it directly on a reference to your decorated form component)
- initiating your submission by
[dispatching the `submit(form)` action](http://redux-form.com/8.1.0/examples/remoteSubmit/)
[dispatching the `submit(form)` action](http://redux-form.com/8.2.0/examples/remoteSubmit/)

If you are passing in your `onSubmit` function as a config parameter or prop,
this component will do nothing for you.
Expand Down
4 changes: 2 additions & 2 deletions docs/api/FormValueSelector.md
Expand Up @@ -22,7 +22,7 @@ import { formValueSelector } from 'redux-form' // ES6

> The name of the form you are connecting to. Must be the same as the `form`
> config value you gave to
> [`reduxForm()`](https://redux-form.com/8.1.0/docs/api/ReduxForm.md/).
> [`reduxForm()`](https://redux-form.com/8.2.0/docs/api/ReduxForm.md/).
### `getFormState : Function` [optional]

Expand Down Expand Up @@ -89,5 +89,5 @@ connect(state => selector(state, 'first', 'second'))(MyFormComponent)
## Example

See the
[Selecting Form Values](https://redux-form.com/8.1.0/examples/selectingFormValues/)
[Selecting Form Values](https://redux-form.com/8.2.0/examples/selectingFormValues/)
example.
2 changes: 1 addition & 1 deletion docs/api/FormValues.md
Expand Up @@ -20,7 +20,7 @@ import { formValues } from 'redux-form' // ES6
### name

The path to the field, exactly like the `name` parameter of
[`<Field/>`](https://redux-form.com/8.1.0/docs/api/Field.md/).
[`<Field/>`](https://redux-form.com/8.2.0/docs/api/Field.md/).

### options: {prop: name, ...}

Expand Down
2 changes: 1 addition & 1 deletion docs/api/Props.md
Expand Up @@ -5,7 +5,7 @@
> The `props` listed on this page are the `props` that `redux-form` generates to
> give to your decorated form component. The `props` that _you pass into your
> wrapped component_ are listed
> [here](https://redux-form.com/8.1.0/docs/api/ReduxForm.md/).
> [here](https://redux-form.com/8.2.0/docs/api/ReduxForm.md/).
> If you are a strict `PropTypes` completionist, `redux-form` exports all of
> these
Expand Down
8 changes: 4 additions & 4 deletions docs/api/ReduxForm.md
Expand Up @@ -39,7 +39,7 @@ at "design time" or passed in as props to your component at runtime.**
> async validation only being run before submission.
> See
> [Asynchronous Blur Validation Example](https://redux-form.com/8.1.0/examples/asyncValidation/)
> [Asynchronous Blur Validation Example](https://redux-form.com/8.2.0/examples/asyncValidation/)
> for more details.
#### `asyncChangeFields : Array<String>` [optional]
Expand All @@ -48,7 +48,7 @@ at "design time" or passed in as props to your component at runtime.**
> function.
> See
> [Asynchronous Change Validation Example](https://redux-form.com/8.1.0/examples/asyncChangeValidation/)
> [Asynchronous Change Validation Example](https://redux-form.com/8.2.0/examples/asyncChangeValidation/)
> for more details.
#### `asyncValidate : (values:Object, dispatch:Function, props:Object, blurredField:String) => Promise<undefined, errors:Object>` [optional]
Expand All @@ -59,7 +59,7 @@ at "design time" or passed in as props to your component at runtime.**
> object of validation errors in the form `{ field1: <String>, field2: <String> }`.
> See
> [Asynchronous Blur Validation Example](https://redux-form.com/8.1.0/examples/asyncValidation/)
> [Asynchronous Blur Validation Example](https://redux-form.com/8.2.0/examples/asyncValidation/)
> for more details.
#### `destroyOnUnmount : boolean` [optional]
Expand Down Expand Up @@ -390,7 +390,7 @@ switch (trigger) {
> validation fails, it should return the validation errors in the form `{ field1: <String>, field2: <String> }`. Defaults to `(values, props) => ({})`.
> See
> [Synchronous Validation Example](https://redux-form.com/8.1.0/examples/syncValidation/)
> [Synchronous Validation Example](https://redux-form.com/8.2.0/examples/syncValidation/)
> for more details.
#### `warn : (values:Object, props:Object) => warnings:Object` [optional]
Expand Down

0 comments on commit 3df8a6b

Please sign in to comment.