chore(database): update module path for v2#151
Conversation
This updates the database module path from: github.com/CrisisTextLine/modular/modules/database to: github.com/CrisisTextLine/modular/modules/database/v2 This is required for releasing version v2.0.0 according to Go module versioning requirements. See https://go.dev/blog/v2-go-modules for more information.
modules/database/go.mod
Outdated
| require ( | ||
| github.com/CrisisTextLine/modular v1.11.6 | ||
| github.com/aws/aws-sdk-go-v2 v1.38.3 | ||
| github.com/CrisisTextLine/modular/modules/database v1.4.0 |
There was a problem hiding this comment.
@copilot There should not be a reference to v1 database module from the v2 module. Why is this occurring?
* Initial plan * Plan to fix v1 database module reference in v2 module Co-authored-by: intel352 <77607+intel352@users.noreply.github.com> * fix: remove v1 database module reference from v2 module Co-authored-by: intel352 <77607+intel352@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: intel352 <77607+intel352@users.noreply.github.com>
📋 API Contract Changes Summary✅ No breaking changes detected - only additions and non-breaking modifications Changed Components:Core FrameworkContract diff saved to artifacts/diffs/core.json Module: authContract diff saved to artifacts/diffs/auth.json Module: cacheContract diff saved to artifacts/diffs/cache.json Module: chimuxContract diff saved to artifacts/diffs/chimux.json Module: databaseContract diff saved to artifacts/diffs/database.json Module: eventbusContract diff saved to artifacts/diffs/eventbus.json Module: eventloggerContract diff saved to artifacts/diffs/eventlogger.json Module: httpclientContract diff saved to artifacts/diffs/httpclient.json Module: httpserverContract diff saved to artifacts/diffs/httpserver.json Module: jsonschemaContract diff saved to artifacts/diffs/jsonschema.json Module: letsencryptContract diff saved to artifacts/diffs/letsencrypt.json Module: logmaskerContract diff saved to artifacts/diffs/logmasker.json Module: reverseproxyContract diff saved to artifacts/diffs/reverseproxy.json Module: schedulerContract diff saved to artifacts/diffs/scheduler.json Artifacts📁 Full contract diffs and JSON artifacts are available in the workflow artifacts. |
Codecov Report✅ All modified and coverable lines are covered by tests.
Additional details and impacted files@@ Coverage Diff @@
## main #151 +/- ##
==========================================
- Coverage 59.53% 54.30% -5.24%
==========================================
Files 98 92 -6
Lines 20073 19384 -689
==========================================
- Hits 11951 10527 -1424
- Misses 6944 7703 +759
+ Partials 1178 1154 -24
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Module Path Update for database v2.0.0
This PR updates the module path in `modules/database/go.mod` to include the `/v2` suffix as required by Go module versioning for major versions 2 and above.
Changes:
Why This Change Is Needed:
According to Go module versioning requirements, when releasing a major version v2 or higher, the module path must include a version suffix. This ensures proper dependency resolution and prevents conflicts with v0/v1 versions.
Reference: https://go.dev/blog/v2-go-modules
Next Steps:
This PR was automatically created by the module release workflow.