<div dir="ltr">I'm happy to announce a new release of the mig library. It's a minimal and simple library to build servers. This release adds some goodies for servers that produce HTML:<br><br>* cookies (new [input Cookie](<a href="https://hackage.haskell.org/package/mig-0.2.1.0/docs/Mig-Core-Types-Route.html#t:Cookie">https://hackage.haskell.org/package/mig-0.2.1.0/docs/Mig-Core-Types-Route.html#t:Cookie</a>) type and [function to set](<a href="https://hackage.haskell.org/package/mig-0.2.1.0/docs/Mig-Core-Class-Response.html#v:setCookie">https://hackage.haskell.org/package/mig-0.2.1.0/docs/Mig-Core-Class-Response.html#v:setCookie</a>) the cookies)<br>* [type-safe stable URLs](<a href="https://hackage.haskell.org/package/mig-0.2.1.0/docs/Mig-Core-Class-Url.html">https://hackage.haskell.org/package/mig-0.2.1.0/docs/Mig-Core-Class-Url.html</a>) from server definition<br>* an example [HtmlTemplate](<a href="https://github.com/anton-k/mig/tree/main/examples/mig-example-apps/HtmlTemplate">https://github.com/anton-k/mig/tree/main/examples/mig-example-apps/HtmlTemplate</a>) on how to use template engine and type-safe URLs with the library<br><br>Also it adds a stack template to create new hello-world server with stack (on how to use it see the section on how to start [a new mig project](<a href="https://anton-k.github.io/mig/#how-to-start-a-new-project">https://anton-k.github.io/mig/#how-to-start-a-new-project</a>) in the tutorial).<br><br>Links:<br><br>* [github](<a href="https://github.com/anton-k/mig">https://github.com/anton-k/mig</a>)<br>* [tutorial](<a href="https://anton-k.github.io/mig/">https://anton-k.github.io/mig/</a>)<br>* [hackage for the server library](<a href="https://hackage.haskell.org/package/mig-server">https://hackage.haskell.org/package/mig-server</a>)<br>* [hackage for the core library](<a href="https://hackage.haskell.org/package/mig">https://hackage.haskell.org/package/mig</a>)<br>* [examples](<a href="https://github.com/anton-k/mig/tree/main/examples/mig-example-apps#mig-example-apps">https://github.com/anton-k/mig/tree/main/examples/mig-example-apps#mig-example-apps</a>)<br></div>