Skip to content

Commit

Permalink
Merged pre-release v1.1.0 readme changes
Browse files Browse the repository at this point in the history
  • Loading branch information
bartoszlenar committed Sep 1, 2020
2 parents ae982ad + 73bc87a commit 80d8056
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
9 changes: 5 additions & 4 deletions .github/README.md
Expand Up @@ -361,7 +361,7 @@ if (!validator.IsValid(model))
* FluentValidation validates model, and `ToString()` is called if errors are detected.
* Validot processes the model twice - at first, with its special mode, [IsValid](../docs/DOCUMENTATION.md#isvalid). Secondly - in case of errors detected - with the standard method, gathering all errors and printing them with `ToString()`.

Benchmarks environment: Validot 1.0.0, FluentValidation 9.2.0, .NET Core 3.1.7, i7-9750H (2.60GHz, 1 CPU, 12 logical and 6 physical cores), X64 RyuJIT, macOS Catalina.
Benchmarks environment: Validot 1.1.0, FluentValidation 9.2.0, .NET Core 3.1.7, i7-9750H (2.60GHz, 1 CPU, 12 logical and 6 physical cores), X64 RyuJIT, macOS Catalina.

### Validot handles nulls on its own

Expand Down Expand Up @@ -410,12 +410,9 @@ validator.Validate(model, failFast: true);

Features that might be in the scope and are technically possible to implement in the future:

* `await`/`async` support ([discuss it on GitHub Issues](https://github.com/bartoszlenar/Validot/issues/2))
* transforming values ([discuss it on GitHub Issues](https://github.com/bartoszlenar/Validot/issues/3))
* severities ([discuss it on GitHub Issues](https://github.com/bartoszlenar/Validot/issues/4))
* failing fast only in a single scope ([discuss it on GitHub Issues](https://github.com/bartoszlenar/Validot/issues/5))
* validated value in the error message ([discuss it on GitHub Issues](https://github.com/bartoszlenar/Validot/issues/6))
* "smart paths" in the error message, e.g. `RootUserCollection` member becomes `Root User Collection` ([discuss it on GitHub Issues](https://github.com/bartoszlenar/Validot/issues/1))

Features that are very unlikely to be in the scope as they contradict the project's principles, and/or would have a very negative impact on performance, and/or are impossible to implement:

Expand All @@ -430,6 +427,10 @@ Features that are very unlikely to be in the scope as they contradict the projec
* Also, the problem of the root being null doesn't exist in Validot (it's a regular case, [covered entirely with fluent api](../docs/DOCUMENTATION.md#presence-commands))
* Rule sets
* workaround; multiple [validators](../docs/DOCUMENTATION.md#validator) for different parts of the object.
* `await`/`async` support
* only support for large collections is planned ([more details on GitHub Issues](https://github.com/bartoszlenar/Validot/issues/2))
* severities ([more details on GitHub Issues](https://github.com/bartoszlenar/Validot/issues/4))
* workaround: multiple [validators](../docs/DOCUMENTATION.md#validator) for error groups with different severities.

## Project info

Expand Down
4 changes: 2 additions & 2 deletions docs/CHANGELOG.md
Expand Up @@ -4,10 +4,10 @@ All notable changes to the [Validot project](https://github.com/bartoszlenar/Val
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased]
## [1.1.0] - 2020-09-01
### Added
- Email rule now operates in two modes: ComplexRegex (which covers the previous, regex-based behavior, and is still set as default) and DataAnnotationsCompatible (compatible with the dotnet's [EmailAddressAttribute](https://docs.microsoft.com/en-us/dotnet/api/system.componentmodel.dataannotations.emailaddressattribute?view=netcore-3.1)).
- Title case support for the name argument `{_name}`. The name `SuperImportantValue123` when inserted with `{_name|format=titleCase}` is converted into `Super Important Value 123`.
- Title case support for the name argument, so name `SuperImportantValue123` when inserted with `{_name|format=titleCase}` is converted into `Super Important Value 123`. [#1](https://github.com/bartoszlenar/Validot/issues/1)

## [1.0.0] - 2020-06-23

Expand Down

0 comments on commit 80d8056

Please sign in to comment.