Skip to content

Commit

Permalink
Release v1.0.1 (#493)
Browse files Browse the repository at this point in the history
  • Loading branch information
bvego committed Jun 1, 2021
1 parent 32770e1 commit 904a7cc
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 8 deletions.
9 changes: 9 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
1.0.1

Added 🚀
- String
- between (thank you @ftonato for the contribution!)

Internal 🏡
- A lot of dev dependencies upgraded

1.0.0 🎉

Improvements
Expand Down
11 changes: 4 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,15 @@ Nope's API is ~~heavily inspired~~ stolen from [Yup](https://github.com/jquense/

Instead of throwing errors Nope simply returns the error object and if there are no errors it returns undefined.

For more details on what's available in Nope, check out the [documentation](https://github.com/bvego/nope-validator/wiki).

Typescript definitions included. ✨

- [Usage](#usage)
- [API](#api)
- [Getting started](#getting-started)
- [Usage with react-hook-form](#usage-with-react-hook-form)
- [Usage with Formik](#usage-with-formik)

## Usage
## Getting started

To start using Nope simply do

Expand Down Expand Up @@ -64,10 +65,6 @@ UserSchema.validate({
}); // returns undefined since there are no errors
```

## API

For more details on what's available in Nope, check out the [documentation](https://github.com/bvego/nope-validator/wiki).

## Usage with [react-hook-form](https://github.com/react-hook-form/react-hook-form)

Huge thanks to the RHF team for making a resolver for nope, enabling you to use nope as a validator in your RHF-controlled forms.
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "nope-validator",
"version": "1.0.0",
"version": "1.0.1",
"source": "src/index.ts",
"main": "lib/cjs/index.js",
"umd:main": "lib/umd/index.js",
Expand Down

0 comments on commit 904a7cc

Please sign in to comment.