Releases: mattermost-community/mattermost-plugin-welcomebot
v1.4.1
v1.4.0 — Channel Welcome Overhaul, Admin API, and Reliability Fixes
Channel welcome messages have been rearchitected from the ground up for
reliable delivery and programmatic setup at scale.
New Features
-
POST /admin/set_channel_welcome endpoint — set channel welcome messages
from scripts without running slash commands manually in each channel.
Requires system admin. Rejects non-open channels early with a clear
error rather than silently storing a message that will never fire. -
/welcomebot welcome command — re-shows the current channel's welcome
as an ephemeral visible only to you. Recovery path for users who missed
the welcome on join. Works in any channel with a message configured. -
ChannelWelcomeAutoJoinDelaySeconds setting — configurable delay before
sending the channel welcome ephemeral (default 5s). Increase if users
report the welcome appearing before the channel has fully loaded.
Bug Fixes
-
Fixed double delivery: plugin-initiated channel adds were firing the
ephemeral twice — once from joinChannel and once from the
UserHasJoinedChannel hook. The hook now skips plugin-initiated joins
(actor == nil); joinChannel delivers directly. -
Fixed sysadmin check: strings.Contains on user.Roles replaced with
HasPermissionTo — the correct API that handles custom roles and
permission grants rather than substring matching on a role string. -
Fixed nil panic: atomic.Value.Store(nil) on missing WelcomeMessages
config now normalized to an empty slice before storing. -
Fixed nil panic: GetTeamMember returning (nil, nil) caused err.Error()
to be called on a nil error in the button-action HTTP handler. -
Fixed channel type enforcement: all code paths now use
!= ChannelTypeOpen, covering private, direct, and group channels
consistently. Previously some paths only blocked ChannelTypePrivate.
Known Limitations
Channel welcome ephemerals are not stored server-side. On rejoin (user
left and rejoined a team), the client rehydrates from server state and
the welcome is gone before the page renders. Run /welcomebot welcome
to re-show it at any time.
v1.3.0
Supported Mattermost Server Versions: 5.37.0+
Enhancements
Fixes
- 344cddf add to readme IncludeGuests setting (#115)
- f982137 Revert #82 and #79 (#109)
- 002ffd4 Update CODEOWNERS (#106)
- 98fd324 Bump version to 1.3.0 (#105)
- 90e8df9 Fix regex for tags trigger in CI/CD (#104)
- a858986 [skip ci] Remove lock missing txt (#101)
- 72ddc65 [MI-2731]:Added additional Loggings for fixing issue #97 (#100)
- 95f1ba5 Migrate from CircleCI to Github Actions (#98)
- a4a10b4 Update CODEOWNERS (#94)
- 3dc38a6 Create .gitpod.yml (#91)
- a6fd7df Restrict channel invitations to non-guest accounts (#90)
- f122372 dist: build linux/darwin arm64 targets (#84)
- 9d7b0e9 [issue 85] Cross-plugin task: Enable the CircleCI "test" job in each plugin repo that has a webapp plugin (#86)
- 03ea722 [mm-65] Allows users to add multiple teams to the messages using
team-a,team-bin the messages (#82) - 77bd89a Fixes /welcomebot preview teamname command not working. (#74)
- 517c73e solves Gh 72 - Welcome bot will not let me add a message to private channels (#79)
- e59c942 [GH-50] Added slash command autocomplete functionality (#69)
- 29c0079 Created codeql_analysis (#68)
- 2fe2fe5 go mod tidy (#67)
- 0ef1c5e Update plugin.json (#66)
- bc108b0 Update plugin.json
- 9eb5794 Clarify that you can set channel welcome message & fix JSON indentation (#60)
- 3a9db70 Fix linter issue for golanci-lint v1.13.0
- 1500d77 Add release_notes_url (#59)
- 71d62b1 Update .circleci/config.yml (#53)
- c367ba6 GH-45 - Integrate GolangCI-lint (#51)
- 65dfd88 Drop second maintainer (#52)
- 4ceb7de add badges for codecov, circleci, latest release and HW (#49)
v1.2.0
Supported Mattermost Server Versions: 5.12.0+
Enhancements
- ebc5f0d Bump version to 1.2.0 (#34)
- b24433b [GH-24] Implement channel welcome messages (#31)
- d4de6d5 Add CODEOWNERS and maintainers (#40)
- 36fae15 Add some basic documentation about message preview bot commands (#30)
- 851b25e [GH-26] Implement welcome messages preview (#29)
- 502bbf1 Add more manifest metadata (#28)
Fixes
v1.1.1
v1.1.0
v1.0.0
Supported Mattermost Server Versions: 5.10+
v0.1.0
Supported Mattermost Server Versions: 5.2+