Skip to content

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

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

Bump github.com/mattermost/mattermost/server/public from 0.1.21 to 0.3.0#1019
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 Dependabot PR updates the core mattermost/server/public dependency from v0.1.21 to v0.3.0 (a significant minor version bump with potential API changes) and modifies the authentication flow to use a newer Mattermost API type. While the direct code change is minimal (one-line attachment type replacement in connectUserToGitHub), it touches a critical user-facing authentication completion path and introduces multiple upstream dependency changes that could trigger unexpected behaviors.

Regression Risk: The shift from SlackAttachment to MessageAttachment in the post-OAuth direct message flow affects how user notifications are rendered after GitHub authentication completes. The v0.3.0 dependency bump may introduce breaking changes or incompatibilities not immediately visible. Multiple indirect dependencies are updated simultaneously (golang.org/x/* versions, google.golang.org packages), increasing the surface area for potential regressions. The OAuth connection flow is user-critical and any rendering or delivery issues would directly impact authentication completion experience.

QA Recommendation: Manual testing of the GitHub OAuth flow is recommended—specifically: (1) verify that the post-OAuth direct message is properly delivered and rendered to users upon successful authentication, (2) test both success and error message paths (the MessageAttachment change applies to the error case), and (3) validate that message formatting and styling display correctly in Mattermost clients. Testing cannot be safely skipped given the authentication path criticality; however, a focused regression test on the OAuth DM delivery flow would be sufficient rather than comprehensive re-testing of all plugin features.

Generated by CodeRabbitAI

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:42
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file go Pull requests that update Go code labels Jun 1, 2026
@mattermost-build

Copy link
Copy Markdown
Contributor

Hello @dependabot[bot],

Thanks for your pull request! A Core Committer will review your pull request soon. For code contributions, you can learn more about the review process here.

@avasconcelos114

Copy link
Copy Markdown
Contributor

@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: 212f7439-7db2-4b4e-97ce-c0ac0d0e8cc1

📥 Commits

Reviewing files that changed from the base of the PR and between 91fc3c1 and 9bc1c75.

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

📝 Walkthrough

Walkthrough

Go version and multiple direct and indirect dependencies are updated in go.mod, including a notable bump to github.com/mattermost/mattermost/server/public from v0.1.21 to v0.3.0. The OAuth callback DM sent in server/plugin/api.go switches from using model.SlackAttachment to model.MessageAttachment.

Changes

Dependency and compatibility updates

Layer / File(s) Summary
Dependency and Go version updates
go.mod
Go version set to 1.25.8; github.com/mattermost/mattermost/server/public bumped to v0.3.0, golang.org/x/oauth2 to v0.36.0, github.com/lib/pq to v1.12.0, and multiple golang.org/x/* modules refreshed. Indirect dependency github.com/goccy/go-yaml v1.19.2 is added; github.com/blang/semver/v4 is removed.
OAuth callback attachment type
server/plugin/api.go
Post-OAuth DM in connectUserToGitHub changes from model.SlackAttachment to model.MessageAttachment while keeping message text and color fields.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~12 minutes

Suggested labels

2: Dev Review

Poem

🐰 Hop and bump, deps take flight,
Go 1.25.8 shines so bright,
Slack to Message, a smooth refrain,
OAuth flows without a strain!

🚥 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 directly reflects the main change: bumping a specific dependency version. However, the PR also includes other significant changes (Go version update to 1.25.8, multiple other dependency updates, and code changes in api.go) that are not mentioned in the title.
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.

✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch dependabot/go_modules/github.com/mattermost/mattermost/server/public-0.3.0

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 e82bb15 into master Jun 2, 2026
19 checks passed
@avasconcelos114 avasconcelos114 deleted the dependabot/go_modules/github.com/mattermost/mattermost/server/public-0.3.0 branch June 2, 2026 16:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Contributor 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.

2 participants