MIT licensed
This version can be pinned in stack with:string-variants-0.3.1.1@sha256:5055d08e737d7ec40ca6ceaf0847038d435e64f90c530e6f285f0627847c26be,4313
Module documentation for 0.3.1.1
Depends on 11 packages
(full list with versions):
aeson,
base,
bytestring,
deepseq,
hashable,
mono-traversable,
QuickCheck,
refined,
string-conversions,
template-haskell,
text Changelog
[0.3.1.1] - 2024-10-31
- Add
Hashable
and NFData
instances to NonEmptyText
.
- Add
Data
, Ord
, Hashable
and NFData
instances to NullableNonEmptyText
.
- Add dependencies on
deepseq
and hashable
.
[0.3.1.0] - 2024-02-29
- Add
Data
instance to NonEmptyText
.
[0.3.0.1] - 2024-01-03
- Add support for GHC 9.6
- Fix bug in
mkNullableNonEmptyText
that incorrectly counted leading and trailing whitespace against the character limit.
- Improve documentation for
NullableNonEmptyText
[0.3.0.0] - 2023-10-24
- Remove incorrect
Semigroup
instance for NonEmptyText
[0.2.2.1] - 2023-06-20
- Add support for
aeson-2.2.0.0
.
- When built with
aeson >=2.2.0.0
, record fields with type NullableNonEmptyText
will be omittable.
[0.2.2.0] - 2023-02-10
- Add
proseFromNonEmptyText
to create Prose
from NonEmptyText
.
[0.2.1.0] - 2023-01-23
- Use
NonEmptyList
for chunksOfNonEmptyText
[0.2.0.0] - 2022-12-05
- Add
literalNonEmptyText
, literalProse
, literalNullableNonEmptyText
for creation of string variants from the type-level literals.
- Add
concatWithSpace
to concatenate NonEmptyText in a type-safe way.
- Drop support for GHC <9.2.
[0.1.0.2] - 2022-10-18
- Fix
mkNonEmptyTextWithTruncate
to perform truncation after character stripping.
[0.1.0.1] - 2022-09-29
- Fix building on GHC 8.10.7, and add it to CI.
[0.1.0.0] - 2022-09-28