<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ciigo, branch v0.11.0</title>
<subtitle>Static web server with AsciiDoc and Markdown.</subtitle>
<id>http://git.kilabit.info/ciigo/atom?h=v0.11.0</id>
<link rel='self' href='http://git.kilabit.info/ciigo/atom?h=v0.11.0'/>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/ciigo/'/>
<updated>2023-12-14T08:50:36Z</updated>
<entry>
<title>Release ciigo v0.11.0 (2023-12-14)</title>
<updated>2023-12-14T08:50:36Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2023-12-14T08:49:35Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/ciigo/commit/?id=b97be92c238e766dafa80dcfeae92987f016b895'/>
<id>urn:sha1:b97be92c238e766dafa80dcfeae92987f016b895</id>
<content type='text'>
=== Breaking changes

* Field [ConvertOptions.HtmlTemplate] become [ConvertOptions.HTMLTemplate]

* Method [Converter.SetHtmlTemplateFile] become
  [Converter.SetHTMLTemplateFile]

* Method [Converter.ToHtmlFile] become [Converter.ToHTMLFile]

===  Bug fix

* asciidoc: fix custom ID on the first section not applied correctly
</content>
</entry>
<entry>
<title>go.mod: update asciidoctor-go to tip</title>
<updated>2023-12-13T11:33:05Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2023-12-13T11:33:05Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/ciigo/commit/?id=65735d94885752c06f369d46c8edd9abbc1ec5a0'/>
<id>urn:sha1:65735d94885752c06f369d46c8edd9abbc1ec5a0</id>
<content type='text'>
The latest changes on asciidoctor-go replace deprecated package
"lib/parser" with [strings.Parser].
</content>
</entry>
<entry>
<title>all: fix all warnings reported by linter revive</title>
<updated>2023-12-09T20:05:13Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2023-12-09T20:05:13Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/ciigo/commit/?id=d4129bf1f9ea8fedaf273a50347a0c62b6ec07e0'/>
<id>urn:sha1:d4129bf1f9ea8fedaf273a50347a0c62b6ec07e0</id>
<content type='text'>
Unfortunately, this breaks some API and exported fields, but its better
than creating revive.toml file to add an exception.

Some breaking changes,

* Field [ConvertOptions.HtmlTemplate] become [ConvertOptions.HTMLTemplate]
* Method [Converter.SetHtmlTemplateFile] become
  [Converter.SetHTMLTemplateFile]
* Method [Converter.ToHtmlFile] become [Converter.ToHTMLFile]
</content>
</entry>
<entry>
<title>go.mod: update all dependencies</title>
<updated>2023-12-09T19:50:18Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2023-12-09T19:50:18Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/ciigo/commit/?id=582deec99c0028a6759cfc70f2edd05a98547827'/>
<id>urn:sha1:582deec99c0028a6759cfc70f2edd05a98547827</id>
<content type='text'>
The update on asciidoctor-go fix the custom ID on the first section
always being replaced.
</content>
</entry>
<entry>
<title>Release ciigo v0.10.1 (2023-11-07)</title>
<updated>2023-11-09T13:28:11Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2023-11-07T13:18:22Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/ciigo/commit/?id=65df21ec938be88ea4441503d665aaf09e796ce7'/>
<id>urn:sha1:65df21ec938be88ea4441503d665aaf09e796ce7</id>
<content type='text'>
In this release, update on asciidoctor-go add new features to parse
unordered list with '-' and some bug fixes related to rendering list.

The update on share module fix for permission error when scanning using
memfs and HTTP redirect for request to directory that does not end with
slash.

=== Bug fixes

all: ignore error permission when listing file markups::

    Instead of returning the error, ignore it and continue processing
    other files in the list.

===  Enhancements

all: print log message with log package::

    This is to provide the timestamp to each log output.

cmd/ciigo: set default IP address to loopback on serve command::

    Previously, the default IP address is 0.0.0.0 which listen on all
    network interfaces. Listening to all network interface should be
    explicit by user.

all: use modification time to force HTML conversion::

    In this changes, we derive the decision based on modification time
    of HTML template and markup file. If the HTML template or markup
    file is newer that HTML file then the new HTML file will be generated.
</content>
</entry>
<entry>
<title>all: simplify test for Watcher by using TempDir</title>
<updated>2023-11-09T13:27:23Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2023-11-08T17:17:53Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/ciigo/commit/?id=59304a33928badf1a2b1e2aa7510bfac58441c0e'/>
<id>urn:sha1:59304a33928badf1a2b1e2aa7510bfac58441c0e</id>
<content type='text'>
By using TempDir we did not need to remove and create directory when the
testing started.

While at it, set the default DirWatcher delay to 100ms and decrease each
"time.Sleep" duration on tests to make test finish faster.
</content>
</entry>
<entry>
<title>all: update comment on newWatcher</title>
<updated>2023-11-09T13:26:43Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2023-11-08T17:15:33Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/ciigo/commit/?id=80c4242daca3ae106dcf1fccba37b6bf73598558'/>
<id>urn:sha1:80c4242daca3ae106dcf1fccba37b6bf73598558</id>
<content type='text'>
</content>
</entry>
<entry>
<title>all: add method to stop watcher</title>
<updated>2023-11-09T13:26:43Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2023-11-08T17:15:21Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/ciigo/commit/?id=159cd136ff12cf1c269c57e942479b2cf46d1fcc'/>
<id>urn:sha1:159cd136ff12cf1c269c57e942479b2cf46d1fcc</id>
<content type='text'>
With the latest update on lib/memfs, we can stop the watcher internally.
</content>
</entry>
<entry>
<title>go.mod: update share module</title>
<updated>2023-11-09T13:26:43Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2023-11-08T16:14:31Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/ciigo/commit/?id=da3f7b22ecb75681814f22b708e05a5becb699f1'/>
<id>urn:sha1:da3f7b22ecb75681814f22b708e05a5becb699f1</id>
<content type='text'>
Changes,

* lib/memfs: split handling deleted directory and file on DirWatcher
* lib/memfs: stop all Watcher spawn by DirWatcher
* lib/memfs: use second channel to stop goroutine in Watcher
* lib/memfs: do not return when mode changes in Node Update
* lib/memfs: remove embedding os.FileInfo and http.File
* lib/memfs: remove mocking os.Stat
* lib/memfs: refactoring, simplify DirWatcher logic
* lib/memfs: add test for DirWatcher with symlink to file
* email/dkim: set ExpiredAt to MaxInt64 if value is greater than 12 digits
* lib/json: make CodeQL pass when converting unicode point
</content>
</entry>
<entry>
<title>all: use modification time when deciding when to convert to HTML</title>
<updated>2023-11-09T13:25:15Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2023-11-06T14:33:45Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/ciigo/commit/?id=bad30877282ff2e584c49ea1a656bf0fa0f3b1fa'/>
<id>urn:sha1:bad30877282ff2e584c49ea1a656bf0fa0f3b1fa</id>
<content type='text'>
Previously, in changes 46bd8b68dc8c we pass the force=true to Convert
function.

In this changes, we derive the decision based on modification time
of HTML template and markup file.
If the HTML template or markup file is newer that HTML file then the
new HTML file will be generated.
</content>
</entry>
</feed>
