Skip to content

v4.3.0

Compare
Choose a tag to compare
@gustavoguichard gustavoguichard released this 15 Jul 17:43
· 5 commits to main since this release
8350f1f

What's Changed

We made applySchema work with plain functions. You don't have to wrap a function in composable anymore to apply a schema on it.

That means applySchema is virtually the same as withSchema which also means we can remove one of them.

In this version we decided to deprecate withSchema so we recommend that you start using applySchema instead. We will still export a deprecated version of withSchema which is just an alias to applySchema.

@diogob has also tweaked the types a lil bit so compositions should be more readable from this version onwards.

PRs

Full Changelog: v4.2.0...v4.3.0