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
warkanum2026-08-29 20:39:57 +02:00
16af529120
chore(release): update package version to 1.0.73
v1.0.73
Hein2026-08-24 12:59:50 +02:00
7fb343596a
fix(dbml): honor composite [pk] in Indexes blocks, preserve column order
Hein2026-08-24 12:59:18 +02:00
241bfc2302
feat(cli): always print version header first, add --no-version flag
Hein2026-08-24 12:59:14 +02:00
92d5df9a64
fix(release): chmod deb control dir to fix dpkg-deb permission error
Hein2026-08-24 12:59:11 +02:00
b440d50b66
chore(release): update package version to 1.0.72
v1.0.72
Hein2026-08-24 12:06:00 +02:00
052d6f5fac
fix(sqlite): remove unnecessary newline in writeCheckConstraints
Hein2026-08-24 12:05:50 +02:00
9066d36e71
chore(release): update package version to 1.0.71
v1.0.71
Hein2026-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
Hein2026-08-24 12:03:30 +02:00
51b63f659e
Merge pull request 'feat: include SQL scripts in schema diff' (#17) from issue-16-migration-script-count into master
warkanum2026-08-18 11:52:25 +00:00
ae0efdc008
chore(release): update package version to 1.0.70
v1.0.70
Hein2026-08-18 13:43:04 +02:00
be08c8199f
fix(merge,pgsql): treat serial types as their base integer in diffs, unquote bare keyword defaults
Hein2026-08-18 13:42:34 +02:00
e650406177
chore(release): update package version to 1.0.67
v1.0.67
Hein2026-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
Hein2026-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
Hein2026-08-14 14:10:21 +02:00
5edb004799
Merge pull request 'fix(bun): support extra generated model fields' (#5) from fix/bun-extra-fields-issue-4 into master
warkanum2026-07-09 04:53:33 +00:00
47b77763cb
fix(bun): support extra generated model fields
Hermes Agent2026-07-09 05:50:33 +02:00
7805d9b6f0
chore(release): update package version to 1.0.62
v1.0.62
Hein2026-07-07 15:29:55 +02:00
40a0e6a0aa
refactor: ♻️ change resolvspec types to build in sqltypes
Hein2026-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.
Hein2026-07-02 17:06:41 +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
warkanum2026-06-25 23:25:36 +02:00
6a759ef3d1
fix(mssql): correct order of MSSQL type mappings
warkanum2026-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
warkanum2026-05-19 19:26:09 +02:00
80fb49bc5e
refactor(datatypes): remove redundant normalization function
warkanum2026-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.
warkanum2026-05-19 19:12:27 +02:00
9235ef5e08
chore(release): update package version to 1.0.57
v1.0.57
Hein2026-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
Hein2026-05-07 14:44:36 +02:00
6d2884f5cf
chore(release): update package version to 1.0.50
v1.0.50
Hein2026-04-30 20:23:29 +02:00
f192decff8
Add Prisma 7 flag support
Hein2026-04-30 20:22:57 +02:00
8b906cf4a3
chore(release): update package version to 1.0.49
v1.0.49
Hein2026-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
Hein2026-04-30 18:16:21 +02:00
d30fc24f55
chore(release): update package version to 1.0.48
v1.0.48
Hein2026-04-30 16:07:33 +02:00
16a489d0b8
style(pkg): align json and numeric type mappings
Hein2026-04-30 16:07:16 +02:00
3524e86282
feat: add --types flag and stdlib nullable type support for bun/gorm writers
Hein2026-04-30 16:00:54 +02:00
1e54fdcd7f
Merge branch 'master' of git.warky.dev:wdevs/relspecgo
Hein2026-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
warkanum2026-04-26 17:48:26 +02:00
837160b77a
feat(pgsql): implement application_name handling in connection
warkanum2026-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
warkanum2026-04-26 17:35:15 +02:00
4ca1810d07
refactor(dctx): sort table columns and indexes for deterministic output
v1.0.46
warkanum2026-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
warkanum2026-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.
warkanum2026-04-26 12:35:54 +02:00
535a91d4be
feat(docs): add comprehensive story of RelSpecGo's development journey
warkanum2026-04-08 22:21:24 +02:00