Skip to content

Commit

Permalink
Version Packages (next)
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Nov 14, 2020
1 parent c8f8cb3 commit 1fc2fab
Show file tree
Hide file tree
Showing 5 changed files with 32 additions and 4 deletions.
3 changes: 2 additions & 1 deletion .changeset/pre.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
"changesets": [
"gentle-boxes-turn",
"little-olives-enjoy",
"quiet-beans-attack"
"quiet-beans-attack",
"two-fans-film"
]
}
7 changes: 7 additions & 0 deletions packages/formik-native/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# formik-native

## 2.1.10-next.4

### Patch Changes

- Updated dependencies [[`0ad41eb`](https://github.com/formium/formik/commit/0ad41ebc8ddd8d7fa40dc7364b7cdcfcc4b8c298)]:
- [email protected]

## 2.1.10-next.3

### Patch Changes
Expand Down
4 changes: 2 additions & 2 deletions packages/formik-native/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "formik-native",
"version": "2.1.10-next.3",
"version": "2.1.10-next.4",
"license": "Apache-2.0",
"author": "Jared Palmer <[email protected]>",
"repository": "formium/formik",
Expand Down Expand Up @@ -31,7 +31,7 @@
"react": ">=16.8.0"
},
"dependencies": {
"formik": "3.0.0-next.3"
"formik": "3.0.0-next.4"
},
"devDependencies": {
"@react-native-community/eslint-config": "^0.0.5",
Expand Down
20 changes: 20 additions & 0 deletions packages/formik/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,25 @@
# formik

## 3.0.0-next.4

### Patch Changes

- [`0ad41eb`](https://github.com/formium/formik/commit/0ad41ebc8ddd8d7fa40dc7364b7cdcfcc4b8c298) [#2903](https://github.com/formium/formik/pull/2903) Thanks [@jaredpalmer](https://github.com/jaredpalmer)! - Renames `unstable_StrictField` to `FastField` and thus deprecates `<FastField shouldUpdate>` prop. If you need this functionality, use `useFormikContext()` and `useField()` in a custom component wrapped in `React.memo()` instead. In addition, and this is breaking, `FastField` is no longer passed `form` object in any render prop.

If you still need to access the `form` object in render use `FormikConsumer` like so:

```diff
- import { FastField } from 'formik'
+ import { FastField, FormikConsumer } from 'formik'

<FastField name="firstName">
- {({ field, meta, form }) => ( /* ... */ )}
+ {({ field, meta }) => (
+ <FormikConsumer>{form => /* ... */}</FormikConsumer>
+ )}
</FastField>
```

## 3.0.0-next.3

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/formik/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "formik",
"description": "Forms in React, without tears",
"version": "3.0.0-next.3",
"version": "3.0.0-next.4",
"license": "Apache-2.0",
"author": "Jared Palmer <[email protected]>",
"repository": "formium/formik",
Expand Down

0 comments on commit 1fc2fab

Please sign in to comment.