Skip to content

Commit

Permalink
refined4s v0.15.0
Browse files Browse the repository at this point in the history
  • Loading branch information
kevin-lee committed Apr 13, 2024
1 parent 369bcfa commit 7367364
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions changelogs/0.15.0.md
@@ -0,0 +1,34 @@
## [0.15.0](https://github.com/kevin-lee/refined4s/issues?q=is%3Aissue+is%3Aclosed+-label%3Ainvalid+-label%3Awontfix+milestone%3Am15) - 2024-04-13

### New Features

* [`refined4s-core`] Add `NonBlankString` which can be neither all whitespace chars nor an empty String (#281)
```scala 3
NonBlankString("")
// Invalid value: [""]. It must be not all whitespace non-empty String

NonBlankString(" ")
// Invalid value: [" "]. It must be not all whitespace non-empty String

NonBlankString(" ")
// Invalid value: [" "]. It must be not all whitespace non-empty String

NonBlankString("\n")
// Invalid value: ["\n"]. It must be not all whitespace non-empty String

NonBlankString("\t")
// Invalid value: ["\t"]. It must be not all whitespace non-empty String

NonBlankString("\t\n")
// Invalid value: ["\t\n"]. It must be not all whitespace non-empty String

NonBlankString(" \t \n")
// Invalid value: [" \t \n"]. It must be not all whitespace non-empty String
```

* [`refined4s-cats`] Add `cats` support for `NonBlankString` (#283)
* [`refined4s-circe`] Add `circe` support for `NonBlankString` (#284)
* [`refined4s-pureconfig`] Add `pureconfig` support for `NonBlankString` (#285)
* [`refined4s-doobie`] Add `doobie` support for `NonBlankString` (#286)
* [`refined4s-extras-render`] Add `extras-render` support for `NonBlankString` (#287)
* [`refined4s-tapir`] Add `tapir` support for `NonBlankString` (#288)

0 comments on commit 7367364

Please sign in to comment.