Fixes
- Only listen for the USR1 signal on some platforms. Fixes [#157] (thanks for reporting, @kris6673).
New features
- Add a
run3
function, ref [#158] (thanks for reporting, @myselfghost). - Add
print_nonl
that can be used in connection withflush
. - Add the
mprint_ret
function that can return required JS code instead of inserting it. - Let
flush
,redirect
andpermanent_redirect
returntrue
if the connection was not closed when sending. - Add support for ie.
lang: en
andlanguage: en
in Markdown files.
Updates to the sample projects
- Improve the "mathematical formulas" sample.
- Add a typewriter / server-side flush sample.
- Set the language to
en
for 3 of the samples.
Various
- Improve error handling in connection with recorders and flushing.
- Improve some warnings and error messages.
- Build with
-ldflags "-s -w" -buildvcs=false
by default in theMakefile
. - Add an informative message when serving
README.md
files without-m
. - Update documentation.
- Update dependencies.