- Updated to Arrow 1.2.x - Note: Arrow has deprecated
Validated
. In this release,Parser
has been updated to useEitherNel
. - Updated to Kotlin 1.9.x
- Moved some parsers to new packages.
- Removed all previously deprecated functions.
- Added variants of string parsers to work on nullable strings.
- Added variants of int parsers to work on nullable ints.
- Added variants of long parsers to work on nullable longs.
- Added
nullIf
to convert a value to a null using a supplied predicate. - Added
filterNulls()
onSet
andList
parsers to remove any elements that are null. - Added improved enum syntax.
- Improved boolean parsers.
- Added
map
parsers for keys and values. - Added
nullable()
to convert Parser ofI -> A
toI? -> A?
- Added more convenience builders to
Parsers
. - Added
parseOrNull
as a convenience to return a success or null in the case of failure for any given input.
- Released support (and min version) for Kotlin 1.8.x
- Added arity-9 and 10 for compose.
- Added
fromNullableString
to Parser. - Renamed
withParsedInput
towithParsedBody
- Added handler
compose
,loggingHandler
andbadRequestHandler
.
- Updated to Ktor2
- Renamed to Tribune
- Added set parser
- Renamed .repeated to .asList
- Removed internal custom valid/invalid extensions
- Package renames
- Added ktor output handler
- Renamed project to Optio
- Added datetime module
- Added ktor module
- Added zip and compose