Files
dbx/CHANGELOG.md
T
end eafe84ef31 feat(graphql): add JS-safe uint64 marshal helpers
Adds MarshalUint64, UnmarshalUint64, and Uint64Marshaler for gqlgen-
compatible uint64 string scalars without a gqlgen dependency.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-29 18:49:19 -07:00

1.6 KiB

Changelog

Unreleased (v1.0.0)

Breaking changes

  • Removed UUID, NewUUID, and ParseUUID.
  • Added StringKSUID and BinaryKSUID with distinct SQL encodings and shared GraphQL string scalar transit.
  • Removed DBConfig.AutoMigrate, SQLOFunc, and JSONB.ToMap().
  • Replaced Column / ColumnList intersection interfaces with dialect-neutral type aliases.
  • Apply* and Expr* helpers now accept Column / ColumnList / Expression aliases instead of mysql.* types.

Added

  • StringKSUID.Equal / IsZero, BinaryKSUID.Equal / IsZero, and nil sentinel vars for [ApplyInterfacePtr].
  • Query, MustQuery, and UpdateOne helpers (+ Context variants).
  • WithTxValue for transactional functions that return a value.
  • QueryCount, BuildQueryCountFn, and CountResult for pagination counts.
  • BinaryKSUID.BinExpr, ExprStringKSUIDs, and flexible Parse*Any KSUID parsers.
  • MarshalUint64 and UnmarshalUint64 for JS-safe GraphQL uint64 scalars.
  • Context-aware variants for all query and mutation helpers.
  • Delete, DeleteAffected, WithTx, ContainsCol, and CurrentDialect().
  • Package documentation (doc.go), expanded README, and subpackage docs for dbxm / dbxp.
  • Comprehensive tests for KSUID types, CRUD helpers, column utilities, and module lifecycle.

Changed

  • Debug logger setup returns an error instead of panicking when DebugLog is enabled without a dialect logger blank import.
  • DestName skips logging when the database module is not initialized.
  • Source reorganized into domain-focused files (query.go, exec.go, apply.go, etc.).