You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
docs: update CHANGELOG.md with missing releases (#40)
Updates CHANGELOG.md to include all releases since v0.0.11 through
v0.1.2 and adds an Unreleased section covering recent work.
## Changes
- Added entries for v0.0.11, v0.1.0, v0.1.1, v0.1.2
- Added detailed Unreleased section covering SQLite support (#27),
database connection hardening (#29), MigrationLog duration fix (#34),
and related bug fixes (#35-#39)
- Fixed comparison links at the bottom to reference correct tags
Copy file name to clipboardExpand all lines: CHANGELOG.md
+43-10Lines changed: 43 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,22 +8,51 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
8
8
## [Unreleased]
9
9
10
10
### Added
11
-
- New features to be added
11
+
- SQLite database driver support with pure Go implementation via `modernc.org/sqlite` - no CGO required (#27)
12
+
- New `driver` config field in `kat.conf.yaml` (defaults to `postgres` for backward compatibility)
13
+
- Database connection hardening with configurable timeouts and pool management (#29)
14
+
- Configurable connect/statement timeouts and pool limits via `kat.conf.yaml` or library options (`WithDBConfig`, `WithConnectTimeout`, `WithPoolLimits`)
15
+
- Retry with exponential backoff for `Ping` on transient Postgres errors
12
16
13
17
### Changed
14
-
- Upcoming changes to existing functionality
18
+
- Use string for MigrationLog Duration instead of `pgtype.Interval` for better cross-driver compatibility (#34)
19
+
- Bumped Go toolchain to 1.25.7 and CI action versions
15
20
16
-
### Deprecated
17
-
- Features that will be removed in upcoming releases
21
+
### Fixed
22
+
- Preserve original Postgres URL in `ConnString()` instead of reconstructing it, preventing loss of query parameters and special characters (#35)
23
+
- Consistent table name quoting and validation across all SQL templates (#36)
24
+
- Enforce `MaxOpenConns=1` for SQLite in `NewWithDB` to prevent "database is locked" errors (#37)
25
+
- Restore `MigrationTime` as `time.Time` with smart scanning for both Postgres and SQLite (#38)
26
+
- Error on invalid driver in `SetDefault` instead of silently defaulting to Postgres (#39)
27
+
- Transaction handling bug in `WithTransact()` discovered during SQLite integration testing
18
28
19
-
### Removed
20
-
- Features to be removed
29
+
## [0.1.2] - 2026-02-23
21
30
22
31
### Fixed
23
-
-Upcoming bug fixes
32
+
-Fix warning style color to yellow instead of red (#33)
24
33
25
-
### Security
26
-
- Upcoming security improvements
34
+
## [0.1.1] - 2026-02-20
35
+
36
+
### Added
37
+
- YAML schemas and editor support for `kat.conf.yaml` and migration metadata files (#31)
38
+
39
+
### Fixed
40
+
- Fix permission denied error in `kat update` on macOS (#32)
41
+
42
+
## [0.1.0] - 2026-02-19
43
+
44
+
### Added
45
+
- Non-transactional migration support via `no_transaction` field in migration metadata (#30)
46
+
- Documentation for non-transactional migrations
47
+
48
+
## [0.0.11] - 2025-09-06
49
+
50
+
### Changed
51
+
- Updated installation command (#24)
52
+
- Updated documentation (#25)
53
+
54
+
### Fixed
55
+
- Fix critical transaction bug in `WithTransact` function (#28)
27
56
28
57
## [0.0.10] - 2025-07-19
29
58
@@ -100,7 +129,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
0 commit comments