Repository navigation
chore: update go module path to github.com/gotify/server/v3 - #1030
Merged
Merged
Conversation
jmattheis
reviewed
Aug 16, 2026
|
|
||
| "github.com/gorilla/websocket" | ||
| "github.com/gotify/server/v2/model" | ||
| "github.com/gotify/server/v3/model" |
Member
There was a problem hiding this comment.
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.
Member
Author
There was a problem hiding this comment.
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.
eternal-flame-AD
force-pushed
the
go-imports
branch
from
August 16, 2026 09:01
1cc19ad to
5a36c8c
Compare
Codecov Report❌ Patch coverage is 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. 🚀 New features to boost your workflow:
|
Bladeage
added a commit
to Bladeage/gotify-smtp
that referenced
this pull request
Aug 20, 2026
Reviewer feedback on the original change: gotify/server#1030 moved the server to github.com/gotify/server/v3, so the requirement this branch had dropped can come back. It cannot come back unconditionally, though -- that commit landed on master a month after v3.0.0 was tagged, so the released v3.0.0 still declares .../v2 while carrying a v3 tag. Neither path resolves for it: server/v3@v3.0.0 -> go.mod has non-.../v3 module path ".../v2" server/v2@v3.0.0 -> version "v3.0.0" invalid: should be v2, not v3 The module path is therefore read from the server's own go.mod instead of being derived from the tag name, and the requirement is only added when its major version matches. master and future releases get it; v3.0.0 does not, and the pinning below keeps that build aligned on its own. `go get` instead of `go mod edit -require`, because the default GOTIFY_VERSION is a branch name that has to be resolved to a pseudo-version first. Verified end to end for both paths: the plugin built with GOTIFY_VERSION=v3.0.0 loads in gotify/server:3.0.0, the one built with GOTIFY_VERSION=master loads in gotify/server:master (8af44e0). In both cases the resulting go.mod matches the server's for all 31 shared modules. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
bigSmooth7867
pushed a commit
to bigSmooth7867/swarm
that referenced
this pull request
Sep 21, 2026
This PR contains the following updates: | Package | Update | Change | |---|---|---| | [gotify/server](https://github.com/gotify/server) | major | `2.9.1` → `3.1.1` | [Release notes](https://github.com/gotify/server/releases) --- ### Release Notes <details> <summary>gotify/server (gotify/server)</summary> ### [`v3.1.1`](https://github.com/gotify/server/releases/tag/v3.1.1) [Compare Source](gotify/server@v3.1.0...v3.1.1) - Require an elevated session for creating users (GHSA-phfm-q6fr-wv34 via [#​1048](gotify/server#1048)) - Move theme selection and password change to separate settings page ([#​1040](gotify/server#1040) via [#​1041](gotify/server#1041) by [@​justadityaraj](https://github.com/justadityaraj)) - Disable password change form when [`GOTIFY_LOCALAUTH_ENABLED`](https://gotify.net/docs/config#gotify-localauth-enabled) is disabled ([#​1040](gotify/server#1040) via [#​1041](gotify/server#1041) by [@​justadityaraj](https://github.com/justadityaraj)) - Fix crash when a Let's Encrypt request fails ([#​1046](gotify/server#1046) by [@​NotAFlightRisk](https://github.com/NotAFlightRisk)) - Update dependencies ### [`v3.1.0`](https://github.com/gotify/server/releases/tag/v3.1.0) [Compare Source](gotify/server@v3.0.0...v3.1.0) Notable features: - Add setting [`GOTIFY_LOCALAUTH_ENABLED`](https://gotify.net/docs/config#gotify-localauth-enabled) for disabling local user authentication [Docs](https://gotify.net/docs/oidc#disabling-local-authentication) ([#​1007](gotify/server#1007) via [#​1020](gotify/server#1020) by [@​DerDummePunkt](https://github.com/DerDummePunkt)) - Allow mapping user admin status from OIDC claims [OIDC Groups Docs](https://gotify.net/docs/oidc#groups) ([#​957](gotify/server#957) via [#​1033](gotify/server#1033) by [@​UiP9AV6Y](https://github.com/UiP9AV6Y)) - Prompt for re-authentication when authenticating with OIDC by default, configurable via [`GOTIFY_OIDC_PROMPT`](https://gotify.net/docs/config#gotify-oidc-prompt) ([#​1029](gotify/server#1029) by [@​DerDummePunkt](https://github.com/DerDummePunkt)) - Add setting [`GOTIFY_OIDC_IDP_NAME`](https://gotify.net/docs/config#gotify-oidc-idp-name) to change the label of the "login with oidc" button ([#​991](gotify/server#991) via [#​1022](gotify/server#1022) by [@​DerDummePunkt](https://github.com/DerDummePunkt)) - Add setting [`GOTIFY_OIDC_AUTO_REDIRECT`](https://gotify.net/docs/config#gotify-oidc-auto-redirect) to auto redirect to the IdP when opening the login page ([#​991](gotify/server#991) via [#​1029](gotify/server#1029) by [@​DerDummePunkt](https://github.com/DerDummePunkt)) - Highlight the current session in the client page ([#​677](gotify/server#677) via [#​1025](gotify/server#1025) by [@​SulimanAbdulrazzaq](https://github.com/SulimanAbdulrazzaq)) Miscellaneous changes: - Update go module path to github.com/gotify/server/v3 ([#​1030](gotify/server#1030) by [@​eternal-flame-AD](https://github.com/eternal-flame-AD)) - Fix potential crash when pushing messages while a client disconnects with plugins active ([GHSA-78w7-2h8c-8252](GHSA-78w7-2h8c-8252) via [#​1035](gotify/server#1035)) - Fix potential crash when removing a user with plugins active ([#​1005](gotify/server#1005) by [@​Osamaali313](https://github.com/Osamaali313)) - Show password hashing errors in the UI instead of crashing ([#​1013](gotify/server#1013) via [#​1014](gotify/server#1014) by [@​eternal-flame-AD](https://github.com/eternal-flame-AD)) - Fix OIDC ID being removed when updating a user ([#​1009](gotify/server#1009) via [#​1010](gotify/server#1010)) - Read the OIDC username claim from the ID token and only fall back to the userinfo endpoint when it's missing ([#​1033](gotify/server#1033)) ### [`v3.0.0`](https://github.com/gotify/server/releases/tag/v3.0.0) [Compare Source](gotify/server@v2.9.1...v3.0.0) Notable features: - Add OIDC login support. See [OIDC Docs](https://gotify.net/docs/oidc) ([#​433](gotify/server#433) via [#​941](gotify/server#941), [#​977](gotify/server#977), [#​982](gotify/server#982), [#​1003](gotify/server#1003)) - Thanks to [@​KovachVL](https://github.com/KovachVL) and [@​alanturing881](https://github.com/alanturing881) for reporting security issues for this feature. - Add session elevation for sensitive actions in the web UI. [Session Elevation Docs](https://gotify.net/docs/session-elevation) (GHSA-3hcj-9m7p-wwm9, [#​944](gotify/server#944) via [#​952](gotify/server#952), [#​954](gotify/server#954)). - Automatically delete inactive clients/sessions ([#​943](gotify/server#943) via [#​959](gotify/server#959)) Breaking changes: - The `config.yml` file is no longer supported, convert it to the new env format with [`migrate-config`](https://gotify.net/docs/migrate-to-3#migrating-your-config). - If you set list or map environment variables, their syntax changed, see [List and map syntax](https://gotify.net/docs/migrate-to-3#environment-list-and-map-syntax). - API tokens are no longer returned in the GET endpoints and are only exposed on creation or rotation. See [Tokens are only shown once](https://gotify.net/docs/migrate-to-3#tokens-are-only-shown-once). - If you have scripts hitting client-token endpoints, they may now need [elevation](https://gotify.net/docs/migrate-to-3#step-up-authentication). - The paging.next URL in message list responses is now a relative path. See [Paging next URL is relative](https://gotify.net/docs/migrate-to-3#paging-next-url-is-relative). Miscellaneous changes: - Rework configuration ([#​366](gotify/server#366), [#​392](gotify/server#392) via [#​967](gotify/server#967)) - Don't store tokens in plain text ([#​325](gotify/server#325) via [#​971](gotify/server#971) by [@​eternal-flame-AD](https://github.com/eternal-flame-AD)) - Publish a `gotify/server:master` docker image for testing unreleased changes. [Docs: Testing master](https://gotify.net/docs/testing-master) ([#​953](gotify/server#953), [#​956](gotify/server#956)) - Allow sending messages with a client token ([#​964](gotify/server#964)) - Allow refreshing application tokens ([#​985](gotify/server#985) via [#​986](gotify/server#986) by [@​eternal-flame-AD](https://github.com/eternal-flame-AD)) - Increase token keyspace to >128 bits ([#​936](gotify/server#936) via [#​939](gotify/server#939) by [@​eternal-flame-AD](https://github.com/eternal-flame-AD)) - Switch logging to zerolog ([#​962](gotify/server#962)) - Add OCI labels to docker images ([#​924](gotify/server#924) via [#​927](gotify/server#927) by [@​eternal-flame-AD](https://github.com/eternal-flame-AD)) - Use use HTTP-only session cookies instead of local storage for UI sessions ([#​941](gotify/server#941)) - Add `createdAt` to users, clients, applications and plugins ([#​959](gotify/server#959)) - Add a CLI with `gotify serve`, `gotify version` and `gotify migrate-config` commands ([#​967](gotify/server#967)) - Fix Messenger plugins that are added after init ([#​653](gotify/server#653) via [#​998](gotify/server#998) by [@​TowyTowy](https://github.com/TowyTowy)) - Update dependencies </details> --- ### Configuration 📅 **Schedule**: (UTC) - Branch creation - At any time (no schedule defined) - Automerge - At any time (no schedule defined) 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate CLI](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0NC4yNi4yIiwidXBkYXRlZEluVmVyIjoiNDQuODIuMyIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsibWFqb3IiLCJyZW5vdmF0ZSJdfQ==--> Reviewed-on: https://gitea.vcasaserver.com/omar/swarm/pulls/705 Co-authored-by: Renovate Bot <renovate-bot@vcasaserver.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.
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.