feat: Release v2.0 with paging-go module rename#13
Merged
josemarluedke merged 2 commits intomainfrom Dec 14, 2025
Merged
Conversation
Update all import paths across the codebase to use the new module path
github.com/nrfta/paging-go/v2, aligning with organizational naming standards
where tool names follow the pattern {name}-{language}.
Changes:
- Update go.mod module declaration
- Replace all imports: github.com/nrfta/go-paging → github.com/nrfta/paging-go/v2
- Update imports across 23 Go files (core, cursor, offset, quotafill, sqlboiler, tests)
- No functional changes to the codebase
BREAKING CHANGE: Module path has changed from github.com/nrfta/go-paging to
github.com/nrfta/paging-go/v2. All consumers must update their imports and
run `go get -u github.com/nrfta/paging-go/v2` to upgrade to v2.0.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Update all documentation to reflect the new module path and v2.0 release: README.md: - Update repository title: go-paging → paging-go - Update badge URL to match new repository name - Update install command: go get github.com/nrfta/paging-go/v2 - Replace all import examples throughout usage sections - Update gqlgen.yml configuration examples MIGRATION.md: - Rename guide: "v0.3.0 to v1.0" → "v0.3.0 to v2.0" - Add breaking changes summary table showing module path migration - Update all code examples with new import paths - Document combined changes: modular architecture + repository rename - Clarify that v2.0 includes both architectural improvements and naming alignment BREAKING CHANGE: All documentation now references github.com/nrfta/paging-go/v2. Users upgrading from v0.3.0 must update both their imports and module references to the new v2.0 module path. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR implements v2.0 of the pagination library with a breaking change to align with organizational naming standards.
Breaking Changes
1. Module Path Rename
github.com/nrfta/go-paginggithub.com/nrfta/paging-go/v2This aligns with organizational naming conventions (
{purpose}-goinstead ofgo-{purpose}).2. Import Updates
All imports throughout the codebase have been updated:
Changes
Code (24 files)
go.modmodule declarationcursor/package (6 files)offset/package (3 files)quotafill/package (3 files)sqlboiler/package (5 files)tests/package (4 files)Documentation (2 files)
Migration Path for Users
Users migrating from v0.3.0 have two changes to make:
Update imports:
# In go.mod require github.com/nrfta/paging-go/v2 v2.0.0Update import statements:
The
MIGRATION.mdfile provides complete migration instructions.Compatibility
Release Plan
After merge:
v2.0.0🤖 Generated with Claude Code