aboutsummaryrefslogtreecommitdiff
path: root/go.mod
AgeCommit message (Collapse)Author
11 daysgo.mod: update all dependenciesShulhan
This set the minimum Go version to 1.26.0.
2026-02-11cmd/ciigo: add option to set base path and shutdown idle durationShulhan
The `-base-path` option set the URL prefix for serving HTTP request. This allow serving the content under the prefix other than "/". The `-shutdown-idle` option set the duration when server will stop accepting new connections and shutting down. This option can be helpful to reduce the resources on local environment.
2026-02-09go.mod: update all dependenciesShulhan
This update affect the test on onGet, where request to directory that does not end with slash will be redirected with status code 301 (Moved Permanently) instead of 302 (Found).
2026-02-02all: add field Listener to ServeOptionsShulhan
The field Listener allow passing [net.Listener] instance for accepting HTTP connection. One of the use case is to activate the ciigo serve using systemd.socket(5).
2026-01-24go.mod: update asciidoctor-go moduleShulhan
Changes, * all: add aria-label to the anchor when sectanchor enabled * all: update default CSS to asciidoctor v2.0.26 * all: use separate file with go:embed for default CSS * all: reformat README with prettier and simplify license
2026-01-16go.mod: update pakakeh.go to v0.60.3-0.20260115103415-806359d5462fShulhan
This update have changes on [lib/http.FSHandler] that return second parameter, status code.
2025-12-27go.mod: set minimum Go to 1.24.0 and update all dependenciesShulhan
2025-06-29go.mod: update all dependenciesShulhan
2025-04-18go.mod: update asciidoctor-go module to fix default embedded CSSShulhan
By default, the document contains ":stylesheet:" attribute, which means using the default embedded CSS. To disable it, unset the attribute using ":stylesheet!:". To overwrite it, set the attribute to path of CSS file ":stylesheet: my.css".
2025-04-18go.mod: update all dependenciesShulhan
2025-02-01all: replace external linters with internal linterShulhan
The fieldalignment and shadow is linter from golang.org/x/tools. This linters actually have an API that can be combined into a program, which provided by package "pakakeh.go/lib/goanalysis".
2025-02-01go.mod: update asciidoctor-goShulhan
The latest release fix parsing section that is not detected after list items.
2025-01-07all: refactoring to use [watchfs/v2]Shulhan
The [watchfs/v2] bring new enhancements that watching only single file instead of all markup files for changes. This minimize number of goroutine calling os.Stat on each markup files being watched on directory.
2024-12-08go.mod: update all dependenciesShulhan
2024-10-06go.mod: update all dependenciesShulhan
2024-09-07go.mod: update all dependenciesShulhan
2024-08-18go.mod: update asciidoctor-go to the tipShulhan
2024-08-04go.mod: update module pakakeh.go to v0.56.0Shulhan
2024-07-26all: update dependenciesShulhan
Update on git.sr.ht/~shulhan/pakakeh.go fixes the "serve" command where new files on the root of served directory not detected automatically.
2024-06-28go.mod: update all dependenciesShulhan
2024-05-10all: update module pakakeh.go to latest releaseShulhan
2024-04-04Release ciigo v0.12.0 (2024-04-04)v0.12.0Shulhan
=== New features * all: add server option to automatically generate index HTML If the requested path is directory and no "index.html" file exist in that directory, ciigo server will render list of files as "index.html" automatically. === Chores * all: replace module "share" with "pakakeh.go" The "share" module has been moved to new repository with new name at "https://sr.ht/~shulhan/pakakeh.go".
2024-03-15go.mod: update module "pakakeh.go" to the tipShulhan
2024-03-15go.mod: update module "pakakeh.go" to tipShulhan
2024-03-05go.mod: update asciidoctor-go and goldmark modulesShulhan
2024-03-05all: replace module "share" with "pakakeh.go"Shulhan
2023-12-14Release ciigo v0.11.0 (2023-12-14)v0.11.0Shulhan
=== 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
2023-12-13go.mod: update asciidoctor-go to tipShulhan
The latest changes on asciidoctor-go replace deprecated package "lib/parser" with [strings.Parser].
2023-12-10go.mod: update all dependenciesShulhan
The update on asciidoctor-go fix the custom ID on the first section always being replaced.
2023-11-09go.mod: update share moduleShulhan
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
2023-11-07go.mod: update share module to v0.50.1Shulhan
This release bring many enhancements to "lib/memfs", a library for caching file system in memory. === Enhancements * lib/memfs: return nil in AddChild if file not exist * lib/memfs: quote the path in the returned error * lib/memfs: add method Child to Node * lib/memfs: call the Init method in the embedded file * lib/memfs: include empty directory * lib/memfs: re-scan directory content on Node’s Update
2023-10-13go.mod: update all dependenciesShulhan
2023-06-04go.mod: update module asciidoctor-go and share to latest releaseShulhan
The asciidoctor-go add new features for unordered list with '-' and some bug fixes related to rendering list. The share module add fix for permission error when scanning using memfs and HTTP redirect for request to directory that does not end with slash. While at it, set the minimum Go version to 1.19.
2023-05-14all: update share moduleShulhan
2023-05-14all: bring back support for MarkdownShulhan
I use two remote repositories: GitHub and SourceHut. GitHub support rendering README using asciidoc while SourceHut not. This cause the repository that use README.adoc rendered as text in SourceHut which make the repository page less readable. Also, the pkg.go.dev now render README but only support Markdown. Since we cannot control the SourceHut and go.dev, the only option is to support converting Markdown in ciigo so I can write README using Markdown and the rest of documentation using Asciidoc.
2023-03-03all: update asciidoctor-go and share module to latest versionShulhan
Changes on the asciidoctor-go v0.4.1, === Bug fixes * all: fix empty line printed on ToHTMLBody or ToHTMLEmbedded * all: ignore parsing block image in paragraph === Enhancements * all: handle empty preamble
2023-02-12go.mod: update share module to version 0.43.0Shulhan
2022-09-06all: update all dependenciesShulhan
The latest asciidoctor-go module fix parsing list description inside include directive.
2022-08-06go.mod: update share and asciidoctor-go modulesShulhan
2022-07-24go.mod: set minimum Go version to 1.18 and update the asciidoctor-goShulhan
2022-07-09all: update share module to v0.39.1-0.20220709072157-a39d5d2246f8Shulhan
This changes update the embedded Go file on cmd/ciigo-example and rename field Development on MemFS Options.
2022-05-19go.mod: update share module to v0.37.0Shulhan
2022-03-27go.mod: update the share module to latestShulhan
This also fix the share module using "replace" instead of "require".
2022-03-09all: update the watcher affected by changes on share moduleShulhan
In the share module, the DirWatcher and Watcher has been moved to package memfs and the way to consumed the changes is not through callback again but through channel.
2022-03-04all: update asciidoctor-go and share modules to latest versionShulhan
2022-03-04all: re-licensing ciigo under GPL-3.0 or laterShulhan
See https://kilabit.info/journal/2022/gpl/ for more information.
2022-03-01go.mod: update share module to the tipShulhan
2022-02-17go.mod: update module asciidoctor-go to the tipShulhan
The latest tip fix rendering list check box text that get cut one character in the beginning.
2022-01-10go.mod: update to latest share moduleShulhan
2021-12-20go.mod: update to latest share moduleShulhan