Skip to content

v0.4.0

Latest
Compare
Choose a tag to compare
@balki balki released this 19 Dec 21:44
· 1 commit to main since this release

Changes

1. Change address syntax to be a URL

This allows to set additional options easily. E.g. unix?path=/run/app.sock&mode=660 will create a unix socket at /run/app.sock and also set the permission mode to 660. This directly gives the flexibility to the end user without having to support multiple config options in the application. Inspired by postgres url.

2. Support idle_timeout for systemd socket

Shut down the server if no requests are received for a while. systemd socket activation will restart the server on new request automatically. E.g. sysd?name=app.socket&idle_timeout=30m

Full Changelog: v0.3.0...v0.4.0