NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Go modules, #1997 by repository stars
Latest stable
v1.0.5
Last release 1 years ago
27 Sep 2025
Ships unpredictably
gaps range from 8 days to 5 months
Most releases are documented
notes for 12 of 15 stable releases
Nothing withdrawn
no release was ever pulled
2 years old
387 releases · first in 2024
Drag across the ruler to compare, or tap a release to open it.
Nothing published for this version
Nothing published for this version
Added a way to configure html via a yaml file (htmgo.yml)
Simply place a htmgo.yml in the root of your project. The following is supported as of now:
# htmgo configuration
# if tailwindcss is enabled, htmgo will automatically compile your tailwind and output it to assets/dist
tailwind: true
# which directories to ignore when watching for changes, supports glob patterns through https://github.com/bmatcuk/doublestar
watch_ignore: [".git", "node_modules", "dist/*"]
# files to watch for changes, supports glob patterns through https://github.com/bmatcuk/doublestar
watch_files: ["**/*.go", "**/*.css", "**/*.md"]
Important: If you already have the htmgo CLI installed, make sure to run GOPROXY=direct go install github.com/maddalax/htmgo/cli/htmgo@latest to install the latest version.
Full Changelog: https://github.com/maddalax/htmgo/compare/v0.3.5...v0.3.6
Your coding agent can read these notes before it upgrades. Set up the MCP server →
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Updated OnLoad event handler to always be called on any element (not just browser supported ones such as Script, Body, Img, etc) This means if you nee
Example:
h.Div(
h.OnLoad(
js.EvalJs(`self.focus()`)
)
)
You can reference the current element using 'self' or 'element' if you are evaluating JS on a parent or sibling.
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Update watcher to include newly added directories
func (c *RequestContext) FormValue(key string)
func (c *RequestContext) Header(key string)
func (c *RequestContext) UrlParam(key string)
func (c *RequestContext) QueryParam(key string)
func (c *RequestContext) IsBoosted() bool
func (c *RequestContext) IsHxRequest() bool
func (c *RequestContext) HxPromptResponse()
func (c *RequestContext) HxTargetId()
func (c *RequestContext) HxTriggerName()
func (c *RequestContext) HxTriggerId()
func (c *RequestContext) HxCurrentBrowserUrl()
Also added
func GetRequestContext(r *http.Request) *RequestContext {
return r.Context().Value(RequestContextKey).(*RequestContext)
}
Usage:
app.Router.Get("/test", func(writer http.ResponseWriter, request *http.Request) {
ctx := h.GetRequestContext(request)
})
For if you need to get the h.RequestContext from an http.Request. This is useful if you are doing your own routing but still want to use h.RequestContext to pass to other things such as partials or other pages.
Full Changelog: https://github.com/maddalax/htmgo/compare/v0.3.3...v0.3.4
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Moved h.RequestContext embedded 'Request' to ctx.Request, also added ctx.Response
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Update attribute methods to use an ordered map so we can have deterministic output by @maddalax in https://github.com/maddalax/htmgo/pull/12
Full Changelog: https://github.com/maddalax/htmgo/compare/v0.3.1...v0.3.2
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Adding html escaping when rendering using Text()
Added more common attributes
Adding html escaping when rendering using Text()
Renamed Raw to UnsafeRaw to signify it does not do html escaping
Nothing published for this version
One column per month.