aboutsummaryrefslogtreecommitdiffstats
path: root/CHANGELOG.md
diff options
context:
space:
mode:
Diffstat (limited to 'CHANGELOG.md')
-rw-r--r--CHANGELOG.md30
1 files changed, 30 insertions, 0 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 0738982..b56d043 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -5,6 +5,36 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
+## [Unreleased]
+
+### Changed
+
+- **BREAKING**: Database connection configuration now uses DSN (Data Source Name)
+ instead of individual connection parameters. This allows for more flexibility in
+ the connection parameters since any format and additional options supported by the
+ driver are now supported.
+
+ **Before:**
+ ```toml
+ [database]
+ host = "localhost"
+ port = "5432"
+ user = "myuser"
+ password = "mypassword"
+ dbname = "mydb"
+ driver = "postgresql"
+ ```
+
+ **After:**
+ ```toml
+ [database]
+ dsn = "postgresql://myuser:mypassword@localhost:5432/mydb?sslmode=disable"
+ driver = "postgresql"
+ ```
+
+- **BREAKING**: Environment variables have been simplified to use DSN:
+ - `BOLT_DB_HOST`, `BOLT_DB_PORT`, `BOLT_DB_USER`, `BOLT_DB_PASSWORD`, `BOLT_DB_NAME` → `BOLT_DB_DSN`
+
## [0.10.1] - 2024-08-18
### Fixed