7647884464
Expand README with setup and API guidance, add CHANGELOG breaking section, and refresh package documentation for the V1 API surface. Co-authored-by: Cursor <cursoragent@cursor.com>
1.1 KiB
1.1 KiB
Changelog
Unreleased (v1.0.0)
Breaking changes
- Removed
UUID,NewUUID, andParseUUID. - Added
StringKSUIDandBinaryKSUIDwith distinct SQL encodings and shared GraphQL transit (ksuid_strJSON field, replacinguuid_str). - Removed
DBConfig.AutoMigrate,SQLOFunc, andJSONB.ToMap(). - Replaced
Column/ColumnListintersection interfaces with dialect-neutral type aliases. Apply*andExpr*helpers now acceptColumn/ColumnList/Expressionaliases instead ofmysql.*types.
Added
- Context-aware variants for all query and mutation helpers.
Delete,DeleteAffected,WithTx,ContainsCol, andCurrentDialect().- Package documentation (
doc.go), expanded README, and subpackage docs fordbxm/dbxp. - Comprehensive tests for KSUID types, CRUD helpers, column utilities, and module lifecycle.
Changed
- Debug logger setup returns an error instead of panicking when
DebugLogis enabled without a dialect logger blank import. DestNameskips logging when the database module is not initialized.- Source reorganized into domain-focused files (
query.go,exec.go,apply.go, etc.).