Skip to content

Bump github.com/mattermost/mattermost/server/public from 0.1.21 to 0.3.0 - #676

Merged
avasconcelos114 merged 2 commits into
masterfrom
dependabot/go_modules/github.com/mattermost/mattermost/server/public-0.3.0
Jun 2, 2026
Merged

avasconcelos114 merged 2 commits into
masterfrom
dependabot/go_modules/github.com/mattermost/mattermost/server/public-0.3.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jun 1, 2026 •

Copy link
Copy Markdown
Contributor

Bumps github.com/mattermost/mattermost/server/public from 0.1.21 to 0.3.0.

Commits
  • 9b01e40 Move password hashers from server/v8 to server/public to fix module layering ...
  • 50f31ae Mm 66662 bump dependencies (#35849)
  • 4d20645 Inline mattermost-govet into the monorepo (#35869)
  • eb8310a simplify CODEOWNERS (#35770)
  • aaefd41 MM-68120 - Use repo checkout for build files in server-ci-artifacts (#35842)
  • d001251 disable burn on read posts on shared channels (#35460)
  • f4d1abe MM-68140: Validate post read access before rewrite thread context (#35864)
  • 47d2c60 Docs impact fixes (#35877)
  • 2550ecd ci: post success to required e2e status contexts when no relevant changes (#3...
  • 3e2c3f7 fix: prevent sql.DB connectionCleaner race and harden flaky tests (#35891)
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    You can disable automated security fix PRs for this repo from the Security Alerts page.

Change Impact: 🟡 Medium

Reasoning: This PR introduces a significant dependency bump (Mattermost server/public v0.1.21 → v0.3.0) alongside multiple other dependency updates, and includes a code change in OAuth error handling. While the direct code modification is localized to error notification messaging, the broad dependency updates increase the blast radius and potential for regressions.

Regression Risk: The primary concern is the larger version bump to github.com/mattermost/mattermost/server/public which could introduce breaking API changes in an upstream library. The secondary concern is the change to error notification handling in the GitLab OAuth flow, though this is limited to message formatting. Linter errors that required follow-up fixes suggest potential compatibility issues. Multiple transitive dependency changes increase the surface area for unexpected interactions.

QA Recommendation: Comprehensive manual QA testing of the GitLab OAuth connection flow (successful connections and failure scenarios) is recommended. Additionally, smoke testing of core authentication and notification flows should be performed to validate dependency compatibility. The broad nature of the dependency updates warrants testing beyond just the modified code path. Skipping manual QA would pose moderate risk given the authentication-related changes and upstream library version bump.

Bumps [github.com/mattermost/mattermost/server/public](https://github.com/mattermost/mattermost) from 0.1.21 to 0.3.0.
- [Release notes](https://github.com/mattermost/mattermost/releases)
- [Changelog](https://github.com/mattermost/mattermost/blob/master/CHANGELOG.md)
- [Commits](mattermost/mattermost@server/public/v0.1.21...server/public/v0.3.0)

---
updated-dependencies:
- dependency-name: github.com/mattermost/mattermost/server/public
  dependency-version: 0.3.0
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot requested a review from a team as a code owner June 1, 2026 14:53
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file go Pull requests that update Go code labels Jun 1, 2026
@avasconcelos114

Copy link
Copy Markdown
Member

Ah thought it ended up being the usual dist action failing, I'll push a new commit with linter fixes here

@avasconcelos114

Copy link
Copy Markdown
Member

@coderabbitai review

@coderabbitai

coderabbitai Bot commented Jun 2, 2026

Copy link
Copy Markdown
✅ Actions performed

Review triggered.

Note: CodeRabbit is an incremental review system and does not re-review already reviewed commits. This command is applicable only when automatic reviews are paused.

@coderabbitai

coderabbitai Bot commented Jun 2, 2026 •

Copy link
Copy Markdown

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro

Run ID: 78df1c6b-1e5f-4c7c-8273-f20cf72099eb

📥 Commits

Reviewing files that changed from the base of the PR and between 737fce0 and 030eddd.

⛔ Files ignored due to path filters (1)
  • go.sum is excluded by !**/*.sum
📒 Files selected for processing (2)
  • go.mod
  • server/api.go

📝 Walkthrough

Walkthrough

This PR updates Go to 1.25.8 and bumps multiple dependencies, including a major version lift for the Mattermost server/public package to v0.3.0. The only functional code change is a single-line update in server/api.go where the OAuth error notification now uses MessageAttachment instead of the deprecated SlackAttachment type.

Changes

Mattermost Dependency Update and API Attachment Type

Layer / File(s) Summary
Go toolchain and dependency updates
go.mod
Go bumped to 1.25.8; mattermost/server/public raised from v0.1.21 to v0.3.0; oauth2 and sync advanced; indirect dependencies across lib/pq, logrus, golang.org/x modules, and protobuf refreshed to newer versions.
OAuth error notification attachment type
server/api.go
OAuth completion error message in connectUserToGitlab now uses model.MessageAttachment instead of model.SlackAttachment for DM attachment.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~8 minutes

Poem

🐰 Dependencies dance and types align,
A rabbit hops through version nine,
SlackAttach yields to Message's way,
Mattermost flows fresh today! ✨

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately reflects the primary change: bumping the mattermost/server/public dependency from 0.1.21 to 0.3.0, which is the main dependency update in the changeset.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@avasconcelos114
avasconcelos114 merged commit 4f98c2a into master Jun 2, 2026
17 checks passed
@avasconcelos114
avasconcelos114 deleted the dependabot/go_modules/github.com/mattermost/mattermost/server/public-0.3.0 branch June 2, 2026 11:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file go Pull requests that update Go code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant