v1.2.0
Supported Mattermost Server Versions: 7.2.0+
Breaking changes
- subscriptions Prior stored subscriptions will be invalid.
- expand: removed
"none"
, the default ("") is now equivalent to none.apps.ExpandNone
is now defined as""
. - expand: all fields are "none" by default, all expansion must be explicitly requested.
- expand: Specifically,
ActingUser
is no longer expanded as "id" by default, so if"acting_user":"+id"
or above is not requested in the Call,appsclient.AsActingUser
will panic in the handler. - expand: moved
UserID
fromapps.Context
toapps.UserAgentContext
, it is now passed down to the app exclusively as (ExpandedContext.)User.Id
ifCall.Expand.User
is set. - golang: Admin APIs
UpdateAppListing
,Install/Uninstall/EnableApp
now return the updated sanitized entity. Particularly important forInstallApp
as it creates Bot User and OAuth2 App IDs. - golang:
apps.Subscription
now anonymously includesapps.Event
; no change to the overall set of fields.apps.Event
is also used as the key to store subscriptions. - golang: Removed
UserID
andAppID
fromapps.Subscription
; they were used internally, so this is not really a breaking change for app developers.
Enhancements
- 5123678 Remove ServiceNow from manifests and add Zendesk (#419)
- 8f2c729 [MM-49470] Add command to validate AWS bundle (#427)
- 0fdead5 [MM-48538]
/apps debug logs
to stream plugin logs to a Mattermost channel (#394) - 2e3c62c Update ServiceNow to v0.3.4 (#408)
- 9d47bcc Handle HEAD requests for webhook validation (#389)
- af14625 Ability to force refresh bindings for app after call (#359)
- 815ea88 [MM-47950] Allow setting developer mode via /apps settings (#372)
- e9d9b0d [MM-42915] Check if oauth apps are enabled before running any /apps commands (#316)
- 74fd3db [MM-48533] Enable color logs (#395)
- 6e6e370 Move /examples and /dev to new mattermost-app-examples repository (#362)
- b8285d1 Expand, notify cleanup + tests (#336)
- 5d18631 Add example Apps in additional languages - Python (#352)
- dbc7a94 MM-43962: Added support for .jar files in appsctl aws (#355)
Fixes
- 3781a13 [MM-49164] Include apps that can be deployed as plugins but aren't in Marketplace response (#424)
- b40b0dd [MM-49437] Don't try to ping builtin apps (#426)
- 896af7a Harden code around disabled apps (#416)
- 1b35ad5 Add tests for webhook paths (#418)
- 5627d32 [MM-47990] Improved app cleanup on uninstall; List fixes (#380)
- d0e4f07 Remove v0.7.0 app manifest workaround (#413)
- 6d87674 [MM-48916] Don't try to fet bindings from disabled apps (#409)
- 319ce68 Refresh bindings after setting are saved (#407)
- f782e89 Change message when not subscribe to notification (#361) (#402)
- 8de0d4f Include JWT secret in test app startup message (#398)
- b492f83 Don't disable app before uninstalling it (#377)
- 647743f Move AppMetadataForClient to http layer (#381)
- 15c00e3 Update golangci-lint version and fix linter errors (#374)
- cf64d66 Fix e2e tests for webapp master branch (#370)
- 78beae6 Fix NPE in appclient (#368)
- 4ada354 [MM-43375] Remove Experimental label from apps in Marketplace (#349)