Repository navigation
v0.5.0
Release 0.5.0
Carries everything that proved itself on dev since the last merge to main and prepares the tag v0.5.0.
Added
- Export of knowledge (
export_knowledge): a ZIP of Markdown files, one folder per space and one file per entry with a YAML header, following the Open Knowledge Format 0.2. The tool returns a signed link that works once and for ten minutes (GET /export/<token>). Admins export their spaces, instance admins every team space, everybody their own personal space; nobody can export someone else's personal space. Every export is audited asknowledge_export. - Instance names at runtime: the short name and the organisation name are read from the configuration on the first start only, stored in the database and changed afterwards by an instance admin with the new tool
admin_instance(get,setwith confirmation, audited asadmin_instance_set), without a restart. The server instructions name the organisation too, so an assistant connected to several instances can tell them apart. - Defaults for environment variables in
config.yaml:${VAR:-default}uses the default when the variable is unset or empty;${VAR}stays mandatory.
Changed
- A basic setup needs only
.env:config.example.yamlreads the public address (ATRIUM_BASE_URL), the login domain (ATRIUM_ALLOWED_DOMAIN), the first admin (ADMIN_EMAIL) and the instance names from the environment, anddocker-compose.ymlpasses them on. The three mandatory ones have no default: the server refuses to start and names the missing variable, so nobody runs with a placeholder address or admin. Private accounts without a domain keep usingallowed_emailsinconfig.yaml. - The user guides (with PDFs) describe export,
admin_instanceand the shorter setup; the introduction gained "What it takes to run", the comparison with other approaches and answers to common questions. Public texts describe the Community edition only. - Changelog, roadmap and the examples in
docs/release.mdare prepared for 0.5.0.
Upgrade notes
- No database migration. An existing
config.yamlkeeps working; the instance names in it are stored in the database on the first start of this version. - A
config.yamlthat uses${VAR:-default}needs this version: older ones take the text literally.
Tested
gofmt,go vet ./...andgo test ./...against Postgres with pgvector.- The shipped
config.example.yamlstarts from the environment alone; a missing mandatory variable is reported by name (new test).
After the merge: tag v0.5.0 on main.