From d3348d29921cd85a50de2e28f9dd0dd42e03f426 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Fri, 26 May 2023 15:28:02 -0400 Subject: [PATCH] Version Packages (#3790) Co-authored-by: github-actions[bot] --- .changeset/afraid-kangaroos-cheer.md | 5 ----- .changeset/fair-students-fix.md | 7 ------- .changeset/pretty-suns-applaud.md | 5 ----- .changeset/quick-peas-return.md | 5 ----- .changeset/ten-cups-film.md | 5 ----- packages/formik-native/CHANGELOG.md | 7 +++++++ packages/formik-native/package.json | 8 +++----- packages/formik/CHANGELOG.md | 16 ++++++++++++++++ packages/formik/package.json | 2 +- 9 files changed, 27 insertions(+), 33 deletions(-) delete mode 100644 .changeset/afraid-kangaroos-cheer.md delete mode 100644 .changeset/fair-students-fix.md delete mode 100644 .changeset/pretty-suns-applaud.md delete mode 100644 .changeset/quick-peas-return.md delete mode 100644 .changeset/ten-cups-film.md diff --git a/.changeset/afraid-kangaroos-cheer.md b/.changeset/afraid-kangaroos-cheer.md deleted file mode 100644 index 376f4f9cc..000000000 --- a/.changeset/afraid-kangaroos-cheer.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'formik': patch ---- - -Improve performance of the `FieldArray` component by adding a `shouldComponentUpdate` check; this should help avoid unnecessary re-renders which may affect the performance of a form. diff --git a/.changeset/fair-students-fix.md b/.changeset/fair-students-fix.md deleted file mode 100644 index fb3492a03..000000000 --- a/.changeset/fair-students-fix.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -'formik': patch ---- - -Fixed field error state for array fields that have an error and become empty through an API like `arrayHelpers.remove`. - -The prior behavior resolved the field error to `[undefined]`, now it is simply `undefined`. diff --git a/.changeset/pretty-suns-applaud.md b/.changeset/pretty-suns-applaud.md deleted file mode 100644 index 80a8354f9..000000000 --- a/.changeset/pretty-suns-applaud.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'formik': patch ---- - -Fix infinite loop issue in `Field` when field helpers (`setTouched`, etc) are used as an argument in `React.useEffect`. diff --git a/.changeset/quick-peas-return.md b/.changeset/quick-peas-return.md deleted file mode 100644 index d893cd246..000000000 --- a/.changeset/quick-peas-return.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'formik': patch ---- - -Fixed an issue with array field errors being incorrectly split into an array of individual characters instead of an array of error strings. diff --git a/.changeset/ten-cups-film.md b/.changeset/ten-cups-film.md deleted file mode 100644 index 248aceef0..000000000 --- a/.changeset/ten-cups-film.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'formik': patch ---- - -Fix validation of deep.dot.path field references when using the `validateField` API. diff --git a/packages/formik-native/CHANGELOG.md b/packages/formik-native/CHANGELOG.md index 4cbe82c9e..0babc57b1 100644 --- a/packages/formik-native/CHANGELOG.md +++ b/packages/formik-native/CHANGELOG.md @@ -1,5 +1,12 @@ # formik-native +## 2.1.18 + +### Patch Changes + +- Updated dependencies [[`22e236e`](https://github.com/jaredpalmer/formik/commit/22e236ed8035c7c5824232202c8ce52193338d5a), [`bc9cb28`](https://github.com/jaredpalmer/formik/commit/bc9cb28df7ad07277a499e8301cfd1bb7b230b86), [`9cbf150`](https://github.com/jaredpalmer/formik/commit/9cbf150e65d7c5498900f19b4fa1897ca8a2c87f), [`9c75a9f`](https://github.com/jaredpalmer/formik/commit/9c75a9f639eb38ad55c351e5e1def8a7e5ebd1f3), [`35fa4cc`](https://github.com/jaredpalmer/formik/commit/35fa4cc38260d709a5570dd3c9ef82831758a5f5)]: + - formik@2.2.10 + ## 2.1.17 ### Patch Changes diff --git a/packages/formik-native/package.json b/packages/formik-native/package.json index 86b770da7..8978fcaf6 100644 --- a/packages/formik-native/package.json +++ b/packages/formik-native/package.json @@ -1,6 +1,6 @@ { "name": "formik-native", - "version": "2.1.17", + "version": "2.1.18", "license": "Apache-2.0", "author": "Jared Palmer ", "repository": "formium/formik", @@ -19,9 +19,7 @@ "module": "dist/index.esm.js", "react-native": "src/index.js", "typings": "dist/index.d.ts", - "files": [ - "dist" - ], + "files": ["dist"], "scripts": { "start": "tsdx watch --tsconfig tsconfig.build.json --verbose --noClean", "build": "tsdx build --tsconfig tsconfig.build.json", @@ -33,7 +31,7 @@ "react": ">=16.8.0" }, "dependencies": { - "formik": "2.2.9" + "formik": "2.2.10" }, "devDependencies": { "@react-native-community/eslint-config": "^0.0.5", diff --git a/packages/formik/CHANGELOG.md b/packages/formik/CHANGELOG.md index 006bc407c..ab36663c1 100644 --- a/packages/formik/CHANGELOG.md +++ b/packages/formik/CHANGELOG.md @@ -1,5 +1,21 @@ # formik +## 2.2.10 + +### Patch Changes + +- [`22e236e`](https://github.com/jaredpalmer/formik/commit/22e236ed8035c7c5824232202c8ce52193338d5a) [#3784](https://github.com/jaredpalmer/formik/pull/3784) Thanks [@probablyup](https://github.com/probablyup)! - Improve performance of the `FieldArray` component by adding a `shouldComponentUpdate` check; this should help avoid unnecessary re-renders which may affect the performance of a form. + +* [`bc9cb28`](https://github.com/jaredpalmer/formik/commit/bc9cb28df7ad07277a499e8301cfd1bb7b230b86) [#3785](https://github.com/jaredpalmer/formik/pull/3785) Thanks [@probablyup](https://github.com/probablyup)! - Fixed field error state for array fields that have an error and become empty through an API like `arrayHelpers.remove`. + + The prior behavior resolved the field error to `[undefined]`, now it is simply `undefined`. + +- [`9cbf150`](https://github.com/jaredpalmer/formik/commit/9cbf150e65d7c5498900f19b4fa1897ca8a2c87f) [#3787](https://github.com/jaredpalmer/formik/pull/3787) Thanks [@probablyup](https://github.com/probablyup)! - Fix infinite loop issue in `Field` when field helpers (`setTouched`, etc) are used as an argument in `React.useEffect`. + +* [`9c75a9f`](https://github.com/jaredpalmer/formik/commit/9c75a9f639eb38ad55c351e5e1def8a7e5ebd1f3) [#3780](https://github.com/jaredpalmer/formik/pull/3780) Thanks [@probablyup](https://github.com/probablyup)! - Fixed an issue with array field errors being incorrectly split into an array of individual characters instead of an array of error strings. + +- [`35fa4cc`](https://github.com/jaredpalmer/formik/commit/35fa4cc38260d709a5570dd3c9ef82831758a5f5) [#3783](https://github.com/jaredpalmer/formik/pull/3783) Thanks [@probablyup](https://github.com/probablyup)! - Fix validation of deep.dot.path field references when using the `validateField` API. + ## 2.2.9 ### Patch Changes diff --git a/packages/formik/package.json b/packages/formik/package.json index d09db66cb..56523f4ea 100644 --- a/packages/formik/package.json +++ b/packages/formik/package.json @@ -1,7 +1,7 @@ { "name": "formik", "description": "Build forms in React, without the tears", - "version": "2.2.9", + "version": "2.2.10", "license": "Apache-2.0", "author": "Jared Palmer (https://jaredpalmer.com)", "repository": "formium/formik",