Released on September 8, 2024.
-
Introduced GitHub action
dahlia/seonbi/setup
to install Seonbi during GitHub Actions workflow. -
Since this version, it supports GHC 9.4.* at most.
-
The
iconv
flag became ignored on Windows, because the flag had never worked on Windows. -
Previously,
ContentType
type (and-t
/--content-type
in CLI and"contentType"
field in HTTP API) was a mere case-insensitive string. Now, it is loosely structured so that it can contain parameters. You can treat it as a media type (MIME type).For example,
text/markdown
andtext/markdown; variant=Original
both use the same parser and formatter under the hood.Text.Seonbi.ContentTypes.ContentType
type became an alias ofNetwork.HTTP.Media.MediaType
type (wasCI Text
).- The type of
Text.Seonbi.ContentTypes.contentTypeFromText
function becameText -> Maybe ContentType
(wasText -> ContentType
). Text.Seonbi.ContentTypes.transformWithContentType
function became able to handle media types with parameters, and now it falls back more-specific media types to less-specific media types if there is no exactly matched one.
-
For
text/html
andapplication/xhtml+xml
formats, some obsolete HTML tags are no more ignored, but now recognized as valid HTML tags. Here are the list of added tags:<center>
<font>
<nobr>
<strike>
<xmp>
Haskell API-wise, the following constructors were added to the
Text.Seonbi.Html.Tag.HtmlTag
type:Center
Font
NoBR
Strike
XMP
-
Deno module became possible to use an already deployed Seonbi API server instead of spawning a local API server. The
new Seonbi()
constructor now takes{ apiUrl: string }
besides existing configuration forms. -
Updated the Standard Korean Language Dictionary data (data/ko-kr-stdict.tsv) to the revision 2024-09.