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
go test -v -timeout=20m -coverprofile=coverage-integration.txt -covermode=atomic -coverpkg=./internal/...,./pkg/... ./tests -run 'TestIntegration_MySQL_FullWorkflow|TestIntegration_PostgreSQL_FullWorkflow|TestIntegration_AllReportsGenerated'
92
+
go test -v -timeout=30m -coverprofile=coverage-integration.txt -covermode=atomic -coverpkg=./internal/...,./pkg/... ./tests -run 'TestIntegration_MySQL_FullWorkflow|TestIntegration_PostgreSQL_FullWorkflow|TestIntegration_MSSQL_FullWorkflow|TestIntegration_AllReportsGenerated'
Copy file name to clipboardExpand all lines: CHANGELOG.md
+27Lines changed: 27 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,6 +7,33 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
8
8
## [Unreleased]
9
9
10
+
## [0.8] - 2026-03-14
11
+
12
+
### Added
13
+
-**Microsoft SQL Server Support** (issue #13)
14
+
- New driver: `driver: "mssql"` in `deepdiffdb.config.yaml`; maps to `github.com/microsoft/go-mssqldb` (`sqlserver://` DSN)
15
+
- Schema introspection via `INFORMATION_SCHEMA.COLUMNS`, `sys.indexes`, `sys.index_columns`, `INFORMATION_SCHEMA.REFERENTIAL_CONSTRAINTS`, and `sys.key_constraints`
16
+
- Square-bracket identifier quoting: `[table]`, `[column]`, with `]]` escaping for literal `]`
17
+
-`OFFSET 0 ROWS FETCH NEXT n ROWS ONLY` pagination (MSSQL has no `LIMIT` clause)
18
+
- MSSQL-compatible `ALTER TABLE` generation: `ADD` (no `COLUMN` keyword), `ALTER COLUMN`, `DROP CONSTRAINT`, `DROP INDEX … ON …`
19
+
- FK control during pack application via `sp_msforeachtable`: `NOCHECK CONSTRAINT ALL` / `WITH CHECK CHECK CONSTRAINT ALL`
20
+
- Full type reconstruction: `varchar(max)`, `decimal(10,2)`, `nvarchar(255)` with `nchar`/`nvarchar` half-length correction (MSSQL stores byte-length)
21
+
-`CheckPrimaryKeys` extended with MSSQL case querying `sys.tables` / `sys.key_constraints`
22
+
- Port is optional for MSSQL (defaults to SQL Server standard 1433)
23
+
- Integration test `TestIntegration_MSSQL_FullWorkflow` using testcontainers + `mcr.microsoft.com/mssql/server:2022-latest`
-**Database Support** - MSSQL and Oracle are not yet supported (planned for future releases)
616
+
-**Database Support** - Oracle is not yet supported (planned for future releases)
617
617
-**Schema Auto-merge** - Schema differences must be resolved manually
618
618
-**Primary Key Requirement** - All tables must have primary keys (unless explicitly ignored)
619
619
-**Large Database Performance** - Very large tables are handled with keyset-paginated batching (v0.7+); diff output files may still be large for tables with many changed rows
@@ -640,7 +640,7 @@ go test ./tests/drivers
640
640
go test ./tests -run TestIntegration -v
641
641
```
642
642
643
-
Integration tests use testcontainers and automatically spin up MySQLand PostgreSQL containers for full workflow validation.
643
+
Integration tests use testcontainers and automatically spin up MySQL, PostgreSQL, and MSSQL containers for full workflow validation.
0 commit comments