From a86fce3adbc2dde911ee1edf9dd715fae6cd2780 Mon Sep 17 00:00:00 2001 From: Isaiah Thomason <47364027+ITenthusiasm@users.noreply.github.com> Date: Sun, 5 May 2024 08:47:46 -0400 Subject: [PATCH] chore: Release New Package Versions (0.9.0) --- CHANGELOG.md | 18 ++++++++++++++++++ package-lock.json | 26 +++++++++++++------------- packages/core/package.json | 2 +- packages/lit/package.json | 4 ++-- packages/preact/package.json | 4 ++-- packages/react/package.json | 4 ++-- packages/solid/package.json | 4 ++-- packages/svelte/package.json | 4 ++-- packages/vue/package.json | 4 ++-- 9 files changed, 44 insertions(+), 26 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index aac4199..7e0f694 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,23 @@ # Changelog +## 2024-05-05 + +### v0.9.0 (All Packages) + +#### Features + +- Field revalidation is now supported with the `FormValidityObserver` via the `revalidateOn` option. +- You can now pass `null` to the `type` argument of the `FormValidityObserver` to use it in "Manual Mode". + +Please see the [documentation](./docs/form-validity-observer/README.md) for more details on how to use these new features. + +#### Breaking Changes + +- Arrays are no longer supported for the `FormValidityObserver`'s `type` constructor argument. +- The `useFormValidityObserver` React hook has been removed because it isn't genuinely useful. (**React only**) + +If you'd like to understand why these breaking changes were made, please see the [Design Decisions](./docs/extras/design-decisions.md) document. + ## 2024-04-21 ### v0.8.0 (All Packages) diff --git a/package-lock.json b/package-lock.json index 21b1fa1..2c630eb 100644 --- a/package-lock.json +++ b/package-lock.json @@ -7950,7 +7950,7 @@ }, "packages/core": { "name": "@form-observer/core", - "version": "0.8.0", + "version": "0.9.0", "license": "MIT", "devDependencies": { "@testing-library/dom": "^9.3.4" @@ -7958,55 +7958,55 @@ }, "packages/lit": { "name": "@form-observer/lit", - "version": "0.8.0", + "version": "0.9.0", "license": "MIT", "peerDependencies": { - "@form-observer/core": "^0.8.0", + "@form-observer/core": "^0.9.0", "lit": ">=3.0.0" } }, "packages/preact": { "name": "@form-observer/preact", - "version": "0.8.0", + "version": "0.9.0", "license": "MIT", "devDependencies": { "@preact/preset-vite": "^2.8.2", "@testing-library/preact": "^3.2.3" }, "peerDependencies": { - "@form-observer/core": "^0.8.0", + "@form-observer/core": "^0.9.0", "preact": ">=9.0.0" } }, "packages/react": { "name": "@form-observer/react", - "version": "0.8.0", + "version": "0.9.0", "license": "MIT", "devDependencies": { "@testing-library/react": "^14.3.1", "@types/react": "^18.2.77" }, "peerDependencies": { - "@form-observer/core": "^0.8.0", + "@form-observer/core": "^0.9.0", "react": ">=16.8.0" } }, "packages/solid": { "name": "@form-observer/solid", - "version": "0.8.0", + "version": "0.9.0", "license": "MIT", "devDependencies": { "@solidjs/testing-library": "^0.8.6", "vite-plugin-solid": "^2.9.1" }, "peerDependencies": { - "@form-observer/core": "^0.8.0", + "@form-observer/core": "^0.9.0", "solid-js": ">=1.0.0" } }, "packages/svelte": { "name": "@form-observer/svelte", - "version": "0.8.0", + "version": "0.9.0", "license": "MIT", "devDependencies": { "@sveltejs/vite-plugin-svelte": "^3.1.0", @@ -8014,12 +8014,12 @@ "svelte": "^4.2.13" }, "peerDependencies": { - "@form-observer/core": "^0.8.0" + "@form-observer/core": "^0.9.0" } }, "packages/vue": { "name": "@form-observer/vue", - "version": "0.8.0", + "version": "0.9.0", "license": "MIT", "devDependencies": { "@testing-library/vue": "^8.0.3", @@ -8027,7 +8027,7 @@ "vue": "^3.3.6" }, "peerDependencies": { - "@form-observer/core": "^0.8.0" + "@form-observer/core": "^0.9.0" } } } diff --git a/packages/core/package.json b/packages/core/package.json index 0d561fa..5f68db0 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -1,7 +1,7 @@ { "name": "@form-observer/core", "type": "module", - "version": "0.8.0", + "version": "0.9.0", "sideEffects": false, "description": "A simple utility for reacting to events from a form's fields", "exports": { diff --git a/packages/lit/package.json b/packages/lit/package.json index d91438c..5ac351b 100644 --- a/packages/lit/package.json +++ b/packages/lit/package.json @@ -1,7 +1,7 @@ { "name": "@form-observer/lit", "type": "module", - "version": "0.8.0", + "version": "0.9.0", "sideEffects": false, "description": "Convenience functions for the `@form-observer/core` package, designed for Lit apps", "exports": { @@ -31,7 +31,7 @@ } }, "peerDependencies": { - "@form-observer/core": "^0.8.0", + "@form-observer/core": "^0.9.0", "lit": ">=3.0.0" }, "author": "Isaiah Thomason", diff --git a/packages/preact/package.json b/packages/preact/package.json index 17cdeed..c9f2292 100644 --- a/packages/preact/package.json +++ b/packages/preact/package.json @@ -1,7 +1,7 @@ { "name": "@form-observer/preact", "type": "module", - "version": "0.8.0", + "version": "0.9.0", "sideEffects": false, "description": "Convenience functions for the `@form-observer/core` package, designed for Preact apps", "exports": { @@ -29,7 +29,7 @@ } }, "peerDependencies": { - "@form-observer/core": "^0.8.0", + "@form-observer/core": "^0.9.0", "preact": ">=9.0.0" }, "devDependencies": { diff --git a/packages/react/package.json b/packages/react/package.json index 55e9de8..626bae7 100644 --- a/packages/react/package.json +++ b/packages/react/package.json @@ -1,7 +1,7 @@ { "name": "@form-observer/react", "type": "module", - "version": "0.8.0", + "version": "0.9.0", "sideEffects": false, "description": "Convenience functions for the `@form-observer/core` package, designed for React apps", "exports": { @@ -29,7 +29,7 @@ } }, "peerDependencies": { - "@form-observer/core": "^0.8.0", + "@form-observer/core": "^0.9.0", "react": ">=16.8.0" }, "devDependencies": { diff --git a/packages/solid/package.json b/packages/solid/package.json index 27a84fe..1dab3f0 100644 --- a/packages/solid/package.json +++ b/packages/solid/package.json @@ -1,7 +1,7 @@ { "name": "@form-observer/solid", "type": "module", - "version": "0.8.0", + "version": "0.9.0", "sideEffects": false, "description": "Convenience functions for the `@form-observer/core` package, designed for Solid apps", "exports": { @@ -29,7 +29,7 @@ } }, "peerDependencies": { - "@form-observer/core": "^0.8.0", + "@form-observer/core": "^0.9.0", "solid-js": ">=1.0.0" }, "devDependencies": { diff --git a/packages/svelte/package.json b/packages/svelte/package.json index 2d73e28..cadac7e 100644 --- a/packages/svelte/package.json +++ b/packages/svelte/package.json @@ -1,7 +1,7 @@ { "name": "@form-observer/svelte", "type": "module", - "version": "0.8.0", + "version": "0.9.0", "sideEffects": false, "description": "Convenience functions for the `@form-observer/core` package, designed for Svelte apps", "exports": { @@ -29,7 +29,7 @@ } }, "peerDependencies": { - "@form-observer/core": "^0.8.0" + "@form-observer/core": "^0.9.0" }, "devDependencies": { "@sveltejs/vite-plugin-svelte": "^3.1.0", diff --git a/packages/vue/package.json b/packages/vue/package.json index 21be8d1..10b7831 100644 --- a/packages/vue/package.json +++ b/packages/vue/package.json @@ -1,7 +1,7 @@ { "name": "@form-observer/vue", "type": "module", - "version": "0.8.0", + "version": "0.9.0", "sideEffects": false, "description": "Convenience functions for the `@form-observer/core` package, designed for Vue apps", "exports": { @@ -29,7 +29,7 @@ } }, "peerDependencies": { - "@form-observer/core": "^0.8.0" + "@form-observer/core": "^0.9.0" }, "devDependencies": { "@testing-library/vue": "^8.0.3",