Skip to content

refactor(modules): split adapters, examples, and adapter tests into separate Go modules#28

Closed
codercms wants to merge 2 commits into
pgvector:masterfrom
codercms:feature/go-mod-split
Closed

refactor(modules): split adapters, examples, and adapter tests into separate Go modules#28
codercms wants to merge 2 commits into
pgvector:masterfrom
codercms:feature/go-mod-split

Conversation

@codercms
Copy link
Copy Markdown
Contributor

@codercms codercms commented May 17, 2026

Move optional integrations into dedicated modules so the core package remains focused.
This keeps dependency resolution scoped to each use case and clarifies module boundaries.

It means that the for pgx users there's no need to resolve deps such as gorm, pg-go, bun, sqlx, etc

codercms added 2 commits May 17, 2026 03:21
…eparate Go modules

Move optional integrations into dedicated modules so the core package remains focused.
This keeps dependency resolution scoped to each use case and clarifies module boundaries.
@codercms codercms force-pushed the feature/go-mod-split branch from 8396199 to 2825513 Compare May 17, 2026 00:21
@ankane ankane closed this in 971c54c May 18, 2026
@ankane
Copy link
Copy Markdown
Member

ankane commented May 18, 2026

Hi @codercms, thanks for the PR. Switched from packages to modules in the commit above.

@codercms
Copy link
Copy Markdown
Contributor Author

@ankane got it.
P.S. Looks like you've accidentally bumped Go version from 1.23 to 1.25 (which may break some consumers) and also I've see bumped pgx version to the latest, if this was made intentionally maybe it's not an 0.4.0, but an 1.0.0 release (major version bump)

@ankane
Copy link
Copy Markdown
Member

ankane commented May 18, 2026

The Go version bump was intentional and done in a previous commit (b69346a).

Also, I think it's fine to use version 0.4.0 for this change.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants