Skip to content

Commit

Permalink
Updating changelog,readme
Browse files Browse the repository at this point in the history
  • Loading branch information
AndrewKeig committed Mar 5, 2020
1 parent d4abf09 commit ac9f859
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 9 deletions.
9 changes: 5 additions & 4 deletions CHANGELOG.md
@@ -1,13 +1,14 @@

## Changelog

## Changes from versions 3.0
### Changes from versions 2.0

- Global options for `allowUnknown` removed
- Joi no longer parsing response to JSON, so we dont
- Global options for `allowUnknown*` removed
- Joi no longer parsing response to JSON, so we dont


## Changes before 3.0

### Changes before 3.0

2.0.0:
- Updated to joi version 15, which broke all the things:
Expand Down
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Expand Up @@ -6,7 +6,7 @@ Credit and Thanks to the following for contributing to this project.
* Alex Mazzeo https://github.com/amazzeo
* Aymeric Beaumet https://github.com/aymericbeaumet
* Christian Holm https://github.com/holm
* Fabian Gutierrez <https://github.com/fega
* Fabian Gutierrez https://github.com/fega
* Fedor Yakubovich https://github.com/fedoryakubovich
* gdw2 https://github.com/gdw2
* Iheanyi Ekechukwu https://github.com/iheanyi
Expand Down
5 changes: 1 addition & 4 deletions README.md
Expand Up @@ -165,10 +165,7 @@ Options, used by `express-validation`:

Default: `{}`

Options, used by `joi`, see [Joi options](https://hapi.dev/family/joi/api/?v=17.1.0#anyvalidateasyncvalue-options), two useful options to know are:
- `allowUnknown`, rejects request if unknown fields in the request
- `abortEarly`, we support `{ abortEarly: false },`, in order to rerieve all errors for a request not just the first encountered.

Options, used by `joi`, see [Joi options](https://hapi.dev/family/joi/api/?v=17.1.0#anyvalidateasyncvalue-options), note:

## Examples

Expand Down

0 comments on commit ac9f859

Please sign in to comment.