import { useForm } from 'react-hook-form';
import { fluentValidationResolver } from '@hookform/resolvers/fluentvalidation-ts';
import { Validator } from 'fluentvalidation-ts';
class FormDataValidator extends Validator<FormData> {
constructor() {
super();
this.ruleFor('username')
.notEmpty()
.withMessage('username is a required field');
this.ruleFor('password')
.notEmpty()
.withMessage('password is a required field');
This bugfix release fixes issues with "TS type portability" errors, improves build artifact tree shaking behavior, and exports some additional TS types.
Changelog
TS Type Portability
We've had a slew of issues reported around "TS type portability" errors, such as:
The error messages are typically along the lines of:
Type error: The inferred type of 'configureStore' cannot be named without a reference to '@reduxjs/toolkit/node_modules/redux'. This is likely not portable. A type annotation is necessary.
@aryaemami59 did some deep investigation and concluded these were due to a mixture of using interface instead of type in most places, not pre-bundling our TS typedefs, and not exporting some of the unique symbols we use internally.
Arya put together a highly detailed writeup and set of fixes in [ #4467: Fix: TypeScript Type Portability Issues](#4467), and that appears to resolve all of those issues we've seen. Thank you!
Other Changes
Arya also did significant work to improve RTK's treeshaking, tweaking internal definitions to let bundlers better separate out unused code.
We've exported additional types like UpdateDefinitions and RetryOptions, per request.
listenerMiddleware.withTypes() methods now allow passing in an ExtraArgument generic.
c0e5398: Links were opening twive when the editor was not editable and openOnclick was true, now openOnClick setting will check if it is editable before trying to open programmatically resolves #4877
70eebfd: The optional deps argument to useEditor was not being respected for performance optimizations, now if deps are declared a new editor instance is created
99d7820: Resolve a bug an editor could be instantiated but not destroyed. This was causing issues with multiple instances of plugins still being active and interfering with each other
⚛️ close #11932 enable react 19 peer dependency (#11935)
👮♀️ close #11954 getFieldState remove unnessaried inValidating and touched subscription (#11995)
🐞 fix #11985 logic createFormControl check field before usage (#11986)
⌨️ fix: enforce type safety for deps property in RegisterOptions (#11969)
🐞 fix #11922 keep dirty on reset with dirty fields (#11958)
🚔 close #11937 add validation in the cleanup process in useController (#11938)
Revert "⌨️ close: correct type of error field in getFieldState return object (#11831)"
📖 fix: change info.values type in WatchObserver (#11917)
Bumps the dashboard group with 22 updates in the /frontend/dashboard directory:
0.0.12
0.0.193
3.6.0
3.9.0
1.0.5
1.1.1
2.0.2
2.1.0
1.0.7
1.1.1
2.0.0
2.1.1
2.2.5
2.2.7
2.4.0
2.5.8
2.4.0
2.5.8
2.4.0
2.5.8
2.4.0
2.5.8
0.394.0
0.419.0
14.2.3
14.2.5
7.51.5
7.52.1
2.3.0
2.4.0
14.2.3
14.2.5
5.1.3
5.2.1
8.4.38
8.4.40
3.3.1
3.3.3
3.4.4
3.4.7
29.1.4
29.2.4
5.4.5
5.5.4
Updates
@generatesac/lib
from 0.0.12 to 0.0.193Commits
Updates
@hookform/resolvers
from 3.6.0 to 3.9.0Release notes
Sourced from
@hookform/resolvers
's releases.... (truncated)
Commits
5fc1e63
feat(fluentvalidation-ts): add fluentvalidation-ts resolver (#702)039385e
ci: node (#701)1c277bb
ci: fix publish step (#700)18e423f
feat: add typeschema resolver (#699)4b9acb7
Revert "fix: move back to in-build set and remove lodash.set (#685)"e8e0f80
feat(typeboxResolver): make TypeBox resolver work with compiled schema (#674)c0d528b
feat: add VineJS resolver (#677)a3e50c6
fix(zodResolver): cannot read properties of undefined (reading 'length')f0174e0
chore: update valibot dependency to version >=0.33.0 (#695)f7a4fd4
Update README.mdUpdates
@radix-ui/react-dialog
from 1.0.5 to 1.1.1Commits
Maintainer changes
This version was pushed to npm by vladmoroz, a new releaser for
@radix-ui/react-dialog
since your current version.Updates
@radix-ui/react-label
from 2.0.2 to 2.1.0Commits
Maintainer changes
This version was pushed to npm by vladmoroz, a new releaser for
@radix-ui/react-label
since your current version.Updates
@radix-ui/react-popover
from 1.0.7 to 1.1.1Commits
Maintainer changes
This version was pushed to npm by vladmoroz, a new releaser for
@radix-ui/react-popover
since your current version.Updates
@radix-ui/react-select
from 2.0.0 to 2.1.1Commits
Maintainer changes
This version was pushed to npm by vladmoroz, a new releaser for
@radix-ui/react-select
since your current version.Updates
@radix-ui/react-slot
from 1.0.2 to 1.1.0Commits
Maintainer changes
This version was pushed to npm by vladmoroz, a new releaser for
@radix-ui/react-slot
since your current version.Updates
@reduxjs/toolkit
from 2.2.5 to 2.2.7Release notes
Sourced from
@reduxjs/toolkit
's releases.... (truncated)
Commits
75b4f69
Release 2.2.7dd3ef70
Merge pull request #4529 from reduxjs/feature/2.3.0-types-exports70f627d
Export RetryOptions6a3de08
Merge pull request #4435 from aryaemami59/improve-treeshakeability8be6e5f
Merge branch 'master' of https://github.com/reduxjs/redux-toolkit into improv...9e7e6f6
Merge branch 'master' of https://github.com/reduxjs/redux-toolkit into improv...ee51d76
Bumptsup
to version 8.2.3ff6db42
Bumptsup
to version 8.2.220f579b
Bumptsup
to version 8.2.0a1b4e80
Bumptsup
andesbuild
Updates
@tiptap/extension-link
from 2.4.0 to 2.5.8Release notes
Sourced from
@tiptap/extension-link
's releases.Changelog
Sourced from
@tiptap/extension-link
's changelog.... (truncated)
Commits
7d6c939
chore(release): publish a new version 2.5.8 (#5408)44e4eca
Shared rollup config (#5403)a1c5120
chore: publish a new release version (#5375)52f717b
chore(release): publish a new release version9e0e167
fix(link): use the view's editable property as the indicator insteadc0e5398
fix(link): do not open links twice when not editable #4877 (#5378)22cb038
chore: release version (#5368)46079c2
chore: publish version 2.5.4 (#5361)dd7f9ac
build: resolve default exports properly in cjse1946c8
chore(release): publish a new version (#5359)Maintainer changes
This version was pushed to npm by nperez0111, a new releaser for
@tiptap/extension-link
since your current version.Updates
@tiptap/extension-underline
from 2.4.0 to 2.5.8Release notes
Sourced from
@tiptap/extension-underline
's releases.Changelog
Sourced from
@tiptap/extension-underline
's changelog.... (truncated)
Commits
7d6c939
chore(release): publish a new version 2.5.8 (#5408)44e4eca
Shared rollup config (#5403)a1c5120
chore: publish a new release version (#5375)52f717b
chore(release): publish a new release version22cb038
chore: release version (#5368)46079c2
chore: publish version 2.5.4 (#5361)dd7f9ac
build: resolve default exports properly in cjse1946c8
chore(release): publish a new version (#5359)b97ce6a
chore: publish 2.5.2 (#5358)a21a122
chore(release): publish a new pre-release versionMaintainer changes
This version was pushed to npm by nperez0111, a new releaser for
@tiptap/extension-underline
since your current version.Updates
@tiptap/react
from 2.4.0 to 2.5.8Release notes
Sourced from
@tiptap/react
's releases.Changelog
Sourced from
@tiptap/react
's changelog.... (truncated)
Commits
7d6c939
chore(release): publish a new version 2.5.8 (#5408)99d7820
fix(react): always cleanup old editor instances (#5414)44e4eca
Shared rollup config (#5403)a1c5120
chore: publish a new release version (#5375)42dc27a
fix(react): if using a deps array, destroy the previous instance52f717b
chore(release): publish a new release version22cb038
chore: release version (#5368)46079c2
chore: publish version 2.5.4 (#5361)dd7f9ac
build: resolve default exports properly in cjse1946c8
chore(release): publish a new version (#5359)Maintainer changes
This version was pushed to npm by nperez0111, a new releaser for
@tiptap/react
since your current version.Updates
@tiptap/starter-kit
from 2.4.0 to 2.5.8Release notes
Sourced from
@tiptap/starter-kit
's releases.... (truncated)
Changelog
Sourced from
@tiptap/starter-kit
's changelog.... (truncated)
Commits
7d6c939
chore(release): publish a new version 2.5.8 (#5408)44e4eca
Shared rollup config (#5403)a1c5120
chore: publish a new release version (#5375)52f717b
chore(release): publish a new release version22cb038
chore: release version (#5368)46079c2
chore: publish version 2.5.4 (#5361)dd7f9ac
build: resolve default exports properly in cjse1946c8
chore(release): publish a new version (#5359)b97ce6a
chore: publish 2.5.2 (#5358)a21a122
chore(release): publish a new pre-release versionMaintainer changes
This version was pushed to npm by nperez0111, a new releaser for
@tiptap/starter-kit
since your current version.Updates
lucide-react
from 0.394.0 to 0.419.0Release notes
Sourced from lucide-react's releases.
... (truncated)
Commits
acd4a87
Add support for react 19 (#2254)Updates
next
from 14.2.3 to 14.2.5Release notes
Sourced from next's releases.
Commits
0bf7f52
v14.2.530d6dfc
fix: metadata route merging conflicts186ec6b
Log stdio for pull-turbo-cache script (#66759)45656d3
Ensure turbo is setup when building in docker (#66804)08e7fd1
Upgrade acorn (#67592)1d08dab
avoid merging global css in a way that leaks into other chunk groups (#67373)21a9d59
Fix server action edge redirect with middleware rewrite (#67148)1b10b13
fix(next): reject protocol-relative URLs in image optimization (#65752)c64c61d
fix(next-swc): correct path interop to filepath for wasm (#65633)6c661d2
Use addDependency to track metadata route file changes (#66714)Updates
react-hook-form
from 7.51.5 to 7.52.1Release notes
Sourced from react-hook-form's releases.
Commits
Looks like these dependencies are updatable in another way, so this is no longer needed.