Skip to content

chore: update go module path to github.com/gotify/server/v3 - #1030

Merged
eternal-flame-AD merged 1 commit into
masterfrom
go-imports
Aug 16, 2026
Merged

chore: update go module path to github.com/gotify/server/v3#1030
eternal-flame-AD merged 1 commit into
masterfrom
go-imports

Conversation

@eternal-flame-AD

Copy link
Copy Markdown
Member

Updates go import paths to V3.

Sorry I missed this in the review. We need to update the go module path for any part of the V3 tree to be visible to the go toolchain. We would also have to bump the version once more to make plugins buildable again against v3.

Comment thread api/stream/client.go

"github.com/gorilla/websocket"
"github.com/gotify/server/v2/model"
"github.com/gotify/server/v3/model"

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The plugin builds don't depend on gotify/server, why does the wrong module path block the plugin builds?


The build is failing because of formatting, otherwise this LGTM.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Because it needs a phantom dependency to gotify/server/v3 to ensure it gets built with compatible dependencies. If the import path is wrong it wont be able to reference it.

@jmattheis jmattheis left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. I'll create a release later today or tomorrow (after merging #1029).

@codecov

codecov Bot commented Aug 16, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 0% with 7 lines in your changes missing coverage. Please review.
✅ Project coverage is 74.78%. Comparing base (ef41eba) to head (5a36c8c).

Files with missing lines Patch % Lines
plugin/example/clock/main.go 0.00% 1 Missing ⚠️
plugin/example/echo/echo.go 0.00% 1 Missing ⚠️
plugin/example/minimal/main.go 0.00% 1 Missing ⚠️
plugin/testing/broken/cantinstantiate/main.go 0.00% 1 Missing ⚠️
plugin/testing/broken/malformedconstructor/main.go 0.00% 1 Missing ⚠️
plugin/testing/broken/noinstance/main.go 0.00% 1 Missing ⚠️
plugin/testing/broken/unknowninfo/main.go 0.00% 1 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##           master    #1030   +/-   ##
=======================================
  Coverage   74.78%   74.78%           
=======================================
  Files          66       66           
  Lines        3541     3541           
=======================================
  Hits         2648     2648           
  Misses        688      688           
  Partials      205      205           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@eternal-flame-AD
eternal-flame-AD added this pull request to the merge queue Aug 16, 2026
Merged via the queue into master with commit 8af44e0 Aug 16, 2026
3 of 4 checks passed
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