From 904a7cced44d537f0d9969ff1e372f997e1e4b37 Mon Sep 17 00:00:00 2001 From: Bruno Vego Date: Tue, 1 Jun 2021 10:30:43 +0200 Subject: [PATCH] Release v1.0.1 (#493) --- CHANGELOG | 9 +++++++++ README.md | 11 ++++------- package.json | 2 +- 3 files changed, 14 insertions(+), 8 deletions(-) diff --git a/CHANGELOG b/CHANGELOG index 3e5e544..81bfcc0 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -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 diff --git a/README.md b/README.md index bf1d1bd..c8f9a6f 100644 --- a/README.md +++ b/README.md @@ -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 @@ -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. diff --git a/package.json b/package.json index c8b627c..4f8ff11 100644 --- a/package.json +++ b/package.json @@ -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",