Skip to content

Commit

Permalink
v7.4.1
Browse files Browse the repository at this point in the history
  • Loading branch information
erikras committed Jun 15, 2018
1 parent 07d07a0 commit a9e394c
Show file tree
Hide file tree
Showing 78 changed files with 127 additions and 127 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,12 @@ Redux-form is proudly sponsored by [Rollbar](https://codesponsor.io/t/c/07f83dcd

## Documentation

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

## 🏖 Code Sandboxes 🏖

Expand Down
2 changes: 1 addition & 1 deletion docs/DocumentationVersions.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Documentation Versions

- [7.4.0](https://redux-form.com/7.4.0/)
- [7.4.1](https://redux-form.com/7.4.1/)
- [7.3.0](https://redux-form.com/7.3.0/)
- [7.2.0](https://redux-form.com/7.2.0/)
- [7.1.2](https://redux-form.com/7.1.2/)
Expand Down
8 changes: 4 additions & 4 deletions docs/Flow.md
Original file line number Diff line number Diff line change
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/7.4.0/docs/api/Props.md/) that will be injected
[`props`](http://redux-form.com/7.4.1/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/7.4.0/docs/api/Field.md/) to your field
[`Field`](http://redux-form.com/7.4.1/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/7.4.0/docs/api/Fields.md/) to your fields
[`Fields`](http://redux-form.com/7.4.1/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/7.4.0/docs/api/FieldArray.md/) to your
[`FieldArray`](http://redux-form.com/7.4.1/docs/api/FieldArray.md/) to your
field array component.

```jsx
Expand Down
14 changes: 7 additions & 7 deletions docs/GettingStarted.md
Original file line number Diff line number Diff line change
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/7.4.0/docs/api/ActionCreators.md/) for
[action creators](http://redux-form.com/7.4.1/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/7.4.0/docs/api/ReduxForm.md/#-getformstate-function-optional-)
[`getFormState` config](http://redux-form.com/7.4.1/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/7.4.0/docs/api/Field.md/#usage) to find out
the [docs](http://redux-form.com/7.4.1/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/7.4.0/examples/). The common next steps could
[examples](http://redux-form.com/7.4.1/examples/). The common next steps could
also be:

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

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

## Listening to other actions
Expand Down
2 changes: 1 addition & 1 deletion docs/api/Fields.md
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,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/7.4.0/docs/api/Field.md/#props),
[the same `input` and `meta` structures that `Field` generates](https://redux-form.com/7.4.1/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
Original file line number Diff line number Diff line change
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/7.4.0/docs/api/ReduxForm.md/#-submit-promise-)
[`submit()` Instance API](http://redux-form.com/7.4.1/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/7.4.0/examples/remoteSubmit/)
[dispatching the `submit(form)` action](http://redux-form.com/7.4.1/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
Original file line number Diff line number Diff line change
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/7.4.0/docs/api/ReduxForm.md/).
> [`reduxForm()`](https://redux-form.com/7.4.1/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/7.4.0/examples/selectingFormValues/)
[Selecting Form Values](https://redux-form.com/7.4.1/examples/selectingFormValues/)
example.
2 changes: 1 addition & 1 deletion docs/api/FormValues.md
Original file line number Diff line number Diff line change
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/7.4.0/docs/api/Field.md/).
[`<Field/>`](https://redux-form.com/7.4.1/docs/api/Field.md/).

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

Expand Down
2 changes: 1 addition & 1 deletion docs/api/Props.md
Original file line number Diff line number Diff line change
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/7.4.0/docs/api/ReduxForm.md/).
> [here](https://redux-form.com/7.4.1/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
Original file line number Diff line number Diff line change
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/7.4.0/examples/asyncValidation/)
> [Asynchronous Blur Validation Example](https://redux-form.com/7.4.1/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/7.4.0/examples/asyncChangeValidation/)
> [Asynchronous Change Validation Example](https://redux-form.com/7.4.1/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/7.4.0/examples/asyncValidation/)
> [Asynchronous Blur Validation Example](https://redux-form.com/7.4.1/examples/asyncValidation/)
> for more details.
#### `destroyOnUnmount : boolean` [optional]
Expand Down Expand Up @@ -384,7 +384,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/7.4.0/examples/syncValidation/)
> [Synchronous Validation Example](https://redux-form.com/7.4.1/examples/syncValidation/)
> for more details.
#### `warn : (values:Object, props:Object) => warnings:Object` [optional]
Expand Down
2 changes: 1 addition & 1 deletion examples/asyncChangeValidation/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<meta charSet="utf-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"/>
<title>Redux Form - Async Change Validation Example</title>
<link href="https://redux-form.com/7.4.0/bundle.css"
<link href="https://redux-form.com/7.4.1/bundle.css"
media="screen, projection"
rel="stylesheet" type="text/css"/>
<link href="//cdnjs.cloudflare.com/ajax/libs/font-awesome/4.3.0/css/font-awesome.min.css"
Expand Down
4 changes: 2 additions & 2 deletions examples/asyncChangeValidation/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion examples/asyncChangeValidation/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"react-dom": "^16.0.0",
"react-redux": "^5.0.3",
"redux": "^3.6.0",
"redux-form": "^7.4.0",
"redux-form": "^7.4.1",
"redux-form-website-template": "0.0.90"
},
"devDependencies": {
Expand Down
4 changes: 2 additions & 2 deletions examples/asyncChangeValidation/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,12 +41,12 @@ let render = () => {
* This <App/> component only provides the site wrapper.
* Remove it on your dev server if you wish. It will not affect the functionality.
*/
version="7.4.0"
version="7.4.1"
path="/examples/asyncValidation"
breadcrumbs={generateExampleBreadcrumbs(
'asyncValidation',
'Async Validation Example',
'7.4.0'
'7.4.1'
)}
>
<Markdown content={readme} />
Expand Down
2 changes: 1 addition & 1 deletion examples/asyncValidation/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<meta charSet="utf-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"/>
<title>Redux Form - Async Blur Validation Example</title>
<link href="https://redux-form.com/7.4.0/bundle.css"
<link href="https://redux-form.com/7.4.1/bundle.css"
media="screen, projection"
rel="stylesheet" type="text/css"/>
<link href="//cdnjs.cloudflare.com/ajax/libs/font-awesome/4.3.0/css/font-awesome.min.css"
Expand Down
4 changes: 2 additions & 2 deletions examples/asyncValidation/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion examples/asyncValidation/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"react-dom": "^16.0.0",
"react-redux": "^5.0.3",
"redux": "^3.6.0",
"redux-form": "^7.4.0",
"redux-form": "^7.4.1",
"redux-form-website-template": "0.0.123"
},
"devDependencies": {
Expand Down
4 changes: 2 additions & 2 deletions examples/asyncValidation/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,12 +41,12 @@ let render = () => {
* This <App/> component only provides the site wrapper.
* Remove it on your dev server if you wish. It will not affect the functionality.
*/
version="7.4.0"
version="7.4.1"
path="/examples/asyncValidation"
breadcrumbs={generateExampleBreadcrumbs(
'asyncValidation',
'Async Validation Example',
'7.4.0'
'7.4.1'
)}
>
<Markdown content={readme} />
Expand Down
2 changes: 1 addition & 1 deletion examples/fieldArrays/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<meta charSet="utf-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"/>
<title>Redux Form - Field Arrays Example</title>
<link href="https://redux-form.com/7.4.0/bundle.css"
<link href="https://redux-form.com/7.4.1/bundle.css"
media="screen, projection"
rel="stylesheet" type="text/css"/>
<link href="//cdnjs.cloudflare.com/ajax/libs/font-awesome/4.3.0/css/font-awesome.min.css"
Expand Down
4 changes: 2 additions & 2 deletions examples/fieldArrays/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion examples/fieldArrays/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"react-dom": "^16.0.0",
"react-redux": "^5.0.3",
"redux": "^3.6.0",
"redux-form": "^7.4.0",
"redux-form": "^7.4.1",
"redux-form-website-template": "0.0.123"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion examples/fieldArrays/src/FieldArrays.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ are available, as raw action creators, as bound actions to your form under the
`this.props.array` object, and as actions bound to both the form and array on
the object provided by the `FieldArray` component: `insert`, `pop`, `push`,
`remove`, `shift`, `swap`, and `unshift`. More detail can be found under the
[`FieldArray` docs](https://redux-form.com/7.4.0/docs/api/FieldArray.md).
[`FieldArray` docs](https://redux-form.com/7.4.1/docs/api/FieldArray.md).

Notice that array-specific errors are available if set on the array structure
itself under the `_error` key. (Hint: Add more than five hobbies to see an
Expand Down
4 changes: 2 additions & 2 deletions examples/fieldArrays/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,12 +40,12 @@ let render = () => {
* This <App/> component only provides the site wrapper.
* Remove it on your dev server if you wish. It will not affect the functionality.
*/
version="7.4.0"
version="7.4.1"
path="/examples/fieldArrays"
breadcrumbs={generateExampleBreadcrumbs(
'syncValidation',
'Field Arrays Example',
'7.4.0'
'7.4.1'
)}
>
<Markdown content={readme} />
Expand Down
2 changes: 1 addition & 1 deletion examples/fieldLevelValidation/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<meta charSet="utf-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"/>
<title>Redux Form - Field-Level Validation Example</title>
<link href="https://redux-form.com/7.4.0/bundle.css"
<link href="https://redux-form.com/7.4.1/bundle.css"
media="screen, projection"
rel="stylesheet" type="text/css"/>
<link href="//cdnjs.cloudflare.com/ajax/libs/font-awesome/4.3.0/css/font-awesome.min.css"
Expand Down
4 changes: 2 additions & 2 deletions examples/fieldLevelValidation/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion examples/fieldLevelValidation/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"react-dom": "^16.0.0",
"react-redux": "^5.0.3",
"redux": "^3.6.0",
"redux-form": "^7.4.0",
"redux-form": "^7.4.1",
"redux-form-website-template": "0.0.123"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion examples/fieldLevelValidation/src/FieldLevelValidation.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

As well as allowing you to provide a validation function to validate all the
values in your form at once (see
[Synchronous Validation Example](http://redux-form.com/7.4.0/examples/syncValidation/)),
[Synchronous Validation Example](http://redux-form.com/7.4.1/examples/syncValidation/)),
you may also provide individual value validation functions for each `Field` or
`FieldArray`.

Expand Down
Loading

0 comments on commit a9e394c

Please sign in to comment.