-
Defined
Semigroup
instance forSlug
. -
Improved documentation and metadata.
-
Allowed Aeson 1.1.
-
Switched to Hspec for test suite.
-
Made public
Arbitrary
instance forSlug
. -
Derived
Eq
forSlugException
. -
Drop support for GHC 7.6.
-
Started to use the derived
Show
instance forSlugException
. Human-friendly version goes toException
's methoddisplayException
instead. -
Added instances of
ToHttpApiData
andFromHttpApiData
forSlug
.
- Allow Aeson 1.0.
- Derive
Ord
andData
instances forSlug
.
- Export plain function
unSlug
instead of record selectorunSlug
.
- Improved error messages in
parseJSON
.
-
Add
Read
instance ofSlug
. -
Add
parseSlug
andtruncateSlug
functions. -
Functions (including instance methods) that parse
Text
that must be formatted as valid slug are case-sensitive now.
- Initial release.