Commit Graph

  • cdd066dafe fix(sqltypes): serialize SqlTimeStamp as RFC3339 master v1.0.76 warkanum 2026-09-03 22:12:36 +02:00
  • 5c25f333b7 fix(go.mod): update Go version to 1.25.13 warkanum 2026-09-03 21:39:56 +02:00
  • 77e6e72f5a fix(ci): don't capture tool-download noise as a formatting diff warkanum 2026-09-03 21:33:12 +02:00
  • 4d4bc09b86 fix(ci): run lint tools via 'go run' to match the toolchain warkanum 2026-09-03 21:25:27 +02:00
  • 96281c9f03 chore(ci): add govulncheck, staticcheck, go vet, gofumpt gates v1.0.75 warkanum 2026-09-03 21:17:03 +02:00
  • d6d0200938 Merge pull request 'feat(job): declarative YAML job files for named relspec workflows (#20)' (#24) from issue-20-job-files into master warkanum 2026-09-02 04:16:39 +00:00
  • 4d299fda98 feat(job): declarative YAML job files for named relspec workflows issue-20-job-files SG CommandandClaude Sonnet 5 2026-09-02 00:44:38 +02:00
  • 4115a11845 Merge pull request 'Fix PostgreSQL DBML diff round-trip' (#23) from issue-21-diff-roundtrip into master warkanum 2026-08-31 04:10:17 +00:00
  • e8ac0e8c35 fix diff round-trip comparison issue-21-diff-roundtrip SG Command 2026-08-31 02:05:32 +02:00
  • 098e927760 chore(release): update package version to 1.0.74 v1.0.74 warkanum 2026-08-29 20:40:45 +02:00
  • ab3c9217df feat(pgsql): support vector and PostGIS indexes with extensions * Add handling for pgvector and PostGIS extensions in migration scripts * Implement operator class and storage parameters for vector indexes * Update tests to validate new index behaviors and extension creation warkanum 2026-08-29 20:39:57 +02:00
  • 16af529120 chore(release): update package version to 1.0.73 v1.0.73 Hein 2026-08-24 12:59:50 +02:00
  • 7fb343596a fix(dbml): honor composite [pk] in Indexes blocks, preserve column order Hein 2026-08-24 12:59:18 +02:00
  • 241bfc2302 feat(cli): always print version header first, add --no-version flag Hein 2026-08-24 12:59:14 +02:00
  • 92d5df9a64 fix(release): chmod deb control dir to fix dpkg-deb permission error Hein 2026-08-24 12:59:11 +02:00
  • b440d50b66 chore(release): update package version to 1.0.72 v1.0.72 Hein 2026-08-24 12:06:00 +02:00
  • 052d6f5fac fix(sqlite): remove unnecessary newline in writeCheckConstraints Hein 2026-08-24 12:05:50 +02:00
  • 9066d36e71 chore(release): update package version to 1.0.71 v1.0.71 Hein 2026-08-24 12:03:41 +02:00
  • 76b8321065 feat(pgsql): add support for concurrent index creation * Implemented Concurrent field in index model * Updated index creation template to support CREATE INDEX CONCURRENTLY * Added tests for concurrent index creation in migration writer Hein 2026-08-24 12:03:30 +02:00
  • 2b6bb7f948 fix(sqlite): emit inline foreign keys, bare-name default schema, direct exec Hein 2026-08-24 11:52:24 +02:00
  • 51b63f659e Merge pull request 'feat: include SQL scripts in schema diff' (#17) from issue-16-migration-script-count into master warkanum 2026-08-18 11:52:25 +00:00
  • ae0efdc008 chore(release): update package version to 1.0.70 v1.0.70 Hein 2026-08-18 13:43:04 +02:00
  • be08c8199f fix(merge,pgsql): treat serial types as their base integer in diffs, unquote bare keyword defaults Hein 2026-08-18 13:42:34 +02:00
  • 5ba20e0581 feat: include SQL scripts in schema diff issue-16-migration-script-count SG Command 2026-08-18 00:16:35 +02:00
  • 19b592820c chore(release): update package version to 1.0.69 v1.0.69 warkanum 2026-08-17 22:36:35 +02:00
  • b158a98acc fix(pgsql): strip backticks from column defaults in migration paths warkanum 2026-08-17 22:36:14 +02:00
  • 465db7643c chore(release): update package version to 1.0.68 v1.0.68 Hein 2026-08-14 16:17:43 +02:00
  • d84306934a fix(pgsql): handle nullability/type/default drift on existing columns Hein 2026-08-14 16:17:17 +02:00
  • e650406177 chore(release): update package version to 1.0.67 v1.0.67 Hein 2026-08-14 14:15:02 +02:00
  • fc3409f324 feat(migration): add fallback for column type conversion failures * implement renaming of old column and adding new column on conversion failure * update templates and tests to support new behavior Hein 2026-08-14 14:14:24 +02:00
  • 97139723c9 feat(migration): add support for altering column nullability * Implement ExecuteAlterColumnNullability function * Create alter_column_nullability template * Add test for altering column nullability behavior Hein 2026-08-14 14:10:21 +02:00
  • d44945b475 chore(release): update package version to 1.0.66 v1.0.66 warkanum 2026-08-10 20:54:56 +02:00
  • 3b88c386a1 fix(codegen): sort map iteration to make generated output deterministic warkanum 2026-08-10 20:54:40 +02:00
  • b95b74f0a3 chore(release): update package version to 1.0.65 v1.0.65 Hein 2026-07-21 12:45:28 +02:00
  • 5d9ff5df03 feat(bun): generate native Go array slices for PostgreSQL array columns Hein 2026-07-21 12:41:38 +02:00
  • 2cecb4c11c feat(cli): add report command for filing bugs/features from the CLI Hein 2026-07-21 10:31:20 +02:00
  • 316d9b0e7f chore(release): update package version to 1.0.64 v1.0.64 Hein 2026-07-20 13:59:44 +02:00
  • 17ae8e050a fix(assetloader): name embedDirectiveLiteral return values to satisfy gocritic Hein 2026-07-20 13:59:19 +02:00
  • f0410221d8 fix(bun): use PostgreSQL internal array type name for sqltypes array columns Hein 2026-07-20 13:58:24 +02:00
  • 1c217b546c Merge pull request 'feat(scripts): support external file embedding' (#12) from issue-6-external-file-embedding into master warkanum 2026-07-20 11:09:39 +00:00
  • 1bcdf29206 feat(scripts): support external file embedding issue-6-external-file-embedding SG Command 2026-07-20 00:13:05 +02:00
  • 5c31deb630 Merge pull request #11: fix deterministic template table index ordering sgcommand 2026-07-19 14:11:11 +00:00
  • c2def00bcf fix(template): make map helper ordering deterministic SG Command 2026-07-19 15:19:33 +02:00
  • 784dc1f0da chore(release): update package version to 1.0.63 v1.0.63 warkanum 2026-07-18 22:41:30 +02:00
  • 7d93bee4bd chore: Fixed linitng issues warkanum 2026-07-18 22:41:23 +02:00
  • 2aecd1312e Merge pull request 'feat(assets): add native Go asset/file loader for migrate-apply (#7)' (#8) from issue-7-native-asset-loader into master warkanum 2026-07-18 20:35:45 +00:00
  • 60c5cc40b2 feat(assets): add native Go asset/file loader for migrate-apply warkanumandClaude Sonnet 4.6 2026-07-17 01:14:11 +02:00
  • 5edb004799 Merge pull request 'fix(bun): support extra generated model fields' (#5) from fix/bun-extra-fields-issue-4 into master warkanum 2026-07-09 04:53:33 +00:00
  • 764d00c249 fix(bun): read extra fields from file fix/bun-extra-fields-issue-4 Hermes Agent 2026-07-09 06:02:01 +02:00
  • 47b77763cb fix(bun): support extra generated model fields Hermes Agent 2026-07-09 05:50:33 +02:00
  • 7805d9b6f0 chore(release): update package version to 1.0.62 v1.0.62 Hein 2026-07-07 15:29:55 +02:00
  • 40a0e6a0aa refactor: ♻️ change resolvspec types to build in sqltypes Hein 2026-07-07 15:28:01 +02:00
  • 99d63aa5f4 test(uuid): add integration tests for SqlUUID with database * Implement tests for inserting, updating, and retrieving UUIDs in a SQLite database. * Verify that Value() returns a string representation of the UUID. * Ensure compatibility with custom types implementing fmt.Stringer. * Update type mapper imports to reflect new package path. Hein 2026-07-02 17:06:41 +02:00
  • ee94ddc133 chore(release): update package version to 1.0.61 v1.0.61 warkanum 2026-06-26 00:27:33 +02:00
  • 651c7aa3f4 fix(reflectutil): correct pointer type check in dereference logic warkanum 2026-06-26 00:27:25 +02:00
  • 1cd9cd8803 chore(release): update package version to 1.0.60 v1.0.60 warkanum 2026-06-25 23:26:08 +02:00
  • ab735d1f3a fix(writer): update nullable type handling to use baselib * change default nullable type from resolvespec to baselib * update type mappings in tests to reflect new nullable types * adjust comments for clarity on nullable type options warkanum 2026-06-25 23:25:36 +02:00
  • e29c7e31c1 chore(release): update package version to 1.0.59 v1.0.59 warkanum 2026-05-20 22:52:29 +02:00
  • 43f4680176 chore: ⬆️ updated deps warkanum 2026-05-20 22:52:20 +02:00
  • d9f27c1775 feat(pgsql): enhance SQL statement execution logging * add context information for executed SQL statements * implement extractStatementContext function for context retrieval warkanum 2026-05-19 19:42:57 +02:00
  • bb7ceb37fe chore(release): update package version to 1.0.58 v1.0.58 warkanum 2026-05-19 19:26:45 +02:00
  • 6a759ef3d1 fix(mssql): correct order of MSSQL type mappings warkanum 2026-05-19 19:26:30 +02:00
  • cb735f0754 feat(sqlite): add SQLite type mapping and conversion functions * Implement SQLiteToCanonicalTypes for type mapping * Add ConvertSQLiteToCanonical and ConvertCanonicalToSQLite functions * Update mapDataType to utilize new conversion logic warkanum 2026-05-19 19:26:09 +02:00
  • 80fb49bc5e refactor(datatypes): remove redundant normalization function warkanum 2026-05-19 19:12:54 +02:00
  • 9190df81dd feat(merge): enhance type conflict detection for columns * Introduced extractTypeParts function to handle embedded dimensions in type strings. * Updated columnTypeConflict to utilize new type extraction logic. * Improved PostgreSQL type normalization and handling in various components. warkanum 2026-05-19 19:12:27 +02:00
  • 9235ef5e08 chore(release): update package version to 1.0.57 v1.0.57 Hein 2026-05-07 14:45:02 +02:00
  • b91d6b33b5 feat(writer): add continue-on-error option for SQL writers * Introduce ContinueOnError option to WriterOptions * Update writer functions to support continue-on-error behavior * Modify migration and database writing to handle continue-on-error Hein 2026-05-07 14:44:36 +02:00
  • 30ef1db010 chore(release): update package version to 1.0.56 v1.0.56 warkanum 2026-05-05 14:51:10 +02:00
  • 2d97a47ee1 feat: Enhance PostgreSQL type handling and migration scripts warkanum 2026-05-05 14:50:34 +02:00
  • 72200ea72e chore(release): update package version to 1.0.55 v1.0.55 warkanum 2026-05-05 11:36:29 +02:00
  • 608893a3d6 feat(index): implement GIN index support for quoted text columns and enhance index column resolution warkanum 2026-05-05 11:32:15 +02:00
  • 53ff745d5d chore(release): update package version to 1.0.54 v1.0.54 warkanum 2026-05-05 11:12:49 +02:00
  • 17bc8ed395 feat(migration): enhance primary key handling and add GIN index support in migration writer warkanum 2026-05-05 11:12:23 +02:00
  • a447b68b22 chore(release): update package version to 1.0.53 v1.0.53 warkanum 2026-05-05 10:48:27 +02:00
  • 4303dcf59b Support typed primary key helpers in gorm and bun writers warkanum 2026-05-05 10:32:33 +02:00
  • e828d48798 chore(release): update package version to 1.0.52 v1.0.52 warkanum 2026-05-03 17:19:22 +02:00
  • 6e470a9239 fix(type_mapper): adjust array tag handling in BuildBunTag warkanum 2026-05-03 17:18:58 +02:00
  • 096815fe49 chore(release): update package version to 1.0.51 v1.0.51 warkanum 2026-05-03 16:11:13 +02:00
  • b8f60203cb fix(type_mapper): handle PostgreSQL array types in tags * Update BuildBunTag to append "array" for array types * Add tests for handling array types in TypeMapper * Adjust regex in SanitizeStructTagValue to preserve array suffix warkanum 2026-05-03 16:11:01 +02:00
  • 15763f60cc Fix GIN opclass handling for array columns Hein 2026-04-30 20:35:06 +02:00
  • 6d2884f5cf chore(release): update package version to 1.0.50 v1.0.50 Hein 2026-04-30 20:23:29 +02:00
  • f192decff8 Add Prisma 7 flag support Hein 2026-04-30 20:22:57 +02:00
  • 8b906cf4a3 chore(release): update package version to 1.0.49 v1.0.49 Hein 2026-04-30 18:16:28 +02:00
  • 0a3966e6fc fix(pgsql): handle default values for array types in migrations * update default value quoting logic for PostgreSQL * add tests for array default value handling Hein 2026-04-30 18:16:21 +02:00
  • d30fc24f55 chore(release): update package version to 1.0.48 v1.0.48 Hein 2026-04-30 16:07:33 +02:00
  • 16a489d0b8 style(pkg): align json and numeric type mappings Hein 2026-04-30 16:07:16 +02:00
  • 3524e86282 feat: add --types flag and stdlib nullable type support for bun/gorm writers Hein 2026-04-30 16:00:54 +02:00
  • 1e54fdcd7f Merge branch 'master' of git.warky.dev:wdevs/relspecgo Hein 2026-04-30 15:15:34 +02:00
  • fb104ea084 feat: PostgreSQL connections opened by relspec set application_name by default to relspecgo/<version> v1.0.47 warkanum 2026-04-26 17:48:26 +02:00
  • 837160b77a feat(pgsql): implement application_name handling in connection warkanum 2026-04-26 17:45:25 +02:00
  • ed7130bba8 refactor(pkg): canonicalize base types and adjust length handling * Update base types to keep explicit modifier forms * Modify length handling for vector types in tests warkanum 2026-04-26 17:35:15 +02:00
  • 4ca1810d07 refactor(dctx): sort table columns and indexes for deterministic output v1.0.46 warkanum 2026-04-26 12:50:39 +02:00
  • c0880cb076 feat(pkg): preserve PostgreSQL types in mapDataType function * Add support for known PostgreSQL types and modifiers * Implement canonicalization for PostgreSQL types * Introduce unit tests for PostgreSQL type handling v1.0.45 warkanum 2026-04-26 12:43:44 +02:00
  • 988798998d test(drawdb): add test for converting column types with modifiers * Implement tests to ensure explicit type modifiers are preserved during conversion. * Validate behavior for varchar, numeric, and custom vector types. warkanum 2026-04-26 12:35:54 +02:00
  • 535a91d4be feat(docs): add comprehensive story of RelSpecGo's development journey warkanum 2026-04-08 22:21:24 +02:00
  • bd54e85727 chore(release): update package version to 1.0.44 v1.0.44 warkanum 2026-04-08 21:34:28 +02:00
  • b042b2d508 docs: 📝 Update documentation warkanum 2026-04-08 21:34:00 +02:00
  • af1733dc9a feat(pkg): update package description for clarity and consistency warkanum 2026-04-08 21:21:33 +02:00
  • 389fff2b44 chore(release): update package version to 1.0.43 v1.0.43 warkanum 2026-04-08 20:59:23 +02:00
  • f331ba2b61 chore(release): update package version and add packaging files for AUR, Debian, and RPM warkanum 2026-04-08 20:59:11 +02:00