diff --git a/CHANGELOG.md b/CHANGELOG.md
index 3209080..2a3bc4f 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,9 +1,13 @@
# Doppio Changelog
-## v0.4.0?
+## v0.5.0
*unreleased*
+## v0.4.0
+
+*2021-01-16*
+
### Added
* The following CGI meta-variables are now set: GEMINI_URL, GEMINI_URL_PATH, REQUEST_METHOD (to an empty string), SSL_CLIENT_V_REMAIN (when configured), TLS_CIPHER, TLS_CLIENT_HASH, TLS_CLIENT_ISSUER, TLS_CLIENT_NOT_AFTER, TLS_CLIENT_NOT_BEFORE, TLS_CLIENT_REMAIN, TLS_CLIENT_SERIAL, TLS_CLIENT_SUBJECT, TLS_CLIENT_VERSION, TLS_SESSION_ID, TLS_VERSION.
@@ -11,6 +15,7 @@
### Changed
+* The secure directory feature is replaced by secure domains, which can assign different truststores (or not at all) to different directories. There is no longer a need to set a server-wide truststore.
* SSL_* (mod_ssl) CGI meta-variables are only set when the server is configured to set them.
* The list of suffixes for resources with content type text/gemini is now configurable as a server configuration property.
* The default content type for resources, used when one cannot be detected, is
diff --git a/pom.xml b/pom.xml
index 256dcb0..5f46580 100644
--- a/pom.xml
+++ b/pom.xml
@@ -4,7 +4,7 @@
com.havanki
doppio
- 0.4.0-SNAPSHOT
+ 0.4.0
jar